THE OVER-EAGER FIX IS THE REAL RISK. Weighting a path like a name would let `search("src")` promote every symbol under `src/` above the one actually called `src`, which is a worse surface than the one this replaces. `loader_unrelated` is NAMED for the query; `_candidate_paths` only lives in a file named for it, so the named one must come first.
Given
names = [row.name for row in search(loader_db, "loader", 25)]
→
When
—
→
Then
✓ names.index("loader_unrelated") is less than names.index("_candidate_paths")
What it exercises
The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
assert names.index("loader_unrelated") < names.index("_candidate_paths"), ( f"a path match outranked a name match, which would bury named symbols: {names}" )not attributed
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 5 requirements
Its run touches their code; that is reach, not proof.