Repository navigation
gap_prevalence: clone defect needs an independent file search (Part of #8113) - #8145
Merged
Merged
Conversation
…file search to find no member (Part of #8113) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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.
Part of #8113.
What
The
missing copybook: clone defect (not in the clone)row (a named source defect, so those programs count as accounted) took its only evidence from the resolver under test. It now needs an independent plain file search of the clone (clone_member_index: whole name, stem and part before the first dot, any case, any extension or none, any depth,.gitskipped; in memory, names never printed) to find no member either.missing copybook: resolver defect (member found by file search), owned by Pre-draw gate: independent copybook-resolution census (engine resolver vs plain file search) #8111 and not accounted.unverified, also not accounted.measure_census(census and--blind-root) recordclone_defect_checked/clone_defect_foundcounts, only when non-empty; the blind run prints the same counts, no names. The page renders the line.clone_defect_violations(summary)fails on an unchecked copybook gap; a test runs it on the committed census summary.Class / Sibling gaps
Class: a source-defect label ("clone defect") whose evidence is the engine's own resolver, against rule 10's independent-evidence requirement. Covered here: both measure paths (census, blind), ambiguous copybook gaps, every case/extension/depth spelling of a member (parametrized tests), the no-index case. Sibling gaps: burned
measure()keeps full member names as unowned and carries no named-defect label (no burned program needs it); other source-defect rows' evidence unchanged (rule 10 review per row).Census
Re-measure NOT run:
cics_census.py checkrefused (box YELLOW, needs GREEN) and I did not force it; the committed census summary is unchanged except the owner text, so its accounted count is unchanged until a survey re-run with--census-corpora. Blind estate re-measure also pending (gap_prevalence.py --blind-root ... --census-survey ...now prints the checked/found counts). Expected effect: accounted may drop by the programs whose clone-defect label was the resolver failing (6 of 8 at T0).Remaining slices
Re-run census + blind surveys on a GREEN box,
gap_prevalence.py --census-survey ... --census-corpora ... --write, and report the accounted before/after.Gates
test_gap_prevalence + blocker_report + cics_census_baseline + copy_member_7901 (289 passed); tree-wide guards pass;
audit_check.pyall clear; pinned ruff format clean.pr_gates --fastnot run.🤖 Generated with Claude Code