fix(health): recognize Ruby <stem>_spec.rb test pairing

Analysed against a711d1283 files changedby sloemo01
Open PR on GitHub

Change-risk score

4.0out of 10Below typical
Repository health
3.9to3.3base against this head

This change sits in the bottom third of this repository's own risk distribution. It is riskier than 8% of this repository's own commits.

No changed file lost health in this diff. Nothing outside this PR depends on a contract it changed.

Files changed
3
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
0
2 resolved

Blast radius on the repo map

Every file in the repository, grouped into its own directories and sized by lines. The ones this PR changes are lit, and everything that imports them is marked.

packagestestsapi-clientclicoreserveruivscodewebunitsrcsrc/repowis…src/repowise/coresrc/repowise/server__tests__srcsrccligenerationhealthingestionpersiste…servertest_pro…workspaceagent_targe…commandsanalysisgenerationingestionworkspacemcp_serverroutersc4graphcomponen…mcp
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 3,308 of 3,712 files at a readable size, grouped by directory and sized by lines of code. 3 changed here reach 7 more by import. 404 are too small to see at this width, which is what the frame below is for.

Inside tests/unit

analysiscligenerationhealthingestionpersistenceserversessionstest_provide…workspacemcptest_agent_tar…test…test…test_mc…test_s…test_too…te…test…te…te…test_…te…te…tes…tes…te…te…te…te…te…tes…te…te…test_p…te…test_c…te…test_g…te…test_tr…test_…te…test…te…te…test_…test…test_jo…test…te…test_m…test_st…test_worksp…tes…test_co…tes…te…te…te…te…te…te…tes…test_co…test_health.pytes…te…test_sea…tes…te…te…

1,020 files, 2 changed by this PR and 0 that import one. This PR changes 3 files in total, spread across more than one top-level directory. Click any directory above to frame it instead.

Changed

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (0)
  • Nothing added in the changed lines.
Resolved (2)
  • function hotspot
    packages/core/src/repowise/core/analysis/health/engine.py
  • io in loop
    packages/core/src/repowise/core/analysis/health/engine.py

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • packages/core/src/repowise/core/analysis/health/engine.pyRaghav Chamadiya 96% of 40 commits
  • tests/unit/server/mcp/test_risk.pyRaghav Chamadiya 88% of 12 commits
  • tests/unit/health/test_paired_test_basenames.pyRaghav Chamadiya 73% of 2 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • tests/unit/health/test_file_nloc.py
  • tests/unit/health/test_incremental_p80_override.py
  • tests/unit/health/test_module_attribution.py

2 changed files have no test importing them.

Get this on your own pull requests

This page came from an index of repowise-dev/repowise. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.