Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions research/exact-frame-toolkit/MANIFEST.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"NOTICE.md": "b3dd3f4298c8f403675934b83445523d2776a08e81502f9b018448b85269482b",
"PORTABILITY.json": "3327cea5175b5e2ed340996d8719fc18d0d6d9f21fa5da86b95e08b153adcb6e",
"README.md": "c59e3a7661cea426e1ebcc48b727e82ef5942319432d884c7ff167bd830f5ba0",
"REVISION2-REGRESSION.json": "f625ca3d5b55ed2e38e24f7b323f6c93e8781f67cc980f933dee20c2552467ac",
"baseline.py": "dd923a6764cbefedcbc77c30ed01413032604dfddd368f22ed588047a44205d4",
"compat.py": "7317d6abdbbffc435c2d072b6366096c5bf90832d9e72be8b8f7512f14b37940",
"compose.py": "e1edb680b70c636c8ae9307eaa2136ffc768d25c9054d02b3c6b85adf4412b2d",
"controls.py": "062026d140d36656901863e3def76b0ec3d56c14ac9e5a14a56a507a6df0dea7",
"exchange.py": "6b8ef45aef38f9f2bf8e96b1a722f7cc168263f46a64c3945ed4e85f1b2842ef",
"frames.py": "59d5f5725c50c5d6c22178e82ee79a5d7646f0133b1aa267081ec1ad228ec437",
"fusion.py": "cbf009da62589b9969d1f52a7a9404301945b20c5022c0c9803cfaed79c55eae",
"harness.py": "83d1781f5fb69930171adb5132e36f7d6bc6bebbabc016831ec4d860021bd11c",
"joint.py": "6f13274704913465b84c81b1006822a8ddf21cc2cf4de9c7a0786524128c0535",
"kappa.py": "b5bf94c1a299f14fb30d69a5e611acd83ea50b704b82509365bfedd99d13d1a2",
"model.py": "df732fa9591779d6ec99e9f4f9047cf6f3b92aede14c205cd9d5c81878346eaf",
"native.py": "fb58dd387f8a1659143d3e7f4b463ff7b32df8d5c4a948821aa4a0f97260ac5d",
"paths.py": "6557d964a3c59bc326f67facc77cbc5d6bd63ec24e0845725e332f85025afe66",
"portability.py": "dc1a63c6400d52f66544d7f1d4393965fc034ce9cde62955ac7a7a09a31eac1e",
"rebind.py": "86ffd11c9507074edb9857cb3879e69d727822afc7779166e5dd6347e65330eb",
"repair.py": "9592f8d3a838de9f11b666a79ea4a1f05c08e0b15222fbb4edb08d4ed1aa5f26",
"selftest.py": "dea9d280474129645117692b106922c86d07863e9df092b312ad66f419cf2014",
"sites.py": "b168f9139916aba90f4b7d5f0ea8b5dc05ed430bd4dff8a6d7eb640819486d6b",
"slots.py": "8d342e190233b07a4131672d5e27a35bff07a6aedb9585823d745631a757a43c",
"t16_discover.py": "57f1c0d2ed973b69d55e2b60f8e0bb479918a79aef088588ebabec883a66b0bc",
"transplant.py": "1af6e84910784452a7bfb7e7fc08c449e11352e02e1a5c93dd7d2fa7c4afd2bf",
"unpin.py": "c4061ab9eb3212d5e87e7e12a299d3e5bb45e65b9b86c403f51d38d342906a26",
"word.py": "4a09258c3a2f6fb5d4c58156afed6ba9b670c89c8c1b25d164d61ec4c6306528",
"writeback.py": "bf7e943ab6866a086ef7b7820dc832786aa8680f2efaa8b57626e91f40075dbb"
}
34 changes: 34 additions & 0 deletions research/exact-frame-toolkit/NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Notice

Prepared by Marius-Paul Dumitrean with substantial AI assistance (Anthropic Claude, via Claude Code). New files are under
the repository's Apache-2.0 license.

The toolkit imports or ports, unchanged in substance:

- the frame-domain model and moment engines of `research/frame-domain-ceiling` (prepared for chafreaky), whose
`vendor/static44/gk` frame algebra `frames.py` imports;
- the k492/multicold moment, base-two and outer engines (`research/complex-k492-owner-repair/vendor/multicold`) and their
credited lineage, including DreamingOfClouds' engines, eumemic and the PR551/552/558/559 contributors;
- icekylinx's #645 `independent/audit_local.py` (lineage audit, imported by `writeback.py`, `model.py`, `controls.py`);
- Tekalign's `research/pr699-frame-retiming/independent_frames.py` recount, ported verbatim into `word.recount`;
- BRoute's `construction/sw4/build_sw4.py` exchange moves, ported into `exchange.py`;
- NewBArch's #869 `build_tri.py` edit semantics, followed by `harness.compile_edits`;
- Rohan Arun's #987 slot search and the #1018 seven-slot recipe (Jeremy Kothe, MineB), the default input of `slots.py`;
- PR635's native local chain (`research/complex-sw4-frame8/vendor/pr635`), run by `native.py`;
- the gauge44 discovery/freeze witness protocol (#645 lineage) and Hao Yan's #858 T16 controller package, driven by
`rebind.py`, `unpin.py` and `t16_discover.py`.

The k8 words used by `selftest.py` are Jeremy Kothe's mutable-leaver construction (#1004/#1005) with the #1018 slots, read
from the retained #1042 and #1094 replay archives. No upstream file is modified.

Revision 2 (2026-10-14) responds to the maintainer's review continuation point on #1186
([batch review](https://github.com/CrocSwap/integer-mult-bounds/blob/main/docs/research/community-efficient300-review.md),
Mister-Meeseeks): it adds the true-moment interval certificate, the exact integer dual path and the qualified wording. The
harness compensation check fixes a screen gap found by this author during a later pivot search on #1319's words; the
program semantics it follows are those of the unchanged `independent/audit_local.py` (icekylinx, #645). Prepared with
substantial AI assistance (Anthropic Claude, via Claude Code).

Revision 3 (2026-10-14) makes the toolkit run on Windows. It answers woklerx's independent audit of revision 2
([#1186 comment](https://github.com/CrocSwap/integer-mult-bounds/pull/1186#issuecomment-6169503528)), which found that
`harness.py` imported the Unix-only `resource` module. Prepared with substantial AI assistance (Anthropic Claude, via
Claude Code).
29 changes: 29 additions & 0 deletions research/exact-frame-toolkit/PORTABILITY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"schema_version": 1,
"revision": 3,
"purpose": "Windows portability of the toolkit, answering woklerx's independent audit of revision 2 (https://github.com/CrocSwap/integer-mult-bounds/pull/1186#issuecomment-6169503528): harness.py imported the Unix-only resource module and timed pricings with SIGALRM.",
"unchanged": "frames.py is byte-identical to revision 2. No search result, price, interval or certificate changes.",
"checks": {
"GitHub Actions windows-latest (Windows Server 2025 10.0.26100, 4 CPUs), Python 3.12.10 (MSC v.1943, AMD64), NumPy 2.5.4": {
"run": "https://github.com/mdumitrean/integer-mult-bounds/actions/runs/38621712253 (fork-only test branch eft-windows-check = toolkit commit 47e75425 plus the workflow file)",
"selftest.py": "SELFTEST PASS, all 14 checks (154 s)",
"portability.py --quick": "PASS: 6 Windows-path checks (watchdog: 213 of 300 blocks timed out, 0 interrupts leaked, SIGINT handler restored), then the quick selftest (84 s)",
"python -O selftest.py --quick": "refused",
"spawn sweep (repair.py PRE OUT --workers 4 --interval)": "start method spawn; 2405 fusions in 3611 s, 1000 feasible, 2 gains, 3763 evaluations, largest true-gain bound 3.29e-11 units; all 2405 records identical to the macOS fork-mode sweep (0 differing records)"
},
"macos-arm64 Python 3.12.13, NumPy 2.5.4": {
"selftest.py": "SELFTEST PASS, all 14 checks (about 50 s)",
"portability.py": "PASS: 6 Windows-path checks, then all 14 selftest checks in the same process. Watchdog deadline: 149 of 300 blocks ending around their deadline timed out, 0 interrupts leaked, SIGINT handler restored; a raised SIGINT stayed KeyboardInterrupt; a pricing over a 0.05 s deadline returned 'timeout' and completed afterwards with delta 0",
"python -O selftest.py": "refused (RuntimeError on import)",
"PYTHONOPTIMIZE=1 kappa.py": "refused (RuntimeError on import)"
},
"macos-arm64 Python 3.14.7, NumPy 2.5.4": {
"selftest.py --quick": "SELFTEST PASS"
},
"spawn start method (EFT_START_METHOD=spawn repair.py PRE OUT --workers 3 --interval)": {
"input": "pre-slot k8 word, payload sha256 db2c7cfb3f8eee2b76c2e0154fc530520fb4d90cd9511a002cab527b16033b83 (selftest PRE)",
"result": "2405 fusions, 1000 feasible, 2 gains (-3957 each, sites t=190/A=439 and t=214/A=444), 3763 evaluations, largest true-gain bound among non-gain candidates 3.29e-11 units",
"comparison": "all 2405 records identical to revision 2's fork-mode sweep of the same word (0 differing records)"
}
}
}
Loading