Repository navigation
census: --blind-root measurement path for the blind trial (Part of #8073, #8077) - #8080
Merged
Merged
Conversation
, #8077) 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 #8073. Closes #8077.
Checklist: none named in the brief.
What
--blind-root DIRon the three measurement tools, so a blind-trial merge is measured like the census nightly without callingrun_det_surveyby hand (T0's workaround):cics_census.py survey [--baseline] --blind-root DIR: surveys only the blind corpora, into its own cache<scratch>/blind-cache/<sha>(meta.jsonsaysblind, nevercensus). Refuses a root holding a census or burned corpus (reported by count, never by name) and contradicts--census-corpora,--no-census,--crucible,--corpora.history show --generated --series blindreads the new series.census_nightly.py --after-merge SHA --blind-root DIR: same box gate, origin/main ancestry check, stamp (blind-prefix) andcounts_onlyas the census run; no provisioning; publishes one counts-only line todocs/language_status/blockers/blind_history.jsonlongenerated. The estate's directory names and root path join the forbidden list.--blind-rootwithout--after-mergeis refused.gap_prevalence.py --census-survey DIR --blind-root DIR: whole / accounted / coverage-if-closed counts and the scrubbed gap table to stdout, nothing written,--writerefused; the era scanner's estate-name announcement is silenced at fd level.Evidence (counts only)
T0 at
d675a619cthrough the new path:survey --baseline --sha d675a619c --blind-root ...thengap_prevalence --census-survey <blind-cache>/<sha> --blind-root ...: 58 programs, 14 translate whole, accounted 22 / 58 (matches the issue). The output was checked for the estate name: none.Tests:
tests/tools/test_blind_root_8077.py(21), plus census_nightly / cics_census / gap_prevalence / census_check suites green;audit_check.pyall clear.Class / Sibling gaps
Class: census measurement tools that hard-require the exact 9-repo census root cannot survey, record or aggregate a blind estate through the supported CLI. Members handled here:
cics_census survey(plain and--baseline),census_nightly --after-merge,gap_prevalence --census-survey,history show --series blind.Sibling gaps:
cics_census.py check(census_check) andpreflightstill assume the census root (preflight already takes the blind dir via--census-corpora); no burned-estate program needs either. The "per-merge measurement runs like the census nightly" trigger (churn calling--after-merge --blind-rootafter a trial merge) is promoter-bot-side, as for the census run.Cross-repo
None: engine-side tooling only; no companion PR.
Lessons for agents
gap_prevalence.census_eras->feature_inventory.scan_estateprintsScanning estate: <name>on stdout/stderr: any blind-estate caller must silence it (gp._silenced()).page.md) lands indocs_read_by_tests.txtand failstest_change_classifier.test_the_committed_list_is_fresh: avoid the literal or regenerate withchange_classifier.py --write.Doc-refs fixes: none.
🤖 Generated with Claude Code