Repository navigation
Conversation
Forward replay, invoice rebuild, unique-root crossing check, a known-answer test on 6030 and seven mutation controls. Audit tooling only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Change and mathematical scope
Status: audit tooling. Adds
research/independent-global-rank-replay/andtests/test_independent_global_rank_replay.py. No new construction, kappa or supplier, and no selected result changes.The script replays the native words of #7000 and #6030 forward over exact fractions. It rebuilds the paid and target profiles from the replay, finds the crossing with one solver, and proves the root is unique on [0, 0.01] with a derivative bound. The moments change sign 15 and 19 times when ordered by rank, so Descartes' rule would not give uniqueness.
Results at the base commit:
For word 6030 the rebuilt T and P equal the record exactly, with the query term (15 query shears times 104 ports on P[1]). The solver sees only the rebuilt profiles.
Independent of the audited packages: the forward replay, the profile rebuild, the word 6030 known-answer test and the mutation controls. Not independent: the crossing uses the repository's own invoice formula, so matching the word 7000 record is a reproduction. Caller tables are read from the records, and the main-row block comes from the word's own declared parameters.
Not covered: kappa, the supplier, the caller identity and the outer gate. Split tails are not identified from the word (helper 450 has two candidates with equal frames and rank).
Task and overlap
Base commit
e54523517d0f03e58352e647c403a5af3e525a57. Task cardindependent-moment, scope refined to two named words (seeTASK.json).Audited packages: word 7000 (
research/shared-wire-split-composition) and word 6030 (research/p104-helper470-twin-rung-removal). Both are read as data and no code is imported. Added value: a known-answer test that never reads the recorded T, P or answer into the solver, and controls that edit the word itself.Validation
Expected: the first prints
PASSafter the JSON (about 40 seconds, cap 300 seconds inVERIFY.json). The second reports 14 tests OK (about 35 seconds, same cap). The third is the repository package validator. It exits 0 and ends withPASS_REGISTERED_RESEARCH_PACKAGE research/independent-global-rank-replay outcome=completed, after running the replay and the 14 tests. It needs Python 3.12. Run on CPython 3.12, 3.13 and 3.14, and with-O. Python 3.11 was not run. Network off, writes confined, stdlib only.Negative controls, each rejected by its target check while the unmutated word passes it:
ADD 1478 += 759inserted at event 40637: double-credit check (a helper row is no longer the identity and an input is shared).Not run: the repository's full test suite and the other research replays.
Credit
Audited work is by the authors of the two packages and their predecessors, credited in those packages. An independent reviewer found weaknesses in an earlier version of these checks, and this version fixes them. Written and run by Claude models (Anthropic) under human oversight. Apache-2.0.
Open next questions
data/caller.jsoninstead of the word's own declaration. No blocker.🤖 Generated with Claude Code