Repository navigation
gap_prevalence: census mode, aggregates under opaque labels (Part of #5865) - #6104
Merged
Merged
Conversation
… gap keys) (Part of #5865) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 00:31
squid-protocol
enabled auto-merge (squash)
October 23, 2026 00:41
Owner
Author
|
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 #5865. Checklist: partial [c:c7bddb8f] -- the census numbers themselves (no census clones on this box: run
gap_prevalence.py --census-survey DIR --census-corpora DIR --writeonce), the combined single table, and the #5054 vocabulary link.What
tests/tools/gap_prevalence.pygains the census half of the ranking:measure_census+scrub_key+census_eras,--census-survey/--census-corpora, and a "Census estates" section on the generated page. The ranking core is now shared (rank).census-<hash>labels (same rule asera_distribution.py). No program name, per-program row or source line is kept; eras come fromfeature_inventory.scan_estatein memory.scrub_keykeeps only the engine's own vocabulary (CICS command + option, SQL keywords, IBM routines, refusal families, statement forms made of COBOL words). Anything that could carry a repo, program, table or copybook name collapses to its class (EXEC SQL: other,missing copybook,CALL other,other).measure()still refuses non-burned corpora;measure_census()refuses burned ones.Class table (same-mechanism members): burned ranking (done in #5951), census ranking (this PR), key scrubbing (this PR). Not done: combined table with a scope column, #5054 link.
Tests: 28 in
tests/tools/test_gap_prevalence.py(scrub parametrised over every key family, no-leak assertion on the JSON, mutual refusal, none-era, render).pr_gates --fast7/7. No engine code touched, so no golden bless.Lessons for agents
ZUIDSTCK:show it): scrub before committing any census-derived key.🤖 Generated with Claude Code