Repository navigation
Held-out registry: deeply nested events raise LookupError; test the 64-digit zero before - #592
Merged
Merged
Conversation
… the 64-digit zero before Round 8's review of #580 (APPROVE at b111ad9) left two low findings: - L1: _event let RecursionError through on an event nested too deeply for the JSON parser (200,000 levels), against the module's own rule that an unreadable event raises LookupError. It failed closed, since resolved_base() catches only LookupError. _event now catches RecursionError as _parse_registry already does. test_a_too_deeply_nested_event_raises covers a push and a pull_request whose payloads would otherwise resolve. - L2: only the 40-digit all-zero before was tested, so a fallback limited to 40 digits survived both modules. test_a_zero_push_boundary_needs_a_created_branch now runs on 40 and 64 digits. It also corrects base_commit's docstring (round 8's N3): the zero before falls back only with created set to true. Both new tests fail on their mutants and pass on the fix. Tiers: unit 18,789 + 6 = 18,795, total 25,365. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Reran all 79 checks on holdout_registry.py at 0b31ff14 (afcbf82), one check at a time in a clean clone, single core at nice 10; 79 killed, none survived, and the source was restored to 0b31ff14 after each. - Check 76 ("an unset event path leaks TypeError") is re-anchored to the handler tuple that now includes RecursionError. - New check "a too deeply nested event leaks RecursionError" drops RecursionError from that handler: 2 tests fail. - New check "a 64-digit zero push boundary falls back without created" limits the created check to 40-digit boundaries: 4 tests fail. - The zero-boundary check's failed ids now carry the 40/64 parameter. - Every other check's failed-test list is unchanged. - restored_source_sha256 moves from 9ca7fc52 to 0b31ff14. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxGhenis
marked this pull request as ready for review
October 27, 2026 17:06
5 of 8 tasks
Contributor
Author
|
Tier slot: this PR is next. #584 merged as To land:
The open drafts (#591, #573 and the rest) recount after this one lands. |
Master 53c7f2d (#584) has unit 19,041. This branch adds six unit tests: the nested-event test for push and pull_request, and four 64-digit cases of the zero-boundary test. The new total is 25,617, and the README table matches. A full-suite collect, which enforces the manifest, and a `-m unit` collect both confirm the counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
I pushed slot steps 1 and 2. The head is now
Nothing else changed. CI is rerunning at |
Contributor
Author
|
Merged by the Microcosm Dynamics coordinator at
|
MaxGhenis
added a commit
that referenced
this pull request
Oct 31, 2026
Master brings the Track B registry follow-ups (#592) among its changes since 0f69bbb. Git flagged only tests/README-tiers.md and tests/tier_counts.json, which both branches changed; every other file master changed stands as master has it. The tier files read master's counts plus SSI0's modules: unit 19,047 + 596 = 19,643 and oracle_policyengine 308 + 20 = 328, so 26,233 in all; the other tiers are master's. This count is provisional, since a later master merge recounts it. SSI0 adds no test to the birth-evidence module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Round 8's two low findings on #580 (merged as
172f690f), with the mutation record rerun on the new source.Changes
_eventturns aRecursionErrorfrom the JSON parser intoLookupError, as_parse_registryalready does. Before, an event nested about 200,000 levels deep letRecursionErrorthrough. That broke the rule that an unreadable event raisesLookupError, though it failed closed. New testtest_a_too_deeply_nested_event_raisescovers a push and a pull_request.test_a_zero_push_boundary_needs_a_created_branchnow runs on 40- and 64-digit all-zerobefores. Before, a fallback limited to 40 digits survived both modules.base_commit's docstring now says the zerobeforefalls back only withcreatedset to true.Invariants (unchanged)
LookupErrorand never another exception type.before, or the merge base only for an all-zerobeforewithcreated: true.Checks
RecursionErrordropped from the handler: 2 failed;afcbf820.53c7f2d2(Track B B0.2: source, exposure, access and power records for B3 through J #584): unit 19,041 + 6 = 19,047, total 25,617. The README table matches. A full-suite collect (the manifest check) and a-m unitcollect at46ef33c1both confirm the counts.gh pr checksexits 0 ate83fb252. It reruns at46ef33c1.docs/design/track_b_holdout_registry_mutations.json(e83fb252): all 79 checks rerun on the source atafcbf820(SHA-2560b31ff14…), one at a time in a clean clone, single core at nice 10. 79 killed, none survived; the source was restored after each.RecursionError.e83fb252.LookupError, including arrays 100,000 to 5,000,000 deep._event's handler tuple.created: truefallback for a 64-digit all-zerobefore, so a zero check that knows only 40 digits survives. It fails closed, and this repository uses SHA-1. It goes to a follow-up with nit N-C (each check'scommandomits the id-recording plugin).e83fb252, as the slot asks:027d2d46merges master53c7f2d2. Onlytests/tier_counts.jsonandtests/README-tiers.mdconflicted, and the merge takes master's content for both. Every other path equalsgit merge-tree --write-tree e83fb252 53c7f2d2.46ef33c1recounts the tiers and touches only those two files.🤖 Generated with Claude Code