Skip to content

Guard the coverage map's blocked reasons too, and record the durable blocker - #20

Merged
Starlitnightly merged 1 commit into
mainfrom
coverage-reason-guard
Aug 5, 2026
Merged

Guard the coverage map's blocked reasons too, and record the durable blocker#20
Starlitnightly merged 1 commit into
mainfrom
coverage-reason-guard

Conversation

@Starlitnightly

Copy link
Copy Markdown
Contributor

The guard added for UNPROBEABLE in #19 has a twin here, because the same thing had already happened in the coverage map.

analysis.defects.corrections.kumagai said pip could not place pydefect because scikit-image had no wheel for this glibc. scikit-image later arrived as somebody else's dependency, that clause stopped being true, and nothing noticed. The install is still blocked — but by a pyarrow version reached through vise and mp-api, which is a different fact.

A reason that records the wrong cause is worse than one that records none: it is the reason somebody will act on when they try to unblock it.

Writing the fix taught the more useful half

My first correction named pyarrow. py3.10 promptly failed the new guard, because pyarrow is installed there.

The install situation is not stable enough to record at all — it has moved twice and differs between interpreters on this one machine. So the reason now leads with what does not move:

the correction maps each defect site onto a perfect one and reads a site potential for both, and those come from the OUTCARs of two real runs

The install is described as a nuisance that varies, rather than asserted as a fact.

The check needed the same lesson

Its first version searched a whole reason for any phrase asserting absence, and flagged a correct reason that named one package as present and another as missing. It now looks only within ninety characters of the package it is checking.

Verification

973 pass on py3.12, 853 on py3.10 — both, which is the point, since the first version of this passed on one and failed on the other. Verified the guard fails by writing a stale reason deliberately and reverting.

🤖 Generated with Claude Code

https://claude.ai/code/session_016wh5NzNE9Wn49nuUm7zg2a

…blocker

The guard added for UNPROBEABLE has a twin here, because the same thing had
already happened in the coverage map. analysis.defects.corrections.kumagai said
pip could not place pydefect because scikit-image had no wheel for this glibc.
scikit-image arrived as somebody else's dependency, that clause stopped being
true, and nothing noticed - the install is still blocked, but by a pyarrow
version reached through vise and mp-api, which is a different fact. A reason
that records the wrong cause is worse than one that records none: it is the
reason somebody will act on when they try to unblock it.

Writing the fix taught the more useful half. My first correction named pyarrow,
and py3.10 promptly failed the new guard because pyarrow is installed there.
The install situation is not stable enough to record at all - it has moved
twice and differs between interpreters on this one machine. The reason now
leads with what does not move, which is the data: the correction maps each
defect site onto a perfect one and reads a site potential for both, and those
come from the OUTCARs of two real runs. The install is described as a nuisance
that varies rather than asserted as a fact.

The check needed the same lesson. Its first version searched a whole reason for
any phrase asserting absence, and flagged a correct reason that named one
package as present and another as missing. It now looks only within ninety
characters of the package it is checking.

973 tests pass on py3.12, 853 on py3.10 — both, which is the point, since the
first version of this passed on one and failed on the other.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wh5NzNE9Wn49nuUm7zg2a
@Starlitnightly
Starlitnightly merged commit 7b8ddde into main Aug 5, 2026
6 checks passed
@Starlitnightly
Starlitnightly deleted the coverage-reason-guard branch August 5, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant