Freeze approved O1 scientific v2 same-sixty geometry gate
This commit is contained in:
1 parent
7d995ec6ef
commit
a946adfb02
19 files changed
+63490
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"pid": 4,
|
||||
"unix": 1794864197.828799,
|
||||
"guard_pid": 3
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
test_area_midrank_ties_and_weighted_q90 (__main__.V2Acceptance) ... ok
|
||||
test_common_scale_is_exact_G_and_not_arm_renormalized (__main__.V2Acceptance) ... ok
|
||||
test_component_equal_weight_prevents_large_group_dominance (__main__.V2Acceptance) ... ok
|
||||
test_constant_true_field_makes_all_integer_weights_identical (__main__.V2Acceptance) ... ok
|
||||
test_csr_symmetry_and_vwgt_unchanged (__main__.V2Acceptance) ... ok
|
||||
test_full_gate_keeps_209_original_denominator (__main__.V2Acceptance) ... ok
|
||||
test_max_min_shape_gate_symmetric_at_125 (__main__.V2Acceptance) ... ok
|
||||
test_original_volume_pair_tolerance_retained (__main__.V2Acceptance) ... ok
|
||||
test_panel_checkpoint_uses_all_60_not_success_only (__main__.V2Acceptance) ... ok
|
||||
test_panel_component_requires_every_panel_member_eligible (__main__.V2Acceptance) ... ok
|
||||
test_panel_exact_80_and_strict_70 (__main__.V2Acceptance) ... ok
|
||||
test_real_runtime_contract_schema_with_scientific_v2_identity (__main__.V2Acceptance) ... ok
|
||||
test_shared_true_strength_and_larger_jump_cheaper (__main__.V2Acceptance) ... ok
|
||||
test_three_seed_zero_calls_and_no_labels_end_to_end (__main__.V2Acceptance) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 14 tests in 0.229s
|
||||
|
||||
OK
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"returncode": 0,
|
||||
"stop_reason": null,
|
||||
"cpu_seconds": 1.435606,
|
||||
"wall_seconds": 1.472171197005082,
|
||||
"peak_tree_rss_bytes": 124719104,
|
||||
"peak_process_count": 1,
|
||||
"monitor_errors": [],
|
||||
"max_poll_gap_seconds": 0.2565469699911773,
|
||||
"reaped_orphan_cpu_seconds": 0.0,
|
||||
"limits": {
|
||||
"cpu_seconds": 600,
|
||||
"wall_seconds": 900,
|
||||
"rss_bytes": 8589934592,
|
||||
"disk_bytes": 107374182400
|
||||
},
|
||||
"retry": false,
|
||||
"gpu_visible": false
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"command": [
|
||||
"/home/frank14f/optane/MeltMind/artifacts/gre24-reproduction-2026-11-15/environment/venv/bin/python",
|
||||
"tools/test_o1_v2.py"
|
||||
],
|
||||
"limits": {
|
||||
"cpu_seconds": 600,
|
||||
"wall_seconds": 900,
|
||||
"rss_bytes": 8589934592,
|
||||
"disk_bytes": 107374182400
|
||||
},
|
||||
"unix": 1794864197.8245199
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"checked_at": "2026-11-17T05:30:10.993777+08:00",
|
||||
"progress": {
|
||||
"terminal_attempts": 609,
|
||||
"logical_terminal": 609,
|
||||
"active": {
|
||||
"2": {
|
||||
"job": 600,
|
||||
"cell": 10,
|
||||
"guard_pid": 540788
|
||||
},
|
||||
"0": {
|
||||
"job": 400,
|
||||
"cell": 1,
|
||||
"guard_pid": 540798
|
||||
},
|
||||
"1": {
|
||||
"job": 614,
|
||||
"cell": 13,
|
||||
"guard_pid": 540876
|
||||
}
|
||||
},
|
||||
"fit_cpu_seconds": 78129.561076,
|
||||
"setup_cpu_seconds": 99.840649,
|
||||
"live_guard_and_worker_cpu_seconds": 164.93,
|
||||
"reserved_active_cpu_seconds": 5400,
|
||||
"total_rss_bytes": 2830761984,
|
||||
"disk_bytes": 1065697280,
|
||||
"checkpoint_passed": true,
|
||||
"cut": null,
|
||||
"global_stop": null,
|
||||
"waiting": null,
|
||||
"monitor_errors": [],
|
||||
"wall_seconds": 29703.06178911304
|
||||
},
|
||||
"terminal_increment_since_0523": 19,
|
||||
"fit_cpu_increment_since_0523": 1852.353374000013,
|
||||
"processes": [
|
||||
{
|
||||
"pid": 521868,
|
||||
"ppid": 2234,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
25
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540788,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
28
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540798,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
24
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540876,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
26
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540877,
|
||||
"ppid": 540876,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
26
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540800,
|
||||
"ppid": 540798,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
24
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540789,
|
||||
"ppid": 540788,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
28
|
||||
]
|
||||
}
|
||||
],
|
||||
"batch_complete_exists": false,
|
||||
"receipt_count": 609,
|
||||
"failure_receipts": [
|
||||
{
|
||||
"index": 90,
|
||||
"job": {
|
||||
"index": 90,
|
||||
"cell": 5,
|
||||
"fold": 1,
|
||||
"pool": 100,
|
||||
"arm": "H1",
|
||||
"kind": "HPO",
|
||||
"config_index": 10
|
||||
},
|
||||
"worker": {
|
||||
"status": "FAILED",
|
||||
"returncode": -9,
|
||||
"stop_reason": "process_count_limit",
|
||||
"cpu_seconds": 1.269064,
|
||||
"wall_seconds": 1.3662052699946798,
|
||||
"peak_tree_rss_bytes": 124358656,
|
||||
"peak_process_count": 2,
|
||||
"monitor_errors": [],
|
||||
"max_poll_gap_seconds": 0.3741483819903806,
|
||||
"reaped_orphan_cpu_seconds": 0.181614,
|
||||
"limits": {
|
||||
"cpu_seconds": 1800,
|
||||
"wall_seconds": 3600,
|
||||
"rss_bytes": 8589934592,
|
||||
"disk_bytes": 107374182400
|
||||
},
|
||||
"retry": false,
|
||||
"gpu_visible": false
|
||||
},
|
||||
"global_failure": false,
|
||||
"guard_cpu_seconds": 0.444667102,
|
||||
"result_path": null,
|
||||
"result_sha256": null
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"checked_at": "2026-11-17T05:23:23.821430+08:00",
|
||||
"progress": {
|
||||
"terminal_attempts": 590,
|
||||
"logical_terminal": 590,
|
||||
"active": {
|
||||
"0": {
|
||||
"job": 398,
|
||||
"cell": 1,
|
||||
"guard_pid": 540408
|
||||
},
|
||||
"3": {
|
||||
"job": 599,
|
||||
"cell": 10,
|
||||
"guard_pid": 540445
|
||||
},
|
||||
"1": {
|
||||
"job": 467,
|
||||
"cell": 4,
|
||||
"guard_pid": 540509
|
||||
},
|
||||
"2": {
|
||||
"job": 533,
|
||||
"cell": 7,
|
||||
"guard_pid": 540512
|
||||
}
|
||||
},
|
||||
"fit_cpu_seconds": 76277.20770199999,
|
||||
"setup_cpu_seconds": 99.840649,
|
||||
"live_guard_and_worker_cpu_seconds": 681.5600000000001,
|
||||
"reserved_active_cpu_seconds": 7200,
|
||||
"total_rss_bytes": 5208371200,
|
||||
"disk_bytes": 1036881920,
|
||||
"checkpoint_passed": true,
|
||||
"cut": null,
|
||||
"global_stop": null,
|
||||
"waiting": null,
|
||||
"monitor_errors": [],
|
||||
"wall_seconds": 29296.26047961705
|
||||
},
|
||||
"receipt_count": 590,
|
||||
"pass_count": 589,
|
||||
"failures": [
|
||||
{
|
||||
"job": 90,
|
||||
"reason": "process_count_limit"
|
||||
}
|
||||
],
|
||||
"terminal_increment": 19,
|
||||
"fit_cpu_increment": 5485.294468000007,
|
||||
"processes": [
|
||||
{
|
||||
"pid": 521868,
|
||||
"ppid": 2234,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
25
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540408,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
24
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540409,
|
||||
"ppid": 540408,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
24
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540445,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
29
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540446,
|
||||
"ppid": 540445,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
29
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540509,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
26
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540510,
|
||||
"ppid": 540509,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
26
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540512,
|
||||
"ppid": 521868,
|
||||
"status": "sleeping",
|
||||
"affinity": [
|
||||
28
|
||||
]
|
||||
},
|
||||
{
|
||||
"pid": 540513,
|
||||
"ppid": 540512,
|
||||
"status": "running",
|
||||
"affinity": [
|
||||
28
|
||||
]
|
||||
}
|
||||
],
|
||||
"batch_complete_exists": false,
|
||||
"original_queue_unchanged": true
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"tested_sources": {
|
||||
"tools/o1_v2.py": "7bfc81d820a1be7d40b97b2c0b65a616812cb7615b99d80c4ac589788282c291",
|
||||
"tools/o1_v2_prepare.py": "552f659e23440b7a573ddeb7cc1eea41e6f1edda861980fab13cc28dd29efaf4",
|
||||
"tools/run_o1_v2.py": "ff0e56c9d1944acc24dea3699f6d0ff6feec7ba30d586cb7fb6b7bed399614e3",
|
||||
"tools/test_o1_v2.py": "63daf5591cdf8e51c1ffa55d57ba57b1ec65a99ca387d66a50de4b43adbc35e8"
|
||||
},
|
||||
"acceptance": [
|
||||
{
|
||||
"path": "artifacts/o1-v2-acceptance-2026-11-17/attempt-001/worker.receipt.json",
|
||||
"sha256": "fc6f25cfb2440272cbe1606e7d7f34c108cb804b3dbde5fd75f483a0b298ed2b",
|
||||
"status": "PASS",
|
||||
"returncode": 0,
|
||||
"stop_reason": null,
|
||||
"cpu_seconds": 1.435606,
|
||||
"wall_seconds": 1.472171197005082,
|
||||
"peak_tree_rss_bytes": 124719104,
|
||||
"peak_process_count": 1,
|
||||
"monitor_errors": [],
|
||||
"max_poll_gap_seconds": 0.2565469699911773,
|
||||
"reaped_orphan_cpu_seconds": 0.0,
|
||||
"limits": {
|
||||
"cpu_seconds": 600,
|
||||
"wall_seconds": 900,
|
||||
"rss_bytes": 8589934592,
|
||||
"disk_bytes": 107374182400
|
||||
},
|
||||
"retry": false,
|
||||
"gpu_visible": false
|
||||
}
|
||||
],
|
||||
"provenance": "Unchanged source mtimes precede accepted synthetic worker start; immutable imported sources checked"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,668 @@
|
||||
{
|
||||
"parts": [
|
||||
{
|
||||
"index": 0,
|
||||
"case": "00000003_1ffb81a71e5b402e966b9341_step_002",
|
||||
"component_id": "component-ab740d6b82ac47d8",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000003_1ffb81a71e5b402e966b9341_step_002/guard-result.json",
|
||||
"original_guard_sha256": "384ba88d7830f0172f744920a6bf0a230b1d93bc8729077f93306f398f362ef0",
|
||||
"original_result_sha256": "8c4c3210573d91ee7836b40279d862bfe7c4fd3db40c0fdf2f22477d955498e5"
|
||||
},
|
||||
{
|
||||
"index": 1,
|
||||
"case": "00000004_1ffb81a71e5b402e966b9341_step_003",
|
||||
"component_id": "component-ab740d6b82ac47d8",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000004_1ffb81a71e5b402e966b9341_step_003/guard-result.json",
|
||||
"original_guard_sha256": "b068c2fc8366fae837a76d489f4ab45938fbc88a93b062dca2f0c515cd967481",
|
||||
"original_result_sha256": "343f6e23b80e95b98c9446170c1b3fc83057a83e40b2611132e09a43990023c5"
|
||||
},
|
||||
{
|
||||
"index": 2,
|
||||
"case": "00000006_d4fe04f0f5f84b52bd4f10e4_step_001",
|
||||
"component_id": "component-b053483edb9194ef",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000006_d4fe04f0f5f84b52bd4f10e4_step_001/guard-result.json",
|
||||
"original_guard_sha256": "e4649a66ae9445d43d5bdf59bd778167e769e61c5d79c59dfa3ccc00c6d6c2b0",
|
||||
"original_result_sha256": "2a81d5414730d6d48fe7ae698e8e732c3bddfaca2ea56a3e2b07113089f32792"
|
||||
},
|
||||
{
|
||||
"index": 3,
|
||||
"case": "00000008_9b3d6a97e8de4aa193b81000_step_000",
|
||||
"component_id": "component-3fcbb5eb18b76e52",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000008_9b3d6a97e8de4aa193b81000_step_000/guard-result.json",
|
||||
"original_guard_sha256": "3fc8261be95b356d45e63e96243a54d608ba896e6d334c6e4b6201094b236d6c",
|
||||
"original_result_sha256": "45f5d1c63851f253f160df0bbb6ca98e441335b67851eb0bf51a14e741575ad3"
|
||||
},
|
||||
{
|
||||
"index": 4,
|
||||
"case": "00000009_9b3d6a97e8de4aa193b81000_step_001",
|
||||
"component_id": "component-3fcbb5eb18b76e52",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000009_9b3d6a97e8de4aa193b81000_step_001/guard-result.json",
|
||||
"original_guard_sha256": "ffa2825db002bb76907ac5b4c8b44e3865984f2a29e4bf2b819f6860e34d0c53",
|
||||
"original_result_sha256": "fcb6d2795ddda6bd88d9d46aa266538c2bc693eb1dd87dc688305d47c2e218a2"
|
||||
},
|
||||
{
|
||||
"index": 5,
|
||||
"case": "00000011_e909f412cda24521865fac0f_step_000",
|
||||
"component_id": "component-2b74b0b7252a513c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000011_e909f412cda24521865fac0f_step_000/guard-result.json",
|
||||
"original_guard_sha256": "6b8c5987709107cd8c2bb26ef4a0af595c1850b184b6117b9084959842bf8a3b",
|
||||
"original_result_sha256": "758a6ffc7a022254fc53d0042006f0227d780bf2697dfdcf4e800f0fe6c1ad9d"
|
||||
},
|
||||
{
|
||||
"index": 6,
|
||||
"case": "00000021_ad34a3f60c4a4caa99646600_step_001",
|
||||
"component_id": "component-ca40411ea4c0e984",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000021_ad34a3f60c4a4caa99646600_step_001/guard-result.json",
|
||||
"original_guard_sha256": "2ce3883c929547aa2dd1d766f81cfbe5f97970b0483d40810a21e1c352b8c46b",
|
||||
"original_result_sha256": "5cfe17e07373572fb5082d4406c8426a2ca9d0a2b7f44eaf28a47f73d76c6e38"
|
||||
},
|
||||
{
|
||||
"index": 7,
|
||||
"case": "00000023_ad34a3f60c4a4caa99646600_step_003",
|
||||
"component_id": "component-ca40411ea4c0e984",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000023_ad34a3f60c4a4caa99646600_step_003/guard-result.json",
|
||||
"original_guard_sha256": "717ab021f93e30bbd73fe8d8e840f245f9983ee5abe5dcaf8e3e70c7a41c6fd1",
|
||||
"original_result_sha256": "36cac28005c4bde5295e7ff62eda7810590a71ac1632ab25c762ca727961fcbf"
|
||||
},
|
||||
{
|
||||
"index": 8,
|
||||
"case": "00000024_ad34a3f60c4a4caa99646600_step_004",
|
||||
"component_id": "component-ca40411ea4c0e984",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000024_ad34a3f60c4a4caa99646600_step_004/guard-result.json",
|
||||
"original_guard_sha256": "d6ca5f7a62639194c97a15439c008e3f19d172641f619318b9dd3b45e4918e46",
|
||||
"original_result_sha256": "3c66df09c04ac2c7ff43d245b3cd8ea9078ab40f8f498dd4a89cd26294b7dc11"
|
||||
},
|
||||
{
|
||||
"index": 9,
|
||||
"case": "00000030_ad34a3f60c4a4caa99646600_step_010",
|
||||
"component_id": "component-ca40411ea4c0e984",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000030_ad34a3f60c4a4caa99646600_step_010/guard-result.json",
|
||||
"original_guard_sha256": "9725b00e89ac3953d738a948c1f22b18a1f576b6caad2b510513bc2fff63cbcb",
|
||||
"original_result_sha256": "9d082cbc297dd2c40a6e1790903d4370914170cfdc9d98ba8a22b17b760d272e"
|
||||
},
|
||||
{
|
||||
"index": 10,
|
||||
"case": "00000031_ad34a3f60c4a4caa99646600_step_011",
|
||||
"component_id": "component-ca40411ea4c0e984",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000031_ad34a3f60c4a4caa99646600_step_011/guard-result.json",
|
||||
"original_guard_sha256": "57132382764eb07a3df4de0fdc36a43860d58cd97aec71d7e4811c5e261e8bb6",
|
||||
"original_result_sha256": "890f0921a3a9339469bc572a7ec97d50e9580a5bf8068db8e1a1d594edd58833"
|
||||
},
|
||||
{
|
||||
"index": 12,
|
||||
"case": "00000049_aa208c45e8734584a147f595_step_000",
|
||||
"component_id": "component-5ddb0b31bf451678",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000049_aa208c45e8734584a147f595_step_000/guard-result.json",
|
||||
"original_guard_sha256": "9b5b59f4ec3193a9df5140e3ae780e61654c2ca0ceb4b3bcabc4735b376dee0d",
|
||||
"original_result_sha256": "4e95b58672116d1da1da5b2a68c3f99301ff8c4696dd6c0accfac8138d94fc33"
|
||||
},
|
||||
{
|
||||
"index": 13,
|
||||
"case": "00000057_666139e3bff64d4e8a6ce183_step_006",
|
||||
"component_id": "component-637b8b1b5a28ed6a",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000057_666139e3bff64d4e8a6ce183_step_006/guard-result.json",
|
||||
"original_guard_sha256": "98d5325b903221b1516a7cf5fa8636b2054dee7a0679a94837ef1cb17a2be007",
|
||||
"original_result_sha256": "977be9cd69867ce5d82d357303538852a829d1a53b2bccaf47b58b99abdadd29"
|
||||
},
|
||||
{
|
||||
"index": 14,
|
||||
"case": "00000058_666139e3bff64d4e8a6ce183_step_007",
|
||||
"component_id": "component-637b8b1b5a28ed6a",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000058_666139e3bff64d4e8a6ce183_step_007/guard-result.json",
|
||||
"original_guard_sha256": "dc00e2de295beb631cc820075cfd25f7e316adccc18c296e660aa941e911fffe",
|
||||
"original_result_sha256": "33f360a248ab7b3ce96e44fcb16c839a821b8db75406ca9a69585aac97a7d5e0"
|
||||
},
|
||||
{
|
||||
"index": 15,
|
||||
"case": "00000060_767e4372b5f94a88a7a17d90_step_001",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000060_767e4372b5f94a88a7a17d90_step_001/guard-result.json",
|
||||
"original_guard_sha256": "69f4087051a6858a41c37eb9a56f692ee32ea3cff96d92d457efcccb29940ba4",
|
||||
"original_result_sha256": "0517bf3167b487568a386d03f611117d7298fc676e5283166852c2e26baa60ab"
|
||||
},
|
||||
{
|
||||
"index": 16,
|
||||
"case": "00000061_767e4372b5f94a88a7a17d90_step_002",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000061_767e4372b5f94a88a7a17d90_step_002/guard-result.json",
|
||||
"original_guard_sha256": "d088a721f575c70119096afc5d162a57cb897444794c66ad8e29522303dd5e75",
|
||||
"original_result_sha256": "745a30f770f9586b5a105897e3187f86508e28cb8fa263d5729f1a508eb51da8"
|
||||
},
|
||||
{
|
||||
"index": 17,
|
||||
"case": "00000065_767e4372b5f94a88a7a17d90_step_006",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000065_767e4372b5f94a88a7a17d90_step_006/guard-result.json",
|
||||
"original_guard_sha256": "f951bfcbef8edfe1aef513f931859df30ac6a6481af72f2ec04fa041d500acd8",
|
||||
"original_result_sha256": "4e862497d4df838fdb39b39560184b586a48de426c1af3d60cc8e5e580d0e124"
|
||||
},
|
||||
{
|
||||
"index": 18,
|
||||
"case": "00000066_767e4372b5f94a88a7a17d90_step_007",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000066_767e4372b5f94a88a7a17d90_step_007/guard-result.json",
|
||||
"original_guard_sha256": "233958cb496fb6d70c695cde3e4ba7d3d37bcf1f721939f6c004637e8c1e4bfc",
|
||||
"original_result_sha256": "7dcb114c10a9c8d904006baf347ee508b697d549e816a4c9be37d74a906f234f"
|
||||
},
|
||||
{
|
||||
"index": 19,
|
||||
"case": "00000067_767e4372b5f94a88a7a17d90_step_008",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000067_767e4372b5f94a88a7a17d90_step_008/guard-result.json",
|
||||
"original_guard_sha256": "f5603f1595b05abcef997cb44413dda2fb8e47b5b175d2340e6152bbe4c01a72",
|
||||
"original_result_sha256": "1af7631f81575ac21848ce1779e243c6ee8fa21fa30f0f022eafccf3213bea3b"
|
||||
},
|
||||
{
|
||||
"index": 20,
|
||||
"case": "00000068_767e4372b5f94a88a7a17d90_step_009",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000068_767e4372b5f94a88a7a17d90_step_009/guard-result.json",
|
||||
"original_guard_sha256": "d3e27ef85e6e9554ed1fafb7b7e118b5daa306c78dfbcc3bc4ba7fe1f7d8abfe",
|
||||
"original_result_sha256": "965970cece0717f63f82455e8d327e41d5e4a08193c9edb6d8864949f3d33c95"
|
||||
},
|
||||
{
|
||||
"index": 21,
|
||||
"case": "00000070_767e4372b5f94a88a7a17d90_step_011",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000070_767e4372b5f94a88a7a17d90_step_011/guard-result.json",
|
||||
"original_guard_sha256": "cc3091b5d2b22a240d18559e8552f34eea6f3c4e8f0860b1ce54d6a2dc099625",
|
||||
"original_result_sha256": "1810d5306e7cb9182f435752223e87452c59024d440f4a41093df9ee73871462"
|
||||
},
|
||||
{
|
||||
"index": 22,
|
||||
"case": "00000072_767e4372b5f94a88a7a17d90_step_013",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000072_767e4372b5f94a88a7a17d90_step_013/guard-result.json",
|
||||
"original_guard_sha256": "3ad1381dfa5190363d42b317f7f7da7ac138a54eb3bff58656d8608a99acb91e",
|
||||
"original_result_sha256": "7dd3312126aacab337ed0c44d24b3d9895669b7f0228b22dfa113be7043271b4"
|
||||
},
|
||||
{
|
||||
"index": 23,
|
||||
"case": "00000077_767e4372b5f94a88a7a17d90_step_018",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000077_767e4372b5f94a88a7a17d90_step_018/guard-result.json",
|
||||
"original_guard_sha256": "acf9efa983e51eac0400541e5388fcc8c66c87042c2462f66147d43af5b08864",
|
||||
"original_result_sha256": "5ce4d983b4a2012a089d2b537d1430482f90c19d7e7445e5110614d13cc27d67"
|
||||
},
|
||||
{
|
||||
"index": 24,
|
||||
"case": "00000078_767e4372b5f94a88a7a17d90_step_019",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000078_767e4372b5f94a88a7a17d90_step_019/guard-result.json",
|
||||
"original_guard_sha256": "d7a4cbdb19b148e1cdf351503440536c6c17a7727e32da721f8043423f96bcb6",
|
||||
"original_result_sha256": "45af0ac14fda214106fc026267ab0815ee8dec04f5236c8fcf819ccfea70f3af"
|
||||
},
|
||||
{
|
||||
"index": 25,
|
||||
"case": "00000079_767e4372b5f94a88a7a17d90_step_020",
|
||||
"component_id": "component-e350d15a3d61b541",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000079_767e4372b5f94a88a7a17d90_step_020/guard-result.json",
|
||||
"original_guard_sha256": "fe06a9d282053cb413278c62b3c8e512fd635b5ae1268b03b6332197ccf220bf",
|
||||
"original_result_sha256": "b17a79c5b3a9fe782f213843083882b4cb7f9eae919286f2061ef22fa8a6e854"
|
||||
},
|
||||
{
|
||||
"index": 26,
|
||||
"case": "00000087_b4f9335a60a14cecaa599159_step_002",
|
||||
"component_id": "component-81d2d33d574599ba",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000087_b4f9335a60a14cecaa599159_step_002/guard-result.json",
|
||||
"original_guard_sha256": "4aa5cf68d805e191d6a05f71d30695cfaa86a7ae91a36215a33ec4afa2366ac0",
|
||||
"original_result_sha256": "ca4df4cc65c53de395e7f22c29398a1199687fed58f7bf68a6f2c97a6df06954"
|
||||
},
|
||||
{
|
||||
"index": 27,
|
||||
"case": "00000088_169bec34317b46e98eb1a403_step_000",
|
||||
"component_id": "component-5afdd4c903a0598c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000088_169bec34317b46e98eb1a403_step_000/guard-result.json",
|
||||
"original_guard_sha256": "4bcbbfc86e8815f053e67cd893e5faf246bc4b1ac91616abd75af85dcb1305f3",
|
||||
"original_result_sha256": "38d3fcc0a42923bb908bc3f72b80607f9d791dadcce156e579d7ed58f4b09941"
|
||||
},
|
||||
{
|
||||
"index": 28,
|
||||
"case": "00000093_169bec34317b46e98eb1a403_step_005",
|
||||
"component_id": "component-5afdd4c903a0598c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000093_169bec34317b46e98eb1a403_step_005/guard-result.json",
|
||||
"original_guard_sha256": "5d7a621b100383a7a350742376d461caa7948b55a911ca70d5e86fb98cb0a002",
|
||||
"original_result_sha256": "875be4023fb49083782b3624b3f6445497f9f7be23c740b636cb1df00d49644d"
|
||||
},
|
||||
{
|
||||
"index": 29,
|
||||
"case": "00000098_72cf0f9ca5324822a4d41a80_step_000",
|
||||
"component_id": "component-15aa9a13f4e78694",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000098_72cf0f9ca5324822a4d41a80_step_000/guard-result.json",
|
||||
"original_guard_sha256": "5a2717b2afdb9701283a23d55d4d8f573a88902bf7e9cae3d12bd29abb5a0bc4",
|
||||
"original_result_sha256": "490ee292ab49fd2b389a1aecc863af4dcfd26cfdec18aef1b319eefe60135613"
|
||||
},
|
||||
{
|
||||
"index": 30,
|
||||
"case": "00000102_5ed74bccca6f4e89829bcb5e_step_002",
|
||||
"component_id": "component-a6fdb266928e1aea",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000102_5ed74bccca6f4e89829bcb5e_step_002/guard-result.json",
|
||||
"original_guard_sha256": "c93a4719d3608fadc90cdf718c8acd8ce96f56989b646c47dc5c6c5ac9266521",
|
||||
"original_result_sha256": "cc58a4dc2a2a186b12772eaba9fcb4aad715525546ff142f6dd2521b5fdb2622"
|
||||
},
|
||||
{
|
||||
"index": 31,
|
||||
"case": "00000103_52f7124261ae4c558f800775_step_000",
|
||||
"component_id": "component-9526b37d9a704beb",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000103_52f7124261ae4c558f800775_step_000/guard-result.json",
|
||||
"original_guard_sha256": "799655061eccd4f89dbd704c70eb2029ff15b4e4b20307a6984c3f5984a9c353",
|
||||
"original_result_sha256": "1447d6fc983cff428d91818410c91df66609d8b0f1a05b88f23754747862f3a9"
|
||||
},
|
||||
{
|
||||
"index": 32,
|
||||
"case": "00000104_52f7124261ae4c558f800775_step_001",
|
||||
"component_id": "component-9526b37d9a704beb",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000104_52f7124261ae4c558f800775_step_001/guard-result.json",
|
||||
"original_guard_sha256": "286950cbaad794a416306d201d90752b3a2a5aeb66856127f4df398f1e41cb71",
|
||||
"original_result_sha256": "23d73f57b38d91771abe07e48cc4a744729fc86898143300c6d10e7e1f009730"
|
||||
},
|
||||
{
|
||||
"index": 33,
|
||||
"case": "00000105_52f7124261ae4c558f800775_step_002",
|
||||
"component_id": "component-9526b37d9a704beb",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000105_52f7124261ae4c558f800775_step_002/guard-result.json",
|
||||
"original_guard_sha256": "e96d863d0a5d3033de459c1f4b08588541790a7ddb87f22f2ec8621e1c903cbd",
|
||||
"original_result_sha256": "b6e2ec17c9cc5a2af9c1950a149d57adcb872ddaa29c7e9d46310af9f60819d4"
|
||||
},
|
||||
{
|
||||
"index": 34,
|
||||
"case": "00000106_52f7124261ae4c558f800775_step_003",
|
||||
"component_id": "component-9526b37d9a704beb",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000106_52f7124261ae4c558f800775_step_003/guard-result.json",
|
||||
"original_guard_sha256": "07092eed2e14f02dfc3e8830161dc0ae0d819524349f4dd6a542e713860f03e1",
|
||||
"original_result_sha256": "1e740a5fe417a1fdef1a0229d7feaed2f6a6f632ec6cb7d6ca705b99ea23070f"
|
||||
},
|
||||
{
|
||||
"index": 35,
|
||||
"case": "00000111_ce24e0cbec8e45c89735d148_step_003",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000111_ce24e0cbec8e45c89735d148_step_003/guard-result.json",
|
||||
"original_guard_sha256": "bf8afd480b9bdc5bddd6737d549907d17c30d2677776f867e331c944ab429ecc",
|
||||
"original_result_sha256": "b785030feddf7973913c37692e2a82662e7bfb650c699429991c4bc18aa70930"
|
||||
},
|
||||
{
|
||||
"index": 36,
|
||||
"case": "00000115_ce24e0cbec8e45c89735d148_step_007",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000115_ce24e0cbec8e45c89735d148_step_007/guard-result.json",
|
||||
"original_guard_sha256": "f226f85f83720ccf74dcbecfe5bb2fbadbe1dc6ac83853097045ca84301c251a",
|
||||
"original_result_sha256": "7ec3aceb14b395c1b3f365b11f37933ade5c6bd0b860bd85bb3f8726e2286534"
|
||||
},
|
||||
{
|
||||
"index": 37,
|
||||
"case": "00000116_ce24e0cbec8e45c89735d148_step_008",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000116_ce24e0cbec8e45c89735d148_step_008/guard-result.json",
|
||||
"original_guard_sha256": "5fc212fbc6517301e9c1ddff0fe4a8124cdc59c8f0b4563e1332e8c0a5434d09",
|
||||
"original_result_sha256": "d48f0eb61dbe19ba01565103e8d98844acfff2b28dd334f66a0df5f435443a10"
|
||||
},
|
||||
{
|
||||
"index": 38,
|
||||
"case": "00000117_ce24e0cbec8e45c89735d148_step_009",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000117_ce24e0cbec8e45c89735d148_step_009/guard-result.json",
|
||||
"original_guard_sha256": "dafc92449bf292f4a20724531ed716e5df5bc422fc56968c93a96a409fe33817",
|
||||
"original_result_sha256": "9b17733e7a148e40448a5b42f2178e28c41d0fbd7a8e541887a7dc36c1dc34a1"
|
||||
},
|
||||
{
|
||||
"index": 39,
|
||||
"case": "00000119_ce24e0cbec8e45c89735d148_step_011",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000119_ce24e0cbec8e45c89735d148_step_011/guard-result.json",
|
||||
"original_guard_sha256": "b343f07a441449eca0726f1471f296442a2fe8acb90596812a571e6408c5a2d6",
|
||||
"original_result_sha256": "bc42acc51ecd589003a9bcd7a5323901a285961c2dc8e091f9c35d0031148dd9"
|
||||
},
|
||||
{
|
||||
"index": 40,
|
||||
"case": "00000120_ce24e0cbec8e45c89735d148_step_012",
|
||||
"component_id": "component-3a3e340f4dfac391",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000120_ce24e0cbec8e45c89735d148_step_012/guard-result.json",
|
||||
"original_guard_sha256": "dc4087d5db7c36ca90dcfd65327f76cb2d06498563bbc769ee93d6b562f7c9f7",
|
||||
"original_result_sha256": "e869667733f557f666151ebe26e35b8a7665511803b6b7dd04c4b104f97b8510"
|
||||
},
|
||||
{
|
||||
"index": 41,
|
||||
"case": "00000125_e18c7feacfb54f3880659b43_step_000",
|
||||
"component_id": "component-16c0e2fdcbf6371c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000125_e18c7feacfb54f3880659b43_step_000/guard-result.json",
|
||||
"original_guard_sha256": "7af29c9228b43b00afa8e96bd4f69d1a8ed716703d165e727b3b291d5b112fa8",
|
||||
"original_result_sha256": "1a11b925662e852405d62d5ef6165d642351b2fda431e5347b0b52b371f4be7d"
|
||||
},
|
||||
{
|
||||
"index": 42,
|
||||
"case": "00000128_e18c7feacfb54f3880659b43_step_003",
|
||||
"component_id": "component-16c0e2fdcbf6371c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000128_e18c7feacfb54f3880659b43_step_003/guard-result.json",
|
||||
"original_guard_sha256": "3e44fd287be1a4e693367dca4026fc2a67c380df67394a66a169350458a037b8",
|
||||
"original_result_sha256": "7ae08fa01dceb6957587ecaa5fe365e636bdf40701c28d0136e4f27b9fe17d7e"
|
||||
},
|
||||
{
|
||||
"index": 43,
|
||||
"case": "00000129_e18c7feacfb54f3880659b43_step_004",
|
||||
"component_id": "component-16c0e2fdcbf6371c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000129_e18c7feacfb54f3880659b43_step_004/guard-result.json",
|
||||
"original_guard_sha256": "452cd8eec6796fedd56898929f692060482e647fd16e631ca4177965adc3beb4",
|
||||
"original_result_sha256": "f96867e8d7724492c1317cff37cb7abf84c58deda233a66cc733588a25ba2d8e"
|
||||
},
|
||||
{
|
||||
"index": 44,
|
||||
"case": "00000130_e18c7feacfb54f3880659b43_step_005",
|
||||
"component_id": "component-16c0e2fdcbf6371c",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000130_e18c7feacfb54f3880659b43_step_005/guard-result.json",
|
||||
"original_guard_sha256": "95739c5213d26338966926944fab19b8f5fce04cf1917a854b2506d66e20cf91",
|
||||
"original_result_sha256": "a1366a071488088684c503c14de3c789b272f9962f373efef78609d3276b6e4e"
|
||||
},
|
||||
{
|
||||
"index": 45,
|
||||
"case": "00000131_945244874ed84e599987daa9_step_000",
|
||||
"component_id": "component-dd06ce02456ccabd",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000131_945244874ed84e599987daa9_step_000/guard-result.json",
|
||||
"original_guard_sha256": "265bd1065cb26fc78377050be182fdffeeccfc61e252f9c91be50b171ee06da0",
|
||||
"original_result_sha256": "d2ef8931ff865e489e210cd5e5b887618c62f8c25a553c1559fa15e86c930f58"
|
||||
},
|
||||
{
|
||||
"index": 46,
|
||||
"case": "00000132_438507a38e404bfdbd51a16b_step_000",
|
||||
"component_id": "component-dd06ce02456ccabd",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000132_438507a38e404bfdbd51a16b_step_000/guard-result.json",
|
||||
"original_guard_sha256": "06b5c21a44efdb36603a5ccba845b918b74102582a45969840e6c81110aa530f",
|
||||
"original_result_sha256": "e608adc248938514b80c892fca3647d2ff9564376295c3e0a413e6be41a5dff8"
|
||||
},
|
||||
{
|
||||
"index": 47,
|
||||
"case": "00000133_08b739e0511f4305b161cd05_step_000",
|
||||
"component_id": "component-dd06ce02456ccabd",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000133_08b739e0511f4305b161cd05_step_000/guard-result.json",
|
||||
"original_guard_sha256": "81742e590757b9531f8030628f7ee5fe8cb218fd29bbf4d3866d41de5175de2a",
|
||||
"original_result_sha256": "4927691047d76f57a82c1428a5817b359b0765d6d87464cf01beacfc55bc147a"
|
||||
},
|
||||
{
|
||||
"index": 48,
|
||||
"case": "00000140_2fc54fcd110d4f49969163c4_step_003",
|
||||
"component_id": "component-e26879eab19ef34e",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000140_2fc54fcd110d4f49969163c4_step_003/guard-result.json",
|
||||
"original_guard_sha256": "4bfa1b31f305d8e717609281a73c9b5af803dd477340175c6f9c529925b59448",
|
||||
"original_result_sha256": "ae0ba9b1505e7592a4f910b3ae4610f2719d9a9822fa6ff67393eb7e1c7c471a"
|
||||
},
|
||||
{
|
||||
"index": 49,
|
||||
"case": "00000142_2fc54fcd110d4f49969163c4_step_005",
|
||||
"component_id": "component-e26879eab19ef34e",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000142_2fc54fcd110d4f49969163c4_step_005/guard-result.json",
|
||||
"original_guard_sha256": "3ffa0951715eb518cf0f3eb24fdd2e9e49de1641b61ddbd284f1d7c74ff40208",
|
||||
"original_result_sha256": "f2260fb026c59213066bd49fa63dba138e83100d4cb8de81a9e649c6e2c28990"
|
||||
},
|
||||
{
|
||||
"index": 50,
|
||||
"case": "00000144_2fc54fcd110d4f49969163c4_step_007",
|
||||
"component_id": "component-e26879eab19ef34e",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000144_2fc54fcd110d4f49969163c4_step_007/guard-result.json",
|
||||
"original_guard_sha256": "9c17c2b3c5df85a5a2f37a3cadb3690902f892e072c2b5bfbec8f5e2af7ea812",
|
||||
"original_result_sha256": "742304702e5eda02ad4b6ae3a8742cd5215419a1017545817d09263683756094"
|
||||
},
|
||||
{
|
||||
"index": 51,
|
||||
"case": "00000145_2fc54fcd110d4f49969163c4_step_008",
|
||||
"component_id": "component-e26879eab19ef34e",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000145_2fc54fcd110d4f49969163c4_step_008/guard-result.json",
|
||||
"original_guard_sha256": "ba22e57f20714140e22d9a47c3de8e8606cdd39c899fb36badf558b7db897603",
|
||||
"original_result_sha256": "d5fcd412a4d447130d1ea7cf82a1c8a95e8760a368ef63c4b41c044e8c9e9ec2"
|
||||
},
|
||||
{
|
||||
"index": 52,
|
||||
"case": "00000152_a951550b8a1043a68423c541_step_002",
|
||||
"component_id": "component-e9043ebdff4596a2",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000152_a951550b8a1043a68423c541_step_002/guard-result.json",
|
||||
"original_guard_sha256": "320ea18043e834129cc5b875c36def9a89da861bfab37a8c90ef7e8f0b17643a",
|
||||
"original_result_sha256": "fd363ec959c7aefe34455bb6ae5df49d5a7abf0334fd74d2834cfdd006322340"
|
||||
},
|
||||
{
|
||||
"index": 53,
|
||||
"case": "00000153_a951550b8a1043a68423c541_step_003",
|
||||
"component_id": "component-e9043ebdff4596a2",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000153_a951550b8a1043a68423c541_step_003/guard-result.json",
|
||||
"original_guard_sha256": "d25b31e1241de10199246c784c8b5e747f5d894a6daf915bad710ccc270cece9",
|
||||
"original_result_sha256": "ba7d2c85671b3c31d0ee99ba4b06b729d65adbdb87ea58bbe31e1f475b6cde45"
|
||||
},
|
||||
{
|
||||
"index": 54,
|
||||
"case": "00000154_a951550b8a1043a68423c541_step_004",
|
||||
"component_id": "component-e9043ebdff4596a2",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "INELIGIBLE",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000154_a951550b8a1043a68423c541_step_004/guard-result.json",
|
||||
"original_guard_sha256": "6b5a432e1ed1f08dc83eaeb09d2eab42ae45f05933655d88dd1c4ebbf7136d12",
|
||||
"original_result_sha256": "e6df424eabaf8175ad46e090a657103a343ddbace0e498372f73aa83fecbfffb"
|
||||
},
|
||||
{
|
||||
"index": 55,
|
||||
"case": "00000157_8208fd8b44b64dce91322f84_step_000",
|
||||
"component_id": "component-fbcc6fd147be40dd",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000157_8208fd8b44b64dce91322f84_step_000/guard-result.json",
|
||||
"original_guard_sha256": "01ea962a35d754f064aa955b9a7021a4856ef648b14ef516e26dfebd842c8a00",
|
||||
"original_result_sha256": "8d5d70eb8568f60ad2e252d0f9a074654b9fc094995aa8b1c79fa5d1fb445aa5"
|
||||
},
|
||||
{
|
||||
"index": 56,
|
||||
"case": "00000161_a583c6c3cdc143bab3f6c856_step_000",
|
||||
"component_id": "component-cd01a78bb1ea62fe",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000161_a583c6c3cdc143bab3f6c856_step_000/guard-result.json",
|
||||
"original_guard_sha256": "5fecea15cfa3c561288192c83ae1e6d6e9f89b5e94e54ff56add826584783d28",
|
||||
"original_result_sha256": "aba1e0507a4b574cebaf804980ae4e78f47d167764f21fb5e9eefe177a12c069"
|
||||
},
|
||||
{
|
||||
"index": 57,
|
||||
"case": "00000162_4dcda9fab6dd46cf98fb194e_step_000",
|
||||
"component_id": "component-9a030f8717a2d204",
|
||||
"original_worker_status": "PASS",
|
||||
"original_stop_reason": null,
|
||||
"original_scientific_status": "PASS",
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000162_4dcda9fab6dd46cf98fb194e_step_000/guard-result.json",
|
||||
"original_guard_sha256": "2d75d4e2233192f8cb3333c54e8faa289df6cb34736ccec2d38337703bcdd06d",
|
||||
"original_result_sha256": "0b9bbeb712533ce7d1f12159cda40fbaf2df748e507dc54fec42eee7bdecdb65"
|
||||
},
|
||||
{
|
||||
"index": 58,
|
||||
"case": "00000163_ff9b2ed255484db78bb0e6da_step_000",
|
||||
"component_id": "component-cd01a78bb1ea62fe",
|
||||
"original_worker_status": "FAILED",
|
||||
"original_stop_reason": "GUARD_SIGNAL_15",
|
||||
"original_scientific_status": null,
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000163_ff9b2ed255484db78bb0e6da_step_000/guard-result.json",
|
||||
"original_guard_sha256": "9d91af1bef7ec8910479044f4864d9388a2f9928beae30f270fcfeb78b0365ab",
|
||||
"original_result_sha256": null
|
||||
},
|
||||
{
|
||||
"index": 59,
|
||||
"case": "00000164_91adbf180e114b698160c9a4_step_000",
|
||||
"component_id": "component-cd01a78bb1ea62fe",
|
||||
"original_worker_status": "FAILED",
|
||||
"original_stop_reason": "GUARD_SIGNAL_15",
|
||||
"original_scientific_status": null,
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000164_91adbf180e114b698160c9a4_step_000/guard-result.json",
|
||||
"original_guard_sha256": "af73e2035e4e776a55f41aa29949828f56e5e663b8b702448df9cb1055fd4893",
|
||||
"original_result_sha256": null
|
||||
},
|
||||
{
|
||||
"index": 60,
|
||||
"case": "00000165_4070a99d6ebe45f5bd5d71eb_step_000",
|
||||
"component_id": "component-cd01a78bb1ea62fe",
|
||||
"original_worker_status": "FAILED",
|
||||
"original_stop_reason": "GUARD_SIGNAL_15",
|
||||
"original_scientific_status": null,
|
||||
"original_guard_path": "artifacts/o1-preparation-continuation-2026-11-17/parts/00000165_4070a99d6ebe45f5bd5d71eb_step_000/guard-result.json",
|
||||
"original_guard_sha256": "fbe29d47826a31bd49e9f1c7382b28cbc3ee97b6f91391557dcec72fbac58d11",
|
||||
"original_result_sha256": null
|
||||
}
|
||||
],
|
||||
"order": "original dispatch",
|
||||
"original_complete_sha256": "4640e3a6c38072a9c04829f906bf003e5556705b0392502044541336239b7be8",
|
||||
"original_count": 60,
|
||||
"substitutions": 0
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"status": "FROZEN_NOT_LAUNCHED",
|
||||
"contract_sha256": "90caf09948fe2b0cc51c54c7cf87986f5daaa86f222dd2d1cf231bf5bc70a874",
|
||||
"panel": 60,
|
||||
"dispatch": 611,
|
||||
"original_parts": 617,
|
||||
"original_components": 209,
|
||||
"prior_preparation_cpu_seconds": 625.3778830000001,
|
||||
"synthetic_cpu_seconds": 1.435606,
|
||||
"metadata_reserve_cpu_seconds": 5.0,
|
||||
"metadata_actual_cpu_seconds": 0.2552771450000004,
|
||||
"initial_preparation_cpu_seconds": 631.8134890000001,
|
||||
"labels_read": false,
|
||||
"fits_started": false
|
||||
}
|
||||
@@ -197,3 +197,8 @@ O1前十成本门05:01通过:同v2协调539269自动四worker继续,22终态
|
||||
|
||||
|
||||
O1阶段提前停止(05:03):已实读Claude1794862807新增几何预裁量,固定首十8合格中0件同时TG/TC接口差≥.10,另2互检失败;成本PASS不等于辨识资格。消息读到时原成本门已自动继续,停止时56终态+4活动,实际结清60=46PASS+11INELIGIBLE+3裁量SIGTERM中止,额外尝试全保留,不冒称仅十件。539269及全部worker退出,accounting/pins PASS、无monitorerror,最终准备含只读补表625.377883CPU秒,无标签/拟合。未完成全库组件门,不能外推类型/拓扑无效。下一几何matching设计由Mold讨论,尚无实现或新执行;R4bc原队列不动。完整终态、前十候选/接口/互检表与原始60件数据交Claude,旧running记录成为历史。
|
||||
|
||||
|
||||
## O1 scientific v2 approved same-sixty gate (2026-11-17)
|
||||
|
||||
Claude1794863409/h-2e3bd8ed approved Mold632688 specification after the v1 stage review: new labelled type-dependent face weighting, one seed0 generation per arm, shared real-field rank strength, unchanged volume matching and max/min1.25 shape matching. Fourteen synthetic checksPASS; same original60 including all failures frozen, both part and component-equal coverage>=80% and intervention strictly>70% barriers before full preparation. Failure ends this scale, no redesign; success permits remaining geometry then original209-component gate. No repeated user-go; no fit before R4bc terminal. Prior625.377883 retained once, new initial631.813489 within original43200 prep budget. See docs/o1-scientific-v2-preparation-2026-11-17.md and real receipts; this freeze entry alone is not launch evidence.
|
||||
@@ -0,0 +1,15 @@
|
||||
# O1 scientific v2: approved same-sixty geometry gate
|
||||
|
||||
Claude1794863409.977129 / h-2e3bd8ed approved Mold specification SHA256 632688217e59dd134922245e524ff1c0f63933be64600be21379f7aa74947a5f as written. Exact spec is references/2026-11-17/o1/mold-o1-v2-geometric-spec.md. This is a new scientific version, distinct from the earlier engineering-only run_o1_prepare_v2.py repair. All old sources, sixty attempts, failures and accounting remain immutable.
|
||||
|
||||
Question: can the prescribed type-dependent cut costs produce identifiable interventions at K=8 while retaining physical matching? This is not a prediction result or a general topology verdict. All arms use the same METIS 5.1.0, volume weights, connectivity settings and seed0, one generation per arm. G uses physical face area; T/C use the approved area-midrank kernel, shared true-field g_p and common G integer scale. No candidate selection, retuning or extra seed. All original physical volume conditions remain; cut area and sorted diameter max/min must be <=1.25. Original five-percent matching is descriptive only.
|
||||
|
||||
New tools: o1_v2.py, o1_v2_prepare.py, run_o1_v2.py, test_o1_v2.py and metadata-only prepare_o1_v2.py. Fourteen bounded synthetic checks PASS, including exact weighted ranks/ties, shared strength/constant field, common quantization and symmetric CSR, physical thresholds, strict panel gates, equal component weighting, actual runtime schema, all-sixty denominator and a three-call mixed-VTU end-to-end check that refuses labels. Guard CPU1.435606 seconds. Test source mtimes precede the accepted test start; hashes are frozen in accepted-source.json, immutable imported sources checked against v1.
|
||||
|
||||
Root artifacts/o1-v2-preparation-2026-11-17. Contract SHA256 90caf09948fe2b0cc51c54c7cf87986f5daaa86f222dd2d1cf231bf5bc70a874. panel-manifest freezes all sixty original attempted IDs in original dispatch order, including eleven ineligible and three interrupted; each original guard/result fingerprint is retained. The six original unavailable feature rows remain in the full617/209 denominator. No substitution.
|
||||
|
||||
At exactly sixty terminal attempts, before any further dispatch, both part and component panel gates apply: E/60>=0.8 and H/E>0.7, each strong case having TG and TC interface differences>=0.1. Component eligibility requires every panel member, with equal component weighting and the same >=80% and strict>70% thresholds; non-panel siblings are listed. This operational panel is not a random estimate of full-corpus success. Failure stops this scale without redesign. Pass allows remaining geometry only, then the original209-component >=80%/>=70% gate. No fits launch from this program; fits still depend on R4bc terminal status and the original execution contract.
|
||||
|
||||
Cumulative prep starts631.813489 CPU-s: prior625.377883 + synthetic1.435606 + five-second metadata reserve (actual metadata0.255277). No reset or new budget: total40h = prep12h + fit24h + post4h. Four workers CPU0/2/4/6, coordinator1, each1800 CPU/wall seconds and8GiB, aggregate36GiB/100GiB, zero retries, noGPU/target decoding. Record worker CPU, guard/coordinator separately. At publication this document describes implementation/freeze; actual started/progress/complete receipts determine execution state.
|
||||
|
||||
R4bc read-only05:30:10: originalPID521868,609 terminal=608PASS+originaljob90, fit78129.561076 CPU-s; since05:23 +19/+1852.353374, no new failure or budget/global stop. Original queue unchanged. Old O1 v1 raw evidence7d995ec6 push completed and remote branch independently matched; not claiming all660MB independently downloaded and hashed.
|
||||
@@ -0,0 +1,45 @@
|
||||
# O1 v2|让局部类型决定切面代价
|
||||
|
||||
MoldAstra · 2026-11-17 · h-e277b438 · 单次主审稿。交付范围为无标签几何准备设计。底座 A、原 19 列、两个区域均值、训练和 S2 评价均沿已审口径。此次决策只有一个:当前八区尺度下,类型能否改变同一制件的区域边界,使后续预测对照有可辨识的干预?
|
||||
|
||||
## 为什么改生成规则
|
||||
|
||||
前十件有八件通过原几何验收,其中 T/G、T/C 两个接口差异同时达到 0.10 的为 **0/8**。Melt 收到停止裁量时已尝试 **60 件**,最终为 46 科学 PASS、11 几何不合格、3 人工中止;另有 551 未尝试、6 原缺特征。三个人工中止件仍属于预检名单。0/8 只描述前十件。已有记录支持“从当前合法候选中挑选,未形成足够干预”;候选生成、匹配门槛和最终选择各自贡献尚未分离。例如件 3 的 31 个不同候选中仅 2 个合法,所选 T/G/C 重合。不能据此说原 METIS 库里所有切分都一样。这里的 G 沿用公共面面积权,“通用”不等于每条边等权。[Melt 停机回执](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794863069816319) · [Claude 裁量](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794863098172059)
|
||||
|
||||
**逐件证据把问题定位到三个环节。** 前十每件均为 32 次调用产生 31 种无编号唯一分区。不同哈希证明切分不全相同,不能只靠哈希判断它们的边界相差多少。依件 3/4/6/8/9/11/21/23/24/30 的顺序,单臂与 G 匹配后合法候选数为 2/3/19/1/3/1/3/2/1/2。最后实际选出的合格件中,3、8、11、24 两个差值均为零;9、21、30 分别为 (0.989261,0)、(0.987110,0)、(0.970081,0),T 与 C 同切面;23 为 (0,0.931387),T 与 G 同切面。另两件 4、6 在选择时分别为 (0.916002,0.881369)、(0.999516,0.990667),均未通过 T/C 几何互检。它们说明明显不同的切分确曾生成,同时也说明只追求切面差异会丢掉匹配条件。0/8 是预裁量的停止依据;全库组件门没有运行到结论。v2 因此同时改生成目标和形状匹配界,v1/v2 的差不能分别归给这两项。[Melt 前十件逐件回执](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794863275706819)
|
||||
|
||||
## 唯一生成方法
|
||||
|
||||
每件仍用冻结的四面体共面图、原单元体积作顶点权,METIS 5.1.0,同一组平衡与连通设置、同一原始编号和 CSR 顺序。每臂只生成一个分区,均用原 G 种子 0,K=8。G 可复用同输入、同版本、同参数且有指纹的历史种子 0 产物。T、C 各生成一次,无选优。几何或工程失败逐件留账。
|
||||
|
||||
**类型信息。** 单元 z 仍为四顶点 (Dw*, λ₁−λ₂, λ₂−λ₃) 的均值,λ 来自 Gre24 已有空间矩。G 仅用面面积 A_e。T 用真实 z。C 沿原已冻结的“按单元体积分十层、层内置换完整 z 三元组”的种子与次序得到 z̃。置换只进分区器;三臂最终汇总给模型的始终是真实 F、Dw*。不读取填充标签、预测误差或既有外测得分。
|
||||
|
||||
**固定面权。** 对 T、C 的任一场 y,在每个无向内面 e=(k,l) 计算 d_e=‖y_k−y_l‖₂。为避免置换后邻接类型的典型跳幅突然变大,使 C 的所有面一起变便宜,采用同一预定的件内面积秩标度:
|
||||
|
||||
r_e(y) = [Σ_{d_f<d_e} A_f + ½ Σ_{d_f=d_e} A_f] / Σ_f A_f
|
||||
g_p = min(1, Q₀.₉₀,A(d(z)) / 0.05)
|
||||
w_e(G)=A_e
|
||||
w_e(T)=A_e exp[−ln(4) g_p r_e(z)²]
|
||||
w_e(C)=A_e exp[−ln(4) g_p r_e(z̃)²]
|
||||
|
||||
分位取面积累计达到 90% 的最小值;所有求和只遍历同件不重复的内部共面。g_p 只用真实场算一次,两臂共享。0.05 是无量纲的预定幅度尺度,既非测得阈值也不做扫描。真实场近均匀时 g_p 抑制微小数值差异;真实场恒定时三臂面权完全一致,是实现验收。任一折减因子均在 [1/4,1],故较大的类型跳变使该面相对易切,且没有删边。采用相同的秩核可减轻两臂原始跳幅分布不同造成的混淆,有限网格、面面积和并秩仍可造成折减分布不同。C 打乱空间自相关,T/C 最多识别空间对齐的整套场带来的差异。
|
||||
|
||||
**整数化。** 三臂沿用同一原 G 的面积到正整数转换代码及由 G 几何确定的尺度,对 T/C 的浮点面权应用同一尺度、舍入和下限;若原转换按输入重新估尺度,应显式传入 G 的尺度。原顶点权和图索引不变。一次无向面计算结果写到两条 CSR 记录,核对对称性、正数与整数范围。记录三个整数边权数组的哈希、T/G 与 C/G 整数边权相同的面积比例、折减分位和 g_p。若量化后完全相同仍按实计,不改尺度重试。[原工具和确定性要求](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794861463486809)
|
||||
|
||||
## 一件怎样算合格
|
||||
|
||||
硬匹配沿原体积口径。各臂恰有八个非空面连通区,每区实物体积在 [0.95,1.05]V/8;三组配对的排序体积分数均满足 8 max_j |f_(j)−f'_(j)|≤0.025。整数优化不保证物理体积逐区精确相等,须以原双精度体积验收。
|
||||
|
||||
总切面面积和排序区域尺寸沿原定义、按真实几何计算,宽界改为三臂最大值与最小值的比均≤1.25(尺寸逐个排序位置比较)。这是无参照方向的界,等价于任意两者之比落在 [0.8,1.25]。面积计无权物理面面积,尺寸取区域顶点最大欧氏间距。逐件公布实际比值与体积偏差,另列按旧 ±5% 口径符合的比例作为描述。将来若看到预测收益,形状、面积与上下文一同随切分变化,无法把收益全部归给边界对齐。
|
||||
|
||||
对合格件 p,令 I_X 为 X 臂切开的内部面集合,D_p(X,Y)=A(I_X△I_Y)/A(I_X∪I_Y)。主指标为 d_p=1[D_p(T,G)≥0.10 且 D_p(T,C)≥0.10]。面积来自原面,不用 METIS 折减权。公布两个实值、G/C、T/G 和 T/C 对模型两列真实区域均值造成的查询点差异(各列非零比、中位数、P95)。接口移动但读入模型的数值几乎重合,是读出方式的限制,不能宣称预测已经改善。
|
||||
|
||||
## 同一 60 件怎样决定继续或停止
|
||||
|
||||
从 v1 停机回执冻结 **全部 60 个实际尝试的 case ID**、组件及名单指纹;顺序用原调度序,不用完成序。包括原 11 个不合格和 3 个人工中止;同一几何的 v2 准备另记实验版本,保留 v1 原状态。每件至多一次。先落预检表,再决定是否扩大准备;不因前十件的好坏改变名单、分区器、种子、强度、尺度或容差。
|
||||
|
||||
- 设 E 为 60 件中 v2 三臂共同几何合格数,H 为其中两个接口差异都达标的件数。**主张继续无标签准备的必要预检为 E/60≥0.80 且 H/E>0.70**,E=0 直接失败。后一项按 Claude“投影超过”的严格不等号,整数规则 H≥⌊0.70E⌋+1。公开 E/60、H/E 和 H/60,不把匹配失败或未完成件从 60 的覆盖分母中删去。旧收据中的 PASS 不代替 v2 匹配。
|
||||
- 防止一个大组件主导前 60 件:同时给出按这 60 件中出现的组件等权的面板投影。以组件在面板内**所有出现件都合格**为面板配对,算其占全部出现组件的比例;对配对组件分别平均 T/G、T/C 的件级差异,再计两均值都≥0.10 的组件比例。若面板配对率<80%或后者≤70%,也停止;分母为零视为不足。另注明哪些组件有同组件成员尚未进入 60 件。原调度前缀不是随机样本,这两个面板比例是继续准备的操作门槛,不能充当全库成功率或置信下界。
|
||||
- 通过只放行剩余几何准备。完整 S2 域仍按原 209 组件核验:至少 80% 组件完整配对,配对组件中至少 70% 两个组件均值都达 0.10。60 件通过而全库门失败,同样止于几何。任何科学门未过,记录“在此数据、K=8、此类型/读出和一次 v2 干预下,未达到预定可辨识条件”,结束这条改设计循环。若全局来源、名单或审计损坏,单列工程中止,不冒充科学判决。
|
||||
|
||||
**交付物与决策权。** 逐件留存三臂输入和分区指纹、切面与尺寸、实际体积、整数化诊断、两个差异和模型输入变化、失败原因及费用;给 60 件总表和组件投影。v1 原成本与资源限制沿用,由 Melt 在 Claude 一次主审后只做几何准备。本稿无几何计算、拟合或运行配置更改。[原 O1 规格](https://drive.google.com/file/d/14Drirmj0vgE-ZrRh_N11D1KuNr6hx16e/view)
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
"""Scientific O1 v2: area-rank type face weights and fixed geometric gates."""
|
||||
import hashlib
|
||||
import itertools
|
||||
import numpy as np
|
||||
|
||||
from o1_partition import Q, K, GeometryFailure, InputViolation, match
|
||||
|
||||
|
||||
def array_sha(a):
|
||||
return hashlib.sha256(np.ascontiguousarray(a).tobytes()).hexdigest()
|
||||
|
||||
|
||||
def area_midrank(values, areas):
|
||||
d=np.asarray(values,dtype=np.float64);a=np.asarray(areas,dtype=np.float64)
|
||||
if d.shape!=a.shape or d.ndim!=1 or not len(d) or not np.isfinite(d).all() or np.any(d<0) or not np.isfinite(a).all() or np.any(a<=0):
|
||||
raise GeometryFailure('INVALID_FACE_JUMP_OR_AREA')
|
||||
order=np.argsort(d,kind='stable');ds=d[order];aa=a[order]
|
||||
starts=np.r_[0,np.flatnonzero(ds[1:]!=ds[:-1])+1]
|
||||
group_area=np.add.reduceat(aa,starts);before=np.r_[0,np.cumsum(group_area)[:-1]]
|
||||
total=a.sum(dtype=np.float64)
|
||||
rank_sorted=np.repeat((before+.5*group_area)/total,np.diff(np.r_[starts,len(d)]))
|
||||
ranks=np.empty(len(d));ranks[order]=rank_sorted
|
||||
qindex=min(int(np.searchsorted(np.cumsum(aa),.9*total,side='left')),len(d)-1)
|
||||
return ranks,float(ds[qindex])
|
||||
|
||||
|
||||
def common_scale_quantize(weights, area_total):
|
||||
w=np.asarray(weights,dtype=np.float64)
|
||||
if (w.ndim!=1 or not 0<len(w)<=Q or not np.isfinite(w).all() or np.any(w<=0)
|
||||
or not np.isfinite(area_total) or area_total<=0):
|
||||
raise GeometryFailure('INT_WEIGHT_RANGE')
|
||||
# Preserve original G's operation order exactly; no per-arm renormalization.
|
||||
integer=1+np.floor(Q*(w/area_total)).astype(np.int64)
|
||||
if integer.sum()>2*Q or integer.max()>np.iinfo(np.int32).max or integer.min()<=0:
|
||||
raise GeometryFailure('INT_WEIGHT_RANGE')
|
||||
return integer.astype(np.int32)
|
||||
|
||||
|
||||
def face_weights(g,z,shuffled):
|
||||
e=g['edges'];a=g['area'];total=float(a.sum(dtype=np.float64))
|
||||
dz=np.linalg.norm(z[e[:,0]]-z[e[:,1]],axis=1)
|
||||
dc=np.linalg.norm(shuffled[e[:,0]]-shuffled[e[:,1]],axis=1)
|
||||
rt,q90=area_midrank(dz,a);rc,_=area_midrank(dc,a)
|
||||
strength=min(1.,q90/.05)
|
||||
factors=dict(G=np.ones(len(a)),T=np.exp(-np.log(4)*strength*rt**2),C=np.exp(-np.log(4)*strength*rc**2))
|
||||
arrays={arm:common_scale_quantize(a*f,total) for arm,f in factors.items()}
|
||||
if any(np.any(f<.25-1e-15) or np.any(f>1) for f in factors.values()):
|
||||
raise GeometryFailure('FACE_FACTOR_RANGE')
|
||||
diagnostics=dict(g_p=strength,true_q90_area=q90,scale_numerator=Q,scale_denominator_G_total_area=total,
|
||||
integer_equal_G_area_fraction={arm:float(a[arrays[arm]==arrays['G']].sum()/total) for arm in ['T','C']},
|
||||
factor_quantiles={arm:np.quantile(f,[0,.25,.5,.75,.9,1]).tolist() for arm,f in factors.items()},
|
||||
integer_face_sha256={arm:array_sha(v) for arm,v in arrays.items()},shared_real_field_strength=True,
|
||||
factor_quantiles_weighting='face-count descriptive quantiles; g_p uses the prescribed area-weighted q90')
|
||||
return arrays,diagnostics,dict(true_jump=dz,shuffled_jump=dc,true_rank=rt,shuffled_rank=rc,**{'factor_'+k:v for k,v in factors.items()})
|
||||
|
||||
|
||||
def reweighted_graph(g, face_integer):
|
||||
e=g['edges'];directed=np.concatenate((e,e[:,::-1]))
|
||||
order=np.lexsort((directed[:,1],directed[:,0]));weights=np.tile(face_integer,2)[order]
|
||||
if weights.dtype!=np.int32 or np.any(weights<=0) or weights.astype(np.int64).sum()>4*Q:
|
||||
raise GeometryFailure('DIRECTED_INTEGER_WEIGHT_RANGE')
|
||||
# Each unordered face receives exactly the same integer in its two directions.
|
||||
original=np.empty(len(weights),dtype=weights.dtype);original[order]=weights
|
||||
if not np.array_equal(original[:len(e)],original[len(e):]):raise InputViolation('Asymmetric weights')
|
||||
out=dict(g);out['adjwgt']=weights
|
||||
return out
|
||||
|
||||
|
||||
def triple_match(metrics):
|
||||
arms=['G','T','C']
|
||||
fractions=np.array([metrics[a]['fractions'] for a in arms])
|
||||
area=np.array([metrics[a]['cut_area'] for a in arms])
|
||||
diameter=np.array([metrics[a]['diameters'] for a in arms])
|
||||
if np.any(area<=0) or np.any(diameter<=0):raise GeometryFailure('DEGENERATE_MATCH_MEASURE')
|
||||
deviations={a+'/'+b:float(K*np.abs(fractions[arms.index(a)]-fractions[arms.index(b)]).max()) for a,b in itertools.combinations(arms,2)}
|
||||
area_ratio=float(area.max()/area.min());size_ratio=diameter.max(axis=0)/diameter.min(axis=0)
|
||||
old=(match(metrics['T'],metrics['G'])['passed'] and match(metrics['C'],metrics['G'])['passed']
|
||||
and match(metrics['T'],metrics['C'],mutual=True)['passed'])
|
||||
return dict(passed=bool(max(deviations.values())<=.025 and area_ratio<=1.25 and np.all(size_ratio<=1.25)),
|
||||
volume_pair_scaled_max=deviations,cut_area_max_min=area_ratio,sorted_diameter_max_min=size_ratio.tolist(),
|
||||
old_five_percent_matching_pass=bool(old))
|
||||
|
||||
|
||||
def feasibility(parts, results, panel_ids, *, full=False):
|
||||
by={p['case']:p for p in parts};panel=[by[case] for case in panel_ids]
|
||||
groups=sorted({p['component_id'] for p in panel});group_rows=[]
|
||||
if full and len(groups)!=209:
|
||||
raise InputViolation('Full gate must retain original 209-component denominator')
|
||||
qualified=[p for p in panel if results.get(p['case'],{}).get('status')=='PASS']
|
||||
def differences(p):
|
||||
d=results[p['case']]['diagnostics']
|
||||
return d['T/G']['interface']['value'],d['T/C']['interface']['value']
|
||||
strong=sum(x>=.1 and y>=.1 for x,y in map(differences,qualified))
|
||||
for group in groups:
|
||||
included=[p for p in panel if p['component_id']==group]
|
||||
good=all(results.get(p['case'],{}).get('status')=='PASS' for p in included)
|
||||
tg=tc=None
|
||||
if good:
|
||||
ds=np.array([differences(p) for p in included]);tg=float(ds[:,0].mean());tc=float(ds[:,1].mean())
|
||||
group_rows.append(dict(component_id=group,paired=good,panel_cases=[p['case'] for p in included],
|
||||
non_panel_cases=[p['case'] for p in parts if p['component_id']==group and p['case'] not in panel_ids],
|
||||
interface_TG_mean=tg,interface_TC_mean=tc,strong=bool(good and tg>=.1 and tc>=.1)))
|
||||
paired=sum(r['paired'] for r in group_rows);cg_strong=sum(r['strong'] for r in group_rows)
|
||||
n=len(panel);e=len(qualified);h=strong;g=len(groups)
|
||||
part_gate=bool(n and 5*e>=4*n and e and 10*h>7*e)
|
||||
component_gate=bool(g and 5*paired>=4*g and paired and (10*cg_strong>=7*paired if full else 10*cg_strong>7*paired))
|
||||
return dict(passed=component_gate if full else part_gate and component_gate,full_roster=full,
|
||||
total_parts=n,eligible_parts=e,strong_eligible_parts=h,E_over_N=e/n if n else None,H_over_E=h/e if e else None,H_over_N=h/n if n else None,
|
||||
part_coverage_pass=bool(n and 5*e>=4*n),part_strict_intervention_pass=bool(e and 10*h>7*e),
|
||||
total_components=g,paired_components=paired,strong_paired_components=cg_strong,
|
||||
component_coverage=paired/g if g else None,component_intervention=cg_strong/paired if paired else None,
|
||||
component_gate_pass=component_gate,component_rows=group_rows,
|
||||
original_full_component_denominator=209,strict_70_percent=not full,
|
||||
interpretation='Operational label-free panel, not random sampling or full-corpus success-rate estimate' if not full else 'Original full component gate')
|
||||
@@ -0,0 +1,98 @@
|
||||
"""Single scientific-v2 preparation: three seed-0 calls, geometry only."""
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import os
|
||||
import time
|
||||
import traceback
|
||||
|
||||
import numpy as np
|
||||
from scipy.spatial import QhullError
|
||||
|
||||
from o1_prepare import contract,load_inputs,difference
|
||||
from o1_partition import (Metis,GeometryFailure,InputViolation,sha,graph,type_fields,
|
||||
shuffle_type,partition_metrics,readout,interface_difference)
|
||||
from o1_v2 import face_weights,reweighted_graph,triple_match,array_sha
|
||||
from s2_recovery_supervisor import save
|
||||
|
||||
|
||||
def prepare(root,index):
|
||||
root=Path(root);c=contract(root);row=c['parts'][index]
|
||||
dest=root/'parts'/row['case']/'output';dest.mkdir(parents=True,exist_ok=False)
|
||||
start=time.process_time();wall=time.monotonic();stage='INPUTS';calls=0;arms={}
|
||||
def progress(**kw):
|
||||
save(dest/'progress.json',dict(stage=stage,case=row['case'],pid=os.getpid(),
|
||||
cpu_seconds=time.process_time()-start,wall_seconds=time.monotonic()-wall,partition_calls=calls,**kw))
|
||||
try:
|
||||
progress();mesh,features,queries,provenance=load_inputs(c,row)
|
||||
save(dest/'input-provenance.json',provenance)
|
||||
stage='V2_TYPE_FACE_WEIGHTS';progress()
|
||||
g=graph(mesh);z,b=type_fields(features,mesh['tets'])
|
||||
shuffled,permutation=shuffle_type(z,mesh['volume'],mesh['raw_cells'],row['numeric_case'])
|
||||
np.save(dest/'shuffle-permutation.npy',permutation)
|
||||
weights,weight_diagnostics,rank_arrays=face_weights(g,z,shuffled)
|
||||
gg=reweighted_graph(g,weights['G'])
|
||||
if not np.array_equal(gg['adjwgt'],g['adjwgt']):raise InputViolation('G quantization differs from fixed v1 code')
|
||||
np.savez_compressed(dest/'graph.npz',**{k:g[k] for k in ['xadj','adjncy','vwgt','adjwgt','edges','faces_raw','area']},
|
||||
raw_nodes=mesh['raw_nodes'],raw_cells=mesh['raw_cells'],volume=mesh['volume'])
|
||||
np.savez_compressed(dest/'face-weights.npz',**weights,**rank_arrays)
|
||||
save(dest/'face-weight-diagnostics.json',dict(**weight_diagnostics,
|
||||
graph_sha256=sha(dest/'graph.npz'),arrays_sha256=sha(dest/'face-weights.npz'),
|
||||
shuffle_sha256=sha(dest/'shuffle-permutation.npy')))
|
||||
engine=Metis();labels_by_arm={};metrics={}
|
||||
for arm in ['G','T','C']:
|
||||
before=time.process_time();stage='V2_GENERATE_'+arm;progress()
|
||||
ag=reweighted_graph(g,weights[arm]);pre={k:array_sha(ag[k]) for k in ['xadj','adjncy','vwgt','adjwgt']}
|
||||
rec=dict(arm=arm,seed=0,input_sha256=pre)
|
||||
try:
|
||||
calls+=1;labels,returned=engine.partition(ag,mesh['raw_cells'],0)
|
||||
if pre!={k:array_sha(ag[k]) for k in pre}:raise InputViolation('METIS modified pinned input arrays')
|
||||
rec.update(returned)
|
||||
np.savez_compressed(dest/(arm+'-partition.npz'),labels=labels)
|
||||
rec.update(partition_sha256=sha(dest/(arm+'-partition.npz')),canonical_label_sha256=array_sha(labels),
|
||||
physical_fractions=(np.bincount(labels,weights=mesh['volume'],minlength=8)/mesh['volume'].sum()).tolist())
|
||||
labels_by_arm[arm]=labels
|
||||
metrics[arm]=partition_metrics(mesh,g,labels);rec.update(status='PASS',metrics=metrics[arm])
|
||||
except (GeometryFailure,QhullError) as error:
|
||||
rec.update(status='INELIGIBLE',reason=type(error).__name__+': '+str(error))
|
||||
rec['cpu_seconds']=time.process_time()-before;arms[arm]=rec
|
||||
save(dest/'arm-results.json',arms)
|
||||
matching=triple_match(metrics) if len(metrics)==3 else None
|
||||
qualified=bool(matching and matching['passed'])
|
||||
diagnostics={};pairs=[('T','G'),('T','C'),('G','C')]
|
||||
if len(labels_by_arm)==3:
|
||||
diagnostics={a+'/'+b:dict(interface=interface_difference(labels_by_arm[a],labels_by_arm[b],g)) for a,b in pairs}
|
||||
fields={}
|
||||
if len(metrics)==3:
|
||||
stage='V2_READOUT';progress()
|
||||
for arm in ['G','T','C']:
|
||||
fields[arm]=readout(mesh['tets'],mesh['volume'],b,labels_by_arm[arm],len(features))
|
||||
if not np.isfinite(fields[arm]).all():raise GeometryFailure('NONFINITE_READOUT')
|
||||
np.save(dest/(arm+'-extra.npy'),fields[arm])
|
||||
qi=queries['indices']
|
||||
for a,bb in pairs:
|
||||
diagnostics[a+'/'+bb].update(float64=difference(fields[a][qi],fields[bb][qi]),
|
||||
float32=difference(fields[a][qi].astype(np.float32),fields[bb][qi].astype(np.float32)))
|
||||
np.savez_compressed(dest/'queries.npz',**queries)
|
||||
reason=None if qualified else ('V2_TRIPLE_MATCH_FAIL' if matching else 'V2_ARM_GEOMETRY_FAIL')
|
||||
result=dict(status='PASS' if qualified else 'INELIGIBLE',reason=reason,case=row['case'],
|
||||
protocol='O1-scientific-v2-area-rank-face-weights',nodes=len(features),tets=len(mesh['tets']),faces=len(g['area']),
|
||||
partition_calls=calls,seed=0,seeds={a:0 for a in arms},arms=arms,matching=matching,diagnostics=diagnostics,
|
||||
weight_diagnostics=weight_diagnostics,input_provenance_sha256=sha(dest/'input-provenance.json'),
|
||||
output_sha256={p.name:sha(p) for p in dest.iterdir() if p.suffix in ['.npz','.npy']},
|
||||
cpu_seconds=time.process_time()-start,wall_seconds=time.monotonic()-wall,
|
||||
labels_decoded=[],label_cache_opened=False,model_fit=False,original_features_unchanged=True)
|
||||
save(dest/'result.json',result);stage='COMPLETE';progress();return 0
|
||||
except GeometryFailure as error:
|
||||
save(dest/'result.json',dict(status='INELIGIBLE',reason=str(error),case=row['case'],stage=stage,
|
||||
protocol='O1-scientific-v2-area-rank-face-weights',partition_calls=calls,arms=arms,tets=row['tets'],
|
||||
cpu_seconds=time.process_time()-start,labels_decoded=[],label_cache_opened=False,model_fit=False))
|
||||
return 0
|
||||
except Exception as error:
|
||||
save(dest/'failure.json',dict(type=type(error).__name__,message=str(error),stage=stage,global_stop=True,
|
||||
traceback=traceback.format_exc(),labels_decoded=[]))
|
||||
return 1
|
||||
|
||||
|
||||
if __name__=='__main__':
|
||||
p=argparse.ArgumentParser();p.add_argument('root',type=Path);p.add_argument('index',type=int)
|
||||
a=p.parse_args();raise SystemExit(prepare(a.root,a.index))
|
||||
@@ -0,0 +1,94 @@
|
||||
"""Freeze the approved scientific-v2 panel and cumulative ledger; never launch."""
|
||||
import argparse
|
||||
import copy
|
||||
from pathlib import Path
|
||||
import time
|
||||
|
||||
from o1_partition import checked, sha, InputViolation
|
||||
from o1_prepare import read, contract
|
||||
from run_o1_v2 import validate_runtime_contract
|
||||
from s2_recovery_supervisor import save
|
||||
|
||||
OLD = Path('artifacts/o1-preparation-continuation-2026-11-17')
|
||||
SPEC = Path('references/2026-11-17/o1/mold-o1-v2-geometric-spec.md')
|
||||
SPEC_SHA = '632688217e59dd134922245e524ff1c0f63933be64600be21379f7aa74947a5f'
|
||||
COMPLETE_SHA = '4640e3a6c38072a9c04829f906bf003e5556705b0392502044541336239b7be8'
|
||||
TESTED = ['o1_v2.py', 'o1_v2_prepare.py', 'run_o1_v2.py', 'test_o1_v2.py']
|
||||
|
||||
|
||||
def prepare(root):
|
||||
start = time.process_time()
|
||||
if root.exists():
|
||||
raise FileExistsError('Existing scientific-v2 root; inspect, never replace')
|
||||
old = contract(OLD)
|
||||
done = read(checked(OLD/'complete.json', COMPLETE_SHA))
|
||||
checked(SPEC, SPEC_SHA)
|
||||
ledger = read(OLD/'final-cost-ledger.json')
|
||||
records = {r['index']: r for r in done['records']}
|
||||
if len(records) != 60 or len(done['records']) != 60 or not done['accounting_complete']:
|
||||
raise InputViolation('Original sixty receipt identity/accounting')
|
||||
panel = [i for i in old['dispatch'] if i in records]
|
||||
if len(panel) != 60:
|
||||
raise InputViolation('Original attempted indices outside dispatch')
|
||||
manifest = []
|
||||
for i in panel:
|
||||
r = records[i]; row = old['parts'][i]
|
||||
guard = OLD/'parts'/row['case']/'guard-result.json'
|
||||
if read(guard) != r:
|
||||
raise InputViolation('Original guard differs from terminal receipt')
|
||||
result = read(checked(r['result_path'], r['result_sha256'])) if r['result_path'] else None
|
||||
manifest.append(dict(index=i, case=row['case'], component_id=row['component_id'],
|
||||
original_worker_status=r['worker']['status'], original_stop_reason=r['worker']['stop_reason'],
|
||||
original_scientific_status=result['status'] if result else None,
|
||||
original_guard_path=str(guard), original_guard_sha256=sha(guard),
|
||||
original_result_sha256=r['result_sha256']))
|
||||
acceptance_paths = sorted(Path('artifacts/o1-v2-acceptance-2026-11-17').glob('attempt-*/worker.receipt.json'))
|
||||
acceptance = [dict(path=str(p), sha256=sha(p), **read(p)) for p in acceptance_paths]
|
||||
if not acceptance or acceptance[-1]['status'] != 'PASS':
|
||||
raise InputViolation('No accepted synthetic run')
|
||||
test_start = read(acceptance_paths[-1].parent/'worker.started.json')['unix']
|
||||
tested = {str(Path('tools')/n): sha(Path('tools')/n) for n in TESTED}
|
||||
if any(Path(p).stat().st_mtime > test_start for p in tested):
|
||||
raise InputViolation('Scientific source changed after accepted synthetic start')
|
||||
# Existing imported scientific/guard code is checked against the immutable v1 contract.
|
||||
code = dict(old['code_sha256']); code.update(tested)
|
||||
code['tools/prepare_o1_v2.py'] = sha('tools/prepare_o1_v2.py')
|
||||
sources = dict(old['source_sha256'])
|
||||
for path in [OLD/'contract.json', OLD/'complete.json', OLD/'final-cost-ledger.json', SPEC]:
|
||||
sources[str(path)] = sha(path)
|
||||
# A bounded five-second metadata reserve is charged once, inside the same 12 h ledger.
|
||||
prior = ledger['cumulative_preparation_cpu_seconds']
|
||||
synthetic = sum(a['cpu_seconds'] for a in acceptance)
|
||||
initial = prior + synthetic + 5.
|
||||
c = copy.deepcopy(old)
|
||||
c.pop('first_ten', None)
|
||||
c.update(version='O1-SCIENTIFIC-v2-AREA-RANK', panel_indices=panel,
|
||||
dispatch=panel+[i for i in old['dispatch'] if i not in records],
|
||||
scientific_spec_sha256=SPEC_SHA, source_sha256=sources, code_sha256=code,
|
||||
main_review=['1794863409.977129'], prior_reviews=old['main_review'],
|
||||
initial_preparation_cpu_seconds=initial, acceptance=acceptance,
|
||||
prior_preparation_cpu_seconds=prior, metadata_reserve_cpu_seconds=5.,
|
||||
panel_original_complete_sha256=COMPLETE_SHA, labels_read=False, fit_launch=False)
|
||||
validate_runtime_contract(c)
|
||||
if len(c['parts']) != 617 or len({p['component_id'] for p in c['parts']}) != 209:
|
||||
raise InputViolation('Full domain changed')
|
||||
if time.process_time()-start > 5:
|
||||
raise InputViolation('Metadata reserve exceeded before freeze')
|
||||
root.mkdir(parents=True)
|
||||
save(root/'panel-manifest.json', dict(parts=manifest, order='original dispatch',
|
||||
original_complete_sha256=COMPLETE_SHA, original_count=60, substitutions=0))
|
||||
c['source_sha256'][str(root/'panel-manifest.json')] = sha(root/'panel-manifest.json')
|
||||
save(root/'accepted-source.json', dict(tested_sources=tested, acceptance=acceptance,
|
||||
provenance='Unchanged source mtimes precede accepted synthetic worker start; immutable imported sources checked'))
|
||||
save(root/'contract.json', c)
|
||||
save(root/'prepared.json', dict(status='FROZEN_NOT_LAUNCHED', contract_sha256=sha(root/'contract.json'),
|
||||
panel=60, dispatch=len(c['dispatch']), original_parts=617, original_components=209,
|
||||
prior_preparation_cpu_seconds=prior, synthetic_cpu_seconds=synthetic,
|
||||
metadata_reserve_cpu_seconds=5., metadata_actual_cpu_seconds=time.process_time()-start,
|
||||
initial_preparation_cpu_seconds=initial, labels_read=False, fits_started=False))
|
||||
print(read(root/'prepared.json'))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
p=argparse.ArgumentParser(); p.add_argument('root',type=Path)
|
||||
prepare(p.parse_args().root)
|
||||
@@ -0,0 +1,236 @@
|
||||
"""Scientific O1 v2 preparation: fixed 60-part feasibility barrier before full roster."""
|
||||
import argparse
|
||||
import fcntl
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
from pathlib import Path
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
import psutil
|
||||
|
||||
from o1_partition import checked, sha, common_roster, can_reserve, InputViolation
|
||||
from o1_prepare import contract, read
|
||||
from o1_v2 import feasibility
|
||||
from r4bc_guard import supervise
|
||||
from s2_recovery_supervisor import save, tree_usage
|
||||
from s2_recovery_monitoring import disk_usage
|
||||
|
||||
|
||||
def validate_runtime_contract(c):
|
||||
expected = dict(worker_cpu_seconds_total=144000, preparation_cpu_seconds=43200,
|
||||
fit_cpu_seconds=86400, post_cpu_seconds=14400,
|
||||
total_tree_rss_bytes=36*2**30, disk_bytes=100*2**30,
|
||||
workers_max=4, retries=0, gpu=False, new_target_decodes=0)
|
||||
for key, value in expected.items():
|
||||
if c['limits'].get(key) != value:
|
||||
raise InputViolation('Runtime contract field mismatch: '+key)
|
||||
if c['worker_cpus'] != [0,2,4,6] or c['coordinator_cpu'] != 1:
|
||||
raise InputViolation('CPU assignment mismatch')
|
||||
if c['part_limits'] != dict(cpu_seconds=1800,wall_seconds=1800,rss_bytes=8*2**30,disk_bytes=100*2**30):
|
||||
raise InputViolation('Per-part limits mismatch')
|
||||
if not 0 <= c['initial_preparation_cpu_seconds'] < 43200:
|
||||
raise InputViolation('Invalid initial preparation accounting')
|
||||
if len(c['panel_indices']) != 60 or c['panel_indices'] != c['dispatch'][:60]:
|
||||
raise InputViolation('Original sixty-panel identity mismatch')
|
||||
if c.get('scientific_spec_sha256') != '632688217e59dd134922245e524ff1c0f63933be64600be21379f7aa74947a5f':
|
||||
raise InputViolation('Scientific v2 specification mismatch')
|
||||
if len(c['dispatch']) != len(set(c['dispatch'])) or any(i not in range(len(c['parts'])) for i in c['dispatch']):
|
||||
raise InputViolation('Duplicate or invalid dispatch')
|
||||
return True
|
||||
|
||||
|
||||
def part_dir(root, c, index):
|
||||
return Path(root)/'parts'/c['parts'][index]['case']
|
||||
|
||||
|
||||
def resource_reason(c, spent, live, rss, disk):
|
||||
if spent+live > c['limits']['preparation_cpu_seconds']: return 'GLOBAL_PREPARATION_CPU_LIMIT'
|
||||
if rss > c['limits']['total_tree_rss_bytes']: return 'GLOBAL_RSS_LIMIT'
|
||||
if disk >= c['limits']['disk_bytes']: return 'GLOBAL_DISK_LIMIT'
|
||||
return None
|
||||
|
||||
|
||||
def guard(root, index, slot):
|
||||
c = contract(root); validate_runtime_contract(c); os.sched_setaffinity(0, [c['worker_cpus'][slot]])
|
||||
dest = part_dir(root, c, index)
|
||||
receipt = supervise([sys.executable, 'tools/o1_v2_prepare.py', str(root), str(index)], dest,
|
||||
c['part_limits'], global_stop=root/'global-stop.json')
|
||||
output = dest/'output/result.json'; failure = dest/'output/failure.json'
|
||||
failed = read(failure) if failure.exists() else None
|
||||
unexplained = receipt['status'] != 'PASS' and not receipt['stop_reason'] and failed is None
|
||||
global_failure = bool(receipt['monitor_errors']) or bool(failed and failed['global_stop']) or unexplained
|
||||
if receipt['status'] == 'PASS' and not output.exists():
|
||||
receipt.update(status='FAILED', stop_reason='MISSING_RESULT'); global_failure = True
|
||||
record = dict(index=index,case=c['parts'][index]['case'],worker=receipt,
|
||||
result_path=str(output) if output.exists() else None,
|
||||
result_sha256=sha(output) if output.exists() else None,
|
||||
global_failure=global_failure,guard_cpu_seconds=time.process_time())
|
||||
save(dest/'guard-result.json', record)
|
||||
return 0 if receipt['status'] == 'PASS' else 1
|
||||
|
||||
|
||||
def panel_checkpoint(c, records):
|
||||
by={r['index']:r for r in records};results={}
|
||||
if set(by)!=set(c['panel_indices']):
|
||||
raise InputViolation('Panel receipts differ from frozen sixty')
|
||||
for i in c['panel_indices']:
|
||||
r=by[i]
|
||||
if r['worker']['status']=='PASS':
|
||||
results[r['case']]=read(checked(r['result_path'],r['result_sha256']))
|
||||
else:
|
||||
results[r['case']]=dict(status='WORKER_FAILED',reason=r['worker']['stop_reason'])
|
||||
panel_ids=[c['parts'][i]['case'] for i in c['panel_indices']]
|
||||
check=feasibility(c['parts'],results,panel_ids)
|
||||
check['reason']='V2_PANEL_PASSED' if check['passed'] else 'V2_PANEL_IDENTIFIABILITY_STOP'
|
||||
check['parts']=[dict(case=p,component_id=next(r['component_id'] for r in c['parts'] if r['case']==p),
|
||||
status=results[p]['status'],reason=results[p].get('reason'),
|
||||
diagnostics=results[p].get('diagnostics')) for p in panel_ids]
|
||||
check['part_receipts']={r['case']:r['result_sha256'] for r in records}
|
||||
return check
|
||||
|
||||
|
||||
def freeze_results(root, c, records, complete):
|
||||
results = {p['case']:dict(status='INELIGIBLE',reason=p['metadata_failure']) for p in c['parts'] if p.get('metadata_failure')}
|
||||
for r in records:
|
||||
if r['worker']['status']=='PASS':
|
||||
result = read(checked(r['result_path'],r['result_sha256']))
|
||||
else:
|
||||
result = dict(status='WORKER_FAILED',reason=r['worker']['stop_reason'])
|
||||
results[r['case']] = result
|
||||
for p in c['parts']:
|
||||
results.setdefault(p['case'],dict(status='NEVER_ATTEMPTED'))
|
||||
save(root/'all-part-results.json',results)
|
||||
if not complete:
|
||||
return None
|
||||
kept, bad = common_roster(c['parts'],results)
|
||||
groups = sorted({p['component_id'] for p in kept})
|
||||
strengths = {}
|
||||
for group in groups:
|
||||
rows = [results[p['case']] for p in kept if p['component_id']==group]
|
||||
strengths[group] = {key:sum(r['diagnostics'][key]['interface']['value'] for r in rows)/len(rows) for key in ['T/G','T/C']}
|
||||
strong = sum(v['T/G']>=.1 and v['T/C']>=.1 for v in strengths.values())
|
||||
output = dict(status='GEOMETRY_COMMON_ROSTER_FROZEN_NO_FITS',original_parts=617,original_components=209,
|
||||
parts=kept,paired_components=groups,excluded_components=bad,
|
||||
component_interface_strength=strengths,strong_components=strong,
|
||||
coverage_gate=len(groups)>=168,intervention_gate=strong>=math.ceil(.7*len(groups)) if groups else False,
|
||||
retained_parts=len(kept),retained_nodes=sum(p['nodes'] for p in kept),
|
||||
all_part_results_sha256=sha(root/'all-part-results.json'),
|
||||
results={r['case']:dict(path=r['result_path'],sha256=r['result_sha256']) for r in records},
|
||||
fit_started=False,labels_read=False)
|
||||
full_gate=feasibility(c['parts'],results,[p['case'] for p in c['parts']],full=True)
|
||||
save(root/'full-component-gate.json',full_gate)
|
||||
output['original_component_gate_passed']=full_gate['passed']
|
||||
save(root/'common-roster.json',output)
|
||||
return sha(root/'common-roster.json')
|
||||
|
||||
|
||||
def run(root):
|
||||
root = Path(root)
|
||||
with (root/'queue.lock').open('a') as lock:
|
||||
fcntl.flock(lock,fcntl.LOCK_EX|fcntl.LOCK_NB)
|
||||
return locked(root)
|
||||
|
||||
|
||||
def locked(root):
|
||||
c=contract(root); validate_runtime_contract(c); launch=read(root/'launch-freeze.json')
|
||||
checked(root/'contract.json',launch['contract_sha256'])
|
||||
if (root/'started.json').exists(): raise FileExistsError('O1 queue already attempted; no restart')
|
||||
os.sched_setaffinity(0,[1]); start=time.monotonic()
|
||||
save(root/'started.json',dict(pid=os.getpid(),unix=time.time(),contract_sha256=sha(root/'contract.json'),
|
||||
implementation_commit=launch['implementation_commit'],cpu_affinity=sorted(os.sched_getaffinity(0)),
|
||||
mode='SCIENTIFIC_V2_GEOMETRY_PREPARATION_ONLY',fit_started=False))
|
||||
active={};records=[];cursor=0;gate=False;cut=None;reason=None;errors=[];accounting=True;requested=[None]
|
||||
def interrupt(sig,frame): requested[0]='COORDINATOR_SIGNAL_'+str(sig)
|
||||
for s in (signal.SIGTERM,signal.SIGINT): signal.signal(s,interrupt)
|
||||
env=dict(os.environ,OMP_NUM_THREADS='1',OPENBLAS_NUM_THREADS='1',MKL_NUM_THREADS='1',NUMEXPR_NUM_THREADS='1',CUDA_VISIBLE_DEVICES='')
|
||||
try:
|
||||
while True:
|
||||
for slot,item in list(active.items()):
|
||||
if item['process'].poll() is None: continue
|
||||
path=part_dir(root,c,item['index'])/'guard-result.json'
|
||||
if not path.exists():
|
||||
accounting=False; reason='MISSING_GUARD_RECEIPT'
|
||||
else:
|
||||
r=read(path)
|
||||
if not math.isfinite(r['worker']['cpu_seconds']) or r['worker']['cpu_seconds']<0:
|
||||
accounting=False;reason='INVALID_ACCOUNTING'
|
||||
records.append(r)
|
||||
if r['global_failure']: reason='WORKER_GLOBAL_FAILURE'
|
||||
item['log'].close();del active[slot]
|
||||
spent=c['initial_preparation_cpu_seconds']+sum(r['worker']['cpu_seconds'] for r in records)
|
||||
reason=reason or requested[0]
|
||||
try:
|
||||
usage=[tree_usage(item['process'].pid) for item in active.values()]
|
||||
live=sum(u[0] for u in usage);rss=sum(u[1] for u in usage)+psutil.Process().memory_info().rss
|
||||
disk=disk_usage(root);available=psutil.virtual_memory().available
|
||||
reason=reason or resource_reason(c,spent,live,rss,disk)
|
||||
except Exception as exc:
|
||||
errors.append(dict(type=type(exc).__name__,message=str(exc)));reason='GLOBAL_MONITOR_ERROR'
|
||||
live=rss=disk=available=0
|
||||
if not gate and not active and len(records)==len(c['panel_indices']) and not reason and not cut:
|
||||
check=panel_checkpoint(c,records);save(root/'panel-feasibility.json',check)
|
||||
gate=check['passed']
|
||||
if not gate: cut=check['reason']
|
||||
waiting=None
|
||||
if not reason and not cut:
|
||||
while cursor<len(c['dispatch']) and len(active)<4:
|
||||
if not gate and cursor>=len(c['panel_indices']):break
|
||||
if not can_reserve(spent,len(active),c['limits']['preparation_cpu_seconds']):
|
||||
if not active: cut='NOT_RUN_BUDGET'
|
||||
else: waiting='WAIT_ACTIVE_BUDGET_SETTLEMENT'
|
||||
break
|
||||
if available<10*2**30: waiting='WAIT_AVAILABLE_MEMORY';break
|
||||
contract(root)
|
||||
index=c['dispatch'][cursor];slot=next(i for i in range(4) if i not in active)
|
||||
dest=part_dir(root,c,index);dest.mkdir(parents=True,exist_ok=True)
|
||||
if (dest/'worker.started.json').exists(): raise InputViolation('Attempt already exists')
|
||||
log=(dest/'guard.log').open('x')
|
||||
proc=subprocess.Popen([sys.executable,'tools/run_o1_v2.py','guard',str(root),str(index),str(slot)],
|
||||
stdout=log,stderr=subprocess.STDOUT,env=env,start_new_session=True)
|
||||
active[slot]=dict(process=proc,index=index,log=log);cursor+=1;available-=8*2**30
|
||||
if reason:
|
||||
if not (root/'global-stop.json').exists():save(root/'global-stop.json',dict(reason=reason,unix=time.time()))
|
||||
for item in active.values():
|
||||
if not item.get('stop_sent'):
|
||||
try:item['process'].send_signal(signal.SIGTERM)
|
||||
except ProcessLookupError:pass
|
||||
item['stop_sent']=True
|
||||
save(root/'progress.json',dict(terminal_attempts=len(records),metadata_excluded=sum(bool(p.get('metadata_failure')) for p in c['parts']),
|
||||
active={str(s):dict(index=v['index'],case=c['parts'][v['index']]['case'],guard_pid=v['process'].pid) for s,v in active.items()},
|
||||
preparation_cpu_seconds=spent,live_guard_and_worker_cpu_seconds=live,reserved_active_cpu_seconds=len(active)*1800,
|
||||
total_rss_bytes=rss,disk_bytes=disk,panel_gate_passed=gate,cut=cut,global_stop=reason,waiting=waiting,
|
||||
monitor_errors=errors,wall_seconds=time.monotonic()-start,fit_started=False))
|
||||
if not active and (reason or cut or cursor==len(c['dispatch'])):break
|
||||
time.sleep(.2)
|
||||
except Exception as exc:
|
||||
reason='COORDINATOR_EXCEPTION'
|
||||
save(root/'coordinator-failure.json',dict(type=type(exc).__name__,message=str(exc)))
|
||||
save(root/'global-stop.json',dict(reason=reason))
|
||||
finally:
|
||||
for item in active.values():
|
||||
try:item['process'].send_signal(signal.SIGTERM)
|
||||
except ProcessLookupError:pass
|
||||
for item in active.values():
|
||||
item['process'].wait();item['log'].close();p=part_dir(root,c,item['index'])/'guard-result.json'
|
||||
if p.exists():records.append(read(p))
|
||||
else:accounting=False
|
||||
complete=not reason and not cut and accounting and len(records)==len(c['dispatch'])
|
||||
roster_hash=freeze_results(root,c,records,complete)
|
||||
save(root/'complete.json',dict(status='V2_PREPARATION_COMPLETE' if complete else ('V2_PANEL_IDENTIFIABILITY_STOP' if cut=='V2_PANEL_IDENTIFIABILITY_STOP' else 'V2_ENGINEERING_OR_BUDGET_STOP'),
|
||||
global_stop=reason,cut=cut,accounting_complete=accounting,records=records,
|
||||
never_attempted=[c['parts'][i]['case'] for i in c['dispatch'][cursor:]],
|
||||
preparation_cpu_seconds=c['initial_preparation_cpu_seconds']+sum(r['worker']['cpu_seconds'] for r in records),
|
||||
guard_cpu_seconds=sum(r.get('guard_cpu_seconds',0) for r in records),coordinator_cpu_seconds=time.process_time(),
|
||||
common_roster_sha256=roster_hash,monitor_errors=errors,fit_started=False,new_label_decodes=0,
|
||||
next='No further redesign if panel/full component gate fails; no auto fit launch; R4bc terminal dependency and model implementation still required'))
|
||||
return 0 if complete else 1
|
||||
|
||||
|
||||
if __name__=='__main__':
|
||||
p=argparse.ArgumentParser();p.add_argument('mode',choices=['run','guard']);p.add_argument('root',type=Path)
|
||||
p.add_argument('index',type=int,nargs='?');p.add_argument('slot',type=int,nargs='?');a=p.parse_args()
|
||||
raise SystemExit(run(a.root) if a.mode=='run' else guard(a.root,a.index,a.slot))
|
||||
@@ -0,0 +1,140 @@
|
||||
"""O1 scientific-v2 acceptance: weighting, quantization, eligibility and panel gates."""
|
||||
import copy
|
||||
import json
|
||||
from pathlib import Path
|
||||
import tempfile
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
import numpy as np
|
||||
from scipy.sparse import csr_matrix
|
||||
|
||||
from o1_partition import (quantize,canonical_mesh,graph,Metis,InputViolation,sha)
|
||||
from o1_v2 import area_midrank,common_scale_quantize,face_weights,reweighted_graph,triple_match,feasibility
|
||||
from o1_v2_prepare import prepare
|
||||
from run_o1_v2 import validate_runtime_contract,panel_checkpoint
|
||||
from test_o1_partition import box
|
||||
from test_o1_preparation import fixture
|
||||
|
||||
|
||||
def panel_fixture(eligible,strong):
|
||||
parts=[dict(case=str(i),component_id='g'+str(i)) for i in range(60)]
|
||||
result={p['case']:dict(status='PASS' if i<eligible else 'INELIGIBLE',diagnostics={
|
||||
'T/G':{'interface':{'value':.2 if i<strong else 0.}},
|
||||
'T/C':{'interface':{'value':.2 if i<strong else 0.}}}) for i,p in enumerate(parts)}
|
||||
return parts,result,[p['case'] for p in parts]
|
||||
|
||||
|
||||
class V2Acceptance(unittest.TestCase):
|
||||
def test_area_midrank_ties_and_weighted_q90(self):
|
||||
ranks,q=area_midrank([0,1,1,2],[1,2,1,6])
|
||||
np.testing.assert_allclose(ranks,[.05,.25,.25,.7],rtol=0,atol=1e-15)
|
||||
self.assertEqual(q,2)
|
||||
self.assertEqual(area_midrank([1,2],[9,1])[1],1)
|
||||
|
||||
def test_constant_true_field_makes_all_integer_weights_identical(self):
|
||||
mesh=canonical_mesh(*box());g=graph(mesh);z=np.full((len(mesh['tets']),3),.125)
|
||||
w,d,_=face_weights(g,z,z[::-1])
|
||||
self.assertEqual(d['g_p'],0)
|
||||
np.testing.assert_array_equal(w['G'],w['T']);np.testing.assert_array_equal(w['G'],w['C'])
|
||||
self.assertEqual(d['integer_equal_G_area_fraction'],{'T':1.,'C':1.})
|
||||
|
||||
def test_common_scale_is_exact_G_and_not_arm_renormalized(self):
|
||||
area=np.array([1.,3.]);g,_=quantize(area)
|
||||
np.testing.assert_array_equal(common_scale_quantize(area,area.sum()),g)
|
||||
half=common_scale_quantize(.5*area,area.sum())
|
||||
self.assertTrue(np.all(half<g))
|
||||
self.assertFalse(np.array_equal(half,quantize(.5*area)[0]))
|
||||
|
||||
def test_shared_true_strength_and_larger_jump_cheaper(self):
|
||||
g={'edges':np.array([[0,1],[1,2],[2,3]]),'area':np.array([1.,2.,3.])}
|
||||
z=np.array([[0.,0,0],[.001,0,0],[.003,0,0],[.006,0,0]])
|
||||
shuffled=z[[0,3,1,2]]
|
||||
w,d,a=face_weights(g,z,shuffled)
|
||||
self.assertAlmostEqual(d['g_p'],.003/.05)
|
||||
np.testing.assert_allclose(a['factor_C'],np.exp(-np.log(4)*d['g_p']*a['shuffled_rank']**2),rtol=0,atol=0)
|
||||
self.assertTrue(np.all(np.diff(a['factor_T'])<0))
|
||||
self.assertTrue(np.all(a['factor_T']>=.25));self.assertTrue(np.all(a['factor_C']<=1))
|
||||
|
||||
def test_csr_symmetry_and_vwgt_unchanged(self):
|
||||
mesh=canonical_mesh(*box());g=graph(mesh)
|
||||
weights=np.arange(len(g['edges']),dtype=np.int32)+1
|
||||
ag=reweighted_graph(g,weights)
|
||||
a=csr_matrix((ag['adjwgt'],ag['adjncy'],ag['xadj']),shape=(len(mesh['tets']),)*2)
|
||||
self.assertEqual((a-a.T).nnz,0)
|
||||
for key in ['xadj','adjncy','vwgt']:np.testing.assert_array_equal(ag[key],g[key])
|
||||
|
||||
def test_max_min_shape_gate_symmetric_at_125(self):
|
||||
base=dict(fractions=[.125]*8,cut_area=8.,diameters=[2.]*8)
|
||||
metrics={'G':base,'T':dict(base,cut_area=10.,diameters=[2.5]*8),'C':base}
|
||||
a=triple_match(metrics);self.assertTrue(a['passed']);self.assertFalse(a['old_five_percent_matching_pass'])
|
||||
metrics['T']['cut_area']=10.000001
|
||||
self.assertFalse(triple_match(metrics)['passed'])
|
||||
|
||||
def test_original_volume_pair_tolerance_retained(self):
|
||||
base=dict(fractions=[.125]*8,cut_area=8.,diameters=[2.]*8)
|
||||
changed=[.12]+[.125]*6+[.13]
|
||||
self.assertFalse(triple_match({'G':base,'T':dict(base,fractions=changed),'C':base})['passed'])
|
||||
|
||||
def test_panel_exact_80_and_strict_70(self):
|
||||
for eligible,strong,expected in [(48,34,True),(47,47,False),(50,35,False),(50,36,True),(0,0,False)]:
|
||||
p,r,ids=panel_fixture(eligible,strong);v=feasibility(p,r,ids)
|
||||
self.assertEqual(v['passed'],expected,(eligible,strong))
|
||||
|
||||
def test_component_equal_weight_prevents_large_group_dominance(self):
|
||||
p,r,ids=panel_fixture(60,45)
|
||||
for row in p[:40]:row['component_id']='large'
|
||||
v=feasibility(p,r,ids)
|
||||
self.assertTrue(v['part_strict_intervention_pass']);self.assertFalse(v['component_gate_pass'])
|
||||
self.assertEqual(v['total_components'],21);self.assertEqual(v['strong_paired_components'],6)
|
||||
|
||||
def test_panel_component_requires_every_panel_member_eligible(self):
|
||||
p,r,ids=panel_fixture(60,60);p[0]['component_id']=p[1]['component_id']='shared'
|
||||
r['0']['status']='INELIGIBLE'
|
||||
p.append(dict(case='outside',component_id='shared'))
|
||||
v=feasibility(p,r,ids);g=next(x for x in v['component_rows'] if x['component_id']=='shared')
|
||||
self.assertFalse(g['paired']);self.assertEqual(g['non_panel_cases'],['outside'])
|
||||
|
||||
def test_full_gate_keeps_209_original_denominator(self):
|
||||
p,r,ids=panel_fixture(60,60)
|
||||
with self.assertRaises(InputViolation):feasibility(p,r,ids,full=True)
|
||||
|
||||
def test_real_runtime_contract_schema_with_scientific_v2_identity(self):
|
||||
c=json.loads(Path('artifacts/o1-preparation-continuation-2026-11-17/contract.json').read_text())
|
||||
c['panel_indices']=c['dispatch'][:60]
|
||||
c['scientific_spec_sha256']='632688217e59dd134922245e524ff1c0f63933be64600be21379f7aa74947a5f'
|
||||
self.assertTrue(validate_runtime_contract(c))
|
||||
c['panel_indices']=list(reversed(c['panel_indices']))
|
||||
with self.assertRaises(InputViolation):validate_runtime_contract(c)
|
||||
|
||||
def test_panel_checkpoint_uses_all_60_not_success_only(self):
|
||||
with tempfile.TemporaryDirectory() as name:
|
||||
p,r,ids=panel_fixture(48,34);records=[]
|
||||
for i,case in enumerate(ids):
|
||||
path=Path(name)/(case+'.json');path.write_text(json.dumps(r[case]))
|
||||
records.append(dict(index=i,case=case,worker=dict(status='PASS'),result_path=str(path),result_sha256=sha(path)))
|
||||
c=dict(parts=p,panel_indices=list(range(60)))
|
||||
v=panel_checkpoint(c,records);self.assertTrue(v['passed']);self.assertEqual(v['total_parts'],60)
|
||||
with self.assertRaises(InputViolation):panel_checkpoint(c,records[:48])
|
||||
|
||||
def test_three_seed_zero_calls_and_no_labels_end_to_end(self):
|
||||
with tempfile.TemporaryDirectory() as name:
|
||||
root=Path(name);c,row,x,t=fixture(root);calls=[];original=Metis.partition;load=np.load
|
||||
def partition(self,g,raw,seed):
|
||||
calls.append(seed);return original(self,g,raw,seed)
|
||||
def tracked(path,*args,**kwargs):
|
||||
if any(x in str(path) for x in ['target.npy','seconds.npy','Fill_time']):raise AssertionError('No labels')
|
||||
return load(path,*args,**kwargs)
|
||||
before=sha(Path(row['v5_cache']['output'])/'features.npy')
|
||||
with patch.object(Metis,'partition',partition),patch('numpy.load',side_effect=tracked):
|
||||
self.assertEqual(prepare(root,0),0)
|
||||
out=root/'parts'/row['case']/'output';result=json.loads((out/'result.json').read_text())
|
||||
self.assertEqual(calls,[0,0,0]);self.assertEqual(result['partition_calls'],3)
|
||||
self.assertEqual(result['status'],'PASS');self.assertEqual(result['weight_diagnostics']['g_p'],0)
|
||||
self.assertFalse(result['label_cache_opened']);self.assertFalse(result['model_fit'])
|
||||
for pair in ['T/G','T/C','G/C']:self.assertEqual(result['diagnostics'][pair]['interface']['value'],0)
|
||||
self.assertEqual(sha(Path(row['v5_cache']['output'])/'features.npy'),before)
|
||||
with self.assertRaises(FileExistsError):prepare(root,0)
|
||||
|
||||
|
||||
if __name__=='__main__':unittest.main(verbosity=2)
|
||||
Reference in new issue
Block a user