Repository navigation
Brief 011: _total linear in |Omega| (Q18) - #16
Merged
Merged
Conversation
… (Q18); plan, test, tools/total_scaling.py 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.
Brief 011:
_totalis linear in |Ω| (Q18). Kit-neutral: no act, value or refusal name changes; no page or kit change.What changed (the builder's commit
2d88d9c; plan inbriefs/011-plan.md)_totalchecks that a table over Omega is a function on Omega. It askedstate not in omegaandstate not in tablewith both sides as tuples, and a membership test on a tuple is a scan. Each check therefore cost up to |Ω|² comparisons, 4.3 × 10⁸ at 20,736 states. The 16 checks ran three times perload_pack+declare.tests/test_total.pypins this.tools/total_scaling.pymeasuresdeclareand_total's share of it on synthetic Worlds.Measured
Synthetic,
tools/total_scaling.py:_total88%)The Renavon packs (
renavon-monorepoworld/turn-three, c514864f), timingwald.declare(wald.load_pack(text, root))as the host does. The author measured these on steel on 2026-10-02, with master atb47fe2d:Plate.values()at the priorrenavon.py(20,736 states)data7,elicited20,997: identicalrenavon_at_breakeven.pydata7,elicited20,951: identicalBoth are under the brief's 60 s. The next frame in Q18's profile is the Score, which is not this brief's.
The kit
The
cagecheck on this PR, under kit-v0.14. Before brief 012 landed, my local run of master with this branch merged showed exactly master's failures and no new ones.🤖 Generated with Claude Code