diff --git a/artifacts/naive-ordering-2026-11-15/contract-before-monitor-acceptance.json b/artifacts/naive-ordering-2026-11-15/contract-before-monitor-acceptance.json new file mode 100644 index 000000000..522345e11 --- /dev/null +++ b/artifacts/naive-ordering-2026-11-15/contract-before-monitor-acceptance.json @@ -0,0 +1,801 @@ +{ + "version": "naive-ordering-corrected-v1", + "latest_ruling": "1794733619.697459", + "custody_ruling": "1794733395.244139", + "direction_ruling": "1794733255.090409", + "main_review_complete": true, + "launch_authorized_after_freeze": true, + "S2_root": "artifacts/s2-custody-evaluation-2026-11-15", + "S2_contract": "artifacts/s2-custody-evaluation-2026-11-15/contract.json", + "S2_contract_sha256": "e8b081b31d0f8975da1c2f1e92843181ee788979d98e61d2a8571e5e5d94850c", + "roster": "artifacts/s2-main-preparation-2026-11-15/final-roster.json", + "roster_sha256": "fb0c984f2e553343a598ce2e3c7012d3017053dc0fef58b5aaf46dd3c67a207e", + "cases": [ + "00000003_1ffb81a71e5b402e966b9341_step_002", + "00000004_1ffb81a71e5b402e966b9341_step_003", + "00000006_d4fe04f0f5f84b52bd4f10e4_step_001", + "00000008_9b3d6a97e8de4aa193b81000_step_000", + "00000009_9b3d6a97e8de4aa193b81000_step_001", + "00000011_e909f412cda24521865fac0f_step_000", + "00000021_ad34a3f60c4a4caa99646600_step_001", + "00000023_ad34a3f60c4a4caa99646600_step_003", + "00000024_ad34a3f60c4a4caa99646600_step_004", + "00000030_ad34a3f60c4a4caa99646600_step_010", + "00000031_ad34a3f60c4a4caa99646600_step_011", + "00000033_ad34a3f60c4a4caa99646600_step_013", + "00000049_aa208c45e8734584a147f595_step_000", + "00000057_666139e3bff64d4e8a6ce183_step_006", + "00000058_666139e3bff64d4e8a6ce183_step_007", + "00000060_767e4372b5f94a88a7a17d90_step_001", + "00000061_767e4372b5f94a88a7a17d90_step_002", + "00000065_767e4372b5f94a88a7a17d90_step_006", + "00000066_767e4372b5f94a88a7a17d90_step_007", + "00000067_767e4372b5f94a88a7a17d90_step_008", + "00000068_767e4372b5f94a88a7a17d90_step_009", + "00000070_767e4372b5f94a88a7a17d90_step_011", + "00000072_767e4372b5f94a88a7a17d90_step_013", + "00000077_767e4372b5f94a88a7a17d90_step_018", + "00000078_767e4372b5f94a88a7a17d90_step_019", + "00000079_767e4372b5f94a88a7a17d90_step_020", + "00000087_b4f9335a60a14cecaa599159_step_002", + "00000088_169bec34317b46e98eb1a403_step_000", + "00000093_169bec34317b46e98eb1a403_step_005", + "00000098_72cf0f9ca5324822a4d41a80_step_000", + "00000102_5ed74bccca6f4e89829bcb5e_step_002", + "00000103_52f7124261ae4c558f800775_step_000", + "00000104_52f7124261ae4c558f800775_step_001", + "00000105_52f7124261ae4c558f800775_step_002", + "00000106_52f7124261ae4c558f800775_step_003", + "00000111_ce24e0cbec8e45c89735d148_step_003", + "00000115_ce24e0cbec8e45c89735d148_step_007", + "00000116_ce24e0cbec8e45c89735d148_step_008", + "00000117_ce24e0cbec8e45c89735d148_step_009", + "00000119_ce24e0cbec8e45c89735d148_step_011", + "00000120_ce24e0cbec8e45c89735d148_step_012", + "00000125_e18c7feacfb54f3880659b43_step_000", + "00000128_e18c7feacfb54f3880659b43_step_003", + "00000129_e18c7feacfb54f3880659b43_step_004", + "00000130_e18c7feacfb54f3880659b43_step_005", + "00000131_945244874ed84e599987daa9_step_000", + "00000132_438507a38e404bfdbd51a16b_step_000", + "00000133_08b739e0511f4305b161cd05_step_000", + "00000140_2fc54fcd110d4f49969163c4_step_003", + "00000142_2fc54fcd110d4f49969163c4_step_005", + "00000144_2fc54fcd110d4f49969163c4_step_007", + "00000145_2fc54fcd110d4f49969163c4_step_008", + "00000152_a951550b8a1043a68423c541_step_002", + "00000153_a951550b8a1043a68423c541_step_003", + "00000154_a951550b8a1043a68423c541_step_004", + "00000157_8208fd8b44b64dce91322f84_step_000", + "00000161_a583c6c3cdc143bab3f6c856_step_000", + "00000162_4dcda9fab6dd46cf98fb194e_step_000", + "00000163_ff9b2ed255484db78bb0e6da_step_000", + "00000164_91adbf180e114b698160c9a4_step_000", + "00000165_4070a99d6ebe45f5bd5d71eb_step_000", + "00000166_2246cab58dbe4a2fb00fed50_step_000", + "00000170_b21aa794b6b64d87a57c245e_step_000", + "00000171_b21aa794b6b64d87a57c245e_step_001", + "00000173_b21aa794b6b64d87a57c245e_step_003", + "00000174_b21aa794b6b64d87a57c245e_step_004", + "00000175_b21aa794b6b64d87a57c245e_step_005", + "00000176_b21aa794b6b64d87a57c245e_step_006", + "00000181_b21aa794b6b64d87a57c245e_step_011", + "00000183_6c4172e8a17140f89d3b1c0a_step_000", + "00000190_185ecbc783f34408aef52119_step_000", + "00000196_c9b71ecdd0654716891b0db8_step_000", + "00000198_826494e894454504b0971fd1_step_001", + "00000206_27417003e762409185cb2b69_step_000", + "00000220_5324c79b172f41e8a49afc6f_step_007", + "00000221_5324c79b172f41e8a49afc6f_step_008", + "00000223_97b354a907114b7183faa9c4_step_001", + "00000224_97b354a907114b7183faa9c4_step_002", + "00000229_682d529d5e8c4387bc59b3a1_step_000", + "00000238_4829bc0645d6414d9b5cec31_step_001", + "00000241_4829bc0645d6414d9b5cec31_step_004", + "00000243_4829bc0645d6414d9b5cec31_step_006", + "00000248_e87554b09cdc48c3add39db9_step_000", + "00000249_07a2da801a60492fb1e5eeb3_step_000", + "00000250_641f03cbe6a145508c6ae055_step_000", + "00000257_845fb06d7f2f4802a806a600_step_002", + "00000258_845fb06d7f2f4802a806a600_step_003", + "00000259_845fb06d7f2f4802a806a600_step_004", + "00000261_845fb06d7f2f4802a806a600_step_006", + "00000262_845fb06d7f2f4802a806a600_step_007", + "00000264_845fb06d7f2f4802a806a600_step_009", + "00000265_845fb06d7f2f4802a806a600_step_010", + "00000266_845fb06d7f2f4802a806a600_step_011", + "00000267_845fb06d7f2f4802a806a600_step_012", + "00000269_845fb06d7f2f4802a806a600_step_014", + "00000272_648a7c23a21f4e88bf25ffeb_step_000", + "00000273_648a7c23a21f4e88bf25ffeb_step_001", + "00000274_648a7c23a21f4e88bf25ffeb_step_002", + "00000275_648a7c23a21f4e88bf25ffeb_step_003", + "00000276_648a7c23a21f4e88bf25ffeb_step_004", + "00000280_5a6ef3285b89452ea6b390e7_step_001", + "00000282_5a6ef3285b89452ea6b390e7_step_003", + "00000285_d215b7bc60ae468288e5f1ea_step_000", + "00000287_58f8ff46b7564e989f9695b7_step_000", + "00000290_58f8ff46b7564e989f9695b7_step_003", + "00000291_58f8ff46b7564e989f9695b7_step_004", + "00000293_58f8ff46b7564e989f9695b7_step_006", + "00000295_52a153d2417747b5926ff9df_step_000", + "00000296_52a153d2417747b5926ff9df_step_001", + "00000301_52a153d2417747b5926ff9df_step_006", + "00000302_39b08d62a677414f86fdae52_step_000", + "00000305_3062bccff48e47a2b9de05e3_step_000", + "00000306_3062bccff48e47a2b9de05e3_step_001", + "00000307_3062bccff48e47a2b9de05e3_step_002", + "00000308_3062bccff48e47a2b9de05e3_step_003", + "00000309_3062bccff48e47a2b9de05e3_step_004", + "00000310_3062bccff48e47a2b9de05e3_step_005", + "00000311_3062bccff48e47a2b9de05e3_step_006", + "00000312_3062bccff48e47a2b9de05e3_step_007", + "00000314_3062bccff48e47a2b9de05e3_step_009", + "00000315_3062bccff48e47a2b9de05e3_step_010", + "00000316_3062bccff48e47a2b9de05e3_step_011", + "00000317_3062bccff48e47a2b9de05e3_step_012", + "00000318_3062bccff48e47a2b9de05e3_step_013", + "00000319_3062bccff48e47a2b9de05e3_step_014", + "00000321_3062bccff48e47a2b9de05e3_step_016", + "00000322_3062bccff48e47a2b9de05e3_step_017", + "00000323_3062bccff48e47a2b9de05e3_step_018", + "00000324_3062bccff48e47a2b9de05e3_step_019", + "00000325_3062bccff48e47a2b9de05e3_step_020", + "00000329_12a935cd9b684f879c0505fe_step_000", + "00000330_12a935cd9b684f879c0505fe_step_001", + "00000331_12a935cd9b684f879c0505fe_step_002", + "00000336_1a821c3883f7459a9615fca4_step_000", + "00000337_153efbd85ca64c4fb6b7ed5f_step_000", + "00000346_4185972a944744d8a7a0f2b4_step_002", + "00000348_4185972a944744d8a7a0f2b4_step_004", + "00000352_4185972a944744d8a7a0f2b4_step_008", + "00000355_68d1a5c2319a4a419ff625c6_step_001", + "00000356_68d1a5c2319a4a419ff625c6_step_002", + "00000357_68d1a5c2319a4a419ff625c6_step_003", + "00000364_38d899e2706a4d09960705dd_step_001", + "00000367_23c957e8e7b2428282a13ae2_step_000", + "00000368_23c957e8e7b2428282a13ae2_step_001", + "00000369_23c957e8e7b2428282a13ae2_step_002", + "00000374_23c957e8e7b2428282a13ae2_step_007", + "00000375_23c957e8e7b2428282a13ae2_step_008", + "00000376_23c957e8e7b2428282a13ae2_step_009", + "00000377_23c957e8e7b2428282a13ae2_step_010", + "00000378_23c957e8e7b2428282a13ae2_step_011", + "00000379_239bbf0e92974a32bd214366_step_000", + "00000382_239bbf0e92974a32bd214366_step_003", + "00000383_239bbf0e92974a32bd214366_step_004", + "00000386_239bbf0e92974a32bd214366_step_007", + "00000387_239bbf0e92974a32bd214366_step_008", + "00000388_239bbf0e92974a32bd214366_step_009", + "00000391_fd490b564a44413884fab719_step_000", + "00000405_f3759bbb4682423caf207e8e_step_002", + "00000406_f3759bbb4682423caf207e8e_step_003", + "00000408_36bcb4030e36417b8dc74b87_step_000", + "00000410_30afd12eede44fa8a1def049_step_000", + "00000411_305e45c9479f43979b0d7b53_step_000", + "00000413_94f421b1b33d47c592c9fe1d_step_000", + "00000418_ce5b31679ee845a69ba89d6f_step_000", + "00000421_bd0972033f464f8f961a150a_step_002", + "00000422_8e8a96d437584c77b3cfd84f_step_000", + "00000423_8e8a96d437584c77b3cfd84f_step_001", + "00000424_8e8a96d437584c77b3cfd84f_step_002", + "00000444_4ed4c78d6d754aac90876fc2_step_003", + "00000445_4ed4c78d6d754aac90876fc2_step_004", + "00000459_516b1784884d4facbc4c0d74_step_007", + "00000462_516b1784884d4facbc4c0d74_step_010", + "00000466_11951e51b89249dba38ded3e_step_001", + "00000469_11951e51b89249dba38ded3e_step_004", + "00000470_11951e51b89249dba38ded3e_step_005", + "00000474_a5639f2b84c445aea5da18ad_step_000", + "00000477_0fc8cc17c6af48dabe36c8f2_step_002", + "00000478_0fc8cc17c6af48dabe36c8f2_step_003", + "00000479_0fc8cc17c6af48dabe36c8f2_step_004", + "00000485_a7d0c851b5f24a97a7cac950_step_002", + "00000488_a7d0c851b5f24a97a7cac950_step_005", + "00000489_a7d0c851b5f24a97a7cac950_step_006", + "00000492_a7d0c851b5f24a97a7cac950_step_009", + "00000501_5499914343bd4f549b38046d_step_002", + "00000502_5499914343bd4f549b38046d_step_003", + "00000508_d1c0a44331fd41faa91d4c2e_step_000", + "00000509_d1c0a44331fd41faa91d4c2e_step_001", + "00000510_d1c0a44331fd41faa91d4c2e_step_002", + "00000513_f78bf7cf156f4231988af062_step_001", + "00000519_5b8fa6b193d14279a77a0e50_step_000", + "00000522_a56dd4152b7e4ccf91212d7b_step_000", + "00000523_1f8d7f343e634c11a80d23ac_step_000", + "00000526_f9d6559308dc4c85aab9fa38_step_000", + "00000527_db75f3a38d9746a1bd66168d_step_000", + "00000530_bc0d6937206b43bc96521413_step_002", + "00000531_bc0d6937206b43bc96521413_step_003", + "00000542_4b1756f6e72b45c29a8e4eb4_step_000", + "00000543_8cf6554d440d40c4823dad6c_step_000", + "00000549_41a24c0b74a34217832f5af0_step_000", + "00000551_41a24c0b74a34217832f5af0_step_002", + "00000559_a1621e156ade4317ab6a5bc5_step_000", + "00000562_1724088724bf4e53a36e363e_step_000", + "00000565_5b5119548f7b421e8f597438_step_000", + "00000566_2f2b015ef4904c1caef56154_step_000", + "00000574_5a4cef68211d4706b1ec8586_step_003", + "00000578_5a4cef68211d4706b1ec8586_step_007", + "00000579_5a4cef68211d4706b1ec8586_step_008", + "00000580_5a4cef68211d4706b1ec8586_step_009", + "00000582_5a4cef68211d4706b1ec8586_step_011", + "00000583_5a4cef68211d4706b1ec8586_step_012", + "00000587_2417b410de78416ebe50d460_step_000", + "00000589_2417b410de78416ebe50d460_step_002", + "00000590_2417b410de78416ebe50d460_step_003", + "00000591_2417b410de78416ebe50d460_step_004", + "00000597_7fe894812c4244e18241aa08_step_003", + "00000601_7fe894812c4244e18241aa08_step_007", + "00000602_7fe894812c4244e18241aa08_step_008", + "00000603_7fe894812c4244e18241aa08_step_009", + "00000605_7fe894812c4244e18241aa08_step_011", + "00000606_7fe894812c4244e18241aa08_step_012", + "00000609_04e799936ae446b9a3d8d2b8_step_000", + "00000610_04e799936ae446b9a3d8d2b8_step_001", + "00000611_04e799936ae446b9a3d8d2b8_step_002", + "00000613_189d1310aa8c4a2a92a21020_step_001", + "00000615_c710d414bbbc4340b682c58a_step_001", + "00000616_c710d414bbbc4340b682c58a_step_002", + "00000617_c710d414bbbc4340b682c58a_step_003", + "00000618_c710d414bbbc4340b682c58a_step_004", + "00000619_c710d414bbbc4340b682c58a_step_005", + "00000620_c710d414bbbc4340b682c58a_step_006", + "00000621_c710d414bbbc4340b682c58a_step_007", + "00000622_c710d414bbbc4340b682c58a_step_008", + "00000624_1eacb269d52a47f5b265c1ab_step_000", + "00000626_f686126d229f47aeb125b5ba_step_000", + "00000627_53bfa7e2e04c4d9dbf4a3db2_step_000", + "00000632_4f322b34e87c43289916c298_step_001", + "00000637_5ae45a997c76423aba2fcc11_step_002", + "00000638_5ae45a997c76423aba2fcc11_step_003", + "00000643_bb55eaa4e9e24c2ea9d18ee0_step_000", + "00000644_761a451dfea94bfa93e23cfe_step_000", + "00000654_d87d11d9c3ca4ee5a88797ae_step_002", + "00000658_a40da330321b44f286a27361_step_000", + "00000659_6fae5591b3034f949b7e8eae_step_000", + "00000666_6f67a59c16b949a4b66dcfe1_step_000", + "00000683_8863c3497d6d4e05b0f41ddc_step_000", + "00000685_24615f5ff44d4cd5809e77a5_step_001", + "00000686_24615f5ff44d4cd5809e77a5_step_002", + "00000688_b9f3563b403143dbb86ab2b8_step_001", + "00000691_b9f3563b403143dbb86ab2b8_step_004", + "00000693_b9f3563b403143dbb86ab2b8_step_006", + "00000694_45f6100bfa3948e69405bb21_step_000", + "00000695_3f46763af0744ab2a90e6b48_step_000", + "00000696_32309198fce9481896bd0a99_step_000", + "00000698_6f0fc559e8f3422c908b6060_step_001", + "00000699_cae88f0aaaf34de597863810_step_000", + "00000708_c08c1c78b86f4ee3bcb7d9de_step_004", + "00000709_c08c1c78b86f4ee3bcb7d9de_step_005", + "00000710_c08c1c78b86f4ee3bcb7d9de_step_006", + "00000721_9a461e8ae7dc4d33a55883eb_step_000", + "00000723_8ed79b6bcb024d1a9f2aa5e7_step_000", + "00000737_989e0f807cde438face0cb00_step_002", + "00000738_989e0f807cde438face0cb00_step_003", + "00000746_6cb3ddbb49974d7db0e97135_step_001", + "00000751_6f0d90054d40400593050930_step_000", + "00000752_6f0d90054d40400593050930_step_001", + "00000758_8ab50540e9804365a8717ec0_step_005", + "00000759_8ab50540e9804365a8717ec0_step_006", + "00000760_8ab50540e9804365a8717ec0_step_007", + "00000763_8ab50540e9804365a8717ec0_step_010", + "00000764_9cab8335065e4d439bbff471_step_000", + "00000765_9cab8335065e4d439bbff471_step_001", + "00000766_9cab8335065e4d439bbff471_step_002", + "00000767_9cab8335065e4d439bbff471_step_003", + "00000775_a25fb37392a44447b9684f16_step_000", + "00000776_a25fb37392a44447b9684f16_step_001", + "00000777_a25fb37392a44447b9684f16_step_002", + "00000778_a25fb37392a44447b9684f16_step_003", + "00000779_a25fb37392a44447b9684f16_step_004", + "00000780_a25fb37392a44447b9684f16_step_005", + "00000781_a25fb37392a44447b9684f16_step_006", + "00000782_a25fb37392a44447b9684f16_step_007", + "00000783_a25fb37392a44447b9684f16_step_008", + "00000784_a25fb37392a44447b9684f16_step_009", + "00000785_a25fb37392a44447b9684f16_step_010", + "00000786_a25fb37392a44447b9684f16_step_011", + "00000787_a25fb37392a44447b9684f16_step_012", + "00000788_a25fb37392a44447b9684f16_step_013", + "00000789_a25fb37392a44447b9684f16_step_014", + "00000790_a25fb37392a44447b9684f16_step_015", + "00000791_a25fb37392a44447b9684f16_step_016", + "00000792_a25fb37392a44447b9684f16_step_017", + "00000793_a25fb37392a44447b9684f16_step_018", + "00000796_dec80701adc84239b485449d_step_002", + "00000797_e7533c87b9a347cdafd0c390_step_000", + "00000799_ad6107d9fc994ccca38cc4e4_step_001", + "00000800_ad6107d9fc994ccca38cc4e4_step_002", + "00000801_ad6107d9fc994ccca38cc4e4_step_003", + "00000802_ad6107d9fc994ccca38cc4e4_step_004", + "00000806_05cadeb104be4c8aa75ccc71_step_000", + "00000807_05cadeb104be4c8aa75ccc71_step_001", + "00000808_05cadeb104be4c8aa75ccc71_step_002", + "00000809_05cadeb104be4c8aa75ccc71_step_003", + "00000816_36e6258346004cabb4c091b2_step_004", + "00000817_36e6258346004cabb4c091b2_step_005", + "00000818_6bbad2756d7845bd8d731d60_step_000", + "00000819_6bbad2756d7845bd8d731d60_step_001", + "00000821_6bbad2756d7845bd8d731d60_step_003", + "00000822_c98978894f544f89aa10633f_step_000", + "00000823_c98978894f544f89aa10633f_step_001", + "00000827_b0d209f7a8ad4b02910c317f_step_003", + "00000829_889a065d51a24bb8ad704c69_step_000", + "00000830_889a065d51a24bb8ad704c69_step_001", + "00000832_889a065d51a24bb8ad704c69_step_003", + "00000834_889a065d51a24bb8ad704c69_step_005", + "00000837_b5409201f9a5495fa169af85_step_000", + "00000840_2c1efcc32d094e9fb9e1a88e_step_000", + "00000842_2c1efcc32d094e9fb9e1a88e_step_002", + "00000843_2c1efcc32d094e9fb9e1a88e_step_003", + "00000844_2c1efcc32d094e9fb9e1a88e_step_004", + "00000849_2c1efcc32d094e9fb9e1a88e_step_009", + "00000850_2c1efcc32d094e9fb9e1a88e_step_010", + "00000851_2c1efcc32d094e9fb9e1a88e_step_011", + "00000855_2c1efcc32d094e9fb9e1a88e_step_015", + "00000856_2c1efcc32d094e9fb9e1a88e_step_016", + "00000859_58ac6a347bbe4cf5ae07a565_step_000", + "00000863_029c2575dd474650ba1b8d21_step_003", + "00000864_029c2575dd474650ba1b8d21_step_004", + "00000866_029c2575dd474650ba1b8d21_step_006", + "00000867_029c2575dd474650ba1b8d21_step_007", + "00000868_029c2575dd474650ba1b8d21_step_008", + "00000870_029c2575dd474650ba1b8d21_step_010", + "00000871_029c2575dd474650ba1b8d21_step_011", + "00000872_029c2575dd474650ba1b8d21_step_012", + "00000873_029c2575dd474650ba1b8d21_step_013", + "00000874_029c2575dd474650ba1b8d21_step_014", + "00000877_029c2575dd474650ba1b8d21_step_017", + "00000879_029c2575dd474650ba1b8d21_step_019", + "00000880_029c2575dd474650ba1b8d21_step_020", + "00000882_029c2575dd474650ba1b8d21_step_022", + "00000883_029c2575dd474650ba1b8d21_step_023", + "00000884_029c2575dd474650ba1b8d21_step_024", + "00000885_029c2575dd474650ba1b8d21_step_025", + "00000886_029c2575dd474650ba1b8d21_step_026", + "00000887_029c2575dd474650ba1b8d21_step_027", + "00000889_e2d3a4dc5f7c438bb240e9d1_step_000", + "00000890_e2d3a4dc5f7c438bb240e9d1_step_001", + "00000892_be26dc83f78947738b2bfabd_step_001", + "00000894_be26dc83f78947738b2bfabd_step_003", + "00000897_be26dc83f78947738b2bfabd_step_006", + "00000900_4df6ab9924674556bb4a509d_step_000", + "00000904_4df6ab9924674556bb4a509d_step_004", + "00000905_4df6ab9924674556bb4a509d_step_005", + "00000906_4df6ab9924674556bb4a509d_step_006", + "00000919_cdcebf32644443b9812097ba_step_003", + "00000923_cdcebf32644443b9812097ba_step_007", + "00000927_cdcebf32644443b9812097ba_step_011", + "00000928_cdcebf32644443b9812097ba_step_012", + "00000938_4f351b53bfd84bb4a2f7809c_step_003", + "00000942_f297a24e1a4446cf9d74efd9_step_001", + "00000948_f297a24e1a4446cf9d74efd9_step_007", + "00000949_f297a24e1a4446cf9d74efd9_step_008", + "00000953_ccc14f0fcff54b5985cc9113_step_000", + "00000955_a741c7966d2c40a8a511263e_step_001", + "00000958_04906edf324a4bce8fc3f417_step_000", + "00000961_a98d481268ea4524a7769731_step_000", + "00000962_a98d481268ea4524a7769731_step_001", + "00000963_a98d481268ea4524a7769731_step_002", + "00000970_edacb215ec6949d8af6c8c68_step_000", + "00000973_209426c5054945fab8a4af1b_step_000", + "00000976_b85ec2ff588148c4abd8c8d7_step_000", + "00000984_0dd1386597104265ab67e6cf_step_007", + "00000986_0dd1386597104265ab67e6cf_step_009", + "00000987_0dd1386597104265ab67e6cf_step_010", + "00000988_0dd1386597104265ab67e6cf_step_011", + "00000993_ac4ba032d4b5431ca04f542c_step_000", + "00000994_ac4ba032d4b5431ca04f542c_step_001", + "00000996_6d71695ba3fd475c927a00a7_step_000", + "00000998_6962bc8aad2c4e27b046d5b4_step_000", + "00001000_6962bc8aad2c4e27b046d5b4_step_002", + "00001002_6962bc8aad2c4e27b046d5b4_step_004", + "00001003_6962bc8aad2c4e27b046d5b4_step_005", + "00001004_6962bc8aad2c4e27b046d5b4_step_006", + "00001005_6962bc8aad2c4e27b046d5b4_step_007", + "00001006_6962bc8aad2c4e27b046d5b4_step_008", + "00001009_6962bc8aad2c4e27b046d5b4_step_011", + "00001010_6962bc8aad2c4e27b046d5b4_step_012", + "00001011_6962bc8aad2c4e27b046d5b4_step_013", + "00001013_6962bc8aad2c4e27b046d5b4_step_015", + "00001014_6962bc8aad2c4e27b046d5b4_step_016", + "00001015_6962bc8aad2c4e27b046d5b4_step_017", + "00001019_ca4cf9693d6d4a98b515ba99_step_000", + "00001020_ca4cf9693d6d4a98b515ba99_step_001", + "00001021_ca4cf9693d6d4a98b515ba99_step_002", + "00001024_21adcacb9707488ea6655fd2_step_000", + "00001025_21adcacb9707488ea6655fd2_step_001", + "00001026_0f133d8e7fd448708a554e28_step_000", + "00001027_0f133d8e7fd448708a554e28_step_001", + "00001029_cde47df6e28543d1b434f206_step_001", + "00001030_cde47df6e28543d1b434f206_step_002", + "00001031_cde47df6e28543d1b434f206_step_003", + "00001033_18151464e6434759b7c2ece7_step_000", + "00001034_085828cd621d404a90ccd883_step_000", + "00001035_be3ed2c9696e4e6a91b34f79_step_000", + "00001036_be3ed2c9696e4e6a91b34f79_step_001", + "00001040_74c42207fa764831b03f7658_step_000", + "00001041_6baf25f5fe2947e8927797d8_step_000", + "00001048_2b2638f82b3946b1867f2d11_step_004", + "00001049_2b2638f82b3946b1867f2d11_step_005", + "00001050_2b2638f82b3946b1867f2d11_step_006", + "00001052_2fd6155fa34f418083d0bd0f_step_001", + "00001053_2fd6155fa34f418083d0bd0f_step_002", + "00001061_284effca5a19488fa8a228e2_step_002", + "00001062_c04956ddff6c4324b5cad67c_step_000", + "00001063_c6fda10dc58448d1951c5cc3_step_000", + "00001064_c6fda10dc58448d1951c5cc3_step_001", + "00001065_c6fda10dc58448d1951c5cc3_step_002", + "00001067_8a2edcf36bcd435092f4c8ae_step_001", + "00001069_8a2edcf36bcd435092f4c8ae_step_003", + "00001071_8a2edcf36bcd435092f4c8ae_step_005", + "00001097_256ee7ec3a4b4972a8b87c8d_step_001", + "00001099_256ee7ec3a4b4972a8b87c8d_step_003", + "00001102_256ee7ec3a4b4972a8b87c8d_step_006", + "00001106_ba88e7579ced4a0aa2de629c_step_000", + "00001107_78566795c3144719804f8d34_step_000", + "00001108_412675e2ea594e70bbd8cf6c_step_000", + "00001112_3bd4a008a3a0483d86ccab3f_step_000", + "00001114_5f5cf6feacbc41fb88b2d873_step_000", + "00001121_da4037e40839451dbbc2bd1f_step_000", + "00001130_c2db313c2ce749d784c610d2_step_002", + "00001139_0b0ed9b0ccbb455d82c60d69_step_000", + "00001140_0b0ed9b0ccbb455d82c60d69_step_001", + "00001141_0b0ed9b0ccbb455d82c60d69_step_002", + "00001146_274866da478e4a009bed8750_step_001", + "00001159_f112d6f3e0c644ae9de2a724_step_000", + "00001165_4b65bb9a02f6494aa897a53e_step_000", + "00001167_107f61d0402f4c9a9d9d1342_step_000", + "00001168_107f61d0402f4c9a9d9d1342_step_001", + "00001169_0889c458f3f74dc288d2d531_step_000", + "00001170_0889c458f3f74dc288d2d531_step_001", + "00001177_9f1ce06d5e334fe88e1581aa_step_001", + "00001178_515d7e1aeb364a2d88083cf3_step_000", + "00001182_bc0b5846e3d84904ad02e547_step_001", + "00001185_507b60b57791425bbb73273e_step_000", + "00001186_507b60b57791425bbb73273e_step_001", + "00001187_507b60b57791425bbb73273e_step_002", + "00001190_507b60b57791425bbb73273e_step_005", + "00001191_507b60b57791425bbb73273e_step_006", + "00001193_46b17dd88ed24f55bca2eb69_step_000", + "00001200_e44a0f9afbe84b918f789f0f_step_000", + "00001206_e44a0f9afbe84b918f789f0f_step_006", + "00001210_4be610c137ba42ae9933e69b_step_000", + "00001211_4be610c137ba42ae9933e69b_step_001", + "00001212_4be610c137ba42ae9933e69b_step_002", + "00001213_4be610c137ba42ae9933e69b_step_003", + "00001214_9edb90c9f417497fb70bddf6_step_000", + "00001217_e517c61f1c49433bb81cf980_step_000", + "00001228_2fd836ae38b44c41bfbd9584_step_002", + "00001232_73b40f9a4cd3419ab3b42b73_step_001", + "00001233_73b40f9a4cd3419ab3b42b73_step_002", + "00001235_17ea801126da4654b34f6c52_step_000", + "00001238_96503b6a26c64074ad598927_step_000", + "00001239_96503b6a26c64074ad598927_step_001", + "00001240_96503b6a26c64074ad598927_step_002", + "00001241_96503b6a26c64074ad598927_step_003", + "00001242_96503b6a26c64074ad598927_step_004", + "00001243_96503b6a26c64074ad598927_step_005", + "00001244_96503b6a26c64074ad598927_step_006", + "00001246_96503b6a26c64074ad598927_step_008", + "00001247_96503b6a26c64074ad598927_step_009", + "00001249_96503b6a26c64074ad598927_step_011", + "00001252_96503b6a26c64074ad598927_step_014", + "00001253_96503b6a26c64074ad598927_step_015", + "00001254_c2da273d137e475abb1ab1f4_step_000", + "00001255_3df9015915ff4fa7b57f0a71_step_000", + "00001257_a4715d363f88400c8f0238d1_step_000", + "00001260_a4715d363f88400c8f0238d1_step_003", + "00001262_157e5348bf6545e282472856_step_000", + "00001263_157e5348bf6545e282472856_step_001", + "00001266_b53ece83d8964b44bbf1f8ed_step_002", + "00001273_b53ece83d8964b44bbf1f8ed_step_009", + "00001274_b53ece83d8964b44bbf1f8ed_step_010", + "00001276_b53ece83d8964b44bbf1f8ed_step_012", + "00001285_b53ece83d8964b44bbf1f8ed_step_021", + "00001294_b53ece83d8964b44bbf1f8ed_step_030", + "00001298_b53ece83d8964b44bbf1f8ed_step_034", + "00001300_b9951da825954791b59b979d_step_000", + "00001301_a54ee779467b42ea8709e1ca_step_000", + "00001305_3f3a389e9d5a4370b952bdce_step_001", + "00001310_3f3a389e9d5a4370b952bdce_step_006", + "00001311_e95b8713cc0b4436909c78e9_step_000", + "00001314_a9ed5e56a6a8414f91b39bdb_step_000", + "00001319_6a5a7dbad03b4a57b33f2c0d_step_002", + "00001320_6a5a7dbad03b4a57b33f2c0d_step_003", + "00001321_7cef9b79a6b04db894fd74e5_step_000", + "00001324_5bf4a74af99f405392406e40_step_000", + "00001333_beab79941e884455a62af40c_step_001", + "00001334_beab79941e884455a62af40c_step_002", + "00001335_beab79941e884455a62af40c_step_003", + "00001336_beab79941e884455a62af40c_step_004", + "00001338_beab79941e884455a62af40c_step_006", + "00001339_beab79941e884455a62af40c_step_007", + "00001340_beab79941e884455a62af40c_step_008", + "00001344_d8d97699a52842539e08d117_step_002", + "00001345_d8d97699a52842539e08d117_step_003", + "00001346_d8d97699a52842539e08d117_step_004", + "00001348_318b81a8e412438183201be7_step_000", + "00001349_27327ddba7f64417ae1e69a3_step_000", + "00001352_4e1d56bc2cef49ea84626b11_step_000", + "00001353_4e1d56bc2cef49ea84626b11_step_001", + "00001354_4e1d56bc2cef49ea84626b11_step_002", + "00001356_aa0de7c5e9e84d73816bdbde_step_000", + "00001358_2e314c6e080b40fcb6a6db96_step_001", + "00001360_2e314c6e080b40fcb6a6db96_step_003", + "00001368_2e314c6e080b40fcb6a6db96_step_011", + "00001369_2e314c6e080b40fcb6a6db96_step_012", + "00001371_2e314c6e080b40fcb6a6db96_step_014", + "00001373_2e314c6e080b40fcb6a6db96_step_016", + "00001375_2e314c6e080b40fcb6a6db96_step_018", + "00001377_2e314c6e080b40fcb6a6db96_step_020", + "00001379_5b1d6e2599ea47d498a04256_step_000", + "00001380_c49484307f434da78fa06b1f_step_000", + "00001381_c49484307f434da78fa06b1f_step_001", + "00001387_60cf3ad636dd42e0bcec6946_step_000", + "00001389_21b525da345e4e62aebd906b_step_000", + "00001391_406eb61c554a429ebd8a4d4f_step_000", + "00001392_406eb61c554a429ebd8a4d4f_step_001", + "00001393_406eb61c554a429ebd8a4d4f_step_002", + "00001394_406eb61c554a429ebd8a4d4f_step_003", + "00001398_49414db2dd594dc6a3907cf3_step_001", + "00001399_49414db2dd594dc6a3907cf3_step_002", + "00001400_49414db2dd594dc6a3907cf3_step_003", + "00001401_49414db2dd594dc6a3907cf3_step_004", + "00001402_49414db2dd594dc6a3907cf3_step_005", + "00001403_49414db2dd594dc6a3907cf3_step_006", + "00001404_49414db2dd594dc6a3907cf3_step_007", + "00001405_49414db2dd594dc6a3907cf3_step_008", + "00001406_49414db2dd594dc6a3907cf3_step_009", + "00001407_49414db2dd594dc6a3907cf3_step_010", + "00001408_49414db2dd594dc6a3907cf3_step_011", + "00001409_49414db2dd594dc6a3907cf3_step_012", + "00001410_49414db2dd594dc6a3907cf3_step_013", + "00001411_49414db2dd594dc6a3907cf3_step_014", + "00001412_49414db2dd594dc6a3907cf3_step_015", + "00001413_4642a707b7894949ba816427_step_000", + "00001414_b38f661707674b8eb983d992_step_000", + "00001417_a45f6c99e2154f3b94955175_step_001", + "00001422_a45f6c99e2154f3b94955175_step_006", + "00001427_a45f6c99e2154f3b94955175_step_011", + "00001428_a45f6c99e2154f3b94955175_step_012", + "00001429_a45f6c99e2154f3b94955175_step_013", + "00001430_a45f6c99e2154f3b94955175_step_014", + "00001432_a45f6c99e2154f3b94955175_step_016", + "00001433_a45f6c99e2154f3b94955175_step_017", + "00001434_a45f6c99e2154f3b94955175_step_018", + "00001438_a45f6c99e2154f3b94955175_step_022", + "00001445_a45f6c99e2154f3b94955175_step_029", + "00001447_a45f6c99e2154f3b94955175_step_031", + "00001449_a45f6c99e2154f3b94955175_step_033", + "00001450_a45f6c99e2154f3b94955175_step_034", + "00001453_a45f6c99e2154f3b94955175_step_037", + "00001455_a45f6c99e2154f3b94955175_step_039", + "00001456_a45f6c99e2154f3b94955175_step_040", + "00001459_a45f6c99e2154f3b94955175_step_043", + "00001461_a45f6c99e2154f3b94955175_step_045", + "00001466_a45f6c99e2154f3b94955175_step_050", + "00001467_a45f6c99e2154f3b94955175_step_051", + "00001468_a45f6c99e2154f3b94955175_step_052", + "00001469_a45f6c99e2154f3b94955175_step_053", + "00001470_a45f6c99e2154f3b94955175_step_054", + "00001471_a45f6c99e2154f3b94955175_step_055", + "00001472_a45f6c99e2154f3b94955175_step_056", + "00001473_a45f6c99e2154f3b94955175_step_057", + "00001474_a45f6c99e2154f3b94955175_step_058", + "00001480_a45f6c99e2154f3b94955175_step_064", + "00001481_a45f6c99e2154f3b94955175_step_065", + "00001482_a45f6c99e2154f3b94955175_step_066", + "00001483_a45f6c99e2154f3b94955175_step_067", + "00001484_a45f6c99e2154f3b94955175_step_068", + "00001487_a45f6c99e2154f3b94955175_step_071", + "00001490_6c8ef6d2f5564d139a5077f8_step_001", + "00001491_6c8ef6d2f5564d139a5077f8_step_002", + "00001495_6c8ef6d2f5564d139a5077f8_step_006", + "00001496_eb4e2b01aaca4131bfc64adb_step_000", + "00001497_eb4e2b01aaca4131bfc64adb_step_001", + "00001500_eb4e2b01aaca4131bfc64adb_step_004", + "00001501_6a0f221e85e04411afe23f51_step_000", + "00001503_6a0f221e85e04411afe23f51_step_002", + "00001505_6d02705716e04d9081f4980b_step_000", + "00001511_5cbe58077e4b4885a5c213b3_step_004", + "00001512_5cbe58077e4b4885a5c213b3_step_005", + "00001522_7079a898746d41ba8ae13d69_step_003", + "00001525_e0d35a03b46745259cf8878f_step_000", + "00001527_9214869844f14e83a9dce3ec_step_000", + "00001532_9f0a4a641e8f4cc588eb4315_step_000", + "00001534_e1d62958d7ca4ad18fefd54d_step_001", + "00001535_e1d62958d7ca4ad18fefd54d_step_002", + "00001538_e1d62958d7ca4ad18fefd54d_step_005", + "00001543_e1d62958d7ca4ad18fefd54d_step_010", + "00001550_a94d978cf62948ce80b417a9_step_000", + "00001552_b0a9c4d836294846891615fe_step_000", + "00001553_adfa1c33ae4d4d0aa441ddc3_step_000", + "00001554_30de00089a3f4a339eddb68d_step_000", + "00001555_30de00089a3f4a339eddb68d_step_001", + "00001556_30de00089a3f4a339eddb68d_step_002", + "00001557_16c191aef5034779aaab6e3f_step_000", + "00001563_2e9dc7e9a1a54dd7ab901478_step_000", + "00001567_9280741c840d4aa1af32658e_step_002", + "00001569_6fc579f3224d4d53a1b60710_step_000", + "00001578_a3b89691665043a08931897f_step_001", + "00001579_a3b89691665043a08931897f_step_002", + "00001582_a3b89691665043a08931897f_step_005", + "00001586_763da6a559544098acbf4154_step_002", + "00001592_35f4abaacc9447e4ac0b964f_step_001", + "00001594_2128dbbd4bf34879913b3a99_step_000", + "00001596_2128dbbd4bf34879913b3a99_step_002", + "00001597_13bd23e0e4c740969b0c71ab_step_000", + "00001598_c118664e9f6f4943855293fa_step_000" + ], + "archive": "data.zip", + "archive_stat": { + "status": "official_size_and_md5_pass", + "source": "/home/frank14f/optane/MeltMind/data.zip", + "source_url": "https://zenodo.org/records/18598121", + "bytes": 32757812726, + "md5": "75ec15002234c2cdcdf4c751bdefab85", + "sha256": "d151f018294832fd80fbd23e865642cb16c860da150f245033d010c388fa0241", + "mtime_ns": 1794548962944204621, + "inode": 12582980, + "members": 1872, + "triplets": 624, + "source_tokens": 249, + "max_group": 34, + "total_uncompressed_bytes": 43966308383, + "finished_utc": "2026-11-13T08:04:57.180660+00:00", + "wall_seconds": 97.27923265600111, + "peak_rss_kib": 32056, + "crc_scope": "ZIP stored CRC inventory only; selected members checked on read; no full decompression", + "grouping_scope": "Filename source tokens, not verified independent CAD families" + }, + "label_index": "artifacts/s2-custody-evaluation-2026-11-15/custody/label-index.json", + "label_index_sha256": "168680f6fd82dc2364d420ddfb3deb694684f3cccadcf2d4d2ce56e9bf42ef42", + "prediction_index": "artifacts/s2-custody-evaluation-2026-11-15/prediction-index.json", + "prediction_index_sha256": "0fb7eac7b2a8f13ad5b44753208d0b33621196a7d95a586f276d395ab46bd6d6", + "original_part_scores": "artifacts/s2-custody-evaluation-2026-11-15/custody/part-scores.json", + "original_part_scores_sha256": "a96aeee2f466fa8a6e0bb48cca08e078cfe6a94f14bf4d2cb2ac58033a24b2fe", + "exposure_membership": "artifacts/s2-g1-components-2026-11-15/custodian/not-known-exposed-test-subsets.json", + "exposure_membership_sha256": "8d037786040c6fc11fa80ceb0f41dfdd58478a2576404505a64aa29a2216a22f", + "worker_cpus": [ + 16, + 18, + 20, + 22 + ], + "coordinator_cpus": [ + 28, + 29 + ], + "limits": { + "worker_cpu_seconds": 36000, + "preparation_cpu_seconds": 28800, + "post_cpu_seconds": 7200, + "workers": 4, + "part_cpu_seconds": 180, + "part_wall_seconds": 600, + "part_rss_bytes": 4294967296, + "part_disk_bytes": 2147483648, + "disk_bytes": 21474836480, + "retries": 0, + "GPU_seconds": 0 + }, + "numpy_version": "1.26.4", + "scipy_version": "1.15.3", + "full_decodes_authorized": 617, + "full_decode_policy": "Exactly one whole-VTU Fill_time array per part; immutable attempt; preserve S2 cache and validate all common IDs", + "time_scale": "Per fold and nested learning pool component/part-equal mean(full_VTU_T_end/t_set); shared all arms", + "CDF": "Strict< used for all new predictions; save[F<,F<=] per tie group", + "full_volume": "all retained tet node lumped volume including d=0", + "conditional_volume": "frozen PPS multiplicity once; no second node-volume weight", + "alpha": "estimate (M+/Mall)*K/2000; plugin intervals are not certified whole-domain bounds", + "old_Dw_distance": "Reuse original Df/Vf; verify CDF equivalence; no re-solve", + "new_distance": "Dw^2 only, edge midpoint interpolation then square; exclude zero-speed edges, no epsilon, retain every node/mass", + "eikonal_vs_Dijkstra_tested": false, + "original_models_refitted": false, + "training_clocks_frozen_before_maps": true, + "complete_prediction_manifest_before_score": true, + "scopes": [ + "full-volume true-order oracles", + "conditional reorders R2/N/E/B0", + "reused Dw clock-only", + "new Dw2 approximation", + "full-volume timing curves" + ], + "statistics": { + "replicates": 2000, + "seed": 2026111408, + "margin": 0.1, + "pools": [ + 25, + 50, + 100 + ], + "six_region_unchanged": true, + "baseline": "Original R2 part scores reused", + "naive_close_band": [ + -0.1, + 0.1 + ], + "oracle_rows_separate": true, + "confirmatory": false + }, + "S3A_scope_unchanged": true, + "interpretation": "Exploration after S2 results were known; not a fresh confirmatory test", + "source_sha256": { + "artifacts/s2-main-preparation-2026-11-15/final-roster.json": "fb0c984f2e553343a598ce2e3c7012d3017053dc0fef58b5aaf46dd3c67a207e", + "artifacts/s2-g1-components-2026-11-15/custodian/not-known-exposed-test-subsets.json": "8d037786040c6fc11fa80ceb0f41dfdd58478a2576404505a64aa29a2216a22f", + "artifacts/s2-terminal-freeze-2026-11-15/models.json": "cd544ec7f0e49f0759660a71076566976cacdeaa66dd510aec049b2218f57faf", + "artifacts/s2-custody-evaluation-2026-11-15/contract.json": "e8b081b31d0f8975da1c2f1e92843181ee788979d98e61d2a8571e5e5d94850c", + "artifacts/s2-custody-evaluation-2026-11-15/custody/label-index.json": "168680f6fd82dc2364d420ddfb3deb694684f3cccadcf2d4d2ce56e9bf42ef42", + "artifacts/s2-custody-evaluation-2026-11-15/custody/part-scores.json": "a96aeee2f466fa8a6e0bb48cca08e078cfe6a94f14bf4d2cb2ac58033a24b2fe", + "artifacts/s2-custody-evaluation-2026-11-15/prediction-index.json": "0fb7eac7b2a8f13ad5b44753208d0b33621196a7d95a586f276d395ab46bd6d6", + "artifacts/s2-custody-evaluation-2026-11-15/predictions-complete.json": "966eafead4e3d2ee04c775a911b6fd2139f160b7bf977558491f42bc624fcdf1", + "docs/naive-ordering-contract-2026-11-15.md": "c8673fea5a42f2811bee3a34d73d5462698abe379a705f30ce17a8ca7b95268b", + "docs/mold-route-a-review-2026-11-15.md": "39cf25711b83d8c0a97a8fb07454cd2dfae59e1fdef2ef761392782b86050629" + }, + "code_sha256": { + "tools/audit_samples.py": "a3daf70ec3bcb77bf46d9dc4887d552cf7c422117880a169969780012278cd70", + "tools/freeze_g1_components.py": "d0cee60d95243ac2c59ef3f2244ba818315718c4e3d1895f2f9f064f1f7f5ecd", + "tools/naive_ordering_common.py": "20894987c1c1c98a417b1c9a181384876da765909c4851bf31bca4a9236b0d77", + "tools/naive_ordering_math.py": "8a71dfb139f58c523077e8e94d7cbe7ad34eb7680b6b2535bfcf7a94001ad86c", + "tools/prepare_naive_ordering.py": "06146e58a5f019d5a6b33ca666358a47fc636919871fb26e60e828c3d3810d4d", + "tools/prepare_s2_custody.py": "6a64c6d16760cf243b150c6dab67a5e255af4c70bc71b8726edbead2f2cebe16", + "tools/prepare_s2_incident_recovery.py": "4f772573dedc2b7921986e25eaedb14f91d98b235421829c284f3b40b85710aa", + "tools/prepare_s2_main_matrix.py": "43b48d82a813175be22be41cb63aaa5d04499000e80197c7405538eff3052ede", + "tools/prepare_s2_precision_pilot.py": "c3a71b0ff58bcea4433ff93e18ef14d3a00521438a76baaa69830a5ee8ac098a", + "tools/prepare_s2_r2.py": "ec6dd1c73bc2678aa4376c878837a957395c21b82e2da2314c4a9c4e96260caf", + "tools/prepare_s2_recovered_pilot_training.py": "ab5a4274363598ff933ff873df2b00497f069b1fb45756a1d1dba8d723294f68", + "tools/run_naive_ordering_analysis.py": "63f7b3b8e213cb0e24c1c4440f02f81f418d03ae30ec62e1c7f62828eed1ccaa", + "tools/run_naive_ordering_part.py": "bc507b924dadb5349a418f90aecb5c53507ffd2b4a825cbfe6f8b19a01721849", + "tools/run_naive_ordering_queue.py": "ed1731c2cb8f57d2f38c4d16f244919ec52cd8e8ce8bcf2b3d643ea186dcef3b", + "tools/run_s2_custody_predict.py": "2dd0c654778ea2db646a6fe7e75b00d5bcd5adf59c3c8d107cbe6a6870448117", + "tools/run_s2_custody_predictions.py": "3589c64b09db4f83da7df99faf8c1aa86db17b08df86e6e1189fdffd71dae7cf", + "tools/run_s2_custody_score.py": "4e9192edcefaa5db207f52400d0ac79345095077b74947ddb86010f32a64bd88", + "tools/run_s2_encoder_diagnostic.py": "8f31d312fb53bfdb9b1804af064e463d3989f1b33c4aa7279a967ca82dd2c0a4", + "tools/run_s2_main_matrix.py": "cebd3ccdea80c2914f6bbc1c3de293870535689f224c547c656a860b64af14da", + "tools/run_s2_main_training.py": "7fb18f015ab2eaa4968ff50c8b140285f9db6eb822398b2789d6de40f1aea2e7", + "tools/run_s2_pilot_probe.py": "2360ab7b44b179144a5ecd2d691e33cd36a6ec4bfeac71452bf062e7f42f81eb", + "tools/run_s2_pilot_probe_v2.py": "61c08499346d50405d0c254de54deea24b3522256bf1c8b0aec3e9f4ddab6390", + "tools/run_s2_pilot_training.py": "d5e543478543243fe1db3475a4d4cd135fbdcf631d3bce48c4b5af8b2edafb22", + "tools/run_s2_pilot_training_v2.py": "f461cb43bc602a32677d7dcfb8a322e206531ad152fa33bb4e36ea8546a1c0f2", + "tools/run_s2_precision_continuation.py": "9fb5a22007788f0c18c77a82b6a8b76fbb53a98b49cc9251bc49a7a5b8312f2f", + "tools/run_s2_precision_pilot.py": "ac8347be1ca11f48cb67abbf5e5c78b39af46ed3a7c6f89b49098fd5e77a6904", + "tools/run_s2_r2.py": "7a93e61cef18f12f5e834bcfdfac81d2092bb74a7216221dd542d5904e71905e", + "tools/run_s2_r2_fit.py": "dd235ef8b015a58deaa89d36208c563bea425b9c4d0a0937ed6e0248f23618f8", + "tools/run_s2_recovered_pilot.py": "56962009bf5eaaee599ffea6a3d454372e0aea2842fa79eac609fd4a24ecbb39", + "tools/run_s2_recovery_chain.py": "76d0808bdb2d624cfbaadf5a3c5e7e9a0c2be5d5ac41d4ac3fd9ccd48743933c", + "tools/s2_custody_common.py": "588c646101be0d50f505f9a12a1c98361aa3437c8c594eecb7321831f717a741", + "tools/s2_custody_statistics.py": "188565801f6901d0192f79aec0889e632501e672a4149d76d1835efbb9b45447", + "tools/s2_e1_supervisor.py": "6753c9ceb0b932047ba505bd15681f109e9407bdb58fd96c55e1431a3f1b4a02", + "tools/s2_gpu_idle_gate.py": "e2b1613e7e6ea398a8d555220a9365a1ad998ab4ef4b2bf8ec7cc4e31f8b4b9f", + "tools/s2_incident_recovery_manifest.py": "8cbb2e1067c2cc22762d8ae3cf192aa2c5fa7c7a199a22e7a39a25570ee1c3b1", + "tools/s2_main_data.py": "bda31f5e9335b927315292f57e6f689787eacc5b32f7fae3fa23eb13b00343f0", + "tools/s2_main_memory_guard.py": "e094f5443e11518efe9018215c11718a8e18aa462a977bf43e974b2d0b2aebb1", + "tools/s2_models/__init__.py": "a0fa1323d3553172da66c5d442c5fc4fcb0d5055c886c776928604550ea97609", + "tools/s2_models/attention.py": "7714adfccf6a0fc6b52a44aee3a50321a88898bf3d743680a1108c01e1ff8a61", + "tools/s2_models/blocks.py": "b13e986cea5f1d7f325a1638c1505197b4a105baacff5a9a515f23fcaf28ea75", + "tools/s2_models/features.py": "3b34ae61cf8012ebd58b7505a73d7aa43d8ee1890ac54f98d7917b67887a45a4", + "tools/s2_models/network.py": "5137e845d81d1223afc13bf87e03ccba1132a3baa75d5189a8f320b2752be071", + "tools/s2_models/normalization.py": "7180696d3845799e28d8c31ddef957d075de6a2e46d96a3a0f0df16fc05234a0", + "tools/s2_models/objectives.py": "5b6527a45f08690055d572335470ce5979e8bb86e1cab00de594f79ae21316b1", + "tools/s2_models_v2/__init__.py": "0302d333bcd8b33e85aaa6a4e7822e7e1ccfc66343136107fea6f4ca283ba1ec", + "tools/s2_models_v2/attention.py": "3829e34ca30942c863699c4d43fb6fa104452c6c04c4d606c11019d3dde16ffa", + "tools/s2_models_v2/blocks.py": "b13e986cea5f1d7f325a1638c1505197b4a105baacff5a9a515f23fcaf28ea75", + "tools/s2_models_v2/network.py": "a443470caeecdf529504bffab3ca8cc0b70ce44b505bad60f9c63db9709dbb83", + "tools/s2_pilot_data.py": "82c1fd18ec51757479c8fd7dda2db4d5f38c366d77fedcca3216a08998214c97", + "tools/s2_pilot_train.py": "e9cceead51a5cc092aad23409ad98909c84a62e7e10571e750d1e9be1ad3b948", + "tools/s2_precision_continuation_guard.py": "01235d897c7c03e5ffa109c58b14f5d24d128e8f1ba873e1f76cfb14e02f7a7f", + "tools/s2_precision_pilot_gpu_guard.py": "5cf0f41de34b28394dbee4672b5bd34eb9c4fe2344822aa3d648f20561d96328", + "tools/s2_r2_data.py": "a32f8987ff0848c0e052e71500f84bd4f0364a60170121f54770ceb275a98566", + "tools/s2_recovered_pilot_gpu_guard.py": "9a27f47918c865ce37e46b0be54144dc3f9ab1058e4eddc9f6fbc771f4959eb0", + "tools/s2_recovery_gpu_supervisor.py": "689c0f3179e4fcd362e546d90214829a9e4f8739abdbdf74b560763e5a392f15", + "tools/s2_recovery_monitoring.py": "442c2a9c75e8c00b30a8f2e91cb52d87c466b19a80aea9128b10c021e61b922e", + "tools/s2_recovery_supervisor.py": "f563ca3c2665f5baf0c04f296616e4640423a59b815fbb00479af0f29e57a919", + "tools/test_naive_ordering.py": "7a66814e722a58103769f40d8e7523230cf93c73f3a2204818e78ca61dce25dd", + "tools/test_s2_custody.py": "c1c6fcfac7fd50df4dcd47888127b65d6af5e7c6a9415d8b6530f101733a2130", + "tools/test_s2_main_matrix.py": "d9b05506dd6e5a8a94cccaee28c6d8239bb3c6cdbe31567be1fdd04559154feb", + "tools/test_s2_r2.py": "01d214e6e3ed04b099c30a4567521c37c4cafb0412faa83c973110c8dd600418" + } +} diff --git a/artifacts/naive-ordering-2026-11-15/contract.json b/artifacts/naive-ordering-2026-11-15/contract.json new file mode 100644 index 000000000..d1b6a4488 --- /dev/null +++ b/artifacts/naive-ordering-2026-11-15/contract.json @@ -0,0 +1,801 @@ +{ + "version": "naive-ordering-corrected-v1", + "latest_ruling": "1794733619.697459", + "custody_ruling": "1794733395.244139", + "direction_ruling": "1794733255.090409", + "main_review_complete": true, + "launch_authorized_after_freeze": true, + "S2_root": "artifacts/s2-custody-evaluation-2026-11-15", + "S2_contract": "artifacts/s2-custody-evaluation-2026-11-15/contract.json", + "S2_contract_sha256": "e8b081b31d0f8975da1c2f1e92843181ee788979d98e61d2a8571e5e5d94850c", + "roster": "artifacts/s2-main-preparation-2026-11-15/final-roster.json", + "roster_sha256": "fb0c984f2e553343a598ce2e3c7012d3017053dc0fef58b5aaf46dd3c67a207e", + "cases": [ + "00000003_1ffb81a71e5b402e966b9341_step_002", + "00000004_1ffb81a71e5b402e966b9341_step_003", + "00000006_d4fe04f0f5f84b52bd4f10e4_step_001", + "00000008_9b3d6a97e8de4aa193b81000_step_000", + "00000009_9b3d6a97e8de4aa193b81000_step_001", + "00000011_e909f412cda24521865fac0f_step_000", + "00000021_ad34a3f60c4a4caa99646600_step_001", + "00000023_ad34a3f60c4a4caa99646600_step_003", + "00000024_ad34a3f60c4a4caa99646600_step_004", + "00000030_ad34a3f60c4a4caa99646600_step_010", + "00000031_ad34a3f60c4a4caa99646600_step_011", + "00000033_ad34a3f60c4a4caa99646600_step_013", + "00000049_aa208c45e8734584a147f595_step_000", + "00000057_666139e3bff64d4e8a6ce183_step_006", + "00000058_666139e3bff64d4e8a6ce183_step_007", + "00000060_767e4372b5f94a88a7a17d90_step_001", + "00000061_767e4372b5f94a88a7a17d90_step_002", + "00000065_767e4372b5f94a88a7a17d90_step_006", + "00000066_767e4372b5f94a88a7a17d90_step_007", + "00000067_767e4372b5f94a88a7a17d90_step_008", + "00000068_767e4372b5f94a88a7a17d90_step_009", + "00000070_767e4372b5f94a88a7a17d90_step_011", + "00000072_767e4372b5f94a88a7a17d90_step_013", + "00000077_767e4372b5f94a88a7a17d90_step_018", + "00000078_767e4372b5f94a88a7a17d90_step_019", + "00000079_767e4372b5f94a88a7a17d90_step_020", + "00000087_b4f9335a60a14cecaa599159_step_002", + "00000088_169bec34317b46e98eb1a403_step_000", + "00000093_169bec34317b46e98eb1a403_step_005", + "00000098_72cf0f9ca5324822a4d41a80_step_000", + "00000102_5ed74bccca6f4e89829bcb5e_step_002", + "00000103_52f7124261ae4c558f800775_step_000", + "00000104_52f7124261ae4c558f800775_step_001", + "00000105_52f7124261ae4c558f800775_step_002", + "00000106_52f7124261ae4c558f800775_step_003", + "00000111_ce24e0cbec8e45c89735d148_step_003", + "00000115_ce24e0cbec8e45c89735d148_step_007", + "00000116_ce24e0cbec8e45c89735d148_step_008", + "00000117_ce24e0cbec8e45c89735d148_step_009", + "00000119_ce24e0cbec8e45c89735d148_step_011", + "00000120_ce24e0cbec8e45c89735d148_step_012", + "00000125_e18c7feacfb54f3880659b43_step_000", + "00000128_e18c7feacfb54f3880659b43_step_003", + "00000129_e18c7feacfb54f3880659b43_step_004", + "00000130_e18c7feacfb54f3880659b43_step_005", + "00000131_945244874ed84e599987daa9_step_000", + "00000132_438507a38e404bfdbd51a16b_step_000", + "00000133_08b739e0511f4305b161cd05_step_000", + "00000140_2fc54fcd110d4f49969163c4_step_003", + "00000142_2fc54fcd110d4f49969163c4_step_005", + "00000144_2fc54fcd110d4f49969163c4_step_007", + "00000145_2fc54fcd110d4f49969163c4_step_008", + "00000152_a951550b8a1043a68423c541_step_002", + "00000153_a951550b8a1043a68423c541_step_003", + "00000154_a951550b8a1043a68423c541_step_004", + "00000157_8208fd8b44b64dce91322f84_step_000", + "00000161_a583c6c3cdc143bab3f6c856_step_000", + "00000162_4dcda9fab6dd46cf98fb194e_step_000", + "00000163_ff9b2ed255484db78bb0e6da_step_000", + "00000164_91adbf180e114b698160c9a4_step_000", + "00000165_4070a99d6ebe45f5bd5d71eb_step_000", + "00000166_2246cab58dbe4a2fb00fed50_step_000", + "00000170_b21aa794b6b64d87a57c245e_step_000", + "00000171_b21aa794b6b64d87a57c245e_step_001", + "00000173_b21aa794b6b64d87a57c245e_step_003", + "00000174_b21aa794b6b64d87a57c245e_step_004", + "00000175_b21aa794b6b64d87a57c245e_step_005", + "00000176_b21aa794b6b64d87a57c245e_step_006", + "00000181_b21aa794b6b64d87a57c245e_step_011", + "00000183_6c4172e8a17140f89d3b1c0a_step_000", + "00000190_185ecbc783f34408aef52119_step_000", + "00000196_c9b71ecdd0654716891b0db8_step_000", + "00000198_826494e894454504b0971fd1_step_001", + "00000206_27417003e762409185cb2b69_step_000", + "00000220_5324c79b172f41e8a49afc6f_step_007", + "00000221_5324c79b172f41e8a49afc6f_step_008", + "00000223_97b354a907114b7183faa9c4_step_001", + "00000224_97b354a907114b7183faa9c4_step_002", + "00000229_682d529d5e8c4387bc59b3a1_step_000", + "00000238_4829bc0645d6414d9b5cec31_step_001", + "00000241_4829bc0645d6414d9b5cec31_step_004", + "00000243_4829bc0645d6414d9b5cec31_step_006", + "00000248_e87554b09cdc48c3add39db9_step_000", + "00000249_07a2da801a60492fb1e5eeb3_step_000", + "00000250_641f03cbe6a145508c6ae055_step_000", + "00000257_845fb06d7f2f4802a806a600_step_002", + "00000258_845fb06d7f2f4802a806a600_step_003", + "00000259_845fb06d7f2f4802a806a600_step_004", + "00000261_845fb06d7f2f4802a806a600_step_006", + "00000262_845fb06d7f2f4802a806a600_step_007", + "00000264_845fb06d7f2f4802a806a600_step_009", + "00000265_845fb06d7f2f4802a806a600_step_010", + "00000266_845fb06d7f2f4802a806a600_step_011", + "00000267_845fb06d7f2f4802a806a600_step_012", + "00000269_845fb06d7f2f4802a806a600_step_014", + "00000272_648a7c23a21f4e88bf25ffeb_step_000", + "00000273_648a7c23a21f4e88bf25ffeb_step_001", + "00000274_648a7c23a21f4e88bf25ffeb_step_002", + "00000275_648a7c23a21f4e88bf25ffeb_step_003", + "00000276_648a7c23a21f4e88bf25ffeb_step_004", + "00000280_5a6ef3285b89452ea6b390e7_step_001", + "00000282_5a6ef3285b89452ea6b390e7_step_003", + "00000285_d215b7bc60ae468288e5f1ea_step_000", + "00000287_58f8ff46b7564e989f9695b7_step_000", + "00000290_58f8ff46b7564e989f9695b7_step_003", + "00000291_58f8ff46b7564e989f9695b7_step_004", + "00000293_58f8ff46b7564e989f9695b7_step_006", + "00000295_52a153d2417747b5926ff9df_step_000", + "00000296_52a153d2417747b5926ff9df_step_001", + "00000301_52a153d2417747b5926ff9df_step_006", + "00000302_39b08d62a677414f86fdae52_step_000", + "00000305_3062bccff48e47a2b9de05e3_step_000", + "00000306_3062bccff48e47a2b9de05e3_step_001", + "00000307_3062bccff48e47a2b9de05e3_step_002", + "00000308_3062bccff48e47a2b9de05e3_step_003", + "00000309_3062bccff48e47a2b9de05e3_step_004", + "00000310_3062bccff48e47a2b9de05e3_step_005", + "00000311_3062bccff48e47a2b9de05e3_step_006", + "00000312_3062bccff48e47a2b9de05e3_step_007", + "00000314_3062bccff48e47a2b9de05e3_step_009", + "00000315_3062bccff48e47a2b9de05e3_step_010", + "00000316_3062bccff48e47a2b9de05e3_step_011", + "00000317_3062bccff48e47a2b9de05e3_step_012", + "00000318_3062bccff48e47a2b9de05e3_step_013", + "00000319_3062bccff48e47a2b9de05e3_step_014", + "00000321_3062bccff48e47a2b9de05e3_step_016", + "00000322_3062bccff48e47a2b9de05e3_step_017", + "00000323_3062bccff48e47a2b9de05e3_step_018", + "00000324_3062bccff48e47a2b9de05e3_step_019", + "00000325_3062bccff48e47a2b9de05e3_step_020", + "00000329_12a935cd9b684f879c0505fe_step_000", + "00000330_12a935cd9b684f879c0505fe_step_001", + "00000331_12a935cd9b684f879c0505fe_step_002", + "00000336_1a821c3883f7459a9615fca4_step_000", + "00000337_153efbd85ca64c4fb6b7ed5f_step_000", + "00000346_4185972a944744d8a7a0f2b4_step_002", + "00000348_4185972a944744d8a7a0f2b4_step_004", + "00000352_4185972a944744d8a7a0f2b4_step_008", + "00000355_68d1a5c2319a4a419ff625c6_step_001", + "00000356_68d1a5c2319a4a419ff625c6_step_002", + "00000357_68d1a5c2319a4a419ff625c6_step_003", + "00000364_38d899e2706a4d09960705dd_step_001", + "00000367_23c957e8e7b2428282a13ae2_step_000", + "00000368_23c957e8e7b2428282a13ae2_step_001", + "00000369_23c957e8e7b2428282a13ae2_step_002", + "00000374_23c957e8e7b2428282a13ae2_step_007", + "00000375_23c957e8e7b2428282a13ae2_step_008", + "00000376_23c957e8e7b2428282a13ae2_step_009", + "00000377_23c957e8e7b2428282a13ae2_step_010", + "00000378_23c957e8e7b2428282a13ae2_step_011", + "00000379_239bbf0e92974a32bd214366_step_000", + "00000382_239bbf0e92974a32bd214366_step_003", + "00000383_239bbf0e92974a32bd214366_step_004", + "00000386_239bbf0e92974a32bd214366_step_007", + "00000387_239bbf0e92974a32bd214366_step_008", + "00000388_239bbf0e92974a32bd214366_step_009", + "00000391_fd490b564a44413884fab719_step_000", + "00000405_f3759bbb4682423caf207e8e_step_002", + "00000406_f3759bbb4682423caf207e8e_step_003", + "00000408_36bcb4030e36417b8dc74b87_step_000", + "00000410_30afd12eede44fa8a1def049_step_000", + "00000411_305e45c9479f43979b0d7b53_step_000", + "00000413_94f421b1b33d47c592c9fe1d_step_000", + "00000418_ce5b31679ee845a69ba89d6f_step_000", + "00000421_bd0972033f464f8f961a150a_step_002", + "00000422_8e8a96d437584c77b3cfd84f_step_000", + "00000423_8e8a96d437584c77b3cfd84f_step_001", + "00000424_8e8a96d437584c77b3cfd84f_step_002", + "00000444_4ed4c78d6d754aac90876fc2_step_003", + "00000445_4ed4c78d6d754aac90876fc2_step_004", + "00000459_516b1784884d4facbc4c0d74_step_007", + "00000462_516b1784884d4facbc4c0d74_step_010", + "00000466_11951e51b89249dba38ded3e_step_001", + "00000469_11951e51b89249dba38ded3e_step_004", + "00000470_11951e51b89249dba38ded3e_step_005", + "00000474_a5639f2b84c445aea5da18ad_step_000", + "00000477_0fc8cc17c6af48dabe36c8f2_step_002", + "00000478_0fc8cc17c6af48dabe36c8f2_step_003", + "00000479_0fc8cc17c6af48dabe36c8f2_step_004", + "00000485_a7d0c851b5f24a97a7cac950_step_002", + "00000488_a7d0c851b5f24a97a7cac950_step_005", + "00000489_a7d0c851b5f24a97a7cac950_step_006", + "00000492_a7d0c851b5f24a97a7cac950_step_009", + "00000501_5499914343bd4f549b38046d_step_002", + "00000502_5499914343bd4f549b38046d_step_003", + "00000508_d1c0a44331fd41faa91d4c2e_step_000", + "00000509_d1c0a44331fd41faa91d4c2e_step_001", + "00000510_d1c0a44331fd41faa91d4c2e_step_002", + "00000513_f78bf7cf156f4231988af062_step_001", + "00000519_5b8fa6b193d14279a77a0e50_step_000", + "00000522_a56dd4152b7e4ccf91212d7b_step_000", + "00000523_1f8d7f343e634c11a80d23ac_step_000", + "00000526_f9d6559308dc4c85aab9fa38_step_000", + "00000527_db75f3a38d9746a1bd66168d_step_000", + "00000530_bc0d6937206b43bc96521413_step_002", + "00000531_bc0d6937206b43bc96521413_step_003", + "00000542_4b1756f6e72b45c29a8e4eb4_step_000", + "00000543_8cf6554d440d40c4823dad6c_step_000", + "00000549_41a24c0b74a34217832f5af0_step_000", + "00000551_41a24c0b74a34217832f5af0_step_002", + "00000559_a1621e156ade4317ab6a5bc5_step_000", + "00000562_1724088724bf4e53a36e363e_step_000", + "00000565_5b5119548f7b421e8f597438_step_000", + "00000566_2f2b015ef4904c1caef56154_step_000", + "00000574_5a4cef68211d4706b1ec8586_step_003", + "00000578_5a4cef68211d4706b1ec8586_step_007", + "00000579_5a4cef68211d4706b1ec8586_step_008", + "00000580_5a4cef68211d4706b1ec8586_step_009", + "00000582_5a4cef68211d4706b1ec8586_step_011", + "00000583_5a4cef68211d4706b1ec8586_step_012", + "00000587_2417b410de78416ebe50d460_step_000", + "00000589_2417b410de78416ebe50d460_step_002", + "00000590_2417b410de78416ebe50d460_step_003", + "00000591_2417b410de78416ebe50d460_step_004", + "00000597_7fe894812c4244e18241aa08_step_003", + "00000601_7fe894812c4244e18241aa08_step_007", + "00000602_7fe894812c4244e18241aa08_step_008", + "00000603_7fe894812c4244e18241aa08_step_009", + "00000605_7fe894812c4244e18241aa08_step_011", + "00000606_7fe894812c4244e18241aa08_step_012", + "00000609_04e799936ae446b9a3d8d2b8_step_000", + "00000610_04e799936ae446b9a3d8d2b8_step_001", + "00000611_04e799936ae446b9a3d8d2b8_step_002", + "00000613_189d1310aa8c4a2a92a21020_step_001", + "00000615_c710d414bbbc4340b682c58a_step_001", + "00000616_c710d414bbbc4340b682c58a_step_002", + "00000617_c710d414bbbc4340b682c58a_step_003", + "00000618_c710d414bbbc4340b682c58a_step_004", + "00000619_c710d414bbbc4340b682c58a_step_005", + "00000620_c710d414bbbc4340b682c58a_step_006", + "00000621_c710d414bbbc4340b682c58a_step_007", + "00000622_c710d414bbbc4340b682c58a_step_008", + "00000624_1eacb269d52a47f5b265c1ab_step_000", + "00000626_f686126d229f47aeb125b5ba_step_000", + "00000627_53bfa7e2e04c4d9dbf4a3db2_step_000", + "00000632_4f322b34e87c43289916c298_step_001", + "00000637_5ae45a997c76423aba2fcc11_step_002", + "00000638_5ae45a997c76423aba2fcc11_step_003", + "00000643_bb55eaa4e9e24c2ea9d18ee0_step_000", + "00000644_761a451dfea94bfa93e23cfe_step_000", + "00000654_d87d11d9c3ca4ee5a88797ae_step_002", + "00000658_a40da330321b44f286a27361_step_000", + "00000659_6fae5591b3034f949b7e8eae_step_000", + "00000666_6f67a59c16b949a4b66dcfe1_step_000", + "00000683_8863c3497d6d4e05b0f41ddc_step_000", + "00000685_24615f5ff44d4cd5809e77a5_step_001", + "00000686_24615f5ff44d4cd5809e77a5_step_002", + "00000688_b9f3563b403143dbb86ab2b8_step_001", + "00000691_b9f3563b403143dbb86ab2b8_step_004", + "00000693_b9f3563b403143dbb86ab2b8_step_006", + "00000694_45f6100bfa3948e69405bb21_step_000", + "00000695_3f46763af0744ab2a90e6b48_step_000", + "00000696_32309198fce9481896bd0a99_step_000", + "00000698_6f0fc559e8f3422c908b6060_step_001", + "00000699_cae88f0aaaf34de597863810_step_000", + "00000708_c08c1c78b86f4ee3bcb7d9de_step_004", + "00000709_c08c1c78b86f4ee3bcb7d9de_step_005", + "00000710_c08c1c78b86f4ee3bcb7d9de_step_006", + "00000721_9a461e8ae7dc4d33a55883eb_step_000", + "00000723_8ed79b6bcb024d1a9f2aa5e7_step_000", + "00000737_989e0f807cde438face0cb00_step_002", + "00000738_989e0f807cde438face0cb00_step_003", + "00000746_6cb3ddbb49974d7db0e97135_step_001", + "00000751_6f0d90054d40400593050930_step_000", + "00000752_6f0d90054d40400593050930_step_001", + "00000758_8ab50540e9804365a8717ec0_step_005", + "00000759_8ab50540e9804365a8717ec0_step_006", + "00000760_8ab50540e9804365a8717ec0_step_007", + "00000763_8ab50540e9804365a8717ec0_step_010", + "00000764_9cab8335065e4d439bbff471_step_000", + "00000765_9cab8335065e4d439bbff471_step_001", + "00000766_9cab8335065e4d439bbff471_step_002", + "00000767_9cab8335065e4d439bbff471_step_003", + "00000775_a25fb37392a44447b9684f16_step_000", + "00000776_a25fb37392a44447b9684f16_step_001", + "00000777_a25fb37392a44447b9684f16_step_002", + "00000778_a25fb37392a44447b9684f16_step_003", + "00000779_a25fb37392a44447b9684f16_step_004", + "00000780_a25fb37392a44447b9684f16_step_005", + "00000781_a25fb37392a44447b9684f16_step_006", + "00000782_a25fb37392a44447b9684f16_step_007", + "00000783_a25fb37392a44447b9684f16_step_008", + "00000784_a25fb37392a44447b9684f16_step_009", + "00000785_a25fb37392a44447b9684f16_step_010", + "00000786_a25fb37392a44447b9684f16_step_011", + "00000787_a25fb37392a44447b9684f16_step_012", + "00000788_a25fb37392a44447b9684f16_step_013", + "00000789_a25fb37392a44447b9684f16_step_014", + "00000790_a25fb37392a44447b9684f16_step_015", + "00000791_a25fb37392a44447b9684f16_step_016", + "00000792_a25fb37392a44447b9684f16_step_017", + "00000793_a25fb37392a44447b9684f16_step_018", + "00000796_dec80701adc84239b485449d_step_002", + "00000797_e7533c87b9a347cdafd0c390_step_000", + "00000799_ad6107d9fc994ccca38cc4e4_step_001", + "00000800_ad6107d9fc994ccca38cc4e4_step_002", + "00000801_ad6107d9fc994ccca38cc4e4_step_003", + "00000802_ad6107d9fc994ccca38cc4e4_step_004", + "00000806_05cadeb104be4c8aa75ccc71_step_000", + "00000807_05cadeb104be4c8aa75ccc71_step_001", + "00000808_05cadeb104be4c8aa75ccc71_step_002", + "00000809_05cadeb104be4c8aa75ccc71_step_003", + "00000816_36e6258346004cabb4c091b2_step_004", + "00000817_36e6258346004cabb4c091b2_step_005", + "00000818_6bbad2756d7845bd8d731d60_step_000", + "00000819_6bbad2756d7845bd8d731d60_step_001", + "00000821_6bbad2756d7845bd8d731d60_step_003", + "00000822_c98978894f544f89aa10633f_step_000", + "00000823_c98978894f544f89aa10633f_step_001", + "00000827_b0d209f7a8ad4b02910c317f_step_003", + "00000829_889a065d51a24bb8ad704c69_step_000", + "00000830_889a065d51a24bb8ad704c69_step_001", + "00000832_889a065d51a24bb8ad704c69_step_003", + "00000834_889a065d51a24bb8ad704c69_step_005", + "00000837_b5409201f9a5495fa169af85_step_000", + "00000840_2c1efcc32d094e9fb9e1a88e_step_000", + "00000842_2c1efcc32d094e9fb9e1a88e_step_002", + "00000843_2c1efcc32d094e9fb9e1a88e_step_003", + "00000844_2c1efcc32d094e9fb9e1a88e_step_004", + "00000849_2c1efcc32d094e9fb9e1a88e_step_009", + "00000850_2c1efcc32d094e9fb9e1a88e_step_010", + "00000851_2c1efcc32d094e9fb9e1a88e_step_011", + "00000855_2c1efcc32d094e9fb9e1a88e_step_015", + "00000856_2c1efcc32d094e9fb9e1a88e_step_016", + "00000859_58ac6a347bbe4cf5ae07a565_step_000", + "00000863_029c2575dd474650ba1b8d21_step_003", + "00000864_029c2575dd474650ba1b8d21_step_004", + "00000866_029c2575dd474650ba1b8d21_step_006", + "00000867_029c2575dd474650ba1b8d21_step_007", + "00000868_029c2575dd474650ba1b8d21_step_008", + "00000870_029c2575dd474650ba1b8d21_step_010", + "00000871_029c2575dd474650ba1b8d21_step_011", + "00000872_029c2575dd474650ba1b8d21_step_012", + "00000873_029c2575dd474650ba1b8d21_step_013", + "00000874_029c2575dd474650ba1b8d21_step_014", + "00000877_029c2575dd474650ba1b8d21_step_017", + "00000879_029c2575dd474650ba1b8d21_step_019", + "00000880_029c2575dd474650ba1b8d21_step_020", + "00000882_029c2575dd474650ba1b8d21_step_022", + "00000883_029c2575dd474650ba1b8d21_step_023", + "00000884_029c2575dd474650ba1b8d21_step_024", + "00000885_029c2575dd474650ba1b8d21_step_025", + "00000886_029c2575dd474650ba1b8d21_step_026", + "00000887_029c2575dd474650ba1b8d21_step_027", + "00000889_e2d3a4dc5f7c438bb240e9d1_step_000", + "00000890_e2d3a4dc5f7c438bb240e9d1_step_001", + "00000892_be26dc83f78947738b2bfabd_step_001", + "00000894_be26dc83f78947738b2bfabd_step_003", + "00000897_be26dc83f78947738b2bfabd_step_006", + "00000900_4df6ab9924674556bb4a509d_step_000", + "00000904_4df6ab9924674556bb4a509d_step_004", + "00000905_4df6ab9924674556bb4a509d_step_005", + "00000906_4df6ab9924674556bb4a509d_step_006", + "00000919_cdcebf32644443b9812097ba_step_003", + "00000923_cdcebf32644443b9812097ba_step_007", + "00000927_cdcebf32644443b9812097ba_step_011", + "00000928_cdcebf32644443b9812097ba_step_012", + "00000938_4f351b53bfd84bb4a2f7809c_step_003", + "00000942_f297a24e1a4446cf9d74efd9_step_001", + "00000948_f297a24e1a4446cf9d74efd9_step_007", + "00000949_f297a24e1a4446cf9d74efd9_step_008", + "00000953_ccc14f0fcff54b5985cc9113_step_000", + "00000955_a741c7966d2c40a8a511263e_step_001", + "00000958_04906edf324a4bce8fc3f417_step_000", + "00000961_a98d481268ea4524a7769731_step_000", + "00000962_a98d481268ea4524a7769731_step_001", + "00000963_a98d481268ea4524a7769731_step_002", + "00000970_edacb215ec6949d8af6c8c68_step_000", + "00000973_209426c5054945fab8a4af1b_step_000", + "00000976_b85ec2ff588148c4abd8c8d7_step_000", + "00000984_0dd1386597104265ab67e6cf_step_007", + "00000986_0dd1386597104265ab67e6cf_step_009", + "00000987_0dd1386597104265ab67e6cf_step_010", + "00000988_0dd1386597104265ab67e6cf_step_011", + "00000993_ac4ba032d4b5431ca04f542c_step_000", + "00000994_ac4ba032d4b5431ca04f542c_step_001", + "00000996_6d71695ba3fd475c927a00a7_step_000", + "00000998_6962bc8aad2c4e27b046d5b4_step_000", + "00001000_6962bc8aad2c4e27b046d5b4_step_002", + "00001002_6962bc8aad2c4e27b046d5b4_step_004", + "00001003_6962bc8aad2c4e27b046d5b4_step_005", + "00001004_6962bc8aad2c4e27b046d5b4_step_006", + "00001005_6962bc8aad2c4e27b046d5b4_step_007", + "00001006_6962bc8aad2c4e27b046d5b4_step_008", + "00001009_6962bc8aad2c4e27b046d5b4_step_011", + "00001010_6962bc8aad2c4e27b046d5b4_step_012", + "00001011_6962bc8aad2c4e27b046d5b4_step_013", + "00001013_6962bc8aad2c4e27b046d5b4_step_015", + "00001014_6962bc8aad2c4e27b046d5b4_step_016", + "00001015_6962bc8aad2c4e27b046d5b4_step_017", + "00001019_ca4cf9693d6d4a98b515ba99_step_000", + "00001020_ca4cf9693d6d4a98b515ba99_step_001", + "00001021_ca4cf9693d6d4a98b515ba99_step_002", + "00001024_21adcacb9707488ea6655fd2_step_000", + "00001025_21adcacb9707488ea6655fd2_step_001", + "00001026_0f133d8e7fd448708a554e28_step_000", + "00001027_0f133d8e7fd448708a554e28_step_001", + "00001029_cde47df6e28543d1b434f206_step_001", + "00001030_cde47df6e28543d1b434f206_step_002", + "00001031_cde47df6e28543d1b434f206_step_003", + "00001033_18151464e6434759b7c2ece7_step_000", + "00001034_085828cd621d404a90ccd883_step_000", + "00001035_be3ed2c9696e4e6a91b34f79_step_000", + "00001036_be3ed2c9696e4e6a91b34f79_step_001", + "00001040_74c42207fa764831b03f7658_step_000", + "00001041_6baf25f5fe2947e8927797d8_step_000", + "00001048_2b2638f82b3946b1867f2d11_step_004", + "00001049_2b2638f82b3946b1867f2d11_step_005", + "00001050_2b2638f82b3946b1867f2d11_step_006", + "00001052_2fd6155fa34f418083d0bd0f_step_001", + "00001053_2fd6155fa34f418083d0bd0f_step_002", + "00001061_284effca5a19488fa8a228e2_step_002", + "00001062_c04956ddff6c4324b5cad67c_step_000", + "00001063_c6fda10dc58448d1951c5cc3_step_000", + "00001064_c6fda10dc58448d1951c5cc3_step_001", + "00001065_c6fda10dc58448d1951c5cc3_step_002", + "00001067_8a2edcf36bcd435092f4c8ae_step_001", + "00001069_8a2edcf36bcd435092f4c8ae_step_003", + "00001071_8a2edcf36bcd435092f4c8ae_step_005", + "00001097_256ee7ec3a4b4972a8b87c8d_step_001", + "00001099_256ee7ec3a4b4972a8b87c8d_step_003", + "00001102_256ee7ec3a4b4972a8b87c8d_step_006", + "00001106_ba88e7579ced4a0aa2de629c_step_000", + "00001107_78566795c3144719804f8d34_step_000", + "00001108_412675e2ea594e70bbd8cf6c_step_000", + "00001112_3bd4a008a3a0483d86ccab3f_step_000", + "00001114_5f5cf6feacbc41fb88b2d873_step_000", + "00001121_da4037e40839451dbbc2bd1f_step_000", + "00001130_c2db313c2ce749d784c610d2_step_002", + "00001139_0b0ed9b0ccbb455d82c60d69_step_000", + "00001140_0b0ed9b0ccbb455d82c60d69_step_001", + "00001141_0b0ed9b0ccbb455d82c60d69_step_002", + "00001146_274866da478e4a009bed8750_step_001", + "00001159_f112d6f3e0c644ae9de2a724_step_000", + "00001165_4b65bb9a02f6494aa897a53e_step_000", + "00001167_107f61d0402f4c9a9d9d1342_step_000", + "00001168_107f61d0402f4c9a9d9d1342_step_001", + "00001169_0889c458f3f74dc288d2d531_step_000", + "00001170_0889c458f3f74dc288d2d531_step_001", + "00001177_9f1ce06d5e334fe88e1581aa_step_001", + "00001178_515d7e1aeb364a2d88083cf3_step_000", + "00001182_bc0b5846e3d84904ad02e547_step_001", + "00001185_507b60b57791425bbb73273e_step_000", + "00001186_507b60b57791425bbb73273e_step_001", + "00001187_507b60b57791425bbb73273e_step_002", + "00001190_507b60b57791425bbb73273e_step_005", + "00001191_507b60b57791425bbb73273e_step_006", + "00001193_46b17dd88ed24f55bca2eb69_step_000", + "00001200_e44a0f9afbe84b918f789f0f_step_000", + "00001206_e44a0f9afbe84b918f789f0f_step_006", + "00001210_4be610c137ba42ae9933e69b_step_000", + "00001211_4be610c137ba42ae9933e69b_step_001", + "00001212_4be610c137ba42ae9933e69b_step_002", + "00001213_4be610c137ba42ae9933e69b_step_003", + "00001214_9edb90c9f417497fb70bddf6_step_000", + "00001217_e517c61f1c49433bb81cf980_step_000", + "00001228_2fd836ae38b44c41bfbd9584_step_002", + "00001232_73b40f9a4cd3419ab3b42b73_step_001", + "00001233_73b40f9a4cd3419ab3b42b73_step_002", + "00001235_17ea801126da4654b34f6c52_step_000", + "00001238_96503b6a26c64074ad598927_step_000", + "00001239_96503b6a26c64074ad598927_step_001", + "00001240_96503b6a26c64074ad598927_step_002", + "00001241_96503b6a26c64074ad598927_step_003", + "00001242_96503b6a26c64074ad598927_step_004", + "00001243_96503b6a26c64074ad598927_step_005", + "00001244_96503b6a26c64074ad598927_step_006", + "00001246_96503b6a26c64074ad598927_step_008", + "00001247_96503b6a26c64074ad598927_step_009", + "00001249_96503b6a26c64074ad598927_step_011", + "00001252_96503b6a26c64074ad598927_step_014", + "00001253_96503b6a26c64074ad598927_step_015", + "00001254_c2da273d137e475abb1ab1f4_step_000", + "00001255_3df9015915ff4fa7b57f0a71_step_000", + "00001257_a4715d363f88400c8f0238d1_step_000", + "00001260_a4715d363f88400c8f0238d1_step_003", + "00001262_157e5348bf6545e282472856_step_000", + "00001263_157e5348bf6545e282472856_step_001", + "00001266_b53ece83d8964b44bbf1f8ed_step_002", + "00001273_b53ece83d8964b44bbf1f8ed_step_009", + "00001274_b53ece83d8964b44bbf1f8ed_step_010", + "00001276_b53ece83d8964b44bbf1f8ed_step_012", + "00001285_b53ece83d8964b44bbf1f8ed_step_021", + "00001294_b53ece83d8964b44bbf1f8ed_step_030", + "00001298_b53ece83d8964b44bbf1f8ed_step_034", + "00001300_b9951da825954791b59b979d_step_000", + "00001301_a54ee779467b42ea8709e1ca_step_000", + "00001305_3f3a389e9d5a4370b952bdce_step_001", + "00001310_3f3a389e9d5a4370b952bdce_step_006", + "00001311_e95b8713cc0b4436909c78e9_step_000", + "00001314_a9ed5e56a6a8414f91b39bdb_step_000", + "00001319_6a5a7dbad03b4a57b33f2c0d_step_002", + "00001320_6a5a7dbad03b4a57b33f2c0d_step_003", + "00001321_7cef9b79a6b04db894fd74e5_step_000", + "00001324_5bf4a74af99f405392406e40_step_000", + "00001333_beab79941e884455a62af40c_step_001", + "00001334_beab79941e884455a62af40c_step_002", + "00001335_beab79941e884455a62af40c_step_003", + "00001336_beab79941e884455a62af40c_step_004", + "00001338_beab79941e884455a62af40c_step_006", + "00001339_beab79941e884455a62af40c_step_007", + "00001340_beab79941e884455a62af40c_step_008", + "00001344_d8d97699a52842539e08d117_step_002", + "00001345_d8d97699a52842539e08d117_step_003", + "00001346_d8d97699a52842539e08d117_step_004", + "00001348_318b81a8e412438183201be7_step_000", + "00001349_27327ddba7f64417ae1e69a3_step_000", + "00001352_4e1d56bc2cef49ea84626b11_step_000", + "00001353_4e1d56bc2cef49ea84626b11_step_001", + "00001354_4e1d56bc2cef49ea84626b11_step_002", + "00001356_aa0de7c5e9e84d73816bdbde_step_000", + "00001358_2e314c6e080b40fcb6a6db96_step_001", + "00001360_2e314c6e080b40fcb6a6db96_step_003", + "00001368_2e314c6e080b40fcb6a6db96_step_011", + "00001369_2e314c6e080b40fcb6a6db96_step_012", + "00001371_2e314c6e080b40fcb6a6db96_step_014", + "00001373_2e314c6e080b40fcb6a6db96_step_016", + "00001375_2e314c6e080b40fcb6a6db96_step_018", + "00001377_2e314c6e080b40fcb6a6db96_step_020", + "00001379_5b1d6e2599ea47d498a04256_step_000", + "00001380_c49484307f434da78fa06b1f_step_000", + "00001381_c49484307f434da78fa06b1f_step_001", + "00001387_60cf3ad636dd42e0bcec6946_step_000", + "00001389_21b525da345e4e62aebd906b_step_000", + "00001391_406eb61c554a429ebd8a4d4f_step_000", + "00001392_406eb61c554a429ebd8a4d4f_step_001", + "00001393_406eb61c554a429ebd8a4d4f_step_002", + "00001394_406eb61c554a429ebd8a4d4f_step_003", + "00001398_49414db2dd594dc6a3907cf3_step_001", + "00001399_49414db2dd594dc6a3907cf3_step_002", + "00001400_49414db2dd594dc6a3907cf3_step_003", + "00001401_49414db2dd594dc6a3907cf3_step_004", + "00001402_49414db2dd594dc6a3907cf3_step_005", + "00001403_49414db2dd594dc6a3907cf3_step_006", + "00001404_49414db2dd594dc6a3907cf3_step_007", + "00001405_49414db2dd594dc6a3907cf3_step_008", + "00001406_49414db2dd594dc6a3907cf3_step_009", + "00001407_49414db2dd594dc6a3907cf3_step_010", + "00001408_49414db2dd594dc6a3907cf3_step_011", + "00001409_49414db2dd594dc6a3907cf3_step_012", + "00001410_49414db2dd594dc6a3907cf3_step_013", + "00001411_49414db2dd594dc6a3907cf3_step_014", + "00001412_49414db2dd594dc6a3907cf3_step_015", + "00001413_4642a707b7894949ba816427_step_000", + "00001414_b38f661707674b8eb983d992_step_000", + "00001417_a45f6c99e2154f3b94955175_step_001", + "00001422_a45f6c99e2154f3b94955175_step_006", + "00001427_a45f6c99e2154f3b94955175_step_011", + "00001428_a45f6c99e2154f3b94955175_step_012", + "00001429_a45f6c99e2154f3b94955175_step_013", + "00001430_a45f6c99e2154f3b94955175_step_014", + "00001432_a45f6c99e2154f3b94955175_step_016", + "00001433_a45f6c99e2154f3b94955175_step_017", + "00001434_a45f6c99e2154f3b94955175_step_018", + "00001438_a45f6c99e2154f3b94955175_step_022", + "00001445_a45f6c99e2154f3b94955175_step_029", + "00001447_a45f6c99e2154f3b94955175_step_031", + "00001449_a45f6c99e2154f3b94955175_step_033", + "00001450_a45f6c99e2154f3b94955175_step_034", + "00001453_a45f6c99e2154f3b94955175_step_037", + "00001455_a45f6c99e2154f3b94955175_step_039", + "00001456_a45f6c99e2154f3b94955175_step_040", + "00001459_a45f6c99e2154f3b94955175_step_043", + "00001461_a45f6c99e2154f3b94955175_step_045", + "00001466_a45f6c99e2154f3b94955175_step_050", + "00001467_a45f6c99e2154f3b94955175_step_051", + "00001468_a45f6c99e2154f3b94955175_step_052", + "00001469_a45f6c99e2154f3b94955175_step_053", + "00001470_a45f6c99e2154f3b94955175_step_054", + "00001471_a45f6c99e2154f3b94955175_step_055", + "00001472_a45f6c99e2154f3b94955175_step_056", + "00001473_a45f6c99e2154f3b94955175_step_057", + "00001474_a45f6c99e2154f3b94955175_step_058", + "00001480_a45f6c99e2154f3b94955175_step_064", + "00001481_a45f6c99e2154f3b94955175_step_065", + "00001482_a45f6c99e2154f3b94955175_step_066", + "00001483_a45f6c99e2154f3b94955175_step_067", + "00001484_a45f6c99e2154f3b94955175_step_068", + "00001487_a45f6c99e2154f3b94955175_step_071", + "00001490_6c8ef6d2f5564d139a5077f8_step_001", + "00001491_6c8ef6d2f5564d139a5077f8_step_002", + "00001495_6c8ef6d2f5564d139a5077f8_step_006", + "00001496_eb4e2b01aaca4131bfc64adb_step_000", + "00001497_eb4e2b01aaca4131bfc64adb_step_001", + "00001500_eb4e2b01aaca4131bfc64adb_step_004", + "00001501_6a0f221e85e04411afe23f51_step_000", + "00001503_6a0f221e85e04411afe23f51_step_002", + "00001505_6d02705716e04d9081f4980b_step_000", + "00001511_5cbe58077e4b4885a5c213b3_step_004", + "00001512_5cbe58077e4b4885a5c213b3_step_005", + "00001522_7079a898746d41ba8ae13d69_step_003", + "00001525_e0d35a03b46745259cf8878f_step_000", + "00001527_9214869844f14e83a9dce3ec_step_000", + "00001532_9f0a4a641e8f4cc588eb4315_step_000", + "00001534_e1d62958d7ca4ad18fefd54d_step_001", + "00001535_e1d62958d7ca4ad18fefd54d_step_002", + "00001538_e1d62958d7ca4ad18fefd54d_step_005", + "00001543_e1d62958d7ca4ad18fefd54d_step_010", + "00001550_a94d978cf62948ce80b417a9_step_000", + "00001552_b0a9c4d836294846891615fe_step_000", + "00001553_adfa1c33ae4d4d0aa441ddc3_step_000", + "00001554_30de00089a3f4a339eddb68d_step_000", + "00001555_30de00089a3f4a339eddb68d_step_001", + "00001556_30de00089a3f4a339eddb68d_step_002", + "00001557_16c191aef5034779aaab6e3f_step_000", + "00001563_2e9dc7e9a1a54dd7ab901478_step_000", + "00001567_9280741c840d4aa1af32658e_step_002", + "00001569_6fc579f3224d4d53a1b60710_step_000", + "00001578_a3b89691665043a08931897f_step_001", + "00001579_a3b89691665043a08931897f_step_002", + "00001582_a3b89691665043a08931897f_step_005", + "00001586_763da6a559544098acbf4154_step_002", + "00001592_35f4abaacc9447e4ac0b964f_step_001", + "00001594_2128dbbd4bf34879913b3a99_step_000", + "00001596_2128dbbd4bf34879913b3a99_step_002", + "00001597_13bd23e0e4c740969b0c71ab_step_000", + "00001598_c118664e9f6f4943855293fa_step_000" + ], + "archive": "data.zip", + "archive_stat": { + "status": "official_size_and_md5_pass", + "source": "/home/frank14f/optane/MeltMind/data.zip", + "source_url": "https://zenodo.org/records/18598121", + "bytes": 32757812726, + "md5": "75ec15002234c2cdcdf4c751bdefab85", + "sha256": "d151f018294832fd80fbd23e865642cb16c860da150f245033d010c388fa0241", + "mtime_ns": 1794548962944204621, + "inode": 12582980, + "members": 1872, + "triplets": 624, + "source_tokens": 249, + "max_group": 34, + "total_uncompressed_bytes": 43966308383, + "finished_utc": "2026-11-13T08:04:57.180660+00:00", + "wall_seconds": 97.27923265600111, + "peak_rss_kib": 32056, + "crc_scope": "ZIP stored CRC inventory only; selected members checked on read; no full decompression", + "grouping_scope": "Filename source tokens, not verified independent CAD families" + }, + "label_index": "artifacts/s2-custody-evaluation-2026-11-15/custody/label-index.json", + "label_index_sha256": "168680f6fd82dc2364d420ddfb3deb694684f3cccadcf2d4d2ce56e9bf42ef42", + "prediction_index": "artifacts/s2-custody-evaluation-2026-11-15/prediction-index.json", + "prediction_index_sha256": "0fb7eac7b2a8f13ad5b44753208d0b33621196a7d95a586f276d395ab46bd6d6", + "original_part_scores": "artifacts/s2-custody-evaluation-2026-11-15/custody/part-scores.json", + "original_part_scores_sha256": "a96aeee2f466fa8a6e0bb48cca08e078cfe6a94f14bf4d2cb2ac58033a24b2fe", + "exposure_membership": "artifacts/s2-g1-components-2026-11-15/custodian/not-known-exposed-test-subsets.json", + "exposure_membership_sha256": "8d037786040c6fc11fa80ceb0f41dfdd58478a2576404505a64aa29a2216a22f", + "worker_cpus": [ + 16, + 18, + 20, + 22 + ], + "coordinator_cpus": [ + 28, + 29 + ], + "limits": { + "worker_cpu_seconds": 36000, + "preparation_cpu_seconds": 28800, + "post_cpu_seconds": 7200, + "workers": 4, + "part_cpu_seconds": 180, + "part_wall_seconds": 600, + "part_rss_bytes": 4294967296, + "part_disk_bytes": 2147483648, + "disk_bytes": 21474836480, + "retries": 0, + "GPU_seconds": 0 + }, + "numpy_version": "1.26.4", + "scipy_version": "1.15.3", + "full_decodes_authorized": 617, + "full_decode_policy": "Exactly one whole-VTU Fill_time array per part; immutable attempt; preserve S2 cache and validate all common IDs", + "time_scale": "Per fold and nested learning pool component/part-equal mean(full_VTU_T_end/t_set); shared all arms", + "CDF": "Strict< used for all new predictions; save[F<,F<=] per tie group", + "full_volume": "all retained tet node lumped volume including d=0", + "conditional_volume": "frozen PPS multiplicity once; no second node-volume weight", + "alpha": "estimate (M+/Mall)*K/2000; plugin intervals are not certified whole-domain bounds", + "old_Dw_distance": "Reuse original Df/Vf; verify CDF equivalence; no re-solve", + "new_distance": "Dw^2 only, edge midpoint interpolation then square; exclude zero-speed edges, no epsilon, retain every node/mass", + "eikonal_vs_Dijkstra_tested": false, + "original_models_refitted": false, + "training_clocks_frozen_before_maps": true, + "complete_prediction_manifest_before_score": true, + "scopes": [ + "full-volume true-order oracles", + "conditional reorders R2/N/E/B0", + "reused Dw clock-only", + "new Dw2 approximation", + "full-volume timing curves" + ], + "statistics": { + "replicates": 2000, + "seed": 2026111408, + "margin": 0.1, + "pools": [ + 25, + 50, + 100 + ], + "six_region_unchanged": true, + "baseline": "Original R2 part scores reused", + "naive_close_band": [ + -0.1, + 0.1 + ], + "oracle_rows_separate": true, + "confirmatory": false + }, + "S3A_scope_unchanged": true, + "interpretation": "Exploration after S2 results were known; not a fresh confirmatory test", + "source_sha256": { + "artifacts/s2-main-preparation-2026-11-15/final-roster.json": "fb0c984f2e553343a598ce2e3c7012d3017053dc0fef58b5aaf46dd3c67a207e", + "artifacts/s2-g1-components-2026-11-15/custodian/not-known-exposed-test-subsets.json": "8d037786040c6fc11fa80ceb0f41dfdd58478a2576404505a64aa29a2216a22f", + "artifacts/s2-terminal-freeze-2026-11-15/models.json": "cd544ec7f0e49f0759660a71076566976cacdeaa66dd510aec049b2218f57faf", + "artifacts/s2-custody-evaluation-2026-11-15/contract.json": "e8b081b31d0f8975da1c2f1e92843181ee788979d98e61d2a8571e5e5d94850c", + "artifacts/s2-custody-evaluation-2026-11-15/custody/label-index.json": "168680f6fd82dc2364d420ddfb3deb694684f3cccadcf2d4d2ce56e9bf42ef42", + "artifacts/s2-custody-evaluation-2026-11-15/custody/part-scores.json": "a96aeee2f466fa8a6e0bb48cca08e078cfe6a94f14bf4d2cb2ac58033a24b2fe", + "artifacts/s2-custody-evaluation-2026-11-15/prediction-index.json": "0fb7eac7b2a8f13ad5b44753208d0b33621196a7d95a586f276d395ab46bd6d6", + "artifacts/s2-custody-evaluation-2026-11-15/predictions-complete.json": "966eafead4e3d2ee04c775a911b6fd2139f160b7bf977558491f42bc624fcdf1", + "docs/naive-ordering-contract-2026-11-15.md": "c8673fea5a42f2811bee3a34d73d5462698abe379a705f30ce17a8ca7b95268b", + "docs/mold-route-a-review-2026-11-15.md": "39cf25711b83d8c0a97a8fb07454cd2dfae59e1fdef2ef761392782b86050629" + }, + "code_sha256": { + "tools/audit_samples.py": "a3daf70ec3bcb77bf46d9dc4887d552cf7c422117880a169969780012278cd70", + "tools/freeze_g1_components.py": "d0cee60d95243ac2c59ef3f2244ba818315718c4e3d1895f2f9f064f1f7f5ecd", + "tools/naive_ordering_common.py": "20894987c1c1c98a417b1c9a181384876da765909c4851bf31bca4a9236b0d77", + "tools/naive_ordering_math.py": "8a71dfb139f58c523077e8e94d7cbe7ad34eb7680b6b2535bfcf7a94001ad86c", + "tools/prepare_naive_ordering.py": "06146e58a5f019d5a6b33ca666358a47fc636919871fb26e60e828c3d3810d4d", + "tools/prepare_s2_custody.py": "6a64c6d16760cf243b150c6dab67a5e255af4c70bc71b8726edbead2f2cebe16", + "tools/prepare_s2_incident_recovery.py": "4f772573dedc2b7921986e25eaedb14f91d98b235421829c284f3b40b85710aa", + "tools/prepare_s2_main_matrix.py": "43b48d82a813175be22be41cb63aaa5d04499000e80197c7405538eff3052ede", + "tools/prepare_s2_precision_pilot.py": "c3a71b0ff58bcea4433ff93e18ef14d3a00521438a76baaa69830a5ee8ac098a", + "tools/prepare_s2_r2.py": "ec6dd1c73bc2678aa4376c878837a957395c21b82e2da2314c4a9c4e96260caf", + "tools/prepare_s2_recovered_pilot_training.py": "ab5a4274363598ff933ff873df2b00497f069b1fb45756a1d1dba8d723294f68", + "tools/run_naive_ordering_analysis.py": "63f7b3b8e213cb0e24c1c4440f02f81f418d03ae30ec62e1c7f62828eed1ccaa", + "tools/run_naive_ordering_part.py": "bc507b924dadb5349a418f90aecb5c53507ffd2b4a825cbfe6f8b19a01721849", + "tools/run_naive_ordering_queue.py": "abc39c603f3b829d726835fdf3c5d0226aeb7edf1a48f70f511cda386541899f", + "tools/run_s2_custody_predict.py": "2dd0c654778ea2db646a6fe7e75b00d5bcd5adf59c3c8d107cbe6a6870448117", + "tools/run_s2_custody_predictions.py": "3589c64b09db4f83da7df99faf8c1aa86db17b08df86e6e1189fdffd71dae7cf", + "tools/run_s2_custody_score.py": "4e9192edcefaa5db207f52400d0ac79345095077b74947ddb86010f32a64bd88", + "tools/run_s2_encoder_diagnostic.py": "8f31d312fb53bfdb9b1804af064e463d3989f1b33c4aa7279a967ca82dd2c0a4", + "tools/run_s2_main_matrix.py": "cebd3ccdea80c2914f6bbc1c3de293870535689f224c547c656a860b64af14da", + "tools/run_s2_main_training.py": "7fb18f015ab2eaa4968ff50c8b140285f9db6eb822398b2789d6de40f1aea2e7", + "tools/run_s2_pilot_probe.py": "2360ab7b44b179144a5ecd2d691e33cd36a6ec4bfeac71452bf062e7f42f81eb", + "tools/run_s2_pilot_probe_v2.py": "61c08499346d50405d0c254de54deea24b3522256bf1c8b0aec3e9f4ddab6390", + "tools/run_s2_pilot_training.py": "d5e543478543243fe1db3475a4d4cd135fbdcf631d3bce48c4b5af8b2edafb22", + "tools/run_s2_pilot_training_v2.py": "f461cb43bc602a32677d7dcfb8a322e206531ad152fa33bb4e36ea8546a1c0f2", + "tools/run_s2_precision_continuation.py": "9fb5a22007788f0c18c77a82b6a8b76fbb53a98b49cc9251bc49a7a5b8312f2f", + "tools/run_s2_precision_pilot.py": "ac8347be1ca11f48cb67abbf5e5c78b39af46ed3a7c6f89b49098fd5e77a6904", + "tools/run_s2_r2.py": "7a93e61cef18f12f5e834bcfdfac81d2092bb74a7216221dd542d5904e71905e", + "tools/run_s2_r2_fit.py": "dd235ef8b015a58deaa89d36208c563bea425b9c4d0a0937ed6e0248f23618f8", + "tools/run_s2_recovered_pilot.py": "56962009bf5eaaee599ffea6a3d454372e0aea2842fa79eac609fd4a24ecbb39", + "tools/run_s2_recovery_chain.py": "76d0808bdb2d624cfbaadf5a3c5e7e9a0c2be5d5ac41d4ac3fd9ccd48743933c", + "tools/s2_custody_common.py": "588c646101be0d50f505f9a12a1c98361aa3437c8c594eecb7321831f717a741", + "tools/s2_custody_statistics.py": "188565801f6901d0192f79aec0889e632501e672a4149d76d1835efbb9b45447", + "tools/s2_e1_supervisor.py": "6753c9ceb0b932047ba505bd15681f109e9407bdb58fd96c55e1431a3f1b4a02", + "tools/s2_gpu_idle_gate.py": "e2b1613e7e6ea398a8d555220a9365a1ad998ab4ef4b2bf8ec7cc4e31f8b4b9f", + "tools/s2_incident_recovery_manifest.py": "8cbb2e1067c2cc22762d8ae3cf192aa2c5fa7c7a199a22e7a39a25570ee1c3b1", + "tools/s2_main_data.py": "bda31f5e9335b927315292f57e6f689787eacc5b32f7fae3fa23eb13b00343f0", + "tools/s2_main_memory_guard.py": "e094f5443e11518efe9018215c11718a8e18aa462a977bf43e974b2d0b2aebb1", + "tools/s2_models/__init__.py": "a0fa1323d3553172da66c5d442c5fc4fcb0d5055c886c776928604550ea97609", + "tools/s2_models/attention.py": "7714adfccf6a0fc6b52a44aee3a50321a88898bf3d743680a1108c01e1ff8a61", + "tools/s2_models/blocks.py": "b13e986cea5f1d7f325a1638c1505197b4a105baacff5a9a515f23fcaf28ea75", + "tools/s2_models/features.py": "3b34ae61cf8012ebd58b7505a73d7aa43d8ee1890ac54f98d7917b67887a45a4", + "tools/s2_models/network.py": "5137e845d81d1223afc13bf87e03ccba1132a3baa75d5189a8f320b2752be071", + "tools/s2_models/normalization.py": "7180696d3845799e28d8c31ddef957d075de6a2e46d96a3a0f0df16fc05234a0", + "tools/s2_models/objectives.py": "5b6527a45f08690055d572335470ce5979e8bb86e1cab00de594f79ae21316b1", + "tools/s2_models_v2/__init__.py": "0302d333bcd8b33e85aaa6a4e7822e7e1ccfc66343136107fea6f4ca283ba1ec", + "tools/s2_models_v2/attention.py": "3829e34ca30942c863699c4d43fb6fa104452c6c04c4d606c11019d3dde16ffa", + "tools/s2_models_v2/blocks.py": "b13e986cea5f1d7f325a1638c1505197b4a105baacff5a9a515f23fcaf28ea75", + "tools/s2_models_v2/network.py": "a443470caeecdf529504bffab3ca8cc0b70ce44b505bad60f9c63db9709dbb83", + "tools/s2_pilot_data.py": "82c1fd18ec51757479c8fd7dda2db4d5f38c366d77fedcca3216a08998214c97", + "tools/s2_pilot_train.py": "e9cceead51a5cc092aad23409ad98909c84a62e7e10571e750d1e9be1ad3b948", + "tools/s2_precision_continuation_guard.py": "01235d897c7c03e5ffa109c58b14f5d24d128e8f1ba873e1f76cfb14e02f7a7f", + "tools/s2_precision_pilot_gpu_guard.py": "5cf0f41de34b28394dbee4672b5bd34eb9c4fe2344822aa3d648f20561d96328", + "tools/s2_r2_data.py": "a32f8987ff0848c0e052e71500f84bd4f0364a60170121f54770ceb275a98566", + "tools/s2_recovered_pilot_gpu_guard.py": "9a27f47918c865ce37e46b0be54144dc3f9ab1058e4eddc9f6fbc771f4959eb0", + "tools/s2_recovery_gpu_supervisor.py": "689c0f3179e4fcd362e546d90214829a9e4f8739abdbdf74b560763e5a392f15", + "tools/s2_recovery_monitoring.py": "442c2a9c75e8c00b30a8f2e91cb52d87c466b19a80aea9128b10c021e61b922e", + "tools/s2_recovery_supervisor.py": "f563ca3c2665f5baf0c04f296616e4640423a59b815fbb00479af0f29e57a919", + "tools/test_naive_ordering.py": "f04cfffc1e20ad933416324571e0fd2917f1ed4b1fa4cc77ce4296beb3ba2091", + "tools/test_s2_custody.py": "c1c6fcfac7fd50df4dcd47888127b65d6af5e7c6a9415d8b6530f101733a2130", + "tools/test_s2_main_matrix.py": "d9b05506dd6e5a8a94cccaee28c6d8239bb3c6cdbe31567be1fdd04559154feb", + "tools/test_s2_r2.py": "01d214e6e3ed04b099c30a4567521c37c4cafb0412faa83c973110c8dd600418" + } +} diff --git a/artifacts/naive-ordering-2026-11-15/prelaunch.json b/artifacts/naive-ordering-2026-11-15/prelaunch.json new file mode 100644 index 000000000..b2fabfd85 --- /dev/null +++ b/artifacts/naive-ordering-2026-11-15/prelaunch.json @@ -0,0 +1,11 @@ +{ + "status": "AUTHORIZED_FIXED_NOT_STARTED", + "contract_sha256": "c49313e7edd6b083887a71cc3ba8c372fa6a1f8203e23b82a4b9b19cb8103c95", + "custody_decodes": 0, + "new_distance_solves": 0, + "new_fits": 0, + "original_Dw_reused": true, + "latest_ruling": "1794733619.697459", + "full_decode_ruling": "1794733395.244139", + "engineering_correction": "Global monitor sampling failure stops before dispatch; previous candidate preserved, no execution occurred." +} diff --git a/artifacts/naive-ordering-2026-11-15/synthetic-acceptance.json b/artifacts/naive-ordering-2026-11-15/synthetic-acceptance.json new file mode 100644 index 000000000..78fba11d3 --- /dev/null +++ b/artifacts/naive-ordering-2026-11-15/synthetic-acceptance.json @@ -0,0 +1,22 @@ +{ + "status": "PASS", + "tests": 13, + "errors": 0, + "failures": 0, + "CPU_s": 0.29476246100000003, + "wall_s": 0.320373534981627, + "real_labels_decoded": 0, + "real_distance_solves": 0, + "synthetic_full_custody_decodes": 1, + "output": "test_CDF_strict_and_right_ties_mass_counted_once (test_naive_ordering.Checks) ... ok\ntest_Dw2_is_square_of_midpoint_not_mean_of_squares (test_naive_ordering.Checks) ... ok\ntest_c_is_component_part_equal_learning_only (test_naive_ordering.Checks) ... ok\ntest_conditional_CDF_differs_under_full_constant_flow (test_naive_ordering.Checks) ... ok\ntest_curve_records_full_end_distinct_from_tet_max (test_naive_ordering.Checks) ... ok\ntest_failed_first_part_and_infrastructure_receipt_stop (test_naive_ordering.Checks) ... ok\ntest_global_monitor_failure_prevents_any_dispatch (test_naive_ordering.Checks) ... ok\ntest_independent_part_queue_once_only_and_no_redecode_restart (test_naive_ordering.Checks) ... ok\ntest_invalid_PPS_or_empty_CDF_rejected (test_naive_ordering.Checks) ... ok\ntest_neural_route_keeps_three_seeds_and_original_missing_mask (test_naive_ordering.Checks) ... ok\ntest_one_full_decode_cache_identity_and_no_duplicate_attempt (test_naive_ordering.Checks) ... ok\ntest_order_and_final_ties_preserved (test_naive_ordering.Checks) ... ok\ntest_synthetic_mapping_scoring_and_exact_manifest_end_to_end (test_naive_ordering.Checks) ... ok\n\n----------------------------------------------------------------------\nRan 13 tests in 0.316s\n\nOK\n", + "code_sha256": { + "tools/run_naive_ordering_queue.py": "abc39c603f3b829d726835fdf3c5d0226aeb7edf1a48f70f511cda386541899f", + "tools/naive_ordering_common.py": "20894987c1c1c98a417b1c9a181384876da765909c4851bf31bca4a9236b0d77", + "tools/naive_ordering_math.py": "8a71dfb139f58c523077e8e94d7cbe7ad34eb7680b6b2535bfcf7a94001ad86c", + "tools/run_naive_ordering_analysis.py": "63f7b3b8e213cb0e24c1c4440f02f81f418d03ae30ec62e1c7f62828eed1ccaa", + "tools/test_naive_ordering.py": "f04cfffc1e20ad933416324571e0fd2917f1ed4b1fa4cc77ce4296beb3ba2091", + "tools/run_naive_ordering_part.py": "bc507b924dadb5349a418f90aecb5c53507ffd2b4a825cbfe6f8b19a01721849", + "tools/prepare_naive_ordering.py": "06146e58a5f019d5a6b33ca666358a47fc636919871fb26e60e828c3d3810d4d" + }, + "contract_sha256": "c49313e7edd6b083887a71cc3ba8c372fa6a1f8203e23b82a4b9b19cb8103c95" +} diff --git a/artifacts/naive-ordering-2026-11-15/synthetic-before-monitor-acceptance.json b/artifacts/naive-ordering-2026-11-15/synthetic-before-monitor-acceptance.json new file mode 100644 index 000000000..e674b0f71 --- /dev/null +++ b/artifacts/naive-ordering-2026-11-15/synthetic-before-monitor-acceptance.json @@ -0,0 +1,21 @@ +{ + "status": "PASS", + "tests": 12, + "errors": 0, + "failures": 0, + "CPU_s": 0.28968167, + "wall_s": 0.3155594039708376, + "real_labels_decoded": 0, + "real_distance_solves": 0, + "synthetic_full_custody_decodes": 1, + "output": "test_CDF_strict_and_right_ties_mass_counted_once (test_naive_ordering.Checks) ... ok\ntest_Dw2_is_square_of_midpoint_not_mean_of_squares (test_naive_ordering.Checks) ... ok\ntest_c_is_component_part_equal_learning_only (test_naive_ordering.Checks) ... ok\ntest_conditional_CDF_differs_under_full_constant_flow (test_naive_ordering.Checks) ... ok\ntest_curve_records_full_end_distinct_from_tet_max (test_naive_ordering.Checks) ... ok\ntest_failed_first_part_and_infrastructure_receipt_stop (test_naive_ordering.Checks) ... ok\ntest_independent_part_queue_once_only_and_no_redecode_restart (test_naive_ordering.Checks) ... ok\ntest_invalid_PPS_or_empty_CDF_rejected (test_naive_ordering.Checks) ... ok\ntest_neural_route_keeps_three_seeds_and_original_missing_mask (test_naive_ordering.Checks) ... ok\ntest_one_full_decode_cache_identity_and_no_duplicate_attempt (test_naive_ordering.Checks) ... ok\ntest_order_and_final_ties_preserved (test_naive_ordering.Checks) ... ok\ntest_synthetic_mapping_scoring_and_exact_manifest_end_to_end (test_naive_ordering.Checks) ... ok\n\n----------------------------------------------------------------------\nRan 12 tests in 0.315s\n\nOK\n", + "code_sha256": { + "tools/run_naive_ordering_queue.py": "ed1731c2cb8f57d2f38c4d16f244919ec52cd8e8ce8bcf2b3d643ea186dcef3b", + "tools/naive_ordering_common.py": "20894987c1c1c98a417b1c9a181384876da765909c4851bf31bca4a9236b0d77", + "tools/naive_ordering_math.py": "8a71dfb139f58c523077e8e94d7cbe7ad34eb7680b6b2535bfcf7a94001ad86c", + "tools/run_naive_ordering_analysis.py": "63f7b3b8e213cb0e24c1c4440f02f81f418d03ae30ec62e1c7f62828eed1ccaa", + "tools/test_naive_ordering.py": "7a66814e722a58103769f40d8e7523230cf93c73f3a2204818e78ca61dce25dd", + "tools/run_naive_ordering_part.py": "bc507b924dadb5349a418f90aecb5c53507ffd2b4a825cbfe6f8b19a01721849", + "tools/prepare_naive_ordering.py": "06146e58a5f019d5a6b33ca666358a47fc636919871fb26e60e828c3d3810d4d" + } +} diff --git a/docs/mold-route-a-review-2026-11-15.md b/docs/mold-route-a-review-2026-11-15.md new file mode 100644 index 000000000..7a78a9e5a --- /dev/null +++ b/docs/mold-route-a-review-2026-11-15.md @@ -0,0 +1,38 @@ +# 来源:MoldAstra Drive 原文件快照 + +原文件:https://drive.google.com/file/d/11OWZYGMz9SUsnsmsPbm57dhMioF2ooyt/view +标题:19_Route-A_填充顺序、体积时钟与S2评价域.md +修改时间:2026-11-15T09:02:09.325Z +本地只保存实际读取内容,未重算 S2。 + +# Route A 数学评审 · 填充顺序何时能换算成秒 + +2026-11-15,供 MeltMind 阶段决策 72ff4fdc 使用。本文是纸面评审,未重新计算 S2。S2 在 617 件、209 个分组上得到的 R2 基准为组平均相对 L2 约 7.3%。 + +## 1. 全腔体的恒等式与额外假设 + +在单调填充、时钟起点与空腔起点一致、最终充满的前提下,令 T(x) 表示首次到达时间,V 表示考察腔体的几何体积。则 q(t) = vol{x : T(x) ≤ t}/V 恰是已填比例。连续且严格增长时,可以从体积分位 u 还原到达时刻 t = q⁻¹(u)。如果实际进入并占据这段腔体的净几何体积速率恒定,才得到 t = T_end u。浇口输入的体积流量、料筒排量与这一速率的对应关系取决于体积定义、材料压缩和控制段。离散时间标签可能成批并列,对应分位区间 [F(T⁻), F(T)]。 + +两个独立反例。若 q(t)=(t/T_end)²,排序完全正确,在半体积分位处真实时刻约为 0.707 T_end,线性映射给出 0.5 T_end。若全腔严格恒流,但评价域恰好只保留先填的一半体积,在该域的末端,域内分位已经达到 1,实际时刻仅为 0.5 T_end。第二个反例说明,受限域上真实顺序的映射误差可以很大,即便全腔物理假设严格成立。 + +Greif 等 §2 写明 Moldflow 按几何自动选择浇口流量,§3.2–3.3 用杆和中心浇口圆盘的恒流情形说明相对流动体积,式 (10) 在全域积分,式 (17) 用 V/Q 恢复秒。体积分位思路已有直接先例。可进一步考察的是用预测的顺序替换原来的流动距离时,对未见制件是否有可重复的改进。Autodesk 的 3D 说明将自动注射时间列在 Fill log 的 Filling control 下。S2 的 v0.6 核对了 624 份日志设置头,本轮证据尚不足以给出每件净已填体积曲线的线性偏差。 + +[Greif 等,式 (10)、(17)](https://doi.org/10.1016/j.compositesa.2024.108340) · [Autodesk,3D Automatic injection time](https://help.autodesk.com/cloudhelp/2018/ENU/MoldflowInsight-WhatsNew/files/GUID-7379551D-7E43-4A83-AFCF-3F53377D5E85.htm) + +## 2. S2 查询能识别什么 + +以四面体节点的集总体积为有限离散测度;它与连续体积分之间还有空间离散误差。S2 在 d>0 的节点上按集总体积有放回抽 2000 次,再按冻结资格过滤。令 A 为合格域,K 为保留的抽样槽数,cᵢ 为同一节点被保留的次数。对固定排序分数 s,右连续经验分布为 F̂_A(z)=Σᵢ cᵢ 1[sᵢ≤z]/K。使用不同节点 ID 时只乘一次 cᵢ;使用展开的槽时每槽一票。再乘节点体积会重复加权。K=0 时未定义。 + +令 α 为 A 占全件离散体积的比例;若只有抽样估计,则 α̂=(M₊/M_all) K/2000。K/2000 的分母只覆盖 d>0 的抽样总体。全件分布满足 F=αF_A+(1−α)F_out。因此已知 α、F_A 时,每个阈值上的全域分位落在 [αF_A, αF_A+1−α]。该区间只刻画域外信息缺失;抽样和空间离散误差另计。α 大小需要用质量口径报告,不能用抽中的不同节点占总节点数的比例替代。 + +对在抽样前固定的分数场和掩码,在独立有放回抽样假设下,条件于 K>0 的给定值,右连续经验分布的单件 95% DKW 半宽为 √(log(40)/(2K))。即使 K=2000 也约为 0.0304,单位是分位。这既不是单次冻结抽样的确定误差,也不能直接换算成相对 L2。若分数依赖本件抽到哪些查询点,需要另证独立性。若用中秩处理并列,记录并列组质量并对各臂用同一约定。 + +## 3. 短合同可直接采用的比较 + +- 给未见制件输出秒时,采用 T̂=t_set × c_fold × F̂_A(s)。t_set 是该件求解前可取得的工艺设定,c_fold 是无量纲比值;其估计量、训练件权重及训练终点的定义在看测试结果前固定。实际全件结束时间、合格查询上的最大 T 与设定值是三个不同的量,前两者均须标明来源。 +- 真顺序配训练尺度,以及真顺序配该测试件真实全件终点,分别列作事后诊断。若只持有查询最大值,就以查询最大值命名。能作为候选预测器的是固定 R2/N/B0 分数的重映射,全程仅使用求解前可用信息,到评分才读测试真值。 +- 与原 R2 在同一域、抽样次数、工艺输入、折和组权重下配对评分。预先写清楚 7.3% 附近如何判定及并列规则。真顺序诊断不佳时,能否定当前掩码、尺度和线性映射的组合;物理原因仍需全域到达场的体积曲线或独立的已填体积历史来判别。真顺序诊断好时,仍需预测顺序的结果超过原基准,才能声称有可用改进。 +- 对同一批节点应用保序映射保留原有顺序和并列,在同一规则下不会移动最后填充点。若目标是改善最后填充位置,需要改变预测顺序。S3-A 独立推进。 + +[Claude 固定决策记录](https://gitea.frank14f.online/Frank14f/MeltMind/src/commit/72ff4fdc4af19461a7d1963ed158d4937180347c/docs/claude/stage-decision-record-S2-2026-11-15.md) + diff --git a/docs/naive-ordering-contract-2026-11-15.md b/docs/naive-ordering-contract-2026-11-15.md new file mode 100644 index 000000000..081988458 --- /dev/null +++ b/docs/naive-ordering-contract-2026-11-15.md @@ -0,0 +1,50 @@ +# 顺序—体积映射诊断合同(结果知情的后续探索) + +**这是已知S2结果后的探索,不是新确认性测试。** 最新裁量为Claude [1794733619.697459](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794733619697459),其前序[1794733395.244139](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794733395244139)明确批准一次617件完整节点Fill_time托管解码;新裁量允许合同固定后实现和启动,不再等主审。本合同及源码在任何实际解码/新距离计算前Git固定。S3-A原队列独立运行,不改变其代码、预算或任务。 + +## 已汇总证据与纠正 + +实读Mold的[完整数学评审](https://drive.google.com/file/d/11OWZYGMz9SUsnsmsPbm57dhMioF2ooyt/view),实际文本快照为`docs/mold-route-a-review-2026-11-15.md`;并实读Grok1794733218原文定点复核及Claude1794733255/1794733395/1794733619整合。既有S2、D1–D4不重复运行。 + +源码`tools/s2_models/features.py`证实:S2的Df已经是边代价length/mean(Dw)的tet-edge Dijkstra,Vf已经是含d=0节点质量的全tet节点集总体积严格CDF。因此f=Dw的fallback就是现有B0,**复用Df/Vf,不重解算,也不把重复实现叫新物理输入**。R2与原B0的既有差距仍存在。真正eikonal-vs-Dijkstra的问题本次不检验、不开发fast-marching求解器,保留为低优先级开放问题。原R2为Gre24风格图近似,不声称精确复现tetFIM。 + +研究问题是:同样的工艺输入、查询域和组件划分下,顺序加体积映射能否解释原误差或提供可用改善?字段误差不保证浇口方案排序;双浇口验收需要原数据不具备的配对CAE,留给后续阶段,不在本合同新增计算。 + +## 全节点托管与两种域 + +固定617件名单、原tet节点/原VTU ID映射、五折及25/50/100%嵌套learning池。每件只解码一次原VTU的整个PointData Fill_time,原数组先保存,记录原VTU节点数和保留tet节点数,且在S2共同query上逐值核对旧缓存。原S2解码/预测/失败保持不变;不读取其他标签场、不重训任何模型。 + +`T_end_full=max(Fill_time)`取原VTU完整场,不是query最大值。另报保留tet域T_end、query最大值、原VTU与tet终点差和不在tet体积域的原VTU节点数。CDF质量域始终是保留tet节点的集总体积,包含d=0质量,区别于连续体精确积分;全VTU终点与tet域终点不一致时如实展示,不静默替换。完整原场任何非有限/负Fill_time、索引错误或零终点使该件失败,原缓存保留且不重试。所有617件准备PASS才进入尺度和评分,避免以缺件悄悄改变训练尺度或名单。 + +全域CDF:以正的tet节点lumped volume为权重。条件查询CDF:固定S2 PPS的合格去重ID,每ID只计一次multiplicity;展开槽等权,不再乘节点体积。所有新线性映射取严格`F<(s)`,与原Vf一致;同时保存并列质量区间`[F<,F≤]`,不打破并列或把末分位强行归一为1。 + +每件报告K、原2000槽、M+/Mall,以及**估计**alpha_hat=(M+/Mall)K/2000。实际未知alpha与真正F_A满足F_full∈[alpha F_A,alpha F_A+1−alpha];实际输出的alpha_hat和经验CDF区间只是插件估计,不能叫精确全域界或置信界。K/2000只相对于d>0抽样总体;不同节点数比例不替代体积。Mold的sqrt(log40/(2K))只记录为“固定场/固定掩码且独立有放回PPS条件成立时”的单件CDF理论半宽,不把它用于学习分数场的已认证区间,不换成L2误差保证。 + +## 秒制、固定比较和新距离 + +每fold×learning pool的无量纲c固定为:先在每组件内等权平均该learning件的`T_end_full/t_set`,再组件等权平均;只使用该池原learning件,不使用validation/test,不优化评分,不选择c。原始全场先托管;随后保存尺度的逐件角色访问清单及哈希,冻结15个c,再生成任何新测试映射。各新臂共享`T_hat=t_set*c*F<`。 + +| 行 | 排序与体积域 | 秒制 | 性质 | +|---|---|---|---| +|ORACLE_FULL_TRAIN|真实顺序、全tet体积|t_set*c*F<|事后oracle,主诊断| +|ORACLE_FULL_END|真实顺序、全tet体积|该件真实T_end_full*F<|事后oracle,不可部署| +|ORACLE_MASK_TRAIN|真实query顺序、PPS条件域|t_set*c*F<|域/尺度/映射组合诊断| +|REORDER_R2/N/E/B0|各原冻结预测排序、PPS条件域|t_set*c*F<|固定模型的候选后处理| +|B0_DW1_CLOCK|复用原Df/Vf、全tet体积|t_set*c*Vf|仅尺度变换,**不是新距离**| +|B0_DW2_CLOCK|新增Dw² Dijkstra、全tet体积|t_set*c*F<|次要近似距离臂| + +所有行按原fold/pool/source seed分别生成;N/E沿固定3seed,原失败不补齐,50% N的缺失仍导致对应不完整组件排除。B0本身原预测无pool,但重映射因c不同按15格分别记录。原R2各池逐件分数直接复用作对照,不重拟合或重计原评分。 + +唯一新距离解算:既有tet edges与原坐标;浇口选欧氏最近tet节点、平手原ID最小;边中点Dw取两端线性均值,再平方,cost=length/((Dw_i+Dw_j)/2)^2,不是mean(Dw²)。两端Dw均0则中点速度0,该边代价无穷/不建边;不加epsilon,不删除节点/节点质量,不新增图边。全部tet节点均须可达且结果有限,否则该件失败。f=Dw列复用旧Df并逐节点验证其严格CDF与旧Vf一致(最大绝对差≤1e-12);在共同query上核对未缩放t_set*Vf与原B0预测。无其他指数、无求解器调参。 + +每件另保存全体积真实T—F曲线:固定体积分位0,.01,…,1,以右连续CDF的广义逆定义对应秒数,并保留秒、T/t_set、T/T_end_full三种显示。跨件只报等件权重median/p10/p90,非独立样本推断。另报真实T/T_end到[F<,F≤]并列区间的最大距离;它是离散场诊断,不把自动流量控制直接当每段净腔体恒流实证。 + +## 评分、判断与停止 + +先冻结完整预测名单/哈希与尺度,再使用原S2 query缓存评分;所有新预测的case/fold/pool/seed名单须与固定原模型集精确匹配。原relativeL2、near-wall、Kendall、last-location及组件/件/seed等权不变,multiplicity只一次。每比较按双方所有件/固定seed齐全的组件配对,bootstrap2000、seed2026111408、percentile linear、六区表m=.1;原not-known-exposed522成员按件过滤与主分析有效性规则沿用。记录各臂/各比较排除的件、节点、组件与原因。 + +各路线全部为探索性读数,不能择优改称确认性主结果。“接近R2”预先限定为描述性95% Δ区间整体落在[-.1,.1],不称严格等效检验;oracle显著低于R2只支持这个诊断构造,不证明可用学习顺序;候选后处理的Δ下界>0表示固定条件下正改善,下界>.1才满足原实用margin。差的masked oracle仅否定域/尺度/线性组合,不能单独否定恒流。保序重映射必须保留τ与最后填充点;运行中与原指标核对,差异即停止评分,不宣称这两指标改善。 + +独立总预算≤10 worker CPU-h:准备(完整场一次解码、Dw²、全域CDF/曲线)≤8h,尺度/映射/评分合计预留≤2h。最多4单线程worker,CPU16/18/20/22、协调器28/29,与S3-A已固定CPU分离;无GPU。每件≤180 CPU-s/600 wall-s/4GiB树RSS/2GiB目录,总新目录≤20GiB。第一件单独运行,以总worker CPU×(1+1.25×616)估计全批,须≤8h才继续4worker;这只是成本检查点,不是新用户审批。加载、解码、失败、新距离、映射及评分计worker账,guard/coordinator另报;下一任务先预留在途与新任务完整上限。超限、首件失败、缺回执或全局监测异常停止;零重试,不重复custody。任何未完成/失败完整保留,不伪造617完成。 + +本合同只批准上述一次诊断;S3-B、真实eikonal求解器、新材料/控制程序、浇口CAE或O1训练都未启动。结果后回到Claude领队的阶段回顾,结合实测重读相关文献并比较尚未考虑的方向。 diff --git a/tools/naive_ordering_common.py b/tools/naive_ordering_common.py new file mode 100644 index 000000000..3622fb0e6 --- /dev/null +++ b/tools/naive_ordering_common.py @@ -0,0 +1,21 @@ +"""Independent bounded batch input verification; never touches S3-A sources.""" +from pathlib import Path +from freeze_g1_components import sha +from s2_custody_common import read_json, checked + + +def contract(root): + root = Path(root) + c = read_json(root/'contract.json') + for p,h in {**c['code_sha256'],**c['source_sha256']}.items(): + checked(p,h) + frozen = read_json(root/'code-freeze.json') + if not frozen.get('git_commit') or frozen['contract_sha256'] != sha(root/'contract.json'): + raise ValueError('Naive-ordering contract/code must be fixed before any execution') + if c['latest_ruling'] != '1794733619.697459' or c['limits']['worker_cpu_seconds'] != 36000: + raise ValueError('Wrong custody authorization or budget') + return c + + +def rows(c): + return sorted((r for r in read_json(checked(c['roster'],c['roster_sha256']))['parts'] if r['included']),key=lambda r:r['case']) diff --git a/tools/naive_ordering_math.py b/tools/naive_ordering_math.py new file mode 100644 index 000000000..927310f4e --- /dev/null +++ b/tools/naive_ordering_math.py @@ -0,0 +1,84 @@ +"""Array-only ordering diagnostics; no learning, archives or test selection.""" +from collections import defaultdict +import numpy as np +from scipy.sparse import coo_matrix +from scipy.sparse.csgraph import dijkstra + + +def cdf_interval(scores, weights): + s = np.asarray(scores, dtype=np.float64) + w = np.asarray(weights, dtype=np.float64) + if s.ndim != 1 or s.shape != w.shape or not len(s) or not np.isfinite(s).all() or not np.isfinite(w).all() or np.any(w <= 0): + raise ValueError('CDF requires finite scores and positive weights') + order = np.argsort(s, kind='stable') + prefix = np.r_[0., np.cumsum(w[order])] + total = w.sum() + return prefix[np.searchsorted(s[order], s, side='left')]/total, prefix[np.searchsorted(s[order], s, side='right')]/total + + +def pps_cdf(scores, multiplicity): + counts = np.asarray(multiplicity, dtype=np.float64) + if not np.isfinite(counts).all() or np.any(counts != np.floor(counts)): + raise ValueError('PPS multiplicity must be an integer count, not node volume') + return cdf_interval(scores, counts) + + +def training_clock(rows, fold, pool, end_times): + """Component/part-equal mean of full VTU T_end / pre-solve t_set.""" + groups = defaultdict(list) + access = [] + for row in rows: + a = row['assignments'][fold] + if not row['included'] or a['role'] != 'learning' or str(pool) not in a['learning_pools']: + continue + # Do not substitute a query maximum or an available validation/test case. + end = end_times[row['case']] + ratio = end/row['preparation']['t_set'] + if not np.isfinite(ratio) or ratio <= 0: + raise ValueError('Invalid learning full-node end time') + groups[row['component_id']].append(float(ratio)) + access.append(dict(case=row['case'], role='learning', full_end_over_t_set=float(ratio))) + if not groups: + raise ValueError('Empty original learning pool') + return float(np.mean([np.mean(x) for x in groups.values()])), access + + +def squared_wall_distance(points, edges, dw, gate): + x = np.asarray(points, dtype=np.float64) + e = np.asarray(edges) + d = np.asarray(dw, dtype=np.float64) + g = np.asarray(gate, dtype=np.float64) + if x.shape != (len(d), 3) or e.ndim != 2 or e.shape[1] != 2 or e.dtype.kind not in 'iu' or g.shape != (3,): + raise ValueError('Geometry shape') + if not len(d) or not len(e) or e.min() < 0 or e.max() >= len(d) or not np.isfinite(x).all() or not np.isfinite(d).all() or np.any(d < 0): + raise ValueError('Invalid geometry/distance') + source = int(np.argmin(np.linalg.norm(x-g, axis=1))) + # Piecewise-linear D_w at edge midpoint, then square; NOT mean(D_w**2). + midpoint = d[e].mean(axis=1) + keep = midpoint > 0 + selected = e[keep] + cost = np.linalg.norm(x[selected[:,1]]-x[selected[:,0]], axis=1)/midpoint[keep]**2 + if not np.isfinite(cost).all() or np.any(cost <= 0): + raise ValueError('Invalid positive-edge costs; no epsilon floor') + graph = coo_matrix((np.tile(cost, 2), (np.r_[selected[:,0],selected[:,1]], np.r_[selected[:,1],selected[:,0]])), shape=(len(x),len(x))).tocsr() + out = dijkstra(graph, directed=False, indices=source) + if not np.isfinite(out).all(): + raise ValueError('Unreachable full tet node; keep failure, do not add zero-wall edges') + return out, source, int(np.count_nonzero(~keep)) + + +def volume_clock_curve(truth, mass, end_full, t_set): + t = np.asarray(truth, dtype=np.float64) + m = np.asarray(mass, dtype=np.float64) + left, right = cdf_interval(t, m) + if not np.isfinite([end_full,t_set]).all() or min(end_full,t_set) <= 0: + raise ValueError('Positive seconds scales required') + grid = np.linspace(0,1,101) + order = np.argsort(t,kind='stable') + cumulative = np.cumsum(m[order])/m.sum() + indices = np.minimum(np.searchsorted(cumulative,grid,side='left'),len(t)-1) + times = t[order[indices]] + gap = np.maximum(np.maximum(left-t/end_full,t/end_full-right),0.) + return dict(volume_quantiles=grid.tolist(),seconds=times.tolist(),over_t_set=(times/t_set).tolist(), + over_full_end=(times/end_full).tolist(),max_distance_from_linear_time_to_CDF_tie_interval=float(gap.max()), + max_tie_volume=float(np.max(right-left)),tet_end=float(t.max()),full_VTU_end=float(end_full)) diff --git a/tools/prepare_naive_ordering.py b/tools/prepare_naive_ordering.py new file mode 100644 index 000000000..3098de6e5 --- /dev/null +++ b/tools/prepare_naive_ordering.py @@ -0,0 +1,62 @@ +"""Freeze the corrected, explicitly authorized full-node diagnostic before execution.""" +import json +from pathlib import Path +import numpy as np +import scipy +from freeze_g1_components import sha +from s2_custody_common import checked,read_json +from s2_recovery_supervisor import save + +ROOT=Path('artifacts/naive-ordering-2026-11-15') + + +def main(): + if ROOT.exists():raise FileExistsError('Do not overwrite a naive-ordering batch') + base=Path('artifacts/s2-custody-evaluation-2026-11-15');s2=read_json(base/'contract.json') + for p,h in s2['code_sha256'].items():checked(p,h) + roster=read_json(checked(s2['roster'],s2['roster_sha256'])) + cases=sorted(r['case'] for r in roster['parts'] if r['included']) + assert len(cases)==617 + paths=set(s2['code_sha256'])|{str(p) for p in Path('tools').glob('*naive_ordering*.py')} + sources=[s2['roster'],s2['exposure_membership'],s2['models'],str(base/'contract.json'), + str(base/'custody/label-index.json'),str(base/'custody/part-scores.json'), + str(base/'prediction-index.json'),str(base/'predictions-complete.json'), + 'docs/naive-ordering-contract-2026-11-15.md','docs/mold-route-a-review-2026-11-15.md'] + c=dict(version='naive-ordering-corrected-v1',latest_ruling='1794733619.697459', + custody_ruling='1794733395.244139',direction_ruling='1794733255.090409', + main_review_complete=True,launch_authorized_after_freeze=True, + S2_root=str(base),S2_contract=str(base/'contract.json'),S2_contract_sha256=sha(base/'contract.json'), + roster=s2['roster'],roster_sha256=s2['roster_sha256'],cases=cases, + archive=s2['archive'],archive_stat=s2['archive_stat'], + label_index=str(base/'custody/label-index.json'),label_index_sha256=sha(base/'custody/label-index.json'), + prediction_index=str(base/'prediction-index.json'),prediction_index_sha256=sha(base/'prediction-index.json'), + original_part_scores=str(base/'custody/part-scores.json'),original_part_scores_sha256=sha(base/'custody/part-scores.json'), + exposure_membership=s2['exposure_membership'],exposure_membership_sha256=s2['exposure_membership_sha256'], + worker_cpus=[16,18,20,22],coordinator_cpus=[28,29], + limits=dict(worker_cpu_seconds=36000,preparation_cpu_seconds=28800,post_cpu_seconds=7200, + workers=4,part_cpu_seconds=180,part_wall_seconds=600,part_rss_bytes=4*2**30, + part_disk_bytes=2*2**30,disk_bytes=20*2**30,retries=0,GPU_seconds=0), + numpy_version=np.__version__,scipy_version=scipy.__version__, + full_decodes_authorized=617,full_decode_policy='Exactly one whole-VTU Fill_time array per part; immutable attempt; preserve S2 cache and validate all common IDs', + time_scale='Per fold and nested learning pool component/part-equal mean(full_VTU_T_end/t_set); shared all arms', + CDF='Strict< used for all new predictions; save[F<,F<=] per tie group', + full_volume='all retained tet node lumped volume including d=0', + conditional_volume='frozen PPS multiplicity once; no second node-volume weight', + alpha='estimate (M+/Mall)*K/2000; plugin intervals are not certified whole-domain bounds', + old_Dw_distance='Reuse original Df/Vf; verify CDF equivalence; no re-solve', + new_distance='Dw^2 only, edge midpoint interpolation then square; exclude zero-speed edges, no epsilon, retain every node/mass', + eikonal_vs_Dijkstra_tested=False,original_models_refitted=False, + training_clocks_frozen_before_maps=True,complete_prediction_manifest_before_score=True, + scopes=['full-volume true-order oracles','conditional reorders R2/N/E/B0','reused Dw clock-only','new Dw2 approximation','full-volume timing curves'], + statistics=dict(replicates=2000,seed=2026111408,margin=.1,pools=[25,50,100],six_region_unchanged=True, + baseline='Original R2 part scores reused',naive_close_band=[-.1,.1],oracle_rows_separate=True,confirmatory=False), + S3A_scope_unchanged=True,interpretation='Exploration after S2 results were known; not a fresh confirmatory test', + source_sha256={p:sha(p) for p in sources},code_sha256={p:sha(p) for p in sorted(paths)}) + ROOT.mkdir();save(ROOT/'contract.json',c) + save(ROOT/'prelaunch.json',dict(status='AUTHORIZED_FIXED_NOT_STARTED',contract_sha256=sha(ROOT/'contract.json'), + custody_decodes=0,new_distance_solves=0,new_fits=0,original_Dw_reused=True, + latest_ruling=c['latest_ruling'],full_decode_ruling=c['custody_ruling'])) + print(json.dumps(read_json(ROOT/'prelaunch.json'))) + + +if __name__=='__main__':main() diff --git a/tools/run_naive_ordering_analysis.py b/tools/run_naive_ordering_analysis.py new file mode 100644 index 000000000..200460da3 --- /dev/null +++ b/tools/run_naive_ordering_analysis.py @@ -0,0 +1,262 @@ +"""Frozen clocks, mapped predictions and diagnostic scoring; no model fitting.""" +import argparse +from collections import defaultdict +import json +import os +from pathlib import Path +import resource +import sys +import threading +import time +import numpy as np +import psutil +from freeze_g1_components import sha +from s2_custody_common import checked, read_json, prediction_inputs, expected_models, prediction_path +from s2_custody_statistics import part_metrics, component_values, contrast +from s2_recovery_supervisor import save, supervise, stop_group +from s2_recovery_monitoring import disk_usage +from naive_ordering_common import contract, rows +from naive_ordering_math import pps_cdf, training_clock + +ROUTES = {'R2': 'R2', 'ORACLE_FULL_TRAIN': 'R2', 'ORACLE_FULL_END': 'R2', + 'ORACLE_MASK_TRAIN': 'R2', 'B0_DW1_CLOCK': 'R2', 'B0_DW2_CLOCK': 'R2', + 'REORDER_R2': 'R2', 'REORDER_N': 'N', 'REORDER_E': 'E', 'REORDER_B0': 'R2'} + + +def validate_manifest(c,index): + original=read_json(checked(c['S2_contract'],c['S2_contract_sha256'])) + expected=set() + for row in rows(c): + fold=next(a['fold'] for a in row['assignments'] if a['role']=='test') + for pool in (25,50,100): + for arm in ('ORACLE_FULL_TRAIN','ORACLE_FULL_END','ORACLE_MASK_TRAIN','B0_DW1_CLOCK','B0_DW2_CLOCK'): + expected.add((row['case'],fold,pool,arm,None)) + for model in expected_models(original,fold): + if model['arm']=='B0' or model['pool']==pool: + expected.add((row['case'],fold,pool,'REORDER_'+model['arm'],model['seed'])) + actual=[(v['case'],v['fold'],v['pool'],v['arm'],v['seed']) for v in index.values()] + if len(actual)!=len(set(actual)) or set(actual)!=expected: + raise ValueError('Missing/extra/duplicate mapped predictions against frozen original model roster') + + +def prepared(root,c): + batch=read_json(root/'batch-complete.json') + if batch['status']!='ALL_PARTS_TERMINAL' or batch['passed']!=617 or batch['failed'] or not batch['accounting_complete']: + raise ValueError('All617 custody/geometry attempts must PASS; no silent calibration roster change') + if batch['contract_sha256']!=sha(root/'contract.json'):raise ValueError('Wrong preparation contract') + result={} + for job in batch['jobs']: + p=checked(job['result_path'],job['result_sha256']);r=read_json(p) + for name,digest in r['output_sha256'].items():checked(p.parent/name,digest) + result[r['case']] = (r,p.parent) + if set(result)!=set(c['cases']):raise ValueError('Missing/extra prepared part') + return result + + +def make_maps(root): + c=contract(root);parts=rows(c);prep=prepared(root,c) + if (root/'mapping-started.json').exists():raise FileExistsError('No repeat map phase') + save(root/'mapping-started.json',dict(unix=time.time(),pid=os.getpid(),contract_sha256=sha(root/'contract.json'))) + start=time.process_time() + original=read_json(checked(c['S2_contract'],c['S2_contract_sha256'])) + original_index=read_json(checked(c['prediction_index'],c['prediction_index_sha256'])) + ends={case:r['full_VTU_T_end'] for case,(r,_) in prep.items()} + clocks=[] + for fold in range(5): + for pool in (25,50,100): + value,access=training_clock(parts,fold,pool,ends) + clocks.append(dict(fold=fold,pool=pool,c=value,learning_access=access, + definition='mean across components of within-component mean(full_VTU_T_end/t_set)', + validation_or_test_used_for_scale=False)) + save(root/'training-clocks.json',clocks) + clock={(r['fold'],r['pool']):r['c'] for r in clocks} + save(root/'clock-freeze.json',dict(contract_sha256=sha(root/'contract.json'), + clocks_sha256=sha(root/'training-clocks.json'),batch_sha256=sha(root/'batch-complete.json'), + before_new_test_mapping=True)) + index={};counter=0;curves=[] + for row in parts: + case=row['case'];fold=next(a['fold'] for a in row['assignments'] if a['role']=='test') + meta,directory=prep[case];d=prediction_inputs(row) + with np.load(directory/'full-domain-maps.npz',allow_pickle=False) as z: + if not np.array_equal(z['raw_ids'][d['ids']],d['raw_ids']):raise ValueError('Full/query map order') + full={key:z[key][d['ids']].copy() for key in z.files if key!='raw_ids'} + with np.load(directory/'full-node-labels.npz',allow_pickle=False) as z: + truth=z['seconds'][d['raw_ids']].copy() + masked_left,masked_right=pps_cdf(truth,d['counts']) + def output(route,pool,seed,left,right,seconds,source=None): + nonlocal counter + tag=route+('' if seed is None else f'-seed{seed}') + path=root/'predictions'/str(fold)/str(pool)/tag/(case+'.npz') + path.parent.mkdir(parents=True,exist_ok=True) + if path.exists():raise FileExistsError('Duplicate mapped prediction') + extra={} + if route.startswith('REORDER_') or route=='ORACLE_MASK_TRAIN': + # These are plug-in estimates, not certified whole-domain bounds. + alpha=meta['estimated_alpha'] + extra=dict(estimated_domain_lower=alpha*left,estimated_domain_upper=alpha*right+1-alpha) + np.savez_compressed(path,seconds=seconds,raw_ids=d['raw_ids'],counts=d['counts'],F_left=left,F_right=right,**extra) + index[str(path)]=dict(sha256=sha(path),case=case,component_id=row['component_id'],fold=fold,pool=pool, + arm=route,seed=seed,source_prediction=source,oracle=route.startswith('ORACLE_'), + domain='conditional_PPS' if extra else 'full_tet_lumped_volume') + counter+=1 + for pool in (25,50,100): + scale=d['t_set']*clock[fold,pool] + output('ORACLE_FULL_TRAIN',pool,None,full['truth_left'],full['truth_right'],scale*full['truth_left']) + output('ORACLE_FULL_END',pool,None,full['truth_left'],full['truth_right'],meta['full_VTU_T_end']*full['truth_left']) + output('ORACLE_MASK_TRAIN',pool,None,masked_left,masked_right,scale*masked_left) + output('B0_DW1_CLOCK',pool,None,full['df1_left'],full['df1_right'],scale*full['df1_left']) + output('B0_DW2_CLOCK',pool,None,full['df2_left'],full['df2_right'],scale*full['df2_left']) + for model in expected_models(original,fold): + if model['arm']!='B0' and model['pool']!=pool:continue + p=prediction_path(Path(c['S2_root']),model,case) + with np.load(checked(p,original_index[str(p)]),allow_pickle=False) as z: + if not np.array_equal(z['raw_ids'],d['raw_ids']) or not np.array_equal(z['counts'],d['counts']):raise ValueError('Source prediction domain') + score=z['seconds'].copy() + left,right=pps_cdf(score,d['counts']);mapped=scale*left + old_last=d['raw_ids'][score==score.max()].min();new_last=d['raw_ids'][mapped==mapped.max()].min() + if old_last!=new_last:raise ValueError('Order-preserving map changed final location') + if model['arm']=='B0' and not np.allclose(score,d['t_set']*full['df1_left'],rtol=1e-12,atol=1e-12): + raise ValueError('Unscaled Dw fallback differs from frozen B0') + output('REORDER_'+model['arm'],pool,model['seed'],left,right,mapped,str(p)) + curves.append(dict(case=case,component_id=row['component_id'],**read_json(directory/'volume-clock-curve.json'))) + save(root/'mapping-progress.json',dict(completed_parts=len(curves),prediction_files=counter,CPU_s=time.process_time()-start)) + validate_manifest(c,index) + save(root/'prediction-index.json',index) + save(root/'volume-clock-curves.json',curves) + distribution={} + for field in ('seconds','over_t_set','over_full_end'): + values=np.array([r[field] for r in curves]) + distribution[field]=dict(median=np.median(values,axis=0).tolist(),p10=np.percentile(values,10,axis=0,method='linear').tolist(), + p90=np.percentile(values,90,axis=0,method='linear').tolist()) + save(root/'curve-summary.json',dict(part_count=len(curves),aggregation='part-equal descriptive median/p10/p90; no independent-sample inference', + volume_quantiles=curves[0]['volume_quantiles'],**distribution)) + save(root/'predictions-complete.json',dict(status='ALL_NAIVE_MAPS_FROZEN',contract_sha256=sha(root/'contract.json'), + code_freeze=read_json(root/'code-freeze.json'),prediction_index_sha256=sha(root/'prediction-index.json'), + clock_freeze_sha256=sha(root/'clock-freeze.json'),prediction_files=counter,CPU_s=time.process_time()-start, + full_decode_count=617,original_predictions_unchanged=True,new_model_fits=0)) + return 0 + + +def reports(scores,roster,members): + tables=[];contrasts=[];components=[] + for subset in ('all','not_known_exposed'): + for pool in (25,50,100): + primary={} + for route,alias in ROUTES.items(): + data=[dict(r,arm=alias) for r in scores if r['arm']==route] + for metric in ('relative_l2','near_wall','kendall_tau_b','last_location'): + values,excluded,details=component_values(data,roster,alias,pool,metric,subset!='all',members) + worst=max(values,key=values.get) if values and metric=='relative_l2' else None + tables.append(dict(subset=subset,pool=pool,arm=route,metric=metric, + mean=float(np.mean(list(values.values()))) if values else None,components=len(values), + parts=sum(details[k]['parts'] for k in values),nodes=sum(details[k]['nodes'] for k in values), + excluded_components=excluded,worst_component=dict(id=worst,value=values[worst]) if worst else None)) + components.extend(dict(subset=subset,pool=pool,arm=route,metric=metric,component_id=k,value=v,**details[k]) for k,v in values.items()) + if metric=='relative_l2':primary[route]=(values,details) + ref,details=primary['R2'] + for route,(candidate,cd) in primary.items(): + if route=='R2':continue + pair=set(ref)&set(candidate);excluded=sorted((set(details)|set(cd))-pair) + result=contrast(ref,candidate) + low,high=result.get('low'),result.get('high') + contrasts.append(dict(subset=subset,pool=pool,reference='R2',candidate=route, + oracle=route.startswith('ORACLE_'),exploratory=True,primary_confirmatory=False, + within_descriptive_10percent_band=low is not None and low>=-.1 and high<=.1, + included_folds=sorted({details[k]['fold'] for k in pair}),excluded_components=excluded, + excluded_parts=sum(details[k]['parts'] for k in excluded),excluded_nodes=sum(details[k]['nodes'] for k in excluded),**result)) + return tables,contrasts,components + + +def score_maps(root): + c=contract(root);roster=read_json(c['roster'])['parts'];by_case={r['case']:r for r in roster} + prepared(root,c) + proof=read_json(root/'predictions-complete.json') + if proof['status']!='ALL_NAIVE_MAPS_FROZEN' or proof['contract_sha256']!=sha(root/'contract.json'):raise ValueError('Mapping not frozen') + clock_proof=read_json(checked(root/'clock-freeze.json',proof['clock_freeze_sha256'])) + checked(root/'training-clocks.json',clock_proof['clocks_sha256']) + index=read_json(checked(root/'prediction-index.json',proof['prediction_index_sha256'])) + if len(index)!=proof['prediction_files']:raise ValueError('Manifest size') + validate_manifest(c,index) + for path,row in index.items():checked(path,row['sha256']) + dest=root/'scores';dest.mkdir(exist_ok=False) + start=time.process_time();save(dest/'started.json',dict(unix=time.time(),pid=os.getpid(),contract_sha256=sha(root/'contract.json'))) + originals=read_json(checked(c['original_part_scores'],c['original_part_scores_sha256'])) + original_lookup={(r['case'],r['arm'],r['pool'],r['seed']):r for r in originals} + scores=[r for r in originals if r['arm']=='R2'] + labels={r['case']:r for r in read_json(checked(c['label_index'],c['label_index_sha256']))} + grouped=defaultdict(list) + for path,item in index.items():grouped[item['case']].append((path,item)) + unchanged_last=0 + for case,items in sorted(grouped.items()): + d=prediction_inputs(by_case[case]);entry=labels[case] + with np.load(checked(entry['path'],entry['sha256']),allow_pickle=False) as z: + if not np.array_equal(z['raw_ids'],d['raw_ids']) or not np.array_equal(z['counts'],d['counts']):raise ValueError('Scoring cache domain') + truth=z['seconds'].copy() + for path,item in items: + with np.load(path,allow_pickle=False) as z: + if not np.array_equal(z['raw_ids'],d['raw_ids']) or not np.array_equal(z['counts'],d['counts']):raise ValueError('Mapped domain') + metrics=part_metrics(z['seconds'],truth,d['counts'],d['near_wall'],d['raw_ids'],d['coordinates_over_Rg'],case.split('_')[0]) + if item['arm'].startswith('REORDER_'): + source=item['arm'].removeprefix('REORDER_');pool=None if source=='B0' else item['pool'] + old=original_lookup[case,source,pool,item['seed']] + if metrics['last_location']!=old['last_location'] or metrics['kendall_tau_b']!=old['kendall_tau_b']: + raise ValueError('Reorder altered invariant last location or sampled tau') + unchanged_last+=1 + scores.append({k:item[k] for k in ('case','component_id','fold','pool','arm','seed')}|metrics) + members={p for f in read_json(checked(c['exposure_membership'],c['exposure_membership_sha256'])) for p in f['parts']} + tables,contrasts,components=reports(scores,roster,members) + save(dest/'part-scores.json',scores);save(dest/'tables.json',tables);save(dest/'contrasts.json',contrasts);save(dest/'component-scores.json',components) + save(dest/'result.json',dict(status='NAIVE_ORDERING_COMPLETE',headline='Exploration after S2 results were known; not a fresh confirmatory test', + no_model_training=True,new_full_custody_decodes=617,reorder_invariant_rows=unchanged_last, + eikonal_vs_Dijkstra_tested=False,Dw_distance_reused=True,only_new_distance_exponent=2, + CPU_s=time.process_time()-start,prediction_rows=len(index), + limitations=['Full discrete tet lumped-volume measure, not exact continuous cavity integration', + 'T_end_full is maximum over original VTU Fill_time; raw/tet/query maxima separately reported', + 'PPS conditional CDF and estimated alpha do not certify unobserved domain', + 'Oracle success does not establish usable learned ordering; poor masked oracle is not a standalone refutation of constant flow', + 'Reordering preserves final location and ties; no gate-ranking validation', + 'All comparisons exploratory; no new material/process generalization or O1 test'], + output_sha256={p.name:sha(p) for p in dest.glob('*.json')})) + return 0 + + +def guarded(root,phase): + c=contract(root);lim=c['limits'];batch=read_json(root/'batch-complete.json') + prepared(root,c) + spent=batch['worker_CPU_s'] + if phase=='score': + previous=read_json(root/'map-guard-result.json') + if previous['worker']['status']!='PASS':raise ValueError('Map phase did not PASS') + spent+=previous['worker']['cpu_seconds'] + phase_budget=min(5400 if phase=='map' else 7200,lim['worker_cpu_seconds']-spent, + lim['post_cpu_seconds']-(spent-batch['worker_CPU_s'])) + if phase_budget<=0:raise ValueError('No postprocess budget') + command=[sys.executable,__file__,str(root),phase,'--worker'] + done=threading.Event();reasons=[] + def watch(): + while not done.is_set(): + try: + if disk_usage(root)>lim['disk_bytes']:reasons.append('GLOBAL_DISK_LIMIT') + except Exception as exc:reasons.append('DISK_MONITOR_ERROR:'+str(exc)) + if reasons: + for child in psutil.Process().children(recursive=True): + try: + if child.cmdline()==command:stop_group(child.pid) + except psutil.NoSuchProcess:pass + done.wait(1) + os.sched_setaffinity(0,[c['worker_cpus'][0]]) + watcher=threading.Thread(target=watch,daemon=True);watcher.start() + try: + w=supervise(command,root/(phase+'-guard'),'worker',dict(total_cpu_seconds=phase_budget,job_cpu_seconds=phase_budget, + job_wall_seconds=10800,tree_rss_bytes=lim['part_rss_bytes'],disk_bytes=lim['disk_bytes'],max_processes=1),poll=.2) + finally:done.set();watcher.join(timeout=3) + if reasons:w.update(status='STOPPED_OR_FAILED',stop_reason=reasons[0]) + save(root/(phase+'-guard-result.json'),dict(worker=w,prior_worker_CPU_s=spent,cumulative_worker_CPU_s=spent+w['cpu_seconds'], + total_cap_CPU_s=lim['worker_cpu_seconds'],postphase_cap_CPU_s=lim['post_cpu_seconds'], + guard_CPU_s=sum(resource.getrusage(resource.RUSAGE_SELF)[:2]))) + return 0 if w['status']=='PASS' else 1 + + +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('root',type=Path);p.add_argument('phase',choices=['map','score']);p.add_argument('--worker',action='store_true');a=p.parse_args() + raise SystemExit((make_maps(a.root) if a.phase=='map' else score_maps(a.root)) if a.worker else guarded(a.root,a.phase)) diff --git a/tools/run_naive_ordering_part.py b/tools/run_naive_ordering_part.py new file mode 100644 index 000000000..506b947e0 --- /dev/null +++ b/tools/run_naive_ordering_part.py @@ -0,0 +1,108 @@ +"""One authorized full-node custody decode and D_w^2 graph approximation.""" +import argparse +import json +import os +from pathlib import Path +import time +import traceback +from zipfile import ZipFile +from xml.etree import ElementTree as ET +import numpy as np +from audit_samples import decode_array +from freeze_g1_components import sha +from s2_custody_common import checked, read_json +from s2_recovery_supervisor import save +from naive_ordering_common import contract, rows +from naive_ordering_math import cdf_interval, squared_wall_distance, volume_clock_curve + + +def decode_full(archive, case): + stack=[];count=None;header=None + with ZipFile(archive) as z,z.open(case+'_sim.vtu') as stream: + for event,e in ET.iterparse(stream,events=('start','end')): + if event=='start': + stack.append(e.tag) + if e.tag=='VTKFile': + if e.get('byte_order')!='LittleEndian' or e.get('compressor')!='vtkZLibDataCompressor': + raise ValueError('Unsupported source encoding') + header=e.get('header_type','UInt32') + elif e.tag=='Piece': + if count is not None:raise ValueError('Multiple pieces') + count=int(e.get('NumberOfPoints')) + else: + if e.tag=='DataArray': + if stack[-2]=='PointData' and e.get('Name')=='Fill_time': + values=decode_array(e,header) + if values.shape!=(count,):raise ValueError('Full-node label length') + return values.copy() + e.clear() + stack.pop() + raise ValueError('No Fill_time array') + + +def run(root, index): + c=contract(root);row=rows(c)[index];prep=row['preparation'];source=Path(prep['preparation_root']) + dest=root/'parts'/f'part-{index:03d}'/'output' + dest.mkdir(exist_ok=False) + start=time.monotonic();cpu=time.process_time() + save(dest/'started.json',dict(pid=os.getpid(),case=row['case'],index=index,unix=time.time(), + contract_sha256=sha(root/'contract.json'),custody_authorization=c['latest_ruling'])) + try: + for name in ['geometry.npz','r2.npz','queries.npz']:checked(source/name,prep['output_sha256'][name]) + metadata=read_json(checked(source/'result.json',prep['result_sha256'])) + if metadata['r2']['columns'][8]!='Dw':raise ValueError('Expected original wall-distance column') + with np.load(source/'geometry.npz',allow_pickle=False) as z: + x=z['points_raw'];edges=z['edges'];mass=z['node_volume_raw'];raw=z['raw_node_ids'];gate=z['gate_location_raw'] + with np.load(source/'r2.npz',allow_pickle=False) as z: + dw=z['features'][:,8];df1=z['Df'];vf=z['Vf'] + with np.load(source/'queries.npz',allow_pickle=False) as z: + mask=z['eligible_s2'];ids=z['anchor_ids'][mask];query_raw=z['raw_node_ids'][mask];counts=z['multiplicity'][mask] + if not np.array_equal(raw[ids],query_raw):raise ValueError('Query/raw-ID mismatch') + st=Path(c['archive']).stat();a=c['archive_stat'] + if (st.st_size,st.st_mtime_ns,st.st_ino)!=(a['bytes'],a['mtime_ns'],a['inode']):raise ValueError('Archive identity changed') + # Exactly once per immutable attempt; save raw bytes even if validation later fails. + full=decode_full(c['archive'],row['case']) + np.savez_compressed(dest/'full-node-labels.npz',seconds=full,retained_tet_raw_ids=raw) + save(dest/'decode-receipt.json',dict(case=row['case'],decoded_arrays=['Fill_time'],decode_count=1, + full_VTU_nodes=len(full),retained_tet_nodes=len(raw),label_sha256=sha(dest/'full-node-labels.npz'), + original_S2_query_decode_preserved=True,custody_authorization=c['latest_ruling'])) + if not np.isfinite(full).all() or np.any(full<0) or full.max()<=0:raise ValueError('Invalid full-node Fill_time; preserve raw cache, no retry') + if raw.ndim!=1 or np.any(np.diff(raw)<=0) or raw[0]<0 or raw[-1]>=len(full):raise ValueError('Full-node/tet indexing') + old={v['case']:v for v in read_json(checked(c['label_index'],c['label_index_sha256']))}[row['case']] + with np.load(checked(old['path'],old['sha256']),allow_pickle=False) as z: + if not np.array_equal(z['raw_ids'],query_raw) or not np.array_equal(z['counts'],counts) or not np.array_equal(z['seconds'],full[query_raw]): + raise ValueError('Full decode differs from immutable S2 query cache') + left1,right1=cdf_interval(df1,mass) + difference=float(np.max(np.abs(left1-vf))) + if difference>1e-12:raise ValueError('Existing B0 is not the expected full-volume strict D_w Dijkstra CDF') + save(dest/'progress.json',dict(stage='Dw_squared_graph',cpu_seconds=time.process_time()-cpu)) + df2,gate_node,zero_edges=squared_wall_distance(x,edges,dw,gate) + left2,right2=cdf_interval(df2,mass) + leftT,rightT=cdf_interval(full[raw],mass) + np.savez_compressed(dest/'full-domain-maps.npz',raw_ids=raw,truth_left=leftT,truth_right=rightT, + df1_left=left1,df1_right=right1,df2_left=left2,df2_right=right2) + end=float(full.max());tet_end=float(full[raw].max());query_end=float(full[query_raw].max()) + positive=float(mass[dw>0].sum()/mass.sum());K=int(counts.sum());alpha=positive*K/metadata['draw_slots'] + curve=volume_clock_curve(full[raw],mass,end,prep['t_set']) + save(dest/'volume-clock-curve.json',curve) + save(dest/'result.json',dict(status='COMPLETE',case=row['case'],index=index,component_id=row['component_id'], + t_set=prep['t_set'],full_VTU_T_end=end,full_tet_T_end=tet_end,query_T_max=query_end, + raw_nodes=len(full),tet_nodes=len(raw),zero_mass_excluded_VTU_nodes=len(full)-len(raw), + full_vs_tet_end_difference=end-tet_end,eligible_slots=K,draw_slots=metadata['draw_slots'], + positive_mass_fraction=positive,estimated_alpha=alpha,alpha_is_estimate=True, + DKW_halfwidth_if_fixed_score_independent_PPS=float(np.sqrt(np.log(40)/(2*K))), + baseline_Dw_Vf_max_abs_difference=difference,Dw_solve_reused=True,Dw2_solver='tet-edge Dijkstra approximation', + zero_midpoint_edges_excluded=zero_edges,gate_node=gate_node, + cpu_seconds=time.process_time()-cpu,wall_seconds=time.monotonic()-start, + output_sha256={p.name:sha(p) for p in dest.glob('*') if p.is_file() and p.name not in ['progress.json']}, + no_training=True,no_GPU=True,decode_count=1)) + return 0 + except Exception as exc: + save(dest/'failure.json',dict(type=type(exc).__name__,message=str(exc),traceback=traceback.format_exc(), + cpu_seconds=time.process_time()-cpu,wall_seconds=time.monotonic()-start,retry=False)) + raise + + +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('root',type=Path);p.add_argument('index',type=int);a=p.parse_args() + raise SystemExit(run(a.root,a.index)) diff --git a/tools/run_naive_ordering_queue.py b/tools/run_naive_ordering_queue.py new file mode 100644 index 000000000..504264ca8 --- /dev/null +++ b/tools/run_naive_ordering_queue.py @@ -0,0 +1,128 @@ +"""Separate CPU-only full-node custody queue, bounded independently of S3-A.""" +import argparse +import fcntl +import json +import math +import os +from pathlib import Path +import resource +import signal +import subprocess +import sys +import time +import traceback +from freeze_g1_components import sha +from s2_custody_common import read_json, checked +from s2_recovery_supervisor import save, supervise, tree_usage +from s2_recovery_monitoring import disk_usage, Monitor, budget_reason +from run_s2_pilot_preparation import terminate +from naive_ordering_common import contract + + +def guard(root,index,slot): + c=contract(root);lim=c['limits'];os.sched_setaffinity(0,[c['worker_cpus'][slot]]) + dest=root/'parts'/f'part-{index:03d}';dest.mkdir(parents=True,exist_ok=True) + w=supervise([sys.executable,'tools/run_naive_ordering_part.py',str(root),str(index)],dest,'worker', + dict(total_cpu_seconds=lim['part_cpu_seconds']+1,job_cpu_seconds=lim['part_cpu_seconds'], + job_wall_seconds=lim['part_wall_seconds'],tree_rss_bytes=lim['part_rss_bytes'],disk_bytes=lim['part_disk_bytes'],max_processes=1),poll=.2) + result=dest/'output/result.json' + if w['status']=='PASS' and (not result.exists() or read_json(result)['status']!='COMPLETE'): + w.update(status='STOPPED_OR_FAILED',stop_reason='MISSING_COMPLETE_RESULT') + save(dest/'guard-result.json',dict(index=index,case=c['cases'][index],worker=w, + guard_CPU_s=sum(resource.getrusage(resource.RUSAGE_SELF)[:2]), + result_path=str(result) if result.exists() else None,result_sha256=sha(result) if result.exists() else None)) + return 0 if w['status']=='PASS' else 1 + + +def run(root): + with (root/'batch.lock').open('a') as lock: + fcntl.flock(lock,fcntl.LOCK_EX|fcntl.LOCK_NB) + return run_locked(root) + + +def run_locked(root): + c=contract(root);lim=c['limits'];total=len(c['cases']) + if (root/'batch-started.json').exists():raise FileExistsError('Never repeat a custody batch/part') + os.sched_setaffinity(0,c['coordinator_cpus']) + start=time.monotonic();save(root/'batch-started.json',dict(pid=os.getpid(),unix=time.time(), + contract_sha256=sha(root/'contract.json'),code_freeze=read_json(root/'code-freeze.json'))) + monitor=Monitor(root/'monitor-errors.jsonl');active={};done=[];cursor=0;reason=None;checked_first=False;accounting=True + live=mem=disk=0 + env=dict(os.environ,OMP_NUM_THREADS='1',MKL_NUM_THREADS='1',OPENBLAS_NUM_THREADS='1',NUMEXPR_NUM_THREADS='1',CUDA_VISIBLE_DEVICES='') + def interrupted(*_): + nonlocal reason + reason='NAIVE_COORDINATOR_INTERRUPTED' + signal.signal(signal.SIGTERM,interrupted);signal.signal(signal.SIGINT,interrupted) + def stop():terminate({k:(v['proc'],v['log']) for k,v in active.items()}) + def collect(): + nonlocal reason,accounting + for slot,item in list(active.items()): + code=item['proc'].poll() + if code is None:continue + p=root/'parts'/f"part-{item['index']:03d}"/'guard-result.json' + if not p.exists(): + reason='MISSING_GUARD_RECEIPT';accounting=False + save(root/'infrastructure-stop.json',dict(index=item['index'],returncode=code,reason=reason,accounting_complete=False)) + else: + receipt=read_json(p) + if receipt['index']!=item['index'] or not math.isfinite(receipt['worker']['cpu_seconds']) or receipt['worker']['cpu_seconds']<0:raise ValueError('Receipt mismatch') + if receipt.get('result_path'):checked(receipt['result_path'],receipt['result_sha256']) + done.append(receipt) + print(json.dumps(dict(event='NAIVE_PART_TERMINAL',index=item['index'],status=receipt['worker']['status'],completed=len(done))),flush=True) + item['log'].close();del active[slot] + try: + while active or (cursorlim['preparation_cpu_seconds']: + if not active:reason='INSUFFICIENT_REMAINING_PART_CAP' + break + slot=next(k for k in range(lim['workers']) if k not in active) + dest=root/'parts'/f'part-{cursor:03d}';dest.mkdir(parents=True,exist_ok=True);log=(dest/'guard.log').open('x') + p=subprocess.Popen([sys.executable,__file__,str(root),'--guard',str(cursor),'--slot',str(slot)],env=env, + stdout=log,stderr=subprocess.STDOUT,start_new_session=True) + active[slot]=dict(proc=p,log=log,index=cursor,cpu_peak=0.);cursor+=1 + save(root/'progress.json',dict(completed=len(done),active={str(k):v['index'] for k,v in active.items()},next_index=cursor, + worker_CPU_s=spent,live_guard_and_worker_CPU_s=live,RSS=mem,disk_bytes=disk,first_checked=checked_first, + stop_reason=reason,monitor_errors=monitor.errors,fresh_accounting=fresh,elapsed_seconds=time.monotonic()-start)) + if active or not fresh:time.sleep(.5) + except Exception as exc: + reason='COORDINATOR_EXCEPTION' + save(root/'coordinator-failure.json',dict(type=type(exc).__name__,message=str(exc),traceback=traceback.format_exc())) + finally: + stop() + for item in active.values():item['proc'].wait() + collect() + complete=reason is None and len(done)==total and accounting + passed=sum(r['worker']['status']=='PASS' for r in done) + save(root/'batch-complete.json',dict(status='ALL_PARTS_TERMINAL' if complete else 'NAIVE_PREPARATION_INCOMPLETE', + stop_reason=reason,accounting_complete=accounting,jobs=done,passed=passed,failed=len(done)-passed, + not_run_indices=[i for i in range(total) if i not in {r['index'] for r in done}], + worker_CPU_s=sum(v['worker']['cpu_seconds'] for v in done),guard_CPU_s=sum(v['guard_CPU_s'] for v in done), + coordinator_CPU_s=sum(resource.getrusage(resource.RUSAGE_SELF)[:2]),wall_seconds=time.monotonic()-start, + monitor_errors=monitor.errors,contract_sha256=sha(root/'contract.json'),retry=False)) + return 0 if complete and passed==total else 1 + + +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('root',type=Path);p.add_argument('--guard',type=int);p.add_argument('--slot',type=int);a=p.parse_args() + raise SystemExit(guard(a.root,a.guard,a.slot) if a.guard is not None else run(a.root)) diff --git a/tools/test_naive_ordering.py b/tools/test_naive_ordering.py new file mode 100644 index 000000000..26164c79e --- /dev/null +++ b/tools/test_naive_ordering.py @@ -0,0 +1,190 @@ +"""Synthetic mathematical/custody/queue checks; no real dataset decode or solve.""" +import io +import json +from pathlib import Path +import tempfile +import unittest +from unittest.mock import patch +from zipfile import ZipFile +import numpy as np +from freeze_g1_components import sha +from s2_custody_common import read_json +from naive_ordering_math import cdf_interval,pps_cdf,training_clock,squared_wall_distance,volume_clock_curve +import run_naive_ordering_part as part +import run_naive_ordering_queue as queue +import run_naive_ordering_analysis as analysis +from s2_models.features import R2_COLUMNS + + +class Checks(unittest.TestCase): + def test_CDF_strict_and_right_ties_mass_counted_once(self): + left,right=cdf_interval([3,1,3],[2,1,1]) + np.testing.assert_array_equal(left,[.25,0,.25]);np.testing.assert_array_equal(right,[1,.25,1]) + a,b=pps_cdf([3,1,3],[2,1,1]);np.testing.assert_array_equal(a,left) + expanded=np.repeat([3,1,3],[2,1,1]);el,_=pps_cdf(expanded,np.ones(4)) + np.testing.assert_array_equal(el,[.25,.25,0,.25]) + + def test_invalid_PPS_or_empty_CDF_rejected(self): + for s,w in [([],[]),([1],[0]),([np.nan],[1]),([1],[np.inf])]: + with self.assertRaises(ValueError):cdf_interval(s,w) + with self.assertRaises(ValueError):pps_cdf([1,2],[.2,.8]) + + def test_conditional_CDF_differs_under_full_constant_flow(self): + full,_=cdf_interval([1,2,3,4],[1,1,1,1]);masked,_=pps_cdf([1,2],[1,1]) + np.testing.assert_array_equal(full[:2],[0,.25]);np.testing.assert_array_equal(masked,[0,.5]) + alpha=.5 + self.assertTrue(np.all((full[:2]>=alpha*masked)&(full[:2]<=alpha*masked+1-alpha))) + # K/2000 alone is not total-cavity eligible mass when M+ is only0.4. + self.assertEqual(.4*1000/2000,.2) + + def test_c_is_component_part_equal_learning_only(self): + def row(k,g,role):return dict(case=k,component_id=g,included=True,assignments=[dict(role=role,learning_pools=['100'])],preparation=dict(t_set=2.)) + rows=[row('a','A','learning'),row('b','A','learning'),row('c','C','learning'),row('v','V','validation'),row('t','T','test')] + c,access=training_clock(rows,0,100,dict(a=2.,b=6.,c=10.)) + self.assertEqual(c,3.5);self.assertEqual({r['case'] for r in access},set('abc')) + with self.assertRaises(KeyError):training_clock(rows,0,100,dict(a=2.,b=6.)) + + def test_Dw2_is_square_of_midpoint_not_mean_of_squares(self): + out,source,excluded=squared_wall_distance([[0,0,0],[1,0,0],[2,0,0]],[[0,1],[1,2]],[0,2,4],[0,0,0]) + np.testing.assert_allclose(out,[0,1,1+1/9]);self.assertEqual(source,0);self.assertEqual(excluded,0) + with self.assertRaisesRegex(ValueError,'Unreachable'): + squared_wall_distance([[0,0,0],[1,0,0],[2,0,0]],[[0,1],[1,2]],[0,0,2],[0,0,0]) + + def test_order_and_final_ties_preserved(self): + s=np.array([-3.,1.,1.,9.]);ids=np.array([4,2,1,7]);left,_=pps_cdf(s,[1,2,3,1]);mapped=3.7*left + self.assertEqual(ids[s==s.max()].min(),ids[mapped==mapped.max()].min()) + np.testing.assert_array_equal(np.sign(s[:,None]-s),np.sign(mapped[:,None]-mapped)) + + def test_curve_records_full_end_distinct_from_tet_max(self): + d=volume_clock_curve([0,.4,.8],[1,1,1],1.2,2.) + self.assertEqual(d['tet_end'],.8);self.assertEqual(d['full_VTU_end'],1.2) + self.assertEqual(d['seconds'][-1],.8);self.assertAlmostEqual(d['over_full_end'][-1],2/3) + + def test_one_full_decode_cache_identity_and_no_duplicate_attempt(self): + with tempfile.TemporaryDirectory() as temp: + root=Path(temp);source=root/'source';source.mkdir();(root/'parts/part-000').mkdir(parents=True) + x=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1.]]) + edges=np.array([[0,1],[0,2],[0,3],[1,2],[1,3],[2,3]]) + np.savez(source/'geometry.npz',points_raw=x,edges=edges,node_volume_raw=np.ones(4),raw_node_ids=np.arange(4),gate_location_raw=x[0]) + features=np.zeros((4,20));features[:,8]=[0,1,1,1] + np.savez(source/'r2.npz',features=features,Df=[0,2,2,2],Vf=[0,.25,.25,.25]) + np.savez(source/'queries.npz',eligible_s2=[True]*3,anchor_ids=[1,2,3],raw_node_ids=[1,2,3],multiplicity=[1,2,1]) + (source/'result.json').write_text(json.dumps(dict(r2=dict(columns=list(R2_COLUMNS)),draw_slots=4))) + full=np.array([0.,.2,.4,.8,1.2]);old=root/'old.npz';np.savez(old,seconds=full[[1,2,3]],raw_ids=[1,2,3],counts=[1,2,1]) + labels=root/'labels.json';labels.write_text(json.dumps([dict(case='case',path=str(old),sha256=sha(old))])) + archive=root/'archive.zip' + with ZipFile(archive,'w') as z:z.writestr('case_sim.vtu','x') + st=archive.stat();(root/'contract.json').write_text('{}') + c=dict(archive=str(archive),archive_stat=dict(bytes=st.st_size,mtime_ns=st.st_mtime_ns,inode=st.st_ino),label_index=str(labels),label_index_sha256=sha(labels),latest_ruling='synthetic') + prep=dict(preparation_root=str(source),t_set=1.,output_sha256={n:sha(source/n) for n in ['geometry.npz','r2.npz','queries.npz']},result_sha256=sha(source/'result.json')) + row=dict(case='case',component_id='A',preparation=prep) + with patch.object(part,'contract',return_value=c),patch.object(part,'rows',return_value=[row]),patch.object(part,'decode_array',return_value=full) as decode: + self.assertEqual(part.run(root,0),0) + with self.assertRaises(FileExistsError):part.run(root,0) + self.assertEqual(decode.call_count,1) + r=read_json(root/'parts/part-000/output/result.json') + self.assertEqual(r['full_VTU_T_end'],1.2);self.assertEqual(r['full_tet_T_end'],.8);self.assertEqual(r['query_T_max'],.8) + self.assertEqual(r['baseline_Dw_Vf_max_abs_difference'],0.) + self.assertEqual(r['raw_nodes'],5);self.assertEqual(r['tet_nodes'],4) + + def test_neural_route_keeps_three_seeds_and_original_missing_mask(self): + roster=[dict(case='a',component_id='A',included=True,nodes=10,exposure=dict(development_exposed=False),assignments=[dict(fold=0,role='test')])] + def row(arm,seed):return dict(case='a',arm=arm,pool=100,seed=seed,**{k:dict(value=.2,reason=None) for k in ['relative_l2','near_wall','kendall_tau_b','last_location']}) + data=[row('R2',None),row('REORDER_N',0),row('REORDER_N',1)] + tables,contrasts,_=analysis.reports(data,roster,{'a'}) + r=next(x for x in contrasts if x['subset']=='all' and x['pool']==100 and x['candidate']=='REORDER_N') + self.assertEqual(r['components'],0) + data.append(row('REORDER_N',2));_,contrasts,_=analysis.reports(data,roster,{'a'}) + r=next(x for x in contrasts if x['subset']=='all' and x['pool']==100 and x['candidate']=='REORDER_N') + self.assertEqual(r['components'],1) + + def test_synthetic_mapping_scoring_and_exact_manifest_end_to_end(self): + from s2_custody_common import prediction_path + from s2_custody_statistics import part_metrics + with tempfile.TemporaryDirectory() as temp: + root=Path(temp);old=root/'old';old.mkdir();case='00000001_case' + (root/'contract.json').write_text('{}');(root/'code-freeze.json').write_text('{}');(root/'batch-complete.json').write_text('{}') + s2=old/'contract.json';s2.write_text('{}') + row=dict(case=case,component_id='A',included=True,nodes=3,exposure=dict(development_exposed=False), + assignments=[dict(fold=f,role='test' if f==0 else 'learning',learning_pools=['25','50','100']) for f in range(5)]) + roster=root/'roster.json';roster.write_text(json.dumps(dict(parts=[row]))) + truth=np.array([1.,2.,4.]);raw=np.arange(3);counts=np.array([1,2,1]);left=np.array([0.,1/3,2/3]);right=left+1/3 + d=dict(ids=raw,raw_ids=raw,counts=counts,t_set=4.,near_wall=np.array([True,False,True]),coordinates_over_Rg=np.array([[0,0,0],[1,0,0],[2,0,0]])) + prepared=root/'part';prepared.mkdir() + np.savez(prepared/'full-domain-maps.npz',raw_ids=raw,truth_left=left,truth_right=right,df1_left=left,df1_right=right,df2_left=left,df2_right=right) + np.savez(prepared/'full-node-labels.npz',seconds=truth) + (prepared/'volume-clock-curve.json').write_text(json.dumps(volume_clock_curve(truth,np.ones(3),4.,4.))) + models=[] + for pool in [25,50,100]: + for arm in ['R2','N','E']: + for seed in ([None] if arm=='R2' else [0,1,2]): + models.append(dict(fold=0,pool=pool,arm=arm,seed=seed,name=f'{arm}-{pool}-{seed}')) + models.append(dict(fold=0,pool=None,arm='B0',seed=None,name='B0')) + index={};scores=[] + for m in models: + pred=4*left if m['arm']=='B0' else np.array([.9,2.2,3.7]) + p=prediction_path(old,m,case);p.parent.mkdir(parents=True,exist_ok=True);np.savez(p,seconds=pred,raw_ids=raw,counts=counts) + index[str(p)]=sha(p) + scores.append(dict(case=case,component_id='A',fold=0,pool=m['pool'],arm=m['arm'],seed=m['seed'], + **part_metrics(pred,truth,counts,d['near_wall'],raw,d['coordinates_over_Rg'],1))) + pi=old/'index.json';pi.write_text(json.dumps(index));sp=old/'scores.json';sp.write_text(json.dumps(scores)) + lp=old/'labels.npz';np.savez(lp,seconds=truth,raw_ids=raw,counts=counts) + li=old/'labels.json';li.write_text(json.dumps([dict(case=case,path=str(lp),sha256=sha(lp))])) + ex=root/'exposure.json';ex.write_text(json.dumps([dict(parts=[case])])) + c=dict(roster=str(roster),S2_contract=str(s2),S2_contract_sha256=sha(s2),prediction_index=str(pi),prediction_index_sha256=sha(pi),S2_root=str(old), + original_part_scores=str(sp),original_part_scores_sha256=sha(sp),label_index=str(li),label_index_sha256=sha(li),exposure_membership=str(ex),exposure_membership_sha256=sha(ex)) + prep={case:(dict(full_VTU_T_end=4.,estimated_alpha=.6),prepared)} + with patch.object(analysis,'contract',return_value=c),patch.object(analysis,'prepared',return_value=prep),patch.object(analysis,'rows',return_value=[row]),patch.object(analysis,'prediction_inputs',return_value=d),patch.object(analysis,'expected_models',return_value=models),patch.object(analysis,'training_clock',return_value=(1.1,[])): + self.assertEqual(analysis.make_maps(root),0) + self.assertEqual(analysis.score_maps(root),0) + result=read_json(root/'scores/result.json');self.assertEqual(result['prediction_rows'],39);self.assertEqual(result['reorder_invariant_rows'],24) + mapped=read_json(root/'prediction-index.json');mapped.pop(next(iter(mapped))) + with self.assertRaisesRegex(ValueError,'Missing/extra'):analysis.validate_manifest(c,mapped) + + def simulated_queue(self,root,fail_first=False,missing=False): + c=dict(cases=['a','b','c'],coordinator_cpus=[28,29],limits=dict(workers=4,part_cpu_seconds=180,preparation_cpu_seconds=28800,disk_bytes=2**30)) + (root/'contract.json').write_text('{}');(root/'code-freeze.json').write_text('{}');spawned=[] + class Process: + def __init__(self,index):self.index=index;self.pid=800000+index;self.polls=0 + def poll(self): + self.polls+=1 + if self.polls<2:return None + if missing:return 1 + failed=fail_first and self.index==0;dest=root/'parts'/f'part-{self.index:03d}' + (dest/'guard-result.json').write_text(json.dumps(dict(index=self.index,case=c['cases'][self.index],worker=dict(status='STOPPED_OR_FAILED' if failed else 'PASS',cpu_seconds=.1),guard_CPU_s=.01,result_path=None,result_sha256=None))) + return 1 if failed else 0 + def wait(self):self.polls=2;return self.poll() + def spawn(command,**kwargs): + i=int(command[-3]);p=Process(i);spawned.append(p);return p + with patch.object(queue,'contract',return_value=c),patch.object(queue.os,'sched_setaffinity'),patch.object(queue.subprocess,'Popen',spawn),patch.object(queue,'tree_usage',return_value=(0,1,1)),patch.object(queue.time,'sleep'),patch.object(queue,'terminate'),patch('builtins.print'): + result=queue.run(root) + return result,spawned + + def test_independent_part_queue_once_only_and_no_redecode_restart(self): + with tempfile.TemporaryDirectory() as temp: + root=Path(temp);code,spawned=self.simulated_queue(root) + self.assertEqual(code,0);self.assertEqual(len(spawned),3) + self.assertEqual(read_json(root/'batch-complete.json')['passed'],3) + self.assertTrue(read_json(root/'first-part-cost-check.json')['continue_within_cap']) + with patch.object(queue,'contract',return_value=dict(cases=[],limits={})),patch.object(queue.subprocess,'Popen') as spawn: + with self.assertRaises(FileExistsError):queue.run(root) + spawn.assert_not_called() + + def test_failed_first_part_and_infrastructure_receipt_stop(self): + for missing in [False,True]: + with tempfile.TemporaryDirectory() as temp: + root=Path(temp);code,spawned=self.simulated_queue(root,fail_first=not missing,missing=missing) + self.assertEqual(code,1);self.assertEqual(len(spawned),1) + r=read_json(root/'batch-complete.json');self.assertEqual(r['status'],'NAIVE_PREPARATION_INCOMPLETE') + if missing:self.assertFalse(r['accounting_complete']) + + def test_global_monitor_failure_prevents_any_dispatch(self): + with tempfile.TemporaryDirectory() as temp: + root=Path(temp) + with patch.object(queue.Monitor,'sample',side_effect=lambda op,fn,previous:(previous,False)): + code,spawned=self.simulated_queue(root) + self.assertEqual(code,1);self.assertEqual(len(spawned),0) + self.assertEqual(read_json(root/'batch-complete.json')['stop_reason'],'GLOBAL_MONITOR_ACCOUNTING_ERROR') + + +if __name__=='__main__':unittest.main(verbosity=2)