Repository navigation
Evidence report: keep the last measured level, marked stale, on harness / oracle staleness - #4734
Merged
Merged
Conversation
…on scheduled-input staleness (Fixes #4730) Harness / oracle staleness of a det-sweep coverage entry no longer counts as unknown (0): the report keeps the level, marks it L3*, and says stale since <commit> (<inputs>). Case / corpus staleness still drops it. JSON carries level_current, stale_since, stale_inputs; summaries count current and stale apart; --deltas reports stale vs current; --check --live (the release gate) fails while any level is stale. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D
Contributor
squid-protocol
marked this pull request as ready for review
October 9, 2026 01:34
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4730
The evidence report kept counting a coverage-ledger entry stale on the harness / oracle as unknown, so L3/L4 collapsed to 0 after almost any harness or runtime PR. Now:
det_coverage_ledger.last_coverage()returns the last measured entry with its stale inputs;updaterecordsmeasured_at(a commit sha, no timestamps).L3*, with "stale since ()". Stale on a BLOCKING input (case, corpus): the level drops, as before.report.jsonper program:level,level_current,stale_since,stale_inputs; summary:histogram_stale,levels_stale. The summary table and README show current and stale counts apart ("L3+: 14 (14 awaiting re-check)").evidence_report.py --check --live(the evidence report: regenerate on main by bot, advisory in PRs, strict at release (stop per-PR report churn) #4703 release gate) fails while any level is stale.--deltasreports stale vs current.validate()accepts reports from before this change, strict for freshly built ones.Tests: harness-only keeps the level stale, blocking drops it, gate fails while stale, deltas, ledger
last_coverage/measured_at.🤖 Generated with Claude Code
https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D