Publish the revised queue, verified source and final seed-analysis gate
Browse files- README.md +2 -0
- logs/dashboard-20261125T165607Z-stderr.log +41 -0
- logs/seed-sensitivity-order-release.log +1 -0
- logs/study-20261125T165454Z-hybrid-stderr.log +61 -0
- logs/study-20261125T182902Z-hybrid-confirmation.log +1 -0
- publication.json +98 -68
- research/README.md +4 -0
- research/docs/hub/archive.md +2 -0
- research/docs/runbook.md +4 -0
- research/docs/study.json +0 -0
- research/reports/amendments/seed-sensitivity-last.md +17 -0
- research/reports/paper.pdf +0 -0
- research/reports/plan.md +2 -0
- research/reports/planned-runs.md +2 -0
- research/reports/progress.md +4 -2
- research/reports/seed-sensitivity.md +5 -0
- research/reports/summary.md +1 -1
- research/results/feasibility/remaining-work.json +2 -2
- research/results/verification/seed-order-transition.json +42 -0
- research/results/verification/tests.json +98 -58
- research/src/thirdloss/cli.py +10 -6
- research/src/thirdloss/hybrid.py +5 -3
- research/src/thirdloss/progress.py +6 -0
- research/src/thirdloss/report_paper.py +14 -0
- research/src/thirdloss/reporting.py +8 -1
- research/src/thirdloss/seed_sensitivity.py +161 -0
- research/src/thirdloss/study.py +21 -7
- research/tests/test_seed_order.py +97 -0
README.md
CHANGED
|
@@ -253,6 +253,8 @@ Each panel shows the first saved prompt and full continuations from the lowest m
|
|
| 253 |
|
| 254 |
</details>
|
| 255 |
|
|
|
|
|
|
|
| 256 |
<!-- COMPARISONS:END -->
|
| 257 |
|
| 258 |
## Research materials
|
|
|
|
| 253 |
|
| 254 |
</details>
|
| 255 |
|
| 256 |
+
Seed sensitivity is the final stage, after both primary test evaluations, all hybrid replications and checkpoint flatness. [Final seed-sensitivity report](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/seed-sensitivity.md)
|
| 257 |
+
|
| 258 |
<!-- COMPARISONS:END -->
|
| 259 |
|
| 260 |
## Research materials
|
logs/dashboard-20261125T165607Z-stderr.log
CHANGED
|
@@ -510,3 +510,44 @@
|
|
| 510 |
127.0.0.1 - - [25/Nov/2026 19:29:32] "GET /live.json HTTP/1.1" 200 -
|
| 511 |
127.0.0.1 - - [25/Nov/2026 19:29:43] "GET /live.json HTTP/1.1" 200 -
|
| 512 |
127.0.0.1 - - [25/Nov/2026 19:29:54] "GET /live.json HTTP/1.1" 200 -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 510 |
127.0.0.1 - - [25/Nov/2026 19:29:32] "GET /live.json HTTP/1.1" 200 -
|
| 511 |
127.0.0.1 - - [25/Nov/2026 19:29:43] "GET /live.json HTTP/1.1" 200 -
|
| 512 |
127.0.0.1 - - [25/Nov/2026 19:29:54] "GET /live.json HTTP/1.1" 200 -
|
| 513 |
+
127.0.0.1 - - [25/Nov/2026 19:30:05] "GET /live.json HTTP/1.1" 200 -
|
| 514 |
+
127.0.0.1 - - [25/Nov/2026 19:30:16] "GET /live.json HTTP/1.1" 200 -
|
| 515 |
+
127.0.0.1 - - [25/Nov/2026 19:30:26] "GET /live.json HTTP/1.1" 200 -
|
| 516 |
+
127.0.0.1 - - [25/Nov/2026 19:30:37] "GET /live.json HTTP/1.1" 200 -
|
| 517 |
+
127.0.0.1 - - [25/Nov/2026 19:30:48] "GET /live.json HTTP/1.1" 200 -
|
| 518 |
+
127.0.0.1 - - [25/Nov/2026 19:30:59] "GET /live.json HTTP/1.1" 200 -
|
| 519 |
+
127.0.0.1 - - [25/Nov/2026 19:31:10] "GET /live.json HTTP/1.1" 200 -
|
| 520 |
+
127.0.0.1 - - [25/Nov/2026 19:31:21] "GET /live.json HTTP/1.1" 200 -
|
| 521 |
+
127.0.0.1 - - [25/Nov/2026 19:31:32] "GET /live.json HTTP/1.1" 200 -
|
| 522 |
+
127.0.0.1 - - [25/Nov/2026 19:31:43] "GET /live.json HTTP/1.1" 200 -
|
| 523 |
+
127.0.0.1 - - [25/Nov/2026 19:31:53] "GET /live.json HTTP/1.1" 200 -
|
| 524 |
+
127.0.0.1 - - [25/Nov/2026 19:32:04] "GET /live.json HTTP/1.1" 200 -
|
| 525 |
+
127.0.0.1 - - [25/Nov/2026 19:32:15] "GET /live.json HTTP/1.1" 200 -
|
| 526 |
+
127.0.0.1 - - [25/Nov/2026 19:32:26] "GET /live.json HTTP/1.1" 200 -
|
| 527 |
+
127.0.0.1 - - [25/Nov/2026 19:32:37] "GET /live.json HTTP/1.1" 200 -
|
| 528 |
+
127.0.0.1 - - [25/Nov/2026 19:32:48] "GET /live.json HTTP/1.1" 200 -
|
| 529 |
+
127.0.0.1 - - [25/Nov/2026 19:32:58] "GET /live.json HTTP/1.1" 200 -
|
| 530 |
+
127.0.0.1 - - [25/Nov/2026 19:33:09] "GET /live.json HTTP/1.1" 200 -
|
| 531 |
+
127.0.0.1 - - [25/Nov/2026 19:33:20] "GET /live.json HTTP/1.1" 200 -
|
| 532 |
+
127.0.0.1 - - [25/Nov/2026 19:33:31] "GET /live.json HTTP/1.1" 200 -
|
| 533 |
+
127.0.0.1 - - [25/Nov/2026 19:33:42] "GET /live.json HTTP/1.1" 200 -
|
| 534 |
+
127.0.0.1 - - [25/Nov/2026 19:33:53] "GET /live.json HTTP/1.1" 200 -
|
| 535 |
+
127.0.0.1 - - [25/Nov/2026 19:34:04] "GET /live.json HTTP/1.1" 200 -
|
| 536 |
+
127.0.0.1 - - [25/Nov/2026 19:34:14] "GET /live.json HTTP/1.1" 200 -
|
| 537 |
+
127.0.0.1 - - [25/Nov/2026 19:34:25] "GET /live.json HTTP/1.1" 200 -
|
| 538 |
+
127.0.0.1 - - [25/Nov/2026 19:34:36] "GET /live.json HTTP/1.1" 200 -
|
| 539 |
+
127.0.0.1 - - [25/Nov/2026 19:34:47] "GET /live.json HTTP/1.1" 200 -
|
| 540 |
+
127.0.0.1 - - [25/Nov/2026 19:34:58] "GET /live.json HTTP/1.1" 200 -
|
| 541 |
+
127.0.0.1 - - [25/Nov/2026 19:35:09] "GET /live.json HTTP/1.1" 200 -
|
| 542 |
+
127.0.0.1 - - [25/Nov/2026 19:35:20] "GET /live.json HTTP/1.1" 200 -
|
| 543 |
+
127.0.0.1 - - [25/Nov/2026 19:35:30] "GET /live.json HTTP/1.1" 200 -
|
| 544 |
+
127.0.0.1 - - [25/Nov/2026 19:35:41] "GET /live.json HTTP/1.1" 200 -
|
| 545 |
+
127.0.0.1 - - [25/Nov/2026 19:35:52] "GET /live.json HTTP/1.1" 200 -
|
| 546 |
+
127.0.0.1 - - [25/Nov/2026 19:36:03] "GET /live.json HTTP/1.1" 200 -
|
| 547 |
+
127.0.0.1 - - [25/Nov/2026 19:36:14] "GET /live.json HTTP/1.1" 200 -
|
| 548 |
+
127.0.0.1 - - [25/Nov/2026 19:36:25] "GET /live.json HTTP/1.1" 200 -
|
| 549 |
+
127.0.0.1 - - [25/Nov/2026 19:36:35] "GET /live.json HTTP/1.1" 200 -
|
| 550 |
+
127.0.0.1 - - [25/Nov/2026 19:36:46] "GET /live.json HTTP/1.1" 200 -
|
| 551 |
+
127.0.0.1 - - [25/Nov/2026 19:36:57] "GET /live.json HTTP/1.1" 200 -
|
| 552 |
+
127.0.0.1 - - [25/Nov/2026 19:37:08] "GET /live.json HTTP/1.1" 200 -
|
| 553 |
+
127.0.0.1 - - [25/Nov/2026 19:37:19] "GET /live.json HTTP/1.1" 200 -
|
logs/seed-sensitivity-order-release.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
|
logs/study-20261125T165454Z-hybrid-stderr.log
CHANGED
|
@@ -7012,3 +7012,64 @@ findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
|
|
| 7012 |
|
| 7013 |
|
| 7014 |
: 100%|##########| 743kB / 743kB
|
| 7015 |
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7016 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7017 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7018 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7019 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7020 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7021 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7022 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7023 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7024 |
: 86%|########5 | 636kB / 743kB [A[A
|
|
|
|
|
|
|
| 7025 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
|
|
|
| 7026 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7027 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7028 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7029 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7030 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7031 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
| 7032 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7033 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7034 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7035 |
: 100%|##########| 743kB / 743kB [A[A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7036 |
: 100%|##########| 743kB / 743kB
|
|
|
|
| 7012 |
|
| 7013 |
|
| 7014 |
: 100%|##########| 743kB / 743kB
|
| 7015 |
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
|
| 7016 |
+
|
| 7017 |
+
|
| 7018 |
+
|
| 7019 |
+
|
| 7020 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7021 |
+
|
| 7022 |
+
|
| 7023 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7024 |
+
|
| 7025 |
+
|
| 7026 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7027 |
+
|
| 7028 |
+
|
| 7029 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7030 |
+
|
| 7031 |
+
|
| 7032 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7033 |
+
|
| 7034 |
+
|
| 7035 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7036 |
+
|
| 7037 |
+
|
| 7038 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7039 |
+
|
| 7040 |
+
|
| 7041 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7042 |
+
|
| 7043 |
+
|
| 7044 |
: 86%|########5 | 636kB / 743kB [A[A
|
| 7045 |
+
|
| 7046 |
+
|
| 7047 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7048 |
+
|
| 7049 |
+
|
| 7050 |
+
|
| 7051 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7052 |
+
|
| 7053 |
+
|
| 7054 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7055 |
+
|
| 7056 |
+
|
| 7057 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7058 |
+
|
| 7059 |
+
|
| 7060 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7061 |
+
|
| 7062 |
+
|
| 7063 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7064 |
+
|
| 7065 |
+
|
| 7066 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7067 |
+
|
| 7068 |
+
|
| 7069 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7070 |
+
|
| 7071 |
+
|
| 7072 |
+
|
| 7073 |
+
|
| 7074 |
+
|
| 7075 |
+
|
| 7076 |
+
|
| 7077 |
+
|
| 7078 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7079 |
+
|
| 7080 |
+
|
| 7081 |
+
|
| 7082 |
+
|
| 7083 |
+
|
| 7084 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7085 |
+
|
| 7086 |
+
|
| 7087 |
+
|
| 7088 |
+
|
| 7089 |
+
|
| 7090 |
: 100%|##########| 743kB / 743kB [A[A
|
| 7091 |
+
|
| 7092 |
+
|
| 7093 |
+
|
| 7094 |
+
|
| 7095 |
+
|
| 7096 |
+
|
| 7097 |
: 100%|##########| 743kB / 743kB
|
logs/study-20261125T182902Z-hybrid-confirmation.log
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
2026-11-25T18:29:02+00:00 Reserved the next replication. Completing the existing seed-25 trunk publication.
|
|
|
|
|
|
| 1 |
2026-11-25T18:29:02+00:00 Reserved the next replication. Completing the existing seed-25 trunk publication.
|
| 2 |
+
2026-11-25T18:30:04+00:00 Trunk and geometry verified. Waiting for the published execution-order update.
|
publication.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
|
| 3 |
-
"git_revision": "
|
| 4 |
"repositories": {
|
| 5 |
"BurnyCoder/thirdloss-arxiv-abstracts-2024": {
|
| 6 |
"files": {
|
|
@@ -91,12 +91,12 @@
|
|
| 91 |
"size": 9809
|
| 92 |
},
|
| 93 |
"study.json": {
|
| 94 |
-
"git_blob": "
|
| 95 |
-
"sha256": "
|
| 96 |
-
"size":
|
| 97 |
}
|
| 98 |
},
|
| 99 |
-
"revision": "
|
| 100 |
"type": "space"
|
| 101 |
},
|
| 102 |
"BurnyCoder/thirdloss-pythia-410m-adapters": {
|
|
@@ -2264,9 +2264,9 @@
|
|
| 2264 |
"BurnyCoder/thirdloss-study": {
|
| 2265 |
"files": {
|
| 2266 |
"README.md": {
|
| 2267 |
-
"git_blob": "
|
| 2268 |
-
"sha256": "
|
| 2269 |
-
"size":
|
| 2270 |
},
|
| 2271 |
"logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": {
|
| 2272 |
"git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",
|
|
@@ -2394,9 +2394,9 @@
|
|
| 2394 |
"size": 46
|
| 2395 |
},
|
| 2396 |
"logs/dashboard-20261125T165607Z-stderr.log": {
|
| 2397 |
-
"git_blob": "
|
| 2398 |
-
"sha256": "
|
| 2399 |
-
"size":
|
| 2400 |
},
|
| 2401 |
"logs/dashboard-20261125T165607Z.log": {
|
| 2402 |
"git_blob": "2b28574b8ec0a2c690c454dd9457dab8668a315d",
|
|
@@ -2563,6 +2563,11 @@
|
|
| 2563 |
"sha256": "47454eb636e56dbc462939d61c50d1db0bae853976a60642dd26f32f49f8e2d3",
|
| 2564 |
"size": 8744
|
| 2565 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2566 |
"logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": {
|
| 2567 |
"git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",
|
| 2568 |
"sha256": "b7d5167ae1005913ab1b46c0189ebebfc3231898c529badc59913c16ef0ee72f",
|
|
@@ -2849,14 +2854,14 @@
|
|
| 2849 |
"size": 2449541
|
| 2850 |
},
|
| 2851 |
"logs/study-20261125T165454Z-hybrid-stderr.log": {
|
| 2852 |
-
"git_blob": "
|
| 2853 |
-
"sha256": "
|
| 2854 |
-
"size":
|
| 2855 |
},
|
| 2856 |
"logs/study-20261125T182902Z-hybrid-confirmation.log": {
|
| 2857 |
-
"git_blob": "
|
| 2858 |
-
"sha256": "
|
| 2859 |
-
"size":
|
| 2860 |
},
|
| 2861 |
"logs/study-20261125T182902Z-hybrid-stderr.log": {
|
| 2862 |
"git_blob": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
|
@@ -2944,9 +2949,9 @@
|
|
| 2944 |
"size": 786
|
| 2945 |
},
|
| 2946 |
"research/README.md": {
|
| 2947 |
-
"git_blob": "
|
| 2948 |
-
"sha256": "
|
| 2949 |
-
"size":
|
| 2950 |
},
|
| 2951 |
"research/docs/data.md": {
|
| 2952 |
"git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",
|
|
@@ -2999,9 +3004,9 @@
|
|
| 2999 |
"size": 1583
|
| 3000 |
},
|
| 3001 |
"research/docs/hub/archive.md": {
|
| 3002 |
-
"git_blob": "
|
| 3003 |
-
"sha256": "
|
| 3004 |
-
"size":
|
| 3005 |
},
|
| 3006 |
"research/docs/hub/space.md": {
|
| 3007 |
"git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",
|
|
@@ -3019,14 +3024,14 @@
|
|
| 3019 |
"size": 10105
|
| 3020 |
},
|
| 3021 |
"research/docs/runbook.md": {
|
| 3022 |
-
"git_blob": "
|
| 3023 |
-
"sha256": "
|
| 3024 |
-
"size":
|
| 3025 |
},
|
| 3026 |
"research/docs/study.json": {
|
| 3027 |
-
"git_blob": "
|
| 3028 |
-
"sha256": "
|
| 3029 |
-
"size":
|
| 3030 |
},
|
| 3031 |
"research/docs/third-derivative-penalty.md": {
|
| 3032 |
"git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
|
|
@@ -3053,6 +3058,11 @@
|
|
| 3053 |
"sha256": "041d54f3d730b54a64893923c668e71701282347a1bdfcdbd093bf93211d22e8",
|
| 3054 |
"size": 3982
|
| 3055 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3056 |
"research/reports/experiments/abstracts-control-s00-initial-r00/experiment.md": {
|
| 3057 |
"git_blob": "5da2cb6bf53958c7d289b6a0e8c2d458abf6cbba",
|
| 3058 |
"sha256": "cf0771d7f13c20960b235e7b9fce67ce7008a7e84c9663be4e735ce485f99d1d",
|
|
@@ -3594,19 +3604,19 @@
|
|
| 3594 |
"size": 7290
|
| 3595 |
},
|
| 3596 |
"research/reports/paper.pdf": {
|
| 3597 |
-
"git_blob": "
|
| 3598 |
-
"sha256": "
|
| 3599 |
-
"size":
|
| 3600 |
},
|
| 3601 |
"research/reports/plan.md": {
|
| 3602 |
-
"git_blob": "
|
| 3603 |
-
"sha256": "
|
| 3604 |
-
"size":
|
| 3605 |
},
|
| 3606 |
"research/reports/planned-runs.md": {
|
| 3607 |
-
"git_blob": "
|
| 3608 |
-
"sha256": "
|
| 3609 |
-
"size":
|
| 3610 |
},
|
| 3611 |
"research/reports/preregistration.md": {
|
| 3612 |
"git_blob": "3411a501f8cb3f3be0d31b70ee410094dae5dd95",
|
|
@@ -3614,9 +3624,9 @@
|
|
| 3614 |
"size": 5234
|
| 3615 |
},
|
| 3616 |
"research/reports/progress.md": {
|
| 3617 |
-
"git_blob": "
|
| 3618 |
-
"sha256": "
|
| 3619 |
-
"size":
|
| 3620 |
},
|
| 3621 |
"research/reports/reviews/adapter-verification.md": {
|
| 3622 |
"git_blob": "1ad4e5807c9e22c39721e238af4c640f4537cf66",
|
|
@@ -3633,15 +3643,20 @@
|
|
| 3633 |
"sha256": "c6e09f0ae285b852f8651903545c5700afd757162c3fb581be6c87c437944dce",
|
| 3634 |
"size": 4931
|
| 3635 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3636 |
"research/reports/state-of-the-art-review.md": {
|
| 3637 |
"git_blob": "8f0c96d4ddee6dde8376c746a99f69387632448d",
|
| 3638 |
"sha256": "3cb34f3f1b285aee018a8f618647301a5ebca089687a468475ae43df883a11e3",
|
| 3639 |
"size": 1740
|
| 3640 |
},
|
| 3641 |
"research/reports/summary.md": {
|
| 3642 |
-
"git_blob": "
|
| 3643 |
-
"sha256": "
|
| 3644 |
-
"size":
|
| 3645 |
},
|
| 3646 |
"research/results/abstracts-control-s00-initial-r00/config.json": {
|
| 3647 |
"git_blob": "0371479e1ad5f1c59b484eb112d315a86c82852d",
|
|
@@ -4069,8 +4084,8 @@
|
|
| 4069 |
"size": 3005
|
| 4070 |
},
|
| 4071 |
"research/results/feasibility/remaining-work.json": {
|
| 4072 |
-
"git_blob": "
|
| 4073 |
-
"sha256": "
|
| 4074 |
"size": 1169
|
| 4075 |
},
|
| 4076 |
"research/results/feasibility/stories.json": {
|
|
@@ -6003,15 +6018,20 @@
|
|
| 6003 |
"sha256": "e80046d561e7142c1c00862361bdac1b2942027c5f9d10f7e74f8bd75918371e",
|
| 6004 |
"size": 413
|
| 6005 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6006 |
"research/results/verification/stories-full-gradient.json": {
|
| 6007 |
"git_blob": "331f53e147546252e212336c9deb82abe2ad7137",
|
| 6008 |
"sha256": "a379a17e5d19b33a66805402859d4bfee149ae6b382d3ed3eff0a97cc07d0925",
|
| 6009 |
"size": 459
|
| 6010 |
},
|
| 6011 |
"research/results/verification/tests.json": {
|
| 6012 |
-
"git_blob": "
|
| 6013 |
-
"sha256": "
|
| 6014 |
-
"size":
|
| 6015 |
},
|
| 6016 |
"research/src/thirdloss/__init__.py": {
|
| 6017 |
"git_blob": "f7abc1abaedf97f1f58ccbb3be45772d5556e65d",
|
|
@@ -6029,9 +6049,9 @@
|
|
| 6029 |
"size": 10144
|
| 6030 |
},
|
| 6031 |
"research/src/thirdloss/cli.py": {
|
| 6032 |
-
"git_blob": "
|
| 6033 |
-
"sha256": "
|
| 6034 |
-
"size":
|
| 6035 |
},
|
| 6036 |
"research/src/thirdloss/data.py": {
|
| 6037 |
"git_blob": "9b06438a0bce64f8d491cd65156ebe8aa04e8916",
|
|
@@ -6064,9 +6084,9 @@
|
|
| 6064 |
"size": 17909
|
| 6065 |
},
|
| 6066 |
"research/src/thirdloss/hybrid.py": {
|
| 6067 |
-
"git_blob": "
|
| 6068 |
-
"sha256": "
|
| 6069 |
-
"size":
|
| 6070 |
},
|
| 6071 |
"research/src/thirdloss/hybrid_results.py": {
|
| 6072 |
"git_blob": "751742c1cb1ead31b4940e9c3b0c98a9c9fc17d4",
|
|
@@ -6109,9 +6129,9 @@
|
|
| 6109 |
"size": 6073
|
| 6110 |
},
|
| 6111 |
"research/src/thirdloss/progress.py": {
|
| 6112 |
-
"git_blob": "
|
| 6113 |
-
"sha256": "
|
| 6114 |
-
"size":
|
| 6115 |
},
|
| 6116 |
"research/src/thirdloss/readme_comparisons.py": {
|
| 6117 |
"git_blob": "b5d75394a1cc346e2adae9d48feedb18a3b1452d",
|
|
@@ -6139,9 +6159,9 @@
|
|
| 6139 |
"size": 10129
|
| 6140 |
},
|
| 6141 |
"research/src/thirdloss/report_paper.py": {
|
| 6142 |
-
"git_blob": "
|
| 6143 |
-
"sha256": "
|
| 6144 |
-
"size":
|
| 6145 |
},
|
| 6146 |
"research/src/thirdloss/report_records.py": {
|
| 6147 |
"git_blob": "38e9dc08b01978b3c1c3491b556e96b7b65bc1ee",
|
|
@@ -6149,19 +6169,24 @@
|
|
| 6149 |
"size": 16138
|
| 6150 |
},
|
| 6151 |
"research/src/thirdloss/reporting.py": {
|
| 6152 |
-
"git_blob": "
|
| 6153 |
-
"sha256": "
|
| 6154 |
-
"size":
|
| 6155 |
},
|
| 6156 |
"research/src/thirdloss/score_flatness.py": {
|
| 6157 |
"git_blob": "bc0df88c71f2ebef66bd546be84bb353aa25feee",
|
| 6158 |
"sha256": "0fb9fde75fd83f6e00725dad04773c36747846ecc92ba095c571f27d5d593639",
|
| 6159 |
"size": 2205
|
| 6160 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6161 |
"research/src/thirdloss/study.py": {
|
| 6162 |
-
"git_blob": "
|
| 6163 |
-
"sha256": "
|
| 6164 |
-
"size":
|
| 6165 |
},
|
| 6166 |
"research/src/thirdloss/train.py": {
|
| 6167 |
"git_blob": "3c16d7419d10d1709d4a168ad7765909fbef77a6",
|
|
@@ -6228,6 +6253,11 @@
|
|
| 6228 |
"sha256": "6a144d3dbae968da797bb4765c8c37b1543abc9e54d32e88f6de8ef8d9218bf5",
|
| 6229 |
"size": 3211
|
| 6230 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6231 |
"research/tests/test_training.py": {
|
| 6232 |
"git_blob": "e3086add8928f326d314c62fd9df09b49f15499c",
|
| 6233 |
"sha256": "26495a4aca565bfd13224e8cb280c5be7626226fa16ceb5f416b1be9f21d61bf",
|
|
@@ -6288,5 +6318,5 @@
|
|
| 6288 |
"type": "dataset"
|
| 6289 |
}
|
| 6290 |
},
|
| 6291 |
-
"verified_at": "2026-11-25T18:
|
| 6292 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
|
| 3 |
+
"git_revision": "a5926cb4fe805a85ad6e192dca31dfd05d5b0b44",
|
| 4 |
"repositories": {
|
| 5 |
"BurnyCoder/thirdloss-arxiv-abstracts-2024": {
|
| 6 |
"files": {
|
|
|
|
| 91 |
"size": 9809
|
| 92 |
},
|
| 93 |
"study.json": {
|
| 94 |
+
"git_blob": "d979c390dd03a8c73ee0fbfa7987a166f1ee1fc1",
|
| 95 |
+
"sha256": "2df8fe7c72f4e7f81c182804f38c2e4ffde5daae2235fc5dec5d5d59d101d4a6",
|
| 96 |
+
"size": 3557897
|
| 97 |
}
|
| 98 |
},
|
| 99 |
+
"revision": "74199a025e86069e0794186c01e2c9726adb2702",
|
| 100 |
"type": "space"
|
| 101 |
},
|
| 102 |
"BurnyCoder/thirdloss-pythia-410m-adapters": {
|
|
|
|
| 2264 |
"BurnyCoder/thirdloss-study": {
|
| 2265 |
"files": {
|
| 2266 |
"README.md": {
|
| 2267 |
+
"git_blob": "5680c046fecfab15ed05e403973b4ff9d3c4f6a1",
|
| 2268 |
+
"sha256": "eb53847835cb528369723a8ac6f83266c84d29a418302eb1dad30da61e8a1e8e",
|
| 2269 |
+
"size": 24786
|
| 2270 |
},
|
| 2271 |
"logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": {
|
| 2272 |
"git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",
|
|
|
|
| 2394 |
"size": 46
|
| 2395 |
},
|
| 2396 |
"logs/dashboard-20261125T165607Z-stderr.log": {
|
| 2397 |
+
"git_blob": "6e0b404ff2f118ae7cf22ca69097bf1c6f22930b",
|
| 2398 |
+
"sha256": "30509b6c23d9f697d75d024e8e959adfb7bcf6a9c75816e0b61b25f063639252",
|
| 2399 |
+
"size": 38706
|
| 2400 |
},
|
| 2401 |
"logs/dashboard-20261125T165607Z.log": {
|
| 2402 |
"git_blob": "2b28574b8ec0a2c690c454dd9457dab8668a315d",
|
|
|
|
| 2563 |
"sha256": "47454eb636e56dbc462939d61c50d1db0bae853976a60642dd26f32f49f8e2d3",
|
| 2564 |
"size": 8744
|
| 2565 |
},
|
| 2566 |
+
"logs/seed-sensitivity-order-release.log": {
|
| 2567 |
+
"git_blob": "37bbb4bdbd164007d9e8e84ddbdb5e73b2a11e1d",
|
| 2568 |
+
"sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6",
|
| 2569 |
+
"size": 79
|
| 2570 |
+
},
|
| 2571 |
"logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": {
|
| 2572 |
"git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",
|
| 2573 |
"sha256": "b7d5167ae1005913ab1b46c0189ebebfc3231898c529badc59913c16ef0ee72f",
|
|
|
|
| 2854 |
"size": 2449541
|
| 2855 |
},
|
| 2856 |
"logs/study-20261125T165454Z-hybrid-stderr.log": {
|
| 2857 |
+
"git_blob": "4117e3b0c88da9fc821ef4401140cb602e0b6390",
|
| 2858 |
+
"sha256": "d0255e8ca4ff578bccf39dda12a3120f866f27e5fecd62ca6110806c170d46ae",
|
| 2859 |
+
"size": 366602
|
| 2860 |
},
|
| 2861 |
"logs/study-20261125T182902Z-hybrid-confirmation.log": {
|
| 2862 |
+
"git_blob": "e9bd02e9806ffe5c1a083731e26bd1eb6d0426dd",
|
| 2863 |
+
"sha256": "a73ce473e4c9df211cccc9b690fc9cd0df15536f633628a173c20bd410065168",
|
| 2864 |
+
"size": 215
|
| 2865 |
},
|
| 2866 |
"logs/study-20261125T182902Z-hybrid-stderr.log": {
|
| 2867 |
"git_blob": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
|
|
|
|
| 2949 |
"size": 786
|
| 2950 |
},
|
| 2951 |
"research/README.md": {
|
| 2952 |
+
"git_blob": "84d823b7d6b7ac14deb7a8d192c7b718b0b9c9ab",
|
| 2953 |
+
"sha256": "4b3cab338d9b651004668dcf99b55477bc36a0cc11c7e5f40f6c38ab9db81c54",
|
| 2954 |
+
"size": 38498
|
| 2955 |
},
|
| 2956 |
"research/docs/data.md": {
|
| 2957 |
"git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",
|
|
|
|
| 3004 |
"size": 1583
|
| 3005 |
},
|
| 3006 |
"research/docs/hub/archive.md": {
|
| 3007 |
+
"git_blob": "5680c046fecfab15ed05e403973b4ff9d3c4f6a1",
|
| 3008 |
+
"sha256": "eb53847835cb528369723a8ac6f83266c84d29a418302eb1dad30da61e8a1e8e",
|
| 3009 |
+
"size": 24786
|
| 3010 |
},
|
| 3011 |
"research/docs/hub/space.md": {
|
| 3012 |
"git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",
|
|
|
|
| 3024 |
"size": 10105
|
| 3025 |
},
|
| 3026 |
"research/docs/runbook.md": {
|
| 3027 |
+
"git_blob": "84e225d85badf1e07e1f464f826b5bdc7a625d87",
|
| 3028 |
+
"sha256": "356c2fca4cb50ccb1eed25fb183af13b585a694b973ed6fcaf38a548e40be1a9",
|
| 3029 |
+
"size": 11344
|
| 3030 |
},
|
| 3031 |
"research/docs/study.json": {
|
| 3032 |
+
"git_blob": "d979c390dd03a8c73ee0fbfa7987a166f1ee1fc1",
|
| 3033 |
+
"sha256": "2df8fe7c72f4e7f81c182804f38c2e4ffde5daae2235fc5dec5d5d59d101d4a6",
|
| 3034 |
+
"size": 3557897
|
| 3035 |
},
|
| 3036 |
"research/docs/third-derivative-penalty.md": {
|
| 3037 |
"git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
|
|
|
|
| 3058 |
"sha256": "041d54f3d730b54a64893923c668e71701282347a1bdfcdbd093bf93211d22e8",
|
| 3059 |
"size": 3982
|
| 3060 |
},
|
| 3061 |
+
"research/reports/amendments/seed-sensitivity-last.md": {
|
| 3062 |
+
"git_blob": "a19a065d09773e1f7ec071d88c49f72e1473159f",
|
| 3063 |
+
"sha256": "9c2faa46b4821eca4007fa9e4bbc8dea2902fd68ca577e392630a68ea0ee9f4c",
|
| 3064 |
+
"size": 2983
|
| 3065 |
+
},
|
| 3066 |
"research/reports/experiments/abstracts-control-s00-initial-r00/experiment.md": {
|
| 3067 |
"git_blob": "5da2cb6bf53958c7d289b6a0e8c2d458abf6cbba",
|
| 3068 |
"sha256": "cf0771d7f13c20960b235e7b9fce67ce7008a7e84c9663be4e735ce485f99d1d",
|
|
|
|
| 3604 |
"size": 7290
|
| 3605 |
},
|
| 3606 |
"research/reports/paper.pdf": {
|
| 3607 |
+
"git_blob": "387b250910c6392c89512bfadd09573f51f0dd0a",
|
| 3608 |
+
"sha256": "484a71756abe22685e0bda9493c63f1abb2b98f513be9aa2217ef7ac0020d16e",
|
| 3609 |
+
"size": 743248
|
| 3610 |
},
|
| 3611 |
"research/reports/plan.md": {
|
| 3612 |
+
"git_blob": "e8d0894e20d1d64edf47547451cb1cfeb6ac5a6b",
|
| 3613 |
+
"sha256": "4e589689b5211e575bffbad712962d48a813d3085edade3836cd57bc1d08872e",
|
| 3614 |
+
"size": 8660
|
| 3615 |
},
|
| 3616 |
"research/reports/planned-runs.md": {
|
| 3617 |
+
"git_blob": "d068af2669fb0650f40411189aa34f9f75aaeb92",
|
| 3618 |
+
"sha256": "6860255a3494c7b63500044f94da69967c73ebe0de64622af4c877c8ad15094b",
|
| 3619 |
+
"size": 3691
|
| 3620 |
},
|
| 3621 |
"research/reports/preregistration.md": {
|
| 3622 |
"git_blob": "3411a501f8cb3f3be0d31b70ee410094dae5dd95",
|
|
|
|
| 3624 |
"size": 5234
|
| 3625 |
},
|
| 3626 |
"research/reports/progress.md": {
|
| 3627 |
+
"git_blob": "d1716a1938aaf29d718d6c208f6df43b30face86",
|
| 3628 |
+
"sha256": "cf2ca99dc2b4577aba5b5fb43178559c8524da04c9ed1efdf3373c86d0b8236c",
|
| 3629 |
+
"size": 4524
|
| 3630 |
},
|
| 3631 |
"research/reports/reviews/adapter-verification.md": {
|
| 3632 |
"git_blob": "1ad4e5807c9e22c39721e238af4c640f4537cf66",
|
|
|
|
| 3643 |
"sha256": "c6e09f0ae285b852f8651903545c5700afd757162c3fb581be6c87c437944dce",
|
| 3644 |
"size": 4931
|
| 3645 |
},
|
| 3646 |
+
"research/reports/seed-sensitivity.md": {
|
| 3647 |
+
"git_blob": "9a7ebd018ff5b345de22e6fe3fdfda4e3eca9b6f",
|
| 3648 |
+
"sha256": "326a51f98eacc7bfcab8c1ba864e1c18614068bddeea82fa3f205b0cee330e42",
|
| 3649 |
+
"size": 270
|
| 3650 |
+
},
|
| 3651 |
"research/reports/state-of-the-art-review.md": {
|
| 3652 |
"git_blob": "8f0c96d4ddee6dde8376c746a99f69387632448d",
|
| 3653 |
"sha256": "3cb34f3f1b285aee018a8f618647301a5ebca089687a468475ae43df883a11e3",
|
| 3654 |
"size": 1740
|
| 3655 |
},
|
| 3656 |
"research/reports/summary.md": {
|
| 3657 |
+
"git_blob": "9e34c5e33d615c8fee374bd94d0ca814faee106f",
|
| 3658 |
+
"sha256": "42c6ef37058b160cc0ea02a2c848406e34e2a577fb1f63985e1ed87e0fe6a6f9",
|
| 3659 |
+
"size": 4271
|
| 3660 |
},
|
| 3661 |
"research/results/abstracts-control-s00-initial-r00/config.json": {
|
| 3662 |
"git_blob": "0371479e1ad5f1c59b484eb112d315a86c82852d",
|
|
|
|
| 4084 |
"size": 3005
|
| 4085 |
},
|
| 4086 |
"research/results/feasibility/remaining-work.json": {
|
| 4087 |
+
"git_blob": "e7abefd7a8f7b3ab381a82d483f041c289088794",
|
| 4088 |
+
"sha256": "240757d5bf45f90e960528925c73f9862ef866f480cd903ed4995b8ee4c7ee11",
|
| 4089 |
"size": 1169
|
| 4090 |
},
|
| 4091 |
"research/results/feasibility/stories.json": {
|
|
|
|
| 6018 |
"sha256": "e80046d561e7142c1c00862361bdac1b2942027c5f9d10f7e74f8bd75918371e",
|
| 6019 |
"size": 413
|
| 6020 |
},
|
| 6021 |
+
"research/results/verification/seed-order-transition.json": {
|
| 6022 |
+
"git_blob": "eea8ec1ba314bef6758fc04ff8976cc1131f3cec",
|
| 6023 |
+
"sha256": "dc0ba1519b66222bc577faa62c6c615de7cf7b7660a3149db8a0765a1f0b6bfc",
|
| 6024 |
+
"size": 1497
|
| 6025 |
+
},
|
| 6026 |
"research/results/verification/stories-full-gradient.json": {
|
| 6027 |
"git_blob": "331f53e147546252e212336c9deb82abe2ad7137",
|
| 6028 |
"sha256": "a379a17e5d19b33a66805402859d4bfee149ae6b382d3ed3eff0a97cc07d0925",
|
| 6029 |
"size": 459
|
| 6030 |
},
|
| 6031 |
"research/results/verification/tests.json": {
|
| 6032 |
+
"git_blob": "a8d86953c27cc17bc3215d7e9e13a40a8f13157f",
|
| 6033 |
+
"sha256": "16136f56283ac3c19f7c3933ab23e816e5fda28caf6d7e68aee551291530a3f1",
|
| 6034 |
+
"size": 14221
|
| 6035 |
},
|
| 6036 |
"research/src/thirdloss/__init__.py": {
|
| 6037 |
"git_blob": "f7abc1abaedf97f1f58ccbb3be45772d5556e65d",
|
|
|
|
| 6049 |
"size": 10144
|
| 6050 |
},
|
| 6051 |
"research/src/thirdloss/cli.py": {
|
| 6052 |
+
"git_blob": "235edfec5823ad91558041e37847938e0613f3cc",
|
| 6053 |
+
"sha256": "f404b943140cbf6d40a178518c95e1e7366d5b20a1cb78d1e028a290651c9d15",
|
| 6054 |
+
"size": 8385
|
| 6055 |
},
|
| 6056 |
"research/src/thirdloss/data.py": {
|
| 6057 |
"git_blob": "9b06438a0bce64f8d491cd65156ebe8aa04e8916",
|
|
|
|
| 6084 |
"size": 17909
|
| 6085 |
},
|
| 6086 |
"research/src/thirdloss/hybrid.py": {
|
| 6087 |
+
"git_blob": "6861936703d25832917383020a6b5fe32dc4f52b",
|
| 6088 |
+
"sha256": "72430a9a464a0c410a915541a5e88b37019093db18e22d2fe88fd325cd21fc73",
|
| 6089 |
+
"size": 11204
|
| 6090 |
},
|
| 6091 |
"research/src/thirdloss/hybrid_results.py": {
|
| 6092 |
"git_blob": "751742c1cb1ead31b4940e9c3b0c98a9c9fc17d4",
|
|
|
|
| 6129 |
"size": 6073
|
| 6130 |
},
|
| 6131 |
"research/src/thirdloss/progress.py": {
|
| 6132 |
+
"git_blob": "d1916b3e06e410dae11b603ab4043a5adaf0b9e7",
|
| 6133 |
+
"sha256": "17907a15e83e446a8a33c4f05348119d53307391d914e71deb65b9e5a07a51e9",
|
| 6134 |
+
"size": 12779
|
| 6135 |
},
|
| 6136 |
"research/src/thirdloss/readme_comparisons.py": {
|
| 6137 |
"git_blob": "b5d75394a1cc346e2adae9d48feedb18a3b1452d",
|
|
|
|
| 6159 |
"size": 10129
|
| 6160 |
},
|
| 6161 |
"research/src/thirdloss/report_paper.py": {
|
| 6162 |
+
"git_blob": "f7a528b566688ac87abcf8a498ae12b94d4187fc",
|
| 6163 |
+
"sha256": "c8b638e53a9fa16683388fce41ca5cdeffdad6b0f7762b7c4dcd0b7b6943794b",
|
| 6164 |
+
"size": 37289
|
| 6165 |
},
|
| 6166 |
"research/src/thirdloss/report_records.py": {
|
| 6167 |
"git_blob": "38e9dc08b01978b3c1c3491b556e96b7b65bc1ee",
|
|
|
|
| 6169 |
"size": 16138
|
| 6170 |
},
|
| 6171 |
"research/src/thirdloss/reporting.py": {
|
| 6172 |
+
"git_blob": "1da6c2316c9a0410286d6bc31089f7e43784157c",
|
| 6173 |
+
"sha256": "8c20e8ab5a108f742432c5fc065364299363b68dfb9cafc4ae75be972538ed27",
|
| 6174 |
+
"size": 22636
|
| 6175 |
},
|
| 6176 |
"research/src/thirdloss/score_flatness.py": {
|
| 6177 |
"git_blob": "bc0df88c71f2ebef66bd546be84bb353aa25feee",
|
| 6178 |
"sha256": "0fb9fde75fd83f6e00725dad04773c36747846ecc92ba095c571f27d5d593639",
|
| 6179 |
"size": 2205
|
| 6180 |
},
|
| 6181 |
+
"research/src/thirdloss/seed_sensitivity.py": {
|
| 6182 |
+
"git_blob": "ee102a9c0fa421c42f459ef9b8b4bd0cd704755f",
|
| 6183 |
+
"sha256": "979fe38b9194633d1692ca18a11853a28d2a77bc8fa0969949d31671d0f87d25",
|
| 6184 |
+
"size": 9291
|
| 6185 |
+
},
|
| 6186 |
"research/src/thirdloss/study.py": {
|
| 6187 |
+
"git_blob": "f4b9c87888b2a76ada7a99b9c8f24fe5f83ee03f",
|
| 6188 |
+
"sha256": "9bc29cea7cda12dc1bd430cce7ab42ed2123a107e87a5bb07b291cd2ca334206",
|
| 6189 |
+
"size": 13383
|
| 6190 |
},
|
| 6191 |
"research/src/thirdloss/train.py": {
|
| 6192 |
"git_blob": "3c16d7419d10d1709d4a168ad7765909fbef77a6",
|
|
|
|
| 6253 |
"sha256": "6a144d3dbae968da797bb4765c8c37b1543abc9e54d32e88f6de8ef8d9218bf5",
|
| 6254 |
"size": 3211
|
| 6255 |
},
|
| 6256 |
+
"research/tests/test_seed_order.py": {
|
| 6257 |
+
"git_blob": "a0a3e6abd12ffb19c6ee5630b8d98da6dbd53af9",
|
| 6258 |
+
"sha256": "8f5d12170bd59ac82de0f6b2f642a0be9fa25f319cf7636c090e3dffb2fe02f2",
|
| 6259 |
+
"size": 5500
|
| 6260 |
+
},
|
| 6261 |
"research/tests/test_training.py": {
|
| 6262 |
"git_blob": "e3086add8928f326d314c62fd9df09b49f15499c",
|
| 6263 |
"sha256": "26495a4aca565bfd13224e8cb280c5be7626226fa16ceb5f416b1be9f21d61bf",
|
|
|
|
| 6318 |
"type": "dataset"
|
| 6319 |
}
|
| 6320 |
},
|
| 6321 |
+
"verified_at": "2026-11-25T18:37:25+00:00"
|
| 6322 |
}
|
research/README.md
CHANGED
|
@@ -296,6 +296,8 @@ Each panel shows the first saved prompt and full continuations from the lowest m
|
|
| 296 |
|
| 297 |
</details>
|
| 298 |
|
|
|
|
|
|
|
| 299 |
[Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
|
| 300 |
|
| 301 |
Recorded 51 runs, including 50 with a completed summary.
|
|
@@ -334,6 +336,8 @@ The pipeline pins the source texts, splits by document, learns the stories token
|
|
| 334 |
|
| 335 |
## Milestones
|
| 336 |
|
|
|
|
|
|
|
| 337 |
- Publish the protocol, references and analysis decisions.
|
| 338 |
- Verify the scalar objective and its training gradient on analytical functions and a small Transformer.
|
| 339 |
- Train the pilot, publish throughput and establish feasibility on the local GPU.
|
|
|
|
| 296 |
|
| 297 |
</details>
|
| 298 |
|
| 299 |
+
Seed sensitivity is the final stage, after both primary test evaluations, all hybrid replications and checkpoint flatness. [Final seed-sensitivity report](reports/seed-sensitivity.md)
|
| 300 |
+
|
| 301 |
[Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
|
| 302 |
|
| 303 |
Recorded 51 runs, including 50 with a completed summary.
|
|
|
|
| 336 |
|
| 337 |
## Milestones
|
| 338 |
|
| 339 |
+
**Seed sensitivity runs last.** Both stages complete their single-seed variants, controls and first full-budget comparison before the remaining primary confirmations. After the frozen tests, hybrid replications and checkpoint flatness, the final report measures how much the outcomes change across seeds. [Execution order](reports/amendments/seed-sensitivity-last.md) · [Final seed-sensitivity report](reports/seed-sensitivity.md)
|
| 340 |
+
|
| 341 |
- Publish the protocol, references and analysis decisions.
|
| 342 |
- Verify the scalar objective and its training gradient on analytical functions and a small Transformer.
|
| 343 |
- Train the pilot, publish throughput and establish feasibility on the local GPU.
|
research/docs/hub/archive.md
CHANGED
|
@@ -253,6 +253,8 @@ Each panel shows the first saved prompt and full continuations from the lowest m
|
|
| 253 |
|
| 254 |
</details>
|
| 255 |
|
|
|
|
|
|
|
| 256 |
<!-- COMPARISONS:END -->
|
| 257 |
|
| 258 |
## Research materials
|
|
|
|
| 253 |
|
| 254 |
</details>
|
| 255 |
|
| 256 |
+
Seed sensitivity is the final stage, after both primary test evaluations, all hybrid replications and checkpoint flatness. [Final seed-sensitivity report](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/seed-sensitivity.md)
|
| 257 |
+
|
| 258 |
<!-- COMPARISONS:END -->
|
| 259 |
|
| 260 |
## Research materials
|
research/docs/runbook.md
CHANGED
|
@@ -55,6 +55,10 @@ Run `uv run thirdloss audit-hub` at the Git revision in `publication.json` to ve
|
|
| 55 |
|
| 56 |
With `study --publish`, the local trainer sends active loss, accuracy, probe estimates, calibration progress and examples to the public explorer about every two minutes. GitHub Pages and the Hugging Face Space read that feed between full releases. The local dashboard reads the training records directly. [Public live feed](https://huggingface.co/BurnyCoder/thirdloss-study/resolve/main/live.json)
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
## Checkpoint flatness
|
| 59 |
|
| 60 |
Run `uv run --locked thirdloss flatness --stage both --phase pilot --publish` for all pilot strengths and zero-update controls. Use `--phase hybrid` for the shared trunks and six hybrid arms, `--phase confirm` for the eight-seed primary runs, or `--phase all` for the complete research ledger. `--run-id RUN` restricts the command to one checkpoint. Every predictor receives the common logit test, including the empirical unigram. Neural predictors also receive the weight-space width and Hessian tests. Each call checks the training stream and exported weights and resumes from its saved probe files. Run it between timed training runs on a shared GPU. Run `uv run --locked thirdloss report` to rebuild the comparisons. [Weight probes](../reports/amendments/checkpoint-flatness.md) · [All-model comparison](../reports/amendments/all-model-flatness.md) · [Results and raw probes](../reports/flatness.md)
|
|
|
|
| 55 |
|
| 56 |
With `study --publish`, the local trainer sends active loss, accuracy, probe estimates, calibration progress and examples to the public explorer about every two minutes. GitHub Pages and the Hugging Face Space read that feed between full releases. The local dashboard reads the training records directly. [Public live feed](https://huggingface.co/BurnyCoder/thirdloss-study/resolve/main/live.json)
|
| 57 |
|
| 58 |
+
## Execution order
|
| 59 |
+
|
| 60 |
+
The complete study defers seed sensitivity to the end. Both stages’ pilot variants and controls and a full-budget first seed per stage come first. The remaining primary comparisons, frozen test scores, hybrid replications and all checkpoint geometry precede the final seed analysis. `uv run --locked thirdloss seed-sensitivity` reruns that final stage from a complete checkout. Once the inputs are sealed, `uv run --locked thirdloss report` also regenerates the seed summaries. For a standalone hybrid example use `thirdloss hybrid --cohort example`. The deferred replay uses its registered donor. [Ordering and prerequisites](../reports/amendments/seed-sensitivity-last.md)
|
| 61 |
+
|
| 62 |
## Checkpoint flatness
|
| 63 |
|
| 64 |
Run `uv run --locked thirdloss flatness --stage both --phase pilot --publish` for all pilot strengths and zero-update controls. Use `--phase hybrid` for the shared trunks and six hybrid arms, `--phase confirm` for the eight-seed primary runs, or `--phase all` for the complete research ledger. `--run-id RUN` restricts the command to one checkpoint. Every predictor receives the common logit test, including the empirical unigram. Neural predictors also receive the weight-space width and Hessian tests. Each call checks the training stream and exported weights and resumes from its saved probe files. Run it between timed training runs on a shared GPU. Run `uv run --locked thirdloss report` to rebuild the comparisons. [Weight probes](../reports/amendments/checkpoint-flatness.md) · [All-model comparison](../reports/amendments/all-model-flatness.md) · [Results and raw probes](../reports/flatness.md)
|
research/docs/study.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
research/reports/amendments/seed-sensitivity-last.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seed sensitivity is the final stage
|
| 2 |
+
|
| 3 |
+
25 November 2026. The execution order changed after the initial development pilots and several TinyStories hybrid replications. The next hybrid arm was held at a published shared checkpoint. The historical ledger records the completed jobs at the transition. Both official test sets were sealed at that time. The primary and hybrid preregistrations govern the seed assignments, token horizons, comparison arms, decision rules and replay donors. [Transition record](../../results/verification/seed-order-transition.json) · [Primary preregistration](../preregistration.md) · [Hybrid preregistration](../hybrid/preregistration.md)
|
| 4 |
+
|
| 5 |
+
## Execution order
|
| 6 |
+
|
| 7 |
+
1. Complete both corpora’s single-seed pilots, strength searches, free references and trained controls. Finish the initial and fitted checkpoint geometry. The standalone hybrid example uses the first registered hybrid seed and the five arms whose inputs already exist.
|
| 8 |
+
2. Train and measure the first full-budget paired seed for AdamW, Hessian trace and third order in **both** model families. These runs count toward the original registered sample of eight.
|
| 9 |
+
3. Complete the other seven paired primary seeds per model family. Freeze every stage’s checkpoints before evaluating its test corpus. Report and publish the original primary comparisons as specified.
|
| 10 |
+
4. Finish the remaining registered hybrid replications. The first hybrid seed’s replay consumes the last seed’s schedule and runs after that donor. Reconcile all checkpoint flatness and publication milestones.
|
| 11 |
+
5. Seal the exact summaries, stage freezes, geometry and hybrid width records. **Run the seed-sensitivity analysis last.** The same reporting command then regenerates its results from the seal. [Study coordinator](../../src/thirdloss/study.py) · [Final analysis](../../src/thirdloss/seed_sensitivity.py)
|
| 12 |
+
|
| 13 |
+
## Final descriptive analysis
|
| 14 |
+
|
| 15 |
+
For each registered primary arm, report the median, sample standard deviation and observed range of full-corpus test NLL and weight-space width across seeds. For each hybrid, report the same summaries of development NLL and final weight width. For the prespecified primary NLL contrasts and the adaptive-versus-fixed and adaptive-versus-replay contrasts, form the difference within each seed before summarizing. Report the eight medians obtained by leaving out each complete seed pair in turn and their range. Keep a censored width explicit whenever a finite summary is unidentified. A single-seed control contributes its observed outcome to the study ledger.
|
| 16 |
+
|
| 17 |
+
A seed jointly controls initialization, document order and stochastic probes. The spread describes joint run-to-run variation on these fixed corpora. The final sensitivity summaries supplement the registered sign tests and median intervals. [Paired ML benchmarking](https://proceedings.mlsys.org/paper_files/paper/2021/file/0184b0cd3cfb185989f858a1d9f5c1eb-Abstract.html) · [Analysis protocol](../preregistration.md)
|
research/reports/paper.pdf
CHANGED
|
Binary files a/research/reports/paper.pdf and b/research/reports/paper.pdf differ
|
|
|
research/reports/plan.md
CHANGED
|
@@ -14,6 +14,8 @@ Hochreiter and Schmidhuber hypothesized that, at comparable training loss, a mod
|
|
| 14 |
|
| 15 |
The dated progress record gives completed milestones and outstanding work. Source code, token-stream digests, restartable checkpoint settings and reload instructions are available from the reproduction guide. [Progress](progress.md) · [Reproduction guide](../docs/runbook.md)
|
| 16 |
|
|
|
|
|
|
|
| 17 |
## Late third-derivative regularization
|
| 18 |
|
| 19 |
The fixed late ramp, curvature-dependent rule, cross-seed replay and controls are now registered for execution. [Hybrid preregistration and run matrix](hybrid/preregistration.md)
|
|
|
|
| 14 |
|
| 15 |
The dated progress record gives completed milestones and outstanding work. Source code, token-stream digests, restartable checkpoint settings and reload instructions are available from the reproduction guide. [Progress](progress.md) · [Reproduction guide](../docs/runbook.md)
|
| 16 |
|
| 17 |
+
Seed sensitivity is the final analysis. Complete all single-seed variants and controls in both model families, run the first full-budget paired seed in each, finish the registered primary studies and their frozen tests, and then finish the pending hybrid replications. After every checkpoint has its geometry, seal the inputs and summarize variability across seeds. [Execution-order amendment](amendments/seed-sensitivity-last.md) · [Final report](seed-sensitivity.md)
|
| 18 |
+
|
| 19 |
## Late third-derivative regularization
|
| 20 |
|
| 21 |
The fixed late ramp, curvature-dependent rule, cross-seed replay and controls are now registered for execution. [Hybrid preregistration and run matrix](hybrid/preregistration.md)
|
research/reports/planned-runs.md
CHANGED
|
@@ -18,6 +18,8 @@ Evaluate seed-paired final test predictions only when the stage has all planned
|
|
| 18 |
|
| 19 |
## Registered hybrid follow-up
|
| 20 |
|
|
|
|
|
|
|
| 21 |
The six TinyStories arms share eight paired seeds. Five branch from a common trace-trained checkpoint and one uses both penalties from initialization. Directional width is measured at three token counts. The curvature rule, replay donors, cap, stronger-trace calibration and decision threshold were fixed before follow-up outcomes. [Hybrid run matrix and decision rule](hybrid/preregistration.md) · [Research question](plan.md#curvature-dependent-penalty-weight)
|
| 22 |
|
| 23 |
## Secondary flatness measurements
|
|
|
|
| 18 |
|
| 19 |
## Registered hybrid follow-up
|
| 20 |
|
| 21 |
+
The full queue completes both stages’ pilots and trained controls before additional seed replication. Both families receive a full-budget first seed before the remaining primary confirmations. The remaining hybrid seeds and cyclic replay follow the original test evaluations. The dedicated seed-sensitivity analysis runs last. [Execution order and descriptive statistics](amendments/seed-sensitivity-last.md)
|
| 22 |
+
|
| 23 |
The six TinyStories arms share eight paired seeds. Five branch from a common trace-trained checkpoint and one uses both penalties from initialization. Directional width is measured at three token counts. The curvature rule, replay donors, cap, stronger-trace calibration and decision threshold were fixed before follow-up outcomes. [Hybrid run matrix and decision rule](hybrid/preregistration.md) · [Research question](plan.md#curvature-dependent-penalty-weight)
|
| 24 |
|
| 25 |
## Secondary flatness measurements
|
research/reports/progress.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
-
Updated 2026-11-25T18:
|
| 4 |
|
| 5 |
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
|
| 6 |
|
|
@@ -45,7 +45,9 @@ Giving each predictor still missing a measurement one complete native pilot cycl
|
|
| 45 |
|
| 46 |
Across training, references, final tests, hybrid runs and flatness evaluations, **99/305 milestones are complete (32.5%)** and 206 remain. Each milestone has equal weight in this count. Data preparation, software and publications are recorded separately.
|
| 47 |
|
| 48 |
-
Projected remaining machine time is **29.64–31.08 hours**, including model publication and geometry. There are 156.
|
|
|
|
|
|
|
| 49 |
|
| 50 |
## Monitoring
|
| 51 |
|
|
|
|
| 1 |
# Study progress
|
| 2 |
|
| 3 |
+
Updated 2026-11-25T18:37:11+00:00.
|
| 4 |
|
| 5 |
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
|
| 6 |
|
|
|
|
| 45 |
|
| 46 |
Across training, references, final tests, hybrid runs and flatness evaluations, **99/305 milestones are complete (32.5%)** and 206 remain. Each milestone has equal weight in this count. Data preparation, software and publications are recorded separately.
|
| 47 |
|
| 48 |
+
Projected remaining machine time is **29.64–31.08 hours**, including model publication and geometry. There are 156.17 hours left in the original week. These are two timing scenarios. They use the recorded pilot rates, whole remaining hybrid seed blocks, the longest primary pilot as a proxy for each remaining secondary pilot, and median or slower diagnostic and release cycles. Machine or network interruptions can extend them. [Cost by task](../results/feasibility/remaining-work.json) · [Observed release times](../results/feasibility/checkpoint-publication-time.json)
|
| 49 |
+
|
| 50 |
+
The final seed-sensitivity analysis is pending. The queue completes both stages’ single-seed comparisons and original frozen test evaluations before the remaining hybrid replications. All checkpoint measurements precede the final across-seed analysis. [Queue amendment](amendments/seed-sensitivity-last.md) · [Final report](seed-sensitivity.md)
|
| 51 |
|
| 52 |
## Monitoring
|
| 53 |
|
research/reports/seed-sensitivity.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Final seed-sensitivity analysis
|
| 2 |
+
|
| 3 |
+
[Execution order and descriptive analysis](amendments/seed-sensitivity-last.md) · [Timestamped study progress](progress.md)
|
| 4 |
+
|
| 5 |
+
Scheduled last, after both primary test matrices, the complete hybrid follow-up and all checkpoint geometry.
|
research/reports/summary.md
CHANGED
|
@@ -8,7 +8,7 @@ Recorded 51 runs, including 50 with a completed summary.
|
|
| 8 |
|
| 9 |
TinyStories hybrid follow-up: 23 of 48 full runs and 5 of 8 shared checkpoints complete. Geometric decision: awaiting eight paired width measurements. [Hybrid outcomes](hybrid/results.md)
|
| 10 |
|
| 11 |
-
[Interactive explorer](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Per-run ledger](experiments/experiments.md) · [Preregistration](preregistration.md) · [Paper](paper.pdf)
|
| 12 |
|
| 13 |
## Development observations
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
TinyStories hybrid follow-up: 23 of 48 full runs and 5 of 8 shared checkpoints complete. Geometric decision: awaiting eight paired width measurements. [Hybrid outcomes](hybrid/results.md)
|
| 10 |
|
| 11 |
+
[Interactive explorer](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Per-run ledger](experiments/experiments.md) · [Final seed sensitivity](seed-sensitivity.md) · [Preregistration](preregistration.md) · [Paper](paper.pdf)
|
| 12 |
|
| 13 |
## Development observations
|
| 14 |
|
research/results/feasibility/remaining-work.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"as_of": "2026-11-25T18:
|
| 3 |
"completed": 99,
|
| 4 |
"planned": 305,
|
| 5 |
"remaining": 206,
|
| 6 |
-
"remaining_hours_in_week": 156.
|
| 7 |
"hybrid_blocks_left_including_partial": 4,
|
| 8 |
"replays_left": 5,
|
| 9 |
"remaining_primary_publications": 99,
|
|
|
|
| 1 |
{
|
| 2 |
+
"as_of": "2026-11-25T18:37:11+00:00",
|
| 3 |
"completed": 99,
|
| 4 |
"planned": 305,
|
| 5 |
"remaining": 206,
|
| 6 |
+
"remaining_hours_in_week": 156.16916666666665,
|
| 7 |
"hybrid_blocks_left_including_partial": 4,
|
| 8 |
"replays_left": 5,
|
| 9 |
"remaining_primary_publications": 99,
|
research/results/verification/seed-order-transition.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"recorded_at": "2026-11-25T18:34:30+00:00",
|
| 3 |
+
"paused_after": "stories-branch-s25-trunk-r01",
|
| 4 |
+
"next_deferred_replication": "stories-hybrid-s25-adaptive-r01",
|
| 5 |
+
"prior_geometry_git_revision": "79e7a294919d444723ceb9cb18c068573f845f34",
|
| 6 |
+
"registered_primary_training_and_controls": 21,
|
| 7 |
+
"primary_confirmation_runs": 0,
|
| 8 |
+
"primary_test_scores": 0,
|
| 9 |
+
"hybrid_full_runs": 23,
|
| 10 |
+
"shared_trunks": 5,
|
| 11 |
+
"completed_hybrid_checkpoints": [
|
| 12 |
+
"stories-branch-s21-trunk-r01",
|
| 13 |
+
"stories-branch-s22-trunk-r01",
|
| 14 |
+
"stories-branch-s23-trunk-r01",
|
| 15 |
+
"stories-branch-s24-trunk-r01",
|
| 16 |
+
"stories-branch-s25-trunk-r01",
|
| 17 |
+
"stories-hybrid-s21-adaptive-r01",
|
| 18 |
+
"stories-hybrid-s21-always-r01",
|
| 19 |
+
"stories-hybrid-s21-late-r01",
|
| 20 |
+
"stories-hybrid-s21-strong-r01",
|
| 21 |
+
"stories-hybrid-s21-trace-r01",
|
| 22 |
+
"stories-hybrid-s22-adaptive-r01",
|
| 23 |
+
"stories-hybrid-s22-always-r01",
|
| 24 |
+
"stories-hybrid-s22-late-r01",
|
| 25 |
+
"stories-hybrid-s22-replay-r01",
|
| 26 |
+
"stories-hybrid-s22-strong-r01",
|
| 27 |
+
"stories-hybrid-s22-trace-r01",
|
| 28 |
+
"stories-hybrid-s23-adaptive-r01",
|
| 29 |
+
"stories-hybrid-s23-always-r01",
|
| 30 |
+
"stories-hybrid-s23-late-r01",
|
| 31 |
+
"stories-hybrid-s23-replay-r01",
|
| 32 |
+
"stories-hybrid-s23-strong-r01",
|
| 33 |
+
"stories-hybrid-s23-trace-r01",
|
| 34 |
+
"stories-hybrid-s24-adaptive-r01",
|
| 35 |
+
"stories-hybrid-s24-always-r01",
|
| 36 |
+
"stories-hybrid-s24-late-r01",
|
| 37 |
+
"stories-hybrid-s24-replay-r01",
|
| 38 |
+
"stories-hybrid-s24-strong-r01",
|
| 39 |
+
"stories-hybrid-s24-trace-r01"
|
| 40 |
+
],
|
| 41 |
+
"open_stage_freezes": []
|
| 42 |
+
}
|
research/results/verification/tests.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"checked_at": "2026-11-
|
| 3 |
-
"git_revision": "
|
| 4 |
"exit_code": 0,
|
| 5 |
"cases": [
|
| 6 |
{
|
|
@@ -10,12 +10,12 @@
|
|
| 10 |
},
|
| 11 |
{
|
| 12 |
"test": "tests.test_analysis.test_second_comparator_failure_and_ties_count_separately",
|
| 13 |
-
"seconds": 0.
|
| 14 |
"outcome": "passed"
|
| 15 |
},
|
| 16 |
{
|
| 17 |
"test": "tests.test_analysis.test_holm_step_down_tie_handling_and_exact_boundary",
|
| 18 |
-
"seconds": 0.
|
| 19 |
"outcome": "passed"
|
| 20 |
},
|
| 21 |
{
|
|
@@ -25,7 +25,7 @@
|
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[missing]",
|
| 28 |
-
"seconds": 0.
|
| 29 |
"outcome": "passed"
|
| 30 |
},
|
| 31 |
{
|
|
@@ -50,12 +50,12 @@
|
|
| 50 |
},
|
| 51 |
{
|
| 52 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[wrong configured budget]",
|
| 53 |
-
"seconds": 0.
|
| 54 |
"outcome": "passed"
|
| 55 |
},
|
| 56 |
{
|
| 57 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[nonfinite]",
|
| 58 |
-
"seconds": 0.
|
| 59 |
"outcome": "passed"
|
| 60 |
},
|
| 61 |
{
|
|
@@ -75,17 +75,17 @@
|
|
| 75 |
},
|
| 76 |
{
|
| 77 |
"test": "tests.test_analysis.test_exploratory_arms_and_other_stages_do_not_enter_paired_matrix",
|
| 78 |
-
"seconds": 0.
|
| 79 |
"outcome": "passed"
|
| 80 |
},
|
| 81 |
{
|
| 82 |
"test": "tests.test_analysis.test_elapsed_time_uses_latest_actual_validation_before_shared_cutoff",
|
| 83 |
-
"seconds": 0.
|
| 84 |
"outcome": "passed"
|
| 85 |
},
|
| 86 |
{
|
| 87 |
"test": "tests.test_analysis.test_adapter_time_comparisons_keep_allocated_device_and_host_excluded_clocks_distinct",
|
| 88 |
-
"seconds": 0.
|
| 89 |
"outcome": "passed"
|
| 90 |
},
|
| 91 |
{
|
|
@@ -100,42 +100,42 @@
|
|
| 100 |
},
|
| 101 |
{
|
| 102 |
"test": "tests.test_data.test_prefix_candidates_match_exhaustive_jaccard_including_boundary",
|
| 103 |
-
"seconds": 0.
|
| 104 |
"outcome": "passed"
|
| 105 |
},
|
| 106 |
{
|
| 107 |
"test": "tests.test_data.test_abstract_submission_month_and_base_id_grouping",
|
| 108 |
-
"seconds": 0.
|
| 109 |
"outcome": "passed"
|
| 110 |
},
|
| 111 |
{
|
| 112 |
"test": "tests.test_data.test_prepare_from_parquet_proves_train_only_fit_packing_and_repair",
|
| 113 |
-
"seconds": 0.
|
| 114 |
"outcome": "passed"
|
| 115 |
},
|
| 116 |
{
|
| 117 |
"test": "tests.test_derivatives.test_gpu_production_decoder_third_order_update_matches_cpu",
|
| 118 |
-
"seconds":
|
| 119 |
"outcome": "passed"
|
| 120 |
},
|
| 121 |
{
|
| 122 |
"test": "tests.test_derivatives.test_quartic_penalty_retains_fourth_derivative",
|
| 123 |
-
"seconds": 0.
|
| 124 |
"outcome": "passed"
|
| 125 |
},
|
| 126 |
{
|
| 127 |
"test": "tests.test_derivatives.test_mixed_cubic_exactly_averages_to_tensor_norm",
|
| 128 |
-
"seconds": 0.
|
| 129 |
"outcome": "passed"
|
| 130 |
},
|
| 131 |
{
|
| 132 |
"test": "tests.test_derivatives.test_random_probe_generator_gives_independent_directions",
|
| 133 |
-
"seconds": 0.
|
| 134 |
"outcome": "passed"
|
| 135 |
},
|
| 136 |
{
|
| 137 |
"test": "tests.test_derivatives.test_penalty_supports_linear_loss_and_unused_coordinates[third]",
|
| 138 |
-
"seconds": 0.
|
| 139 |
"outcome": "passed"
|
| 140 |
},
|
| 141 |
{
|
|
@@ -150,32 +150,32 @@
|
|
| 150 |
},
|
| 151 |
{
|
| 152 |
"test": "tests.test_derivatives.test_quadratic_has_curvature_and_zero_third_derivative",
|
| 153 |
-
"seconds": 0.
|
| 154 |
"outcome": "passed"
|
| 155 |
},
|
| 156 |
{
|
| 157 |
"test": "tests.test_derivatives.test_signed_hessian_trace_and_squared_norm_have_correct_gradients",
|
| 158 |
-
"seconds": 0.
|
| 159 |
"outcome": "passed"
|
| 160 |
},
|
| 161 |
{
|
| 162 |
"test": "tests.test_derivatives.test_tiny_transformer_against_dense_tensor_and_finite_differences",
|
| 163 |
-
"seconds": 2.
|
| 164 |
"outcome": "passed"
|
| 165 |
},
|
| 166 |
{
|
| 167 |
"test": "tests.test_derivatives.test_actual_adamw_update_responds_to_the_third_order_term",
|
| 168 |
-
"seconds": 0.
|
| 169 |
"outcome": "passed"
|
| 170 |
},
|
| 171 |
{
|
| 172 |
"test": "tests.test_derivatives.test_production_story_model_exposes_full_weight_penalty_gradient",
|
| 173 |
-
"seconds": 0.
|
| 174 |
"outcome": "passed"
|
| 175 |
},
|
| 176 |
{
|
| 177 |
"test": "tests.test_derivatives.test_pythia_adapter_fourth_derivative_and_portable_checkpoint",
|
| 178 |
-
"seconds":
|
| 179 |
"outcome": "passed",
|
| 180 |
"measurements": {
|
| 181 |
"adapter_directional_autograd": "9035.374247002468",
|
|
@@ -189,12 +189,12 @@
|
|
| 189 |
},
|
| 190 |
{
|
| 191 |
"test": "tests.test_derivatives.test_sequential_windows_reproduce_joint_penalty_and_training_gradient",
|
| 192 |
-
"seconds": 0.
|
| 193 |
"outcome": "passed"
|
| 194 |
},
|
| 195 |
{
|
| 196 |
"test": "tests.test_flatness.test_curvature_keeps_trace_signs_and_counts_negative_eigenvalues_in_rms",
|
| 197 |
-
"seconds": 0.
|
| 198 |
"outcome": "passed"
|
| 199 |
},
|
| 200 |
{
|
|
@@ -204,7 +204,7 @@
|
|
| 204 |
},
|
| 205 |
{
|
| 206 |
"test": "tests.test_flatness.test_flatness_table_preserves_seed_count_and_geometry_units",
|
| 207 |
-
"seconds": 0.
|
| 208 |
"outcome": "passed"
|
| 209 |
},
|
| 210 |
{
|
|
@@ -214,37 +214,52 @@
|
|
| 214 |
},
|
| 215 |
{
|
| 216 |
"test": "tests.test_flatness.test_geometry_forecast_counts_the_unigram_and_preserves_observed_publication_time",
|
| 217 |
-
"seconds": 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
"outcome": "passed"
|
| 219 |
},
|
| 220 |
{
|
| 221 |
"test": "tests.test_flatness.test_common_logit_probe_matches_direct_softmax_and_its_second_derivative",
|
| 222 |
-
"seconds": 0.
|
| 223 |
"outcome": "passed"
|
| 224 |
},
|
| 225 |
{
|
| 226 |
"test": "tests.test_flatness.test_unigram_uses_identical_score_coordinates_to_a_constant_neural_predictor",
|
| 227 |
-
"seconds": 0.
|
| 228 |
"outcome": "passed"
|
| 229 |
},
|
| 230 |
{
|
| 231 |
"test": "tests.test_flatness.test_all_arm_table_keeps_weightless_reference_and_every_control",
|
| 232 |
-
"seconds": 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
"outcome": "passed"
|
| 234 |
},
|
| 235 |
{
|
| 236 |
"test": "tests.test_flatness.test_geometry_milestone_retries_missing_receipt_and_skips_a_verified_unigram",
|
| 237 |
-
"seconds": 0.
|
| 238 |
"outcome": "passed"
|
| 239 |
},
|
| 240 |
{
|
| 241 |
"test": "tests.test_hub_archive.test_archive_uses_committed_blobs_including_dotfiles",
|
| 242 |
-
"seconds": 0.
|
| 243 |
"outcome": "passed"
|
| 244 |
},
|
| 245 |
{
|
| 246 |
"test": "tests.test_hub_archive.test_remote_sha_matches_git_and_large_file_storage",
|
| 247 |
-
"seconds": 0.
|
| 248 |
"outcome": "passed"
|
| 249 |
},
|
| 250 |
{
|
|
@@ -254,97 +269,102 @@
|
|
| 254 |
},
|
| 255 |
{
|
| 256 |
"test": "tests.test_hub_archive.test_model_repository_compares_fitted_and_weightless_predictors_from_the_same_records",
|
| 257 |
-
"seconds": 0.
|
| 258 |
"outcome": "passed"
|
| 259 |
},
|
| 260 |
{
|
| 261 |
"test": "tests.test_hub_archive.test_packed_files_match_manifest_and_release_test_only_after_both_gates",
|
| 262 |
-
"seconds": 0.
|
| 263 |
"outcome": "passed"
|
| 264 |
},
|
| 265 |
{
|
| 266 |
"test": "tests.test_hub_archive.test_live_feed_retains_active_and_latest_completed_runs",
|
| 267 |
-
"seconds": 0.
|
| 268 |
"outcome": "passed"
|
| 269 |
},
|
| 270 |
{
|
| 271 |
"test": "tests.test_hub_archive.test_result_publisher_merges_concurrent_documentation_without_losing_either",
|
| 272 |
-
"seconds": 3.
|
| 273 |
"outcome": "passed"
|
| 274 |
},
|
| 275 |
{
|
| 276 |
"test": "tests.test_hub_archive.test_result_publication_retries_outages_without_rewriting_history",
|
| 277 |
-
"seconds": 0.
|
| 278 |
"outcome": "passed"
|
| 279 |
},
|
| 280 |
{
|
| 281 |
"test": "tests.test_hybrid.test_lagged_rms_latch_and_replay_survive_checkpoint",
|
| 282 |
-
"seconds": 0.
|
| 283 |
"outcome": "passed"
|
| 284 |
},
|
| 285 |
{
|
| 286 |
"test": "tests.test_hybrid.test_fixed_and_stronger_trace_apply_only_after_switch",
|
| 287 |
-
"seconds": 0.
|
| 288 |
"outcome": "passed"
|
| 289 |
},
|
| 290 |
{
|
| 291 |
"test": "tests.test_hybrid.test_width_exact_crossing_censor_and_bitwise_restoration",
|
| 292 |
-
"seconds": 0.
|
| 293 |
"outcome": "passed"
|
| 294 |
},
|
| 295 |
{
|
| 296 |
"test": "tests.test_hybrid.test_branch_restores_adam_moments_rng_cursor_and_monitor",
|
| 297 |
-
"seconds": 0.
|
| 298 |
"outcome": "passed"
|
| 299 |
},
|
| 300 |
{
|
| 301 |
"test": "tests.test_hybrid.test_width_inference_requires_eight_pairs_and_keeps_censoring",
|
| 302 |
-
"seconds": 0.
|
| 303 |
"outcome": "passed"
|
| 304 |
},
|
| 305 |
{
|
| 306 |
"test": "tests.test_hybrid.test_missing_parent_uses_pinned_hub_revision_and_checks_bytes",
|
| 307 |
-
"seconds": 0.
|
| 308 |
"outcome": "passed"
|
| 309 |
},
|
| 310 |
{
|
| 311 |
"test": "tests.test_hybrid.test_joint_week_forecast_counts_shared_prefix_once_and_all_eight_replays",
|
| 312 |
-
"seconds": 0.
|
| 313 |
"outcome": "passed"
|
| 314 |
},
|
| 315 |
{
|
| 316 |
"test": "tests.test_hybrid.test_restart_timing_distinguishes_real_elapsed_time_from_repeated_outages",
|
| 317 |
-
"seconds": 0.
|
| 318 |
"outcome": "passed"
|
| 319 |
},
|
| 320 |
{
|
| 321 |
"test": "tests.test_hybrid.test_restart_audit_replays_only_uncommitted_logged_updates",
|
| 322 |
-
"seconds": 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 323 |
"outcome": "passed"
|
| 324 |
},
|
| 325 |
{
|
| 326 |
"test": "tests.test_readme_comparisons.test_pilot_comparison_excludes_unselected_runs_and_unsealed_scores",
|
| 327 |
-
"seconds": 0.
|
| 328 |
"outcome": "passed"
|
| 329 |
},
|
| 330 |
{
|
| 331 |
"test": "tests.test_readme_comparisons.test_hybrid_effects_use_each_comparators_own_pairs_and_width_gains",
|
| 332 |
-
"seconds": 0.
|
| 333 |
"outcome": "passed"
|
| 334 |
},
|
| 335 |
{
|
| 336 |
"test": "tests.test_readme_comparisons.test_final_scorecard_uses_all_eight_seeds_and_shows_holm_and_median_interval",
|
| 337 |
-
"seconds": 0.
|
| 338 |
"outcome": "passed"
|
| 339 |
},
|
| 340 |
{
|
| 341 |
"test": "tests.test_readme_comparisons.test_output_panel_requires_identical_prompts_and_escapes_generated_markup",
|
| 342 |
-
"seconds": 0.
|
| 343 |
"outcome": "passed"
|
| 344 |
},
|
| 345 |
{
|
| 346 |
"test": "tests.test_readme_comparisons.test_legacy_stories_pilots_require_matching_first_update_when_initial_hash_is_absent",
|
| 347 |
-
"seconds": 0.
|
| 348 |
"outcome": "passed"
|
| 349 |
},
|
| 350 |
{
|
|
@@ -354,22 +374,42 @@
|
|
| 354 |
},
|
| 355 |
{
|
| 356 |
"test": "tests.test_reporting.test_snapshot_keeps_full_score_and_trace_semantics",
|
| 357 |
-
"seconds": 0.
|
| 358 |
"outcome": "passed"
|
| 359 |
},
|
| 360 |
{
|
| 361 |
"test": "tests.test_reporting.test_report_before_first_run_keeps_readme_and_emits_protocol_paper",
|
| 362 |
-
"seconds": 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 363 |
"outcome": "passed"
|
| 364 |
},
|
| 365 |
{
|
| 366 |
"test": "tests.test_training.test_randomized_control_preserves_coordinate_magnitudes_and_zero_is_noop",
|
| 367 |
-
"seconds": 0.
|
| 368 |
"outcome": "passed"
|
| 369 |
},
|
| 370 |
{
|
| 371 |
"test": "tests.test_training.test_step_recovery_matches_uninterrupted_weights",
|
| 372 |
-
"seconds": 2.
|
| 373 |
"outcome": "passed"
|
| 374 |
},
|
| 375 |
{
|
|
@@ -379,7 +419,7 @@
|
|
| 379 |
},
|
| 380 |
{
|
| 381 |
"test": "tests.test_training.test_evaluator_requires_measured_schedule_before_test_reads",
|
| 382 |
-
"seconds": 0.
|
| 383 |
"outcome": "passed"
|
| 384 |
}
|
| 385 |
]
|
|
|
|
| 1 |
{
|
| 2 |
+
"checked_at": "2026-11-25T18:36:50+00:00",
|
| 3 |
+
"git_revision": "e02cc3197ac2a13733194a157bc50faecfaae35c",
|
| 4 |
"exit_code": 0,
|
| 5 |
"cases": [
|
| 6 |
{
|
|
|
|
| 10 |
},
|
| 11 |
{
|
| 12 |
"test": "tests.test_analysis.test_second_comparator_failure_and_ties_count_separately",
|
| 13 |
+
"seconds": 0.001,
|
| 14 |
"outcome": "passed"
|
| 15 |
},
|
| 16 |
{
|
| 17 |
"test": "tests.test_analysis.test_holm_step_down_tie_handling_and_exact_boundary",
|
| 18 |
+
"seconds": 0.002,
|
| 19 |
"outcome": "passed"
|
| 20 |
},
|
| 21 |
{
|
|
|
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[missing]",
|
| 28 |
+
"seconds": 0.002,
|
| 29 |
"outcome": "passed"
|
| 30 |
},
|
| 31 |
{
|
|
|
|
| 50 |
},
|
| 51 |
{
|
| 52 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[wrong configured budget]",
|
| 53 |
+
"seconds": 0.001,
|
| 54 |
"outcome": "passed"
|
| 55 |
},
|
| 56 |
{
|
| 57 |
"test": "tests.test_analysis.test_partial_or_mismatched_results_never_unlock_primary_inference[nonfinite]",
|
| 58 |
+
"seconds": 0.001,
|
| 59 |
"outcome": "passed"
|
| 60 |
},
|
| 61 |
{
|
|
|
|
| 75 |
},
|
| 76 |
{
|
| 77 |
"test": "tests.test_analysis.test_exploratory_arms_and_other_stages_do_not_enter_paired_matrix",
|
| 78 |
+
"seconds": 0.002,
|
| 79 |
"outcome": "passed"
|
| 80 |
},
|
| 81 |
{
|
| 82 |
"test": "tests.test_analysis.test_elapsed_time_uses_latest_actual_validation_before_shared_cutoff",
|
| 83 |
+
"seconds": 0.002,
|
| 84 |
"outcome": "passed"
|
| 85 |
},
|
| 86 |
{
|
| 87 |
"test": "tests.test_analysis.test_adapter_time_comparisons_keep_allocated_device_and_host_excluded_clocks_distinct",
|
| 88 |
+
"seconds": 0.002,
|
| 89 |
"outcome": "passed"
|
| 90 |
},
|
| 91 |
{
|
|
|
|
| 100 |
},
|
| 101 |
{
|
| 102 |
"test": "tests.test_data.test_prefix_candidates_match_exhaustive_jaccard_including_boundary",
|
| 103 |
+
"seconds": 0.061,
|
| 104 |
"outcome": "passed"
|
| 105 |
},
|
| 106 |
{
|
| 107 |
"test": "tests.test_data.test_abstract_submission_month_and_base_id_grouping",
|
| 108 |
+
"seconds": 0.034,
|
| 109 |
"outcome": "passed"
|
| 110 |
},
|
| 111 |
{
|
| 112 |
"test": "tests.test_data.test_prepare_from_parquet_proves_train_only_fit_packing_and_repair",
|
| 113 |
+
"seconds": 0.275,
|
| 114 |
"outcome": "passed"
|
| 115 |
},
|
| 116 |
{
|
| 117 |
"test": "tests.test_derivatives.test_gpu_production_decoder_third_order_update_matches_cpu",
|
| 118 |
+
"seconds": 4.192,
|
| 119 |
"outcome": "passed"
|
| 120 |
},
|
| 121 |
{
|
| 122 |
"test": "tests.test_derivatives.test_quartic_penalty_retains_fourth_derivative",
|
| 123 |
+
"seconds": 0.004,
|
| 124 |
"outcome": "passed"
|
| 125 |
},
|
| 126 |
{
|
| 127 |
"test": "tests.test_derivatives.test_mixed_cubic_exactly_averages_to_tensor_norm",
|
| 128 |
+
"seconds": 0.057,
|
| 129 |
"outcome": "passed"
|
| 130 |
},
|
| 131 |
{
|
| 132 |
"test": "tests.test_derivatives.test_random_probe_generator_gives_independent_directions",
|
| 133 |
+
"seconds": 0.237,
|
| 134 |
"outcome": "passed"
|
| 135 |
},
|
| 136 |
{
|
| 137 |
"test": "tests.test_derivatives.test_penalty_supports_linear_loss_and_unused_coordinates[third]",
|
| 138 |
+
"seconds": 0.004,
|
| 139 |
"outcome": "passed"
|
| 140 |
},
|
| 141 |
{
|
|
|
|
| 150 |
},
|
| 151 |
{
|
| 152 |
"test": "tests.test_derivatives.test_quadratic_has_curvature_and_zero_third_derivative",
|
| 153 |
+
"seconds": 0.003,
|
| 154 |
"outcome": "passed"
|
| 155 |
},
|
| 156 |
{
|
| 157 |
"test": "tests.test_derivatives.test_signed_hessian_trace_and_squared_norm_have_correct_gradients",
|
| 158 |
+
"seconds": 0.005,
|
| 159 |
"outcome": "passed"
|
| 160 |
},
|
| 161 |
{
|
| 162 |
"test": "tests.test_derivatives.test_tiny_transformer_against_dense_tensor_and_finite_differences",
|
| 163 |
+
"seconds": 2.641,
|
| 164 |
"outcome": "passed"
|
| 165 |
},
|
| 166 |
{
|
| 167 |
"test": "tests.test_derivatives.test_actual_adamw_update_responds_to_the_third_order_term",
|
| 168 |
+
"seconds": 0.011,
|
| 169 |
"outcome": "passed"
|
| 170 |
},
|
| 171 |
{
|
| 172 |
"test": "tests.test_derivatives.test_production_story_model_exposes_full_weight_penalty_gradient",
|
| 173 |
+
"seconds": 0.056,
|
| 174 |
"outcome": "passed"
|
| 175 |
},
|
| 176 |
{
|
| 177 |
"test": "tests.test_derivatives.test_pythia_adapter_fourth_derivative_and_portable_checkpoint",
|
| 178 |
+
"seconds": 8.038,
|
| 179 |
"outcome": "passed",
|
| 180 |
"measurements": {
|
| 181 |
"adapter_directional_autograd": "9035.374247002468",
|
|
|
|
| 189 |
},
|
| 190 |
{
|
| 191 |
"test": "tests.test_derivatives.test_sequential_windows_reproduce_joint_penalty_and_training_gradient",
|
| 192 |
+
"seconds": 0.174,
|
| 193 |
"outcome": "passed"
|
| 194 |
},
|
| 195 |
{
|
| 196 |
"test": "tests.test_flatness.test_curvature_keeps_trace_signs_and_counts_negative_eigenvalues_in_rms",
|
| 197 |
+
"seconds": 0.04,
|
| 198 |
"outcome": "passed"
|
| 199 |
},
|
| 200 |
{
|
|
|
|
| 204 |
},
|
| 205 |
{
|
| 206 |
"test": "tests.test_flatness.test_flatness_table_preserves_seed_count_and_geometry_units",
|
| 207 |
+
"seconds": 0.001,
|
| 208 |
"outcome": "passed"
|
| 209 |
},
|
| 210 |
{
|
|
|
|
| 214 |
},
|
| 215 |
{
|
| 216 |
"test": "tests.test_flatness.test_geometry_forecast_counts_the_unigram_and_preserves_observed_publication_time",
|
| 217 |
+
"seconds": 0.04,
|
| 218 |
+
"outcome": "passed"
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"test": "tests.test_flatness.test_all_model_table_rejects_mismatched_weight_probes_in_secondary_arms",
|
| 222 |
+
"seconds": 0.004,
|
| 223 |
+
"outcome": "passed"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"test": "tests.test_flatness.test_hybrid_width_reuse_distinguishes_cpu_and_cuda_random_direction_streams",
|
| 227 |
+
"seconds": 0.031,
|
| 228 |
"outcome": "passed"
|
| 229 |
},
|
| 230 |
{
|
| 231 |
"test": "tests.test_flatness.test_common_logit_probe_matches_direct_softmax_and_its_second_derivative",
|
| 232 |
+
"seconds": 0.013,
|
| 233 |
"outcome": "passed"
|
| 234 |
},
|
| 235 |
{
|
| 236 |
"test": "tests.test_flatness.test_unigram_uses_identical_score_coordinates_to_a_constant_neural_predictor",
|
| 237 |
+
"seconds": 0.014,
|
| 238 |
"outcome": "passed"
|
| 239 |
},
|
| 240 |
{
|
| 241 |
"test": "tests.test_flatness.test_all_arm_table_keeps_weightless_reference_and_every_control",
|
| 242 |
+
"seconds": 0.006,
|
| 243 |
+
"outcome": "passed"
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"test": "tests.test_flatness.test_score_card_keeps_small_width_differences_and_outward_bisection_bounds",
|
| 247 |
+
"seconds": 0.001,
|
| 248 |
"outcome": "passed"
|
| 249 |
},
|
| 250 |
{
|
| 251 |
"test": "tests.test_flatness.test_geometry_milestone_retries_missing_receipt_and_skips_a_verified_unigram",
|
| 252 |
+
"seconds": 0.023,
|
| 253 |
"outcome": "passed"
|
| 254 |
},
|
| 255 |
{
|
| 256 |
"test": "tests.test_hub_archive.test_archive_uses_committed_blobs_including_dotfiles",
|
| 257 |
+
"seconds": 0.469,
|
| 258 |
"outcome": "passed"
|
| 259 |
},
|
| 260 |
{
|
| 261 |
"test": "tests.test_hub_archive.test_remote_sha_matches_git_and_large_file_storage",
|
| 262 |
+
"seconds": 0.007,
|
| 263 |
"outcome": "passed"
|
| 264 |
},
|
| 265 |
{
|
|
|
|
| 269 |
},
|
| 270 |
{
|
| 271 |
"test": "tests.test_hub_archive.test_model_repository_compares_fitted_and_weightless_predictors_from_the_same_records",
|
| 272 |
+
"seconds": 0.053,
|
| 273 |
"outcome": "passed"
|
| 274 |
},
|
| 275 |
{
|
| 276 |
"test": "tests.test_hub_archive.test_packed_files_match_manifest_and_release_test_only_after_both_gates",
|
| 277 |
+
"seconds": 0.06,
|
| 278 |
"outcome": "passed"
|
| 279 |
},
|
| 280 |
{
|
| 281 |
"test": "tests.test_hub_archive.test_live_feed_retains_active_and_latest_completed_runs",
|
| 282 |
+
"seconds": 0.005,
|
| 283 |
"outcome": "passed"
|
| 284 |
},
|
| 285 |
{
|
| 286 |
"test": "tests.test_hub_archive.test_result_publisher_merges_concurrent_documentation_without_losing_either",
|
| 287 |
+
"seconds": 3.147,
|
| 288 |
"outcome": "passed"
|
| 289 |
},
|
| 290 |
{
|
| 291 |
"test": "tests.test_hub_archive.test_result_publication_retries_outages_without_rewriting_history",
|
| 292 |
+
"seconds": 0.004,
|
| 293 |
"outcome": "passed"
|
| 294 |
},
|
| 295 |
{
|
| 296 |
"test": "tests.test_hybrid.test_lagged_rms_latch_and_replay_survive_checkpoint",
|
| 297 |
+
"seconds": 0.001,
|
| 298 |
"outcome": "passed"
|
| 299 |
},
|
| 300 |
{
|
| 301 |
"test": "tests.test_hybrid.test_fixed_and_stronger_trace_apply_only_after_switch",
|
| 302 |
+
"seconds": 0.001,
|
| 303 |
"outcome": "passed"
|
| 304 |
},
|
| 305 |
{
|
| 306 |
"test": "tests.test_hybrid.test_width_exact_crossing_censor_and_bitwise_restoration",
|
| 307 |
+
"seconds": 0.008,
|
| 308 |
"outcome": "passed"
|
| 309 |
},
|
| 310 |
{
|
| 311 |
"test": "tests.test_hybrid.test_branch_restores_adam_moments_rng_cursor_and_monitor",
|
| 312 |
+
"seconds": 0.039,
|
| 313 |
"outcome": "passed"
|
| 314 |
},
|
| 315 |
{
|
| 316 |
"test": "tests.test_hybrid.test_width_inference_requires_eight_pairs_and_keeps_censoring",
|
| 317 |
+
"seconds": 0.001,
|
| 318 |
"outcome": "passed"
|
| 319 |
},
|
| 320 |
{
|
| 321 |
"test": "tests.test_hybrid.test_missing_parent_uses_pinned_hub_revision_and_checks_bytes",
|
| 322 |
+
"seconds": 0.07,
|
| 323 |
"outcome": "passed"
|
| 324 |
},
|
| 325 |
{
|
| 326 |
"test": "tests.test_hybrid.test_joint_week_forecast_counts_shared_prefix_once_and_all_eight_replays",
|
| 327 |
+
"seconds": 0.113,
|
| 328 |
"outcome": "passed"
|
| 329 |
},
|
| 330 |
{
|
| 331 |
"test": "tests.test_hybrid.test_restart_timing_distinguishes_real_elapsed_time_from_repeated_outages",
|
| 332 |
+
"seconds": 0.006,
|
| 333 |
"outcome": "passed"
|
| 334 |
},
|
| 335 |
{
|
| 336 |
"test": "tests.test_hybrid.test_restart_audit_replays_only_uncommitted_logged_updates",
|
| 337 |
+
"seconds": 0.032,
|
| 338 |
+
"outcome": "passed"
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"test": "tests.test_progress.test_remaining_primary_work_keeps_frozen_tests_after_training_and_removes_scored_tests",
|
| 342 |
+
"seconds": 0.001,
|
| 343 |
"outcome": "passed"
|
| 344 |
},
|
| 345 |
{
|
| 346 |
"test": "tests.test_readme_comparisons.test_pilot_comparison_excludes_unselected_runs_and_unsealed_scores",
|
| 347 |
+
"seconds": 0.005,
|
| 348 |
"outcome": "passed"
|
| 349 |
},
|
| 350 |
{
|
| 351 |
"test": "tests.test_readme_comparisons.test_hybrid_effects_use_each_comparators_own_pairs_and_width_gains",
|
| 352 |
+
"seconds": 0.005,
|
| 353 |
"outcome": "passed"
|
| 354 |
},
|
| 355 |
{
|
| 356 |
"test": "tests.test_readme_comparisons.test_final_scorecard_uses_all_eight_seeds_and_shows_holm_and_median_interval",
|
| 357 |
+
"seconds": 0.005,
|
| 358 |
"outcome": "passed"
|
| 359 |
},
|
| 360 |
{
|
| 361 |
"test": "tests.test_readme_comparisons.test_output_panel_requires_identical_prompts_and_escapes_generated_markup",
|
| 362 |
+
"seconds": 0.006,
|
| 363 |
"outcome": "passed"
|
| 364 |
},
|
| 365 |
{
|
| 366 |
"test": "tests.test_readme_comparisons.test_legacy_stories_pilots_require_matching_first_update_when_initial_hash_is_absent",
|
| 367 |
+
"seconds": 0.008,
|
| 368 |
"outcome": "passed"
|
| 369 |
},
|
| 370 |
{
|
|
|
|
| 374 |
},
|
| 375 |
{
|
| 376 |
"test": "tests.test_reporting.test_snapshot_keeps_full_score_and_trace_semantics",
|
| 377 |
+
"seconds": 0.036,
|
| 378 |
"outcome": "passed"
|
| 379 |
},
|
| 380 |
{
|
| 381 |
"test": "tests.test_reporting.test_report_before_first_run_keeps_readme_and_emits_protocol_paper",
|
| 382 |
+
"seconds": 1.678,
|
| 383 |
+
"outcome": "passed"
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"test": "tests.test_seed_order.test_full_study_finishes_single_seed_work_before_replications_and_analyzes_seeds_last",
|
| 387 |
+
"seconds": 0.01,
|
| 388 |
+
"outcome": "passed"
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"test": "tests.test_seed_order.test_seed_sensitivity_is_unavailable_for_an_incomplete_study",
|
| 392 |
+
"seconds": 0.005,
|
| 393 |
+
"outcome": "passed"
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"test": "tests.test_seed_order.test_leave_one_seed_out_uses_each_seed_once_and_keeps_censoring",
|
| 397 |
+
"seconds": 0.002,
|
| 398 |
+
"outcome": "passed"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"test": "tests.test_seed_order.test_final_report_requires_a_seal_and_rejects_changed_inputs",
|
| 402 |
+
"seconds": 2.67,
|
| 403 |
"outcome": "passed"
|
| 404 |
},
|
| 405 |
{
|
| 406 |
"test": "tests.test_training.test_randomized_control_preserves_coordinate_magnitudes_and_zero_is_noop",
|
| 407 |
+
"seconds": 0.123,
|
| 408 |
"outcome": "passed"
|
| 409 |
},
|
| 410 |
{
|
| 411 |
"test": "tests.test_training.test_step_recovery_matches_uninterrupted_weights",
|
| 412 |
+
"seconds": 2.168,
|
| 413 |
"outcome": "passed"
|
| 414 |
},
|
| 415 |
{
|
|
|
|
| 419 |
},
|
| 420 |
{
|
| 421 |
"test": "tests.test_training.test_evaluator_requires_measured_schedule_before_test_reads",
|
| 422 |
+
"seconds": 0.033,
|
| 423 |
"outcome": "passed"
|
| 424 |
}
|
| 425 |
]
|
research/src/thirdloss/cli.py
CHANGED
|
@@ -36,7 +36,7 @@ def parser():
|
|
| 36 |
p = argparse.ArgumentParser(description=__doc__)
|
| 37 |
p.add_argument("--project",type=Path,default=Path.cwd())
|
| 38 |
parsers = p.add_subparsers(dest="action",required=True)
|
| 39 |
-
for action in ("prepare","train","study","hybrid","flatness","freeze","evaluate","report","dashboard","publish","audit-hub","audit-restart","progress","verify"):
|
| 40 |
sub = parsers.add_parser(action)
|
| 41 |
if action in {"prepare","study","flatness"}:
|
| 42 |
sub.add_argument("--stage",choices=(*HORIZONS,"both"),default="both")
|
|
@@ -49,6 +49,9 @@ def parser():
|
|
| 49 |
sub.add_argument("--run-id",help="Measure a single completed run in the selected phase")
|
| 50 |
if action=="study":
|
| 51 |
sub.add_argument("--with-hybrid",action="store_true",help="Include the registered TinyStories hybrid follow-up on the same GPU")
|
|
|
|
|
|
|
|
|
|
| 52 |
if action in {"study","hybrid"}:
|
| 53 |
sub.add_argument("--with-flatness",action="store_true",help="Measure comparable training-window geometry at each completed checkpoint")
|
| 54 |
if action=="verify":
|
|
@@ -62,7 +65,7 @@ def parser():
|
|
| 62 |
sub.add_argument("--seed",type=int,default=0)
|
| 63 |
sub.add_argument("--ratio",type=float,default=0.03)
|
| 64 |
sub.add_argument("--microbatch",type=int)
|
| 65 |
-
if action in {"train","study","hybrid","evaluate","flatness"}:
|
| 66 |
sub.add_argument("--publish",action="store_true",help="Publish results to the configured project accounts")
|
| 67 |
if action in {"evaluate","audit-restart"}:
|
| 68 |
sub.add_argument("run_id")
|
|
@@ -78,6 +81,10 @@ def main(argv=None):
|
|
| 78 |
args = parser().parse_args(argv)
|
| 79 |
project = args.project.resolve()
|
| 80 |
storage = storage_root(project)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
if args.action=="audit-hub":
|
| 82 |
from .hub_archive import audit_archive
|
| 83 |
print(json.dumps(audit_archive(project),indent=2))
|
|
@@ -142,12 +149,9 @@ def main(argv=None):
|
|
| 142 |
if args.action=="hybrid":
|
| 143 |
from .hybrid import run_hybrids
|
| 144 |
prepare_stage(project,storage,"stories")
|
| 145 |
-
run_hybrids(project,storage,device,args.publish,with_flatness=args.with_flatness)
|
| 146 |
else:
|
| 147 |
run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid,with_flatness=args.with_flatness)
|
| 148 |
-
if args.with_flatness:
|
| 149 |
-
from .checkpoint_flatness import flatness_study
|
| 150 |
-
flatness_study(project,storage,stages,"all",device,args.publish)
|
| 151 |
return
|
| 152 |
if args.action=="evaluate":
|
| 153 |
summary = evaluate_one(project,storage,args.run_id,device)
|
|
|
|
| 36 |
p = argparse.ArgumentParser(description=__doc__)
|
| 37 |
p.add_argument("--project",type=Path,default=Path.cwd())
|
| 38 |
parsers = p.add_subparsers(dest="action",required=True)
|
| 39 |
+
for action in ("prepare","train","study","hybrid","flatness","freeze","evaluate","seed-sensitivity","report","dashboard","publish","audit-hub","audit-restart","progress","verify"):
|
| 40 |
sub = parsers.add_parser(action)
|
| 41 |
if action in {"prepare","study","flatness"}:
|
| 42 |
sub.add_argument("--stage",choices=(*HORIZONS,"both"),default="both")
|
|
|
|
| 49 |
sub.add_argument("--run-id",help="Measure a single completed run in the selected phase")
|
| 50 |
if action=="study":
|
| 51 |
sub.add_argument("--with-hybrid",action="store_true",help="Include the registered TinyStories hybrid follow-up on the same GPU")
|
| 52 |
+
if action=="hybrid":
|
| 53 |
+
sub.add_argument("--cohort",choices=("example","replications","all"),default="all",
|
| 54 |
+
help="Run the first seed, the remaining seeds and cyclic replay, or the standalone full follow-up")
|
| 55 |
if action in {"study","hybrid"}:
|
| 56 |
sub.add_argument("--with-flatness",action="store_true",help="Measure comparable training-window geometry at each completed checkpoint")
|
| 57 |
if action=="verify":
|
|
|
|
| 65 |
sub.add_argument("--seed",type=int,default=0)
|
| 66 |
sub.add_argument("--ratio",type=float,default=0.03)
|
| 67 |
sub.add_argument("--microbatch",type=int)
|
| 68 |
+
if action in {"train","study","hybrid","evaluate","flatness","seed-sensitivity"}:
|
| 69 |
sub.add_argument("--publish",action="store_true",help="Publish results to the configured project accounts")
|
| 70 |
if action in {"evaluate","audit-restart"}:
|
| 71 |
sub.add_argument("run_id")
|
|
|
|
| 81 |
args = parser().parse_args(argv)
|
| 82 |
project = args.project.resolve()
|
| 83 |
storage = storage_root(project)
|
| 84 |
+
if args.action=="seed-sensitivity":
|
| 85 |
+
from .seed_sensitivity import finish_seed_sensitivity
|
| 86 |
+
finish_seed_sensitivity(project,args.publish)
|
| 87 |
+
return
|
| 88 |
if args.action=="audit-hub":
|
| 89 |
from .hub_archive import audit_archive
|
| 90 |
print(json.dumps(audit_archive(project),indent=2))
|
|
|
|
| 149 |
if args.action=="hybrid":
|
| 150 |
from .hybrid import run_hybrids
|
| 151 |
prepare_stage(project,storage,"stories")
|
| 152 |
+
run_hybrids(project,storage,device,args.publish,with_flatness=args.with_flatness,cohort=args.cohort)
|
| 153 |
else:
|
| 154 |
run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid,with_flatness=args.with_flatness)
|
|
|
|
|
|
|
|
|
|
| 155 |
return
|
| 156 |
if args.action=="evaluate":
|
| 157 |
summary = evaluate_one(project,storage,args.run_id,device)
|
research/src/thirdloss/hybrid.py
CHANGED
|
@@ -171,7 +171,7 @@ def match_stronger_trace(project,storage,trunk,cap,device):
|
|
| 171 |
return delta
|
| 172 |
|
| 173 |
|
| 174 |
-
def run_hybrids(project,storage,device,publish,with_flatness=False):
|
| 175 |
"""Run each trunk once; delay seed 21 replay until seed 28 has published its schedule."""
|
| 176 |
from .study import milestone, parent_restart_file
|
| 177 |
from .train import run_config
|
|
@@ -207,9 +207,11 @@ def run_hybrids(project,storage,device,publish,with_flatness=False):
|
|
| 207 |
replay = read_json(path)["changes"]
|
| 208 |
row = run_config(project,storage,config,device,protocol=HybridProtocol(project,storage,config,replay))
|
| 209 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
| 210 |
-
|
|
|
|
| 211 |
for arm in ("trunk","adaptive","late","trace","strong","always"):
|
| 212 |
run(seed,arm)
|
| 213 |
if seed!=SEEDS.start:
|
| 214 |
run(seed,"replay")
|
| 215 |
-
|
|
|
|
|
|
| 171 |
return delta
|
| 172 |
|
| 173 |
|
| 174 |
+
def run_hybrids(project,storage,device,publish,with_flatness=False,cohort="all"):
|
| 175 |
"""Run each trunk once; delay seed 21 replay until seed 28 has published its schedule."""
|
| 176 |
from .study import milestone, parent_restart_file
|
| 177 |
from .train import run_config
|
|
|
|
| 207 |
replay = read_json(path)["changes"]
|
| 208 |
row = run_config(project,storage,config,device,protocol=HybridProtocol(project,storage,config,replay))
|
| 209 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
| 210 |
+
seeds={"example":SEEDS[:1],"replications":SEEDS[1:],"all":SEEDS}[cohort]
|
| 211 |
+
for seed in seeds:
|
| 212 |
for arm in ("trunk","adaptive","late","trace","strong","always"):
|
| 213 |
run(seed,arm)
|
| 214 |
if seed!=SEEDS.start:
|
| 215 |
run(seed,"replay")
|
| 216 |
+
if cohort!="example":
|
| 217 |
+
run(SEEDS.start,"replay")
|
research/src/thirdloss/progress.py
CHANGED
|
@@ -116,6 +116,12 @@ def progress(project):
|
|
| 116 |
lines += geometry_progress(project,study)
|
| 117 |
lines += ["## Overall completion and remaining time",
|
| 118 |
*remaining_work(project,study,schedule,extra,normal,len(done)+len(tests),total)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
lines += ["## Monitoring","Inspect runs lasting over 10, 30 and 60 minutes at 5, 15 and 30 minute intervals "
|
| 120 |
"respectively. The live dashboard refreshes between those checks. "
|
| 121 |
"[Study design](plan.md) · [Run matrix](planned-runs.md) · [Experiment ledger](experiments/experiments.md)"]
|
|
|
|
| 116 |
lines += geometry_progress(project,study)
|
| 117 |
lines += ["## Overall completion and remaining time",
|
| 118 |
*remaining_work(project,study,schedule,extra,normal,len(done)+len(tests),total)]
|
| 119 |
+
final=(project/"results"/"analysis"/"seed-sensitivity.json").is_file()
|
| 120 |
+
lines.append(("The final seed-sensitivity analysis is complete." if final else
|
| 121 |
+
"The final seed-sensitivity analysis is pending. The queue completes both stages’ single-seed "
|
| 122 |
+
"comparisons and original frozen test evaluations before the remaining hybrid replications. "
|
| 123 |
+
"All checkpoint measurements precede the final across-seed analysis.")
|
| 124 |
+
+" [Queue amendment](amendments/seed-sensitivity-last.md) · [Final report](seed-sensitivity.md)")
|
| 125 |
lines += ["## Monitoring","Inspect runs lasting over 10, 30 and 60 minutes at 5, 15 and 30 minute intervals "
|
| 126 |
"respectively. The live dashboard refreshes between those checks. "
|
| 127 |
"[Study design](plan.md) · [Run matrix](planned-runs.md) · [Experiment ledger](experiments/experiments.md)"]
|
research/src/thirdloss/report_paper.py
CHANGED
|
@@ -492,6 +492,20 @@ def write_paper(study: dict, output: Path, figure_dir: Path, figures: dict) -> N
|
|
| 492 |
"at matched token counts. Held-out development loss tests prediction separately. "
|
| 493 |
f"{_link(REPOSITORY + '/blob/main/docs/third-derivative-penalty.md#weighting-the-penalty-by-curvature', 'Derivation')} · "
|
| 494 |
f"{_link(REPOSITORY + '/blob/main/reports/plan.md#curvature-dependent-penalty-weight', 'Controls and readouts')}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 495 |
p("AI statement", "subheading")
|
| 496 |
p("Codex wrote the codebase and paper from the exact specification provided by a human. "
|
| 497 |
"Human cleanup and rewriting are in progress.", "caption")
|
|
|
|
| 492 |
"at matched token counts. Held-out development loss tests prediction separately. "
|
| 493 |
f"{_link(REPOSITORY + '/blob/main/docs/third-derivative-penalty.md#weighting-the-penalty-by-curvature', 'Derivation')} · "
|
| 494 |
f"{_link(REPOSITORY + '/blob/main/reports/plan.md#curvature-dependent-penalty-weight', 'Controls and readouts')}")
|
| 495 |
+
p("Final seed sensitivity", "subheading")
|
| 496 |
+
sensitivity=study.get("seed_sensitivity")
|
| 497 |
+
if sensitivity:
|
| 498 |
+
rows=[]
|
| 499 |
+
for r in sensitivity["rows"]:
|
| 500 |
+
if r["metric"] in {"Δtest NLL","Δwidth retained"}:
|
| 501 |
+
loo=r.get("leave_one_out_medians")
|
| 502 |
+
rows.append([STAGES[r["stage"]],r["arm"],r["metric"],f"{r['sample_sd']:.5g}" if loo else "Censored",
|
| 503 |
+
f"{min(loo):.5g} to {max(loo):.5g}" if loo else "Censored"])
|
| 504 |
+
flow.append(_grid(styles,["Corpus","Paired contrast","Metric","Seed SD","Leave-one-out median range"],
|
| 505 |
+
rows,[83,130,68,67,116]))
|
| 506 |
+
else:
|
| 507 |
+
p("The final seed analysis follows the original frozen test evaluations, hybrid replications and checkpoint geometry.", "caption")
|
| 508 |
+
p(f"{_link(REPOSITORY+'/blob/main/reports/seed-sensitivity.md','Full seed results and execution order')}", "caption")
|
| 509 |
p("AI statement", "subheading")
|
| 510 |
p("Codex wrote the codebase and paper from the exact specification provided by a human. "
|
| 511 |
"Human cleanup and rewriting are in progress.", "caption")
|
research/src/thirdloss/reporting.py
CHANGED
|
@@ -300,6 +300,9 @@ def build_report(root: Path = Path(".")) -> dict:
|
|
| 300 |
"""Regenerate README results, PDF, experiment ledger, figures and the static dashboard."""
|
| 301 |
root = Path(root).resolve()
|
| 302 |
study = study_snapshot(root)
|
|
|
|
|
|
|
|
|
|
| 303 |
hybrid = _hybrid_report(root,study)
|
| 304 |
atomic_text(root/"reports"/"flatness.md",flatness_ledger(study))
|
| 305 |
figures = build_figures(study, root / "docs" / "figures")
|
|
@@ -312,7 +315,7 @@ def build_report(root: Path = Path(".")) -> dict:
|
|
| 312 |
counts = len(study["runs"])
|
| 313 |
done = sum(completed(run) for run in study["runs"])
|
| 314 |
overview = f"Recorded {counts} runs, including {done} with a completed summary."
|
| 315 |
-
documents = [f"[Interactive explorer]({PAGES})", "[Per-run ledger](experiments/experiments.md)",
|
| 316 |
"[Preregistration](preregistration.md)", "[Paper](paper.pdf)"]
|
| 317 |
summary = ["# Study summary", overview, _stage_summary(study), hybrid+" [Hybrid outcomes](hybrid/results.md)", " · ".join(documents)]
|
| 318 |
pilots = _pilot_summary(study)
|
|
@@ -331,6 +334,10 @@ def build_report(root: Path = Path(".")) -> dict:
|
|
| 331 |
"[Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · "
|
| 332 |
"[Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)")
|
| 333 |
opening,side_by_side=comparison_sections(study)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 334 |
readme = [side_by_side,badge,overview,hybrid+" [Width measurements, scores and controls](reports/hybrid/results.md)",
|
| 335 |
"[Full score table, strength search and per-seed test differences](reports/summary.md)"]
|
| 336 |
if "hybrid_width" in figures:
|
|
|
|
| 300 |
"""Regenerate README results, PDF, experiment ledger, figures and the static dashboard."""
|
| 301 |
root = Path(root).resolve()
|
| 302 |
study = study_snapshot(root)
|
| 303 |
+
from .seed_sensitivity import render_seed_sensitivity
|
| 304 |
+
sensitivity=render_seed_sensitivity(root,study)
|
| 305 |
+
study["seed_sensitivity"]=sensitivity
|
| 306 |
hybrid = _hybrid_report(root,study)
|
| 307 |
atomic_text(root/"reports"/"flatness.md",flatness_ledger(study))
|
| 308 |
figures = build_figures(study, root / "docs" / "figures")
|
|
|
|
| 315 |
counts = len(study["runs"])
|
| 316 |
done = sum(completed(run) for run in study["runs"])
|
| 317 |
overview = f"Recorded {counts} runs, including {done} with a completed summary."
|
| 318 |
+
documents = [f"[Interactive explorer]({PAGES})", "[Per-run ledger](experiments/experiments.md)", "[Final seed sensitivity](seed-sensitivity.md)",
|
| 319 |
"[Preregistration](preregistration.md)", "[Paper](paper.pdf)"]
|
| 320 |
summary = ["# Study summary", overview, _stage_summary(study), hybrid+" [Hybrid outcomes](hybrid/results.md)", " · ".join(documents)]
|
| 321 |
pilots = _pilot_summary(study)
|
|
|
|
| 334 |
"[Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · "
|
| 335 |
"[Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)")
|
| 336 |
opening,side_by_side=comparison_sections(study)
|
| 337 |
+
seed_status=("The final seed analysis is complete. It gives the across-seed spread and the range of medians "
|
| 338 |
+
"when each paired seed is omitted in turn." if sensitivity else
|
| 339 |
+
"Seed sensitivity is the final stage, after both primary test evaluations, all hybrid replications and checkpoint flatness.")
|
| 340 |
+
side_by_side+="\n\n"+seed_status+" [Final seed-sensitivity report](reports/seed-sensitivity.md)"
|
| 341 |
readme = [side_by_side,badge,overview,hybrid+" [Width measurements, scores and controls](reports/hybrid/results.md)",
|
| 342 |
"[Full score table, strength search and per-seed test differences](reports/summary.md)"]
|
| 343 |
if "hybrid_width" in figures:
|
research/src/thirdloss/seed_sensitivity.py
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Seal the complete research inputs and measure between-seed variation as the final stage."""
|
| 2 |
+
|
| 3 |
+
import hashlib
|
| 4 |
+
import json
|
| 5 |
+
import math
|
| 6 |
+
import subprocess
|
| 7 |
+
import sys
|
| 8 |
+
from statistics import median,stdev
|
| 9 |
+
|
| 10 |
+
from .records import HORIZONS,RATIOS,read_json,run_name,time_now,write_json
|
| 11 |
+
from .report_records import METHODS,STAGES,atomic_text,completed,markdown_table,study_snapshot
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def _planned_ids(study):
|
| 15 |
+
"""Use the registered IDs, including the cyclic replay and the available precision diagnostic."""
|
| 16 |
+
ids={r["id"] for r in study["runs"] if r["phase"]=="diagnostic"}
|
| 17 |
+
for stage in STAGES:
|
| 18 |
+
selected=study["context"][stage]["selection"]["ratios"]
|
| 19 |
+
ids.update(run_name(stage,m,"control",0,0) for m in ("initial","unigram"))
|
| 20 |
+
ids.add(run_name(stage,"ce","pilot",0,0))
|
| 21 |
+
ids.update(run_name(stage,m,"pilot",0,ratio) for m in ("trace","third") for ratio in RATIOS)
|
| 22 |
+
ids.update(run_name(stage,m,"pilot",0,ratio) for m,ratio in
|
| 23 |
+
(("hessian_norm",.03),("sham",selected["third"]),("combined",selected["third"])))
|
| 24 |
+
ids.update(run_name(stage,m,"confirm",s,selected.get(m,0)) for s in range(1,9) for m in ("ce","trace","third"))
|
| 25 |
+
for s in range(21,29):
|
| 26 |
+
ids.add(run_name("stories","trunk","branch",s,.01))
|
| 27 |
+
ids.update(run_name("stories",m,"hybrid",s,.01) for m in ("adaptive","late","trace","strong","always","replay"))
|
| 28 |
+
return ids
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def _input_digests(project,study):
|
| 32 |
+
"""Bind the final analysis to both stage freezes and all scheduled model and geometry records."""
|
| 33 |
+
if not all(study["stages"][stage]["complete"] for stage in STAGES):
|
| 34 |
+
raise ValueError("The final stage requires both frozen eight-seed primary test matrices")
|
| 35 |
+
root=project/"results"
|
| 36 |
+
indexed={r["id"]:r for r in study["runs"] if completed(r)}
|
| 37 |
+
files=[]
|
| 38 |
+
for stage in STAGES:
|
| 39 |
+
path=root/"freeze"/f"{stage}.json"
|
| 40 |
+
frozen=read_json(path)
|
| 41 |
+
for method in ("ce","trace","third"):
|
| 42 |
+
for seed in range(1,9):
|
| 43 |
+
matched=[r for r in indexed.values() if r["stage"]==stage and r["phase"]=="confirm"
|
| 44 |
+
and r["method"]==method and r["seed"]==seed]
|
| 45 |
+
if len(matched)!=1:
|
| 46 |
+
raise ValueError(f"The final stage requires each registered {stage} seed and arm")
|
| 47 |
+
row=matched[0]
|
| 48 |
+
if (frozen["runs"].get(row["id"])!=row["weights_sha256"] or row["freeze_id"]!=frozen["freeze_id"]
|
| 49 |
+
or row["tokens"]!=HORIZONS[stage] or row["test_manifest_sha256"]!=frozen["test_sha256"]):
|
| 50 |
+
raise ValueError(f"Frozen test provenance differs for {row['id']}")
|
| 51 |
+
files.append(path)
|
| 52 |
+
for run in sorted(_planned_ids(study)):
|
| 53 |
+
r=indexed.get(run)
|
| 54 |
+
if not r or "score_flatness" not in r or (r["method"]!="unigram" and "flatness" not in r):
|
| 55 |
+
raise ValueError(f"The final stage awaits the completed checkpoint and flatness probes for {run}")
|
| 56 |
+
folder=root/run
|
| 57 |
+
files.extend([folder/"summary.json",folder/"score-flatness.json"])
|
| 58 |
+
if r["method"]!="unigram":
|
| 59 |
+
files.append(folder/"flatness.json")
|
| 60 |
+
if r["phase"] in {"hybrid","branch"}:
|
| 61 |
+
files.extend(folder/f"width-{step}.json" for step in ((2048,) if r["phase"]=="branch" else (2048,3072,4096)))
|
| 62 |
+
# Canonical JSON hashes survive a clone with different Git line-ending settings.
|
| 63 |
+
return {p.relative_to(root).as_posix():hashlib.sha256(json.dumps(read_json(p),sort_keys=True,allow_nan=False,
|
| 64 |
+
ensure_ascii=False,separators=(",",":")).encode()).hexdigest() for p in files}
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
def seal_inputs(project,study):
|
| 68 |
+
"""Only the final command creates this seal. Subsequent reports verify every input before reuse."""
|
| 69 |
+
path=project/"results"/"freeze"/"seed-sensitivity.json"
|
| 70 |
+
digests=_input_digests(project,study)
|
| 71 |
+
if path.exists():
|
| 72 |
+
seal=read_json(path)
|
| 73 |
+
if seal["inputs"]!=digests:
|
| 74 |
+
raise ValueError("The final seed analysis inputs changed after sealing")
|
| 75 |
+
return seal
|
| 76 |
+
seal={"sealed_at":time_now(),"protocol":"final-seed-sensitivity-v1","inputs":digests}
|
| 77 |
+
write_json(path,seal)
|
| 78 |
+
return seal
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def sensitivity(values):
|
| 82 |
+
"""Leave one whole paired seed out in turn. Preserve an unidentified endpoint when a width is censored."""
|
| 83 |
+
observed=[v for v in values if v is not None and math.isfinite(v)]
|
| 84 |
+
result={"n":len(values),"finite":len(observed)}
|
| 85 |
+
if len(observed)==len(values):
|
| 86 |
+
result.update(median=median(values),min=min(values),max=max(values),sample_sd=stdev(values),
|
| 87 |
+
leave_one_out_medians=[median(values[:i]+values[i+1:]) for i in range(len(values))])
|
| 88 |
+
return result
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def _rows(study):
|
| 92 |
+
rows=[]
|
| 93 |
+
def add(stage,arm,metric,seeds,values):
|
| 94 |
+
rows.append({"stage":stage,"arm":arm,"metric":metric,"seeds":list(seeds),"values":values,**sensitivity(values)})
|
| 95 |
+
confirm=range(1,9)
|
| 96 |
+
for stage in STAGES:
|
| 97 |
+
for method in ("ce","trace","third"):
|
| 98 |
+
runs=sorted((r for r in study["runs"] if r["stage"]==stage and r["phase"]=="confirm" and r["method"]==method and r["seed"] in confirm),
|
| 99 |
+
key=lambda r:r["seed"])
|
| 100 |
+
add(stage,METHODS[method],"Test NLL",confirm,[r["test_nll"] for r in runs])
|
| 101 |
+
add(stage,METHODS[method],"Weight width",confirm,[r["flatness"]["width"] for r in runs])
|
| 102 |
+
for comparator,result in study["stages"][stage]["comparisons"].items():
|
| 103 |
+
pairs=sorted(result["pairs"],key=lambda p:p["seed"])
|
| 104 |
+
add(stage,"Third order − "+METHODS[comparator],"Δtest NLL",confirm,[p["delta"] for p in pairs])
|
| 105 |
+
follow=range(21,29)
|
| 106 |
+
for method in ("adaptive","late","trace","strong","replay","always"):
|
| 107 |
+
runs=sorted((r for r in study["runs"] if r["phase"]=="hybrid" and r["method"]==method and r["seed"] in follow),key=lambda r:r["seed"])
|
| 108 |
+
add("stories",METHODS[method]+" · hybrid","Dev NLL",follow,[r["dev_nll"] for r in runs])
|
| 109 |
+
add("stories",METHODS[method]+" · hybrid","Final weight width",follow,[r["widths"]["4096"]["width"] for r in runs])
|
| 110 |
+
for comparator in ("late","replay"):
|
| 111 |
+
pairs=sorted((p for p in study["hybrid"]["pairs"] if p["comparator"]==comparator),key=lambda p:p["seed"])
|
| 112 |
+
arm="Adaptive − "+METHODS[comparator]
|
| 113 |
+
add("stories",arm,"Δwidth retained",follow,[p["delta"] for p in pairs])
|
| 114 |
+
add("stories",arm,"Δdev NLL",follow,[p["dev_nll_delta"] for p in pairs])
|
| 115 |
+
return rows
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
def render_seed_sensitivity(project,study):
|
| 119 |
+
"""The ordinary reporting command can regenerate the final results only from the sealed inputs."""
|
| 120 |
+
body=["# Final seed-sensitivity analysis",
|
| 121 |
+
"[Execution order and descriptive analysis](amendments/seed-sensitivity-last.md) · "
|
| 122 |
+
"[Timestamped study progress](progress.md)"]
|
| 123 |
+
seal=project/"results"/"freeze"/"seed-sensitivity.json"
|
| 124 |
+
if not seal.is_file():
|
| 125 |
+
body.append("Scheduled last, after both primary test matrices, the complete hybrid follow-up and all checkpoint geometry.")
|
| 126 |
+
atomic_text(project/"reports"/"seed-sensitivity.md","\n\n".join(body)+"\n")
|
| 127 |
+
return None
|
| 128 |
+
frozen=seal_inputs(project,study)
|
| 129 |
+
rows=_rows(study)
|
| 130 |
+
result={"sealed_at":frozen["sealed_at"],"protocol":frozen["protocol"],"rows":rows}
|
| 131 |
+
write_json(project/"results"/"analysis"/"seed-sensitivity.json",result)
|
| 132 |
+
body+=["The unit of replication is one training seed, including its initialization, document order and probes. "
|
| 133 |
+
"For each paired contrast, omit one complete seed pair at a time and recompute the median. Lower NLL is better. "
|
| 134 |
+
"A positive width-retention difference favors the adaptive schedule. Dispersion measures have no general better direction. "
|
| 135 |
+
"The strength and training-control pilots use one seed and do not estimate across-seed variation.",
|
| 136 |
+
"[Sealed input hashes](../results/freeze/seed-sensitivity.json) · "
|
| 137 |
+
"[Every seed value and leave-one-out median](../results/analysis/seed-sensitivity.json)"]
|
| 138 |
+
for stage,name in STAGES.items():
|
| 139 |
+
table=[]
|
| 140 |
+
for r in rows:
|
| 141 |
+
if r["stage"]!=stage:
|
| 142 |
+
continue
|
| 143 |
+
data=["Censored"]*4
|
| 144 |
+
if "median" in r:
|
| 145 |
+
loo=r["leave_one_out_medians"]
|
| 146 |
+
data=[f"{r['median']:.6g}",f"{r['sample_sd']:.6g}",f"{r['min']:.6g} to {r['max']:.6g}",
|
| 147 |
+
f"{min(loo):.6g} to {max(loo):.6g}"]
|
| 148 |
+
table.append([r["arm"],r["metric"],f"{r['finite']}/{r['n']}",*data])
|
| 149 |
+
body.extend([f"## {name}",markdown_table(table,["Arm or paired contrast","Metric","Finite seeds","Median",
|
| 150 |
+
"Sample SD","Across-seed range","Leave-one-out median range"])])
|
| 151 |
+
atomic_text(project/"reports"/"seed-sensitivity.md","\n\n".join(body)+"\n")
|
| 152 |
+
return result
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
def finish_seed_sensitivity(project,publish):
|
| 156 |
+
"""The full study reaches this entry point after all training, evaluation and geometry milestones."""
|
| 157 |
+
seal_inputs(project,study_snapshot(project))
|
| 158 |
+
subprocess.run([sys.executable,"-m","thirdloss.cli","--project",str(project),"report"],cwd=project,check=True)
|
| 159 |
+
if publish:
|
| 160 |
+
from .release import publish_snapshot
|
| 161 |
+
publish_snapshot(project,"Publish the final seed-sensitivity analysis")
|
research/src/thirdloss/study.py
CHANGED
|
@@ -205,7 +205,7 @@ def feasibility(project, stage):
|
|
| 205 |
|
| 206 |
|
| 207 |
def run_study(project,storage,stages,device,publish,with_hybrid=False,with_flatness=False):
|
| 208 |
-
"""
|
| 209 |
def run(stage,method,phase,seed,ratio):
|
| 210 |
row = run_one(project,storage,stage,method,phase,seed,ratio,device)
|
| 211 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
|
@@ -226,17 +226,31 @@ def run_study(project,storage,stages,device,publish,with_hybrid=False,with_flatn
|
|
| 226 |
feasibility(project,stage)
|
| 227 |
for method,ratio in (("hessian_norm",0.03),("sham",selected["third"]),("combined",selected["third"])):
|
| 228 |
run(stage,method,"pilot",0,ratio)
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
for stage in stages:
|
| 233 |
selected = select(project,stage)
|
| 234 |
-
for seed in range(
|
| 235 |
-
|
| 236 |
-
run(stage,method,"confirm",seed,selected.get(method,0))
|
| 237 |
sealed = freeze(project,storage,stage)
|
| 238 |
if publish:
|
| 239 |
publish_snapshot(project,f"Freeze all {stage} confirmatory checkpoints before test evaluation")
|
| 240 |
for run_id in sealed["runs"]:
|
| 241 |
row = evaluate_one(project,storage,run_id,device)
|
| 242 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
|
| 207 |
def run_study(project,storage,stages,device,publish,with_hybrid=False,with_flatness=False):
|
| 208 |
+
"""Finish the single-seed comparisons across both families before the final replication work."""
|
| 209 |
def run(stage,method,phase,seed,ratio):
|
| 210 |
row = run_one(project,storage,stage,method,phase,seed,ratio,device)
|
| 211 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
|
|
|
| 226 |
feasibility(project,stage)
|
| 227 |
for method,ratio in (("hessian_norm",0.03),("sham",selected["third"]),("combined",selected["third"])):
|
| 228 |
run(stage,method,"pilot",0,ratio)
|
| 229 |
+
if with_flatness:
|
| 230 |
+
from .checkpoint_flatness import flatness_study
|
| 231 |
+
flatness_study(project,storage,stages,"pilot",device,publish)
|
| 232 |
+
if with_hybrid and "stories" in stages:
|
| 233 |
+
from .hybrid import run_hybrids
|
| 234 |
+
run_hybrids(project,storage,device,publish,with_flatness=with_flatness,cohort="example")
|
| 235 |
+
def full_seed(stage,seed,selected):
|
| 236 |
+
for method in ("third","ce","trace"):
|
| 237 |
+
run(stage,method,"confirm",seed,selected.get(method,0))
|
| 238 |
+
for stage in stages:
|
| 239 |
+
full_seed(stage,1,select(project,stage))
|
| 240 |
for stage in stages:
|
| 241 |
selected = select(project,stage)
|
| 242 |
+
for seed in range(2,9):
|
| 243 |
+
full_seed(stage,seed,selected)
|
|
|
|
| 244 |
sealed = freeze(project,storage,stage)
|
| 245 |
if publish:
|
| 246 |
publish_snapshot(project,f"Freeze all {stage} confirmatory checkpoints before test evaluation")
|
| 247 |
for run_id in sealed["runs"]:
|
| 248 |
row = evaluate_one(project,storage,run_id,device)
|
| 249 |
milestone(project,storage,row,publish,device if with_flatness else None)
|
| 250 |
+
if with_hybrid and "stories" in stages:
|
| 251 |
+
run_hybrids(project,storage,device,publish,with_flatness=with_flatness,cohort="replications")
|
| 252 |
+
if with_flatness:
|
| 253 |
+
flatness_study(project,storage,stages,"all",device,publish)
|
| 254 |
+
if with_hybrid and with_flatness and set(stages)==set(HORIZONS):
|
| 255 |
+
from .seed_sensitivity import finish_seed_sensitivity
|
| 256 |
+
finish_seed_sensitivity(project,publish)
|
research/tests/test_seed_order.py
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Verify the research queue and the numerical summary of sensitivity to the paired training seed."""
|
| 2 |
+
|
| 3 |
+
import pytest
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
def test_full_study_finishes_single_seed_work_before_replications_and_analyzes_seeds_last(tmp_path,monkeypatch):
|
| 7 |
+
from thirdloss import checkpoint_flatness,hybrid,study
|
| 8 |
+
from thirdloss import seed_sensitivity
|
| 9 |
+
from thirdloss.records import write_json
|
| 10 |
+
events=[]
|
| 11 |
+
write_json(tmp_path/"results/verification/pythia-scoring-batches.json",{})
|
| 12 |
+
monkeypatch.setattr(study,"prepare_stage",lambda *a:None)
|
| 13 |
+
monkeypatch.setattr(study,"feasibility",lambda *a:None)
|
| 14 |
+
monkeypatch.setattr(study,"select",lambda *a:{"trace":.01,"third":.01})
|
| 15 |
+
def run(project,storage,stage,method,phase,seed,*unused):
|
| 16 |
+
events.append((phase,stage,method,seed))
|
| 17 |
+
return {"id":events[-1]}
|
| 18 |
+
monkeypatch.setattr(study,"run_one",run)
|
| 19 |
+
monkeypatch.setattr(study,"milestone",lambda *a:None)
|
| 20 |
+
monkeypatch.setattr(study,"freeze",lambda p,s,stage:{"runs":[stage]})
|
| 21 |
+
monkeypatch.setattr(study,"evaluate_one",lambda p,s,run,d:events.append(("test",run)) or {})
|
| 22 |
+
monkeypatch.setattr(hybrid,"run_hybrids",lambda *a,cohort,**kw:events.append(("hybrid",cohort)))
|
| 23 |
+
monkeypatch.setattr(checkpoint_flatness,"flatness_study",lambda p,s,st,phase,*a:events.append(("geometry",phase)))
|
| 24 |
+
monkeypatch.setattr(seed_sensitivity,"finish_seed_sensitivity",lambda *a:events.append(("seed-sensitivity",)))
|
| 25 |
+
study.run_study(tmp_path,tmp_path,["stories","abstracts"],"cpu",False,with_hybrid=True,with_flatness=True)
|
| 26 |
+
single=[i for i,e in enumerate(events) if e[0] in {"pilot","control"}
|
| 27 |
+
or e==("hybrid","example") or (e[0]=="confirm" and e[3]==1)]
|
| 28 |
+
repeats=[i for i,e in enumerate(events) if e[0]=="confirm" and e[3]>1]
|
| 29 |
+
assert max(single)<min(repeats)
|
| 30 |
+
assert sum(e[0]=="confirm" for e in events)==48
|
| 31 |
+
assert events.index(("test","abstracts"))<events.index(("hybrid","replications"))
|
| 32 |
+
assert events[-2:]==[("geometry","all"),("seed-sensitivity",)]
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def test_seed_sensitivity_is_unavailable_for_an_incomplete_study(tmp_path):
|
| 36 |
+
from thirdloss.seed_sensitivity import seal_inputs
|
| 37 |
+
from thirdloss.report_records import study_snapshot
|
| 38 |
+
with pytest.raises(ValueError,match="final stage"):
|
| 39 |
+
seal_inputs(tmp_path,study_snapshot(tmp_path))
|
| 40 |
+
assert not (tmp_path/"results/freeze/seed-sensitivity.json").exists()
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def test_leave_one_seed_out_uses_each_seed_once_and_keeps_censoring():
|
| 44 |
+
from thirdloss.seed_sensitivity import sensitivity
|
| 45 |
+
values=[-4.,-3.,-2.,-1.,1.,2.,3.,4.]
|
| 46 |
+
result=sensitivity(values)
|
| 47 |
+
assert result["median"]==0 and result["min"]==-4 and result["max"]==4
|
| 48 |
+
assert result["leave_one_out_medians"]==[1.]*4+[-1.]*4
|
| 49 |
+
assert result["sample_sd"]==pytest.approx((60/7)**.5)
|
| 50 |
+
assert sensitivity([None]+values[1:])=={"n":8,"finite":7}
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def test_final_report_requires_a_seal_and_rejects_changed_inputs(tmp_path):
|
| 54 |
+
from thirdloss.records import HORIZONS,write_json
|
| 55 |
+
from thirdloss.seed_sensitivity import _planned_ids,render_seed_sensitivity,seal_inputs
|
| 56 |
+
root=tmp_path/"results"
|
| 57 |
+
study={"context":{s:{"selection":{"ratios":{"trace":.01,"third":.03}}} for s in HORIZONS},
|
| 58 |
+
"stages":{},"runs":[],"hybrid":{"pairs":[]}}
|
| 59 |
+
for stage in HORIZONS:
|
| 60 |
+
pairs=[{"seed":i,"delta":i/100} for i in range(1,9)]
|
| 61 |
+
study["stages"][stage]={"complete":True,"comparisons":{m:{"pairs":pairs} for m in ("ce","trace")}}
|
| 62 |
+
for seed in range(21,29):
|
| 63 |
+
study["hybrid"]["pairs"].extend({"seed":seed,"comparator":m,"delta":-.02,"dev_nll_delta":.001}
|
| 64 |
+
for m in ("late","replay"))
|
| 65 |
+
weights={s:{} for s in HORIZONS}
|
| 66 |
+
for run in sorted(_planned_ids(study)):
|
| 67 |
+
stage,phase,seed,method,*_=run.split("-")
|
| 68 |
+
seed=int(seed[1:])
|
| 69 |
+
summary={"id":run,"stage":stage,"phase":phase,"seed":seed,"method":method,"status":"complete",
|
| 70 |
+
"tokens":HORIZONS[stage],"dev_nll":2+seed/1000}
|
| 71 |
+
folder=root/run
|
| 72 |
+
if phase=="confirm":
|
| 73 |
+
summary.update(test_nll=2+seed/1000,weights_sha256=run,freeze_id=stage,test_manifest_sha256=stage)
|
| 74 |
+
weights[stage][run]=run
|
| 75 |
+
write_json(folder/"summary.json",summary)
|
| 76 |
+
row={**summary,"score_flatness":{"width":1.}}
|
| 77 |
+
write_json(folder/"score-flatness.json",row["score_flatness"])
|
| 78 |
+
if method!="unigram":
|
| 79 |
+
row["flatness"]={"width":3.}
|
| 80 |
+
write_json(folder/"flatness.json",row["flatness"])
|
| 81 |
+
if phase in ("branch","hybrid"):
|
| 82 |
+
row["widths"]={}
|
| 83 |
+
for step in ((2048,) if phase=="branch" else (2048,3072,4096)):
|
| 84 |
+
row["widths"][str(step)]={"width":3.}
|
| 85 |
+
write_json(folder/f"width-{step}.json",row["widths"][str(step)])
|
| 86 |
+
study["runs"].append(row)
|
| 87 |
+
for stage in HORIZONS:
|
| 88 |
+
write_json(root/"freeze"/f"{stage}.json",{"runs":weights[stage],"freeze_id":stage,"test_sha256":stage})
|
| 89 |
+
assert render_seed_sensitivity(tmp_path,study) is None
|
| 90 |
+
assert not (root/"analysis/seed-sensitivity.json").exists()
|
| 91 |
+
seal_inputs(tmp_path,study)
|
| 92 |
+
result=render_seed_sensitivity(tmp_path,study)
|
| 93 |
+
assert len(result["rows"])==32 and all(r["n"]==8 for r in result["rows"])
|
| 94 |
+
assert "Leave-one-out median range" in (tmp_path/"reports/seed-sensitivity.md").read_text(encoding="utf-8")
|
| 95 |
+
write_json(root/"stories-confirm-s01-ce-r00"/"score-flatness.json",{"width":9.})
|
| 96 |
+
with pytest.raises(ValueError,match="inputs changed"):
|
| 97 |
+
render_seed_sensitivity(tmp_path,study)
|