From 8ac1090a218a4638c41b8d2bfc21b011fc390a97 Mon Sep 17 00:00:00 2001 From: Frank14f <1515444314@qq.com> Date: Tue, 17 Nov 2026 12:57:43 +0800 Subject: [PATCH] B5 approved bounded local prism certificates and seven synthetic checks --- .../acceptance.json | 16 + .../attempt-01/execution.lock | 0 .../attempt-01/ledger.json | 10 + .../attempt-01/worker.log | 9 + .../attempt-01/worker.receipt.json | 25 + .../attempt-01/worker.started.json | 16 + .../attempt-02/execution.lock | 0 .../attempt-02/ledger.json | 10 + .../attempt-02/worker.log | 8 + .../attempt-02/worker.receipt.json | 23 + .../attempt-02/worker.started.json | 16 + .../phase2-b5-gate-2026-11-17/contract.json | 1297 +++++++++++++++++ docs/phase2-b5-gate-contract-2026-11-17.md | 15 + tools/phase2_b5_certificate.py | 167 +++ tools/phase2_b5_gate.py | 152 ++ tools/test_phase2_b5_certificate.py | 24 + tools/test_phase2_b5_integration.py | 48 + 17 files changed, 1836 insertions(+) create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/acceptance.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/execution.lock create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/ledger.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.log create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.receipt.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.started.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/execution.lock create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/ledger.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.log create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.receipt.json create mode 100644 artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.started.json create mode 100644 artifacts/phase2-b5-gate-2026-11-17/contract.json create mode 100644 docs/phase2-b5-gate-contract-2026-11-17.md create mode 100644 tools/phase2_b5_certificate.py create mode 100644 tools/phase2_b5_gate.py create mode 100644 tools/test_phase2_b5_certificate.py create mode 100644 tools/test_phase2_b5_integration.py diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/acceptance.json b/artifacts/phase2-b5-acceptance-2026-11-17/acceptance.json new file mode 100644 index 000000000..1bd7fc31d --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/acceptance.json @@ -0,0 +1,16 @@ +{ + "status": "PASS", + "tests": 7, + "cpu_seconds": 1.062026, + "receipts": [ + "attempt-01/worker.receipt.json", + "attempt-02/worker.receipt.json" + ], + "code_sha256": { + "tools/phase2_b5_gate.py": "f3f79f153c69ddc920a01d65de55335416691da926d282005bd4d54c15a2095e", + "tools/phase2_b5_certificate.py": "77985aff911eab7304b9b13f2aeb934e42c658779899c15d2242d93f66bc1b20", + "tools/test_phase2_b5_certificate.py": "15131c397b2aa0c8e619c03d45b385f654197bcf8ae90343717d757d46c50641", + "tools/test_phase2_b5_integration.py": "f1f0f029d5dbf526ccc9ce9a61f9fd71f2afda03f1dbf1920437fb5525b1ac09" + }, + "scope": "4 original certificate checks +3 current integration checks; no real data; source changes documented in contract" +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/execution.lock b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/execution.lock new file mode 100644 index 000000000..e69de29bb diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/ledger.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/ledger.json new file mode 100644 index 000000000..eab8c241e --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/ledger.json @@ -0,0 +1,10 @@ +{ + "cpu_seconds_charged": 0.42541899999999994, + "attempts": [ + { + "name": "worker", + "status": "PASS", + "cpu_seconds": 0.42541899999999994 + } + ] +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.log b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.log new file mode 100644 index 000000000..f5f69312f --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.log @@ -0,0 +1,9 @@ +test_budget_is_unknown_not_acceptance (__main__.CertificateTests) ... ok +test_foldback_air_gap_rejected (__main__.CertificateTests) ... ok +test_rib_root_folded_correspondence_rejected (__main__.CertificateTests) ... ok +test_triangular_plate_exact_cover_and_oblique_transform (__main__.CertificateTests) ... ok + +---------------------------------------------------------------------- +Ran 4 tests in 0.233s + +OK diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.receipt.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.receipt.json new file mode 100644 index 000000000..12e3dfaac --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.receipt.json @@ -0,0 +1,25 @@ +{ + "status": "PASS", + "command": [ + "/home/frank14f/optane/MeltMind/artifacts/gre24-reproduction-2026-11-15/environment/venv/bin/python", + "tools/test_phase2_b5_certificate.py", + "-v" + ], + "returncode": 0, + "stop_reason": null, + "cpu_seconds": 0.42541899999999994, + "wall_seconds": 0.4576239520101808, + "peak_tree_rss_bytes": 36982784, + "peak_process_count": 1, + "output_disk_bytes_before_receipt": 8192, + "max_poll_gap_seconds": 0.05093433801084757, + "poll_target_seconds": 0.05, + "reaped_orphan_cpu_seconds": 0.0, + "supervision": "sampled process-tree monitoring; wait4 final CPU/HWM; overshoot retained as failure", + "gpu_visible": false, + "cuda_device": "", + "numerical_threads": 1, + "retry": false, + "monitor_errors": 0, + "last_monitor_error": null +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.started.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.started.json new file mode 100644 index 000000000..c7e705eed --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-01/worker.started.json @@ -0,0 +1,16 @@ +{ + "command": [ + "/home/frank14f/optane/MeltMind/artifacts/gre24-reproduction-2026-11-15/environment/venv/bin/python", + "tools/test_phase2_b5_certificate.py", + "-v" + ], + "limits": { + "job_wall_seconds": 60, + "job_cpu_seconds": 60, + "total_cpu_seconds": 60, + "tree_rss_bytes": 1073741824, + "max_processes": 4, + "disk_bytes": 104857600 + }, + "started_unix": 1794890401.1381588 +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/execution.lock b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/execution.lock new file mode 100644 index 000000000..e69de29bb diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/ledger.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/ledger.json new file mode 100644 index 000000000..54a90a7f6 --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/ledger.json @@ -0,0 +1,10 @@ +{ + "cpu_seconds_charged": 0.6366069999999999, + "attempts": [ + { + "name": "worker", + "status": "PASS", + "cpu_seconds": 0.6366069999999999 + } + ] +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.log b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.log new file mode 100644 index 000000000..0ec3ac9b3 --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.log @@ -0,0 +1,8 @@ +test_boundary_selection_certificate_and_duplicate_union (__main__.IntegrationTests) ... ok +test_one_part_pipeline_reads_only_geometry_and_preserves_unknown (__main__.IntegrationTests) ... ok +test_reversed_reference_metadata_reconstructs_volume (__main__.IntegrationTests) ... ok + +---------------------------------------------------------------------- +Ran 3 tests in 0.270s + +OK diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.receipt.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.receipt.json new file mode 100644 index 000000000..d516c568f --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.receipt.json @@ -0,0 +1,23 @@ +{ + "status": "PASS", + "command": [ + "/home/frank14f/optane/MeltMind/artifacts/gre24-reproduction-2026-11-15/environment/venv/bin/python", + "tools/test_phase2_b5_integration.py", + "-v" + ], + "returncode": 0, + "stop_reason": null, + "cpu_seconds": 0.6366069999999999, + "wall_seconds": 0.6421658619656228, + "peak_tree_rss_bytes": 64348160, + "peak_process_count": 1, + "output_disk_bytes_before_receipt": 8192, + "max_poll_gap_seconds": 0.02092474396340549, + "poll_target_seconds": 0.02, + "reaped_orphan_cpu_seconds": 0.0, + "supervision": "sampled process-tree monitoring; wait4 final CPU/HWM; overshoot retained as failure", + "gpu_visible": false, + "retry": false, + "monitor_errors": 0, + "last_monitor_error": null +} diff --git a/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.started.json b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.started.json new file mode 100644 index 000000000..ec946f2b0 --- /dev/null +++ b/artifacts/phase2-b5-acceptance-2026-11-17/attempt-02/worker.started.json @@ -0,0 +1,16 @@ +{ + "command": [ + "/home/frank14f/optane/MeltMind/artifacts/gre24-reproduction-2026-11-15/environment/venv/bin/python", + "tools/test_phase2_b5_integration.py", + "-v" + ], + "limits": { + "job_wall_seconds": 60, + "job_cpu_seconds": 60, + "total_cpu_seconds": 60, + "tree_rss_bytes": 1073741824, + "max_processes": 4, + "disk_bytes": 104857600 + }, + "started_unix": 1794891276.2878566 +} diff --git a/artifacts/phase2-b5-gate-2026-11-17/contract.json b/artifacts/phase2-b5-gate-2026-11-17/contract.json new file mode 100644 index 000000000..86269d0a1 --- /dev/null +++ b/artifacts/phase2-b5-gate-2026-11-17/contract.json @@ -0,0 +1,1297 @@ +{ + "version": "B5-local-prism-certificate-v1", + "authorizing_ruling": "1794887072.921849", + "parts": [ + { + "case": "00000721_9a461e8ae7dc4d33a55883eb_step_000", + "source_key": "9a461e8ae7dc4d33a55883eb", + "component_id": "component-bf2dee324184ce4a", + "nodes": 31778, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + }, + { + "fold": 1, + "role": "test", + "learning_pools": [] + }, + { + "fold": 2, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 3, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00000721_9a461e8ae7dc4d33a55883eb_step_000", + "result_sha256": "da9cf4d32f7a70d05d0d6a1325f2a1eb2477a3dad078613118fa224725d6347c", + "output_sha256": { + "base.npy": "480fc0d41501edc7bda276af70e62ccc92de4a9f7e0baefdb0c6c1a32b8b06cd", + "boundary_distance_raw.npy": "b059da94040aeb6451d6bf07e5c41666554a4211408401b935546fbb4cef449c", + "draw.npz": "405ed3762c8edd8d781dcb1fa9802bc687ca578f6b542dcf9d7cff30b149430c", + "edge-evidence.npz": "18199ae5ebadedda4a9b83c69fe1eb51c65e9c58c4e64e71ba8c0d8e41af2245", + "geometry.npz": "63f4c187492ce47a85d403aae24a61ca12cf363015fa8af06053481af41fe3d6", + "o2-evidence.npz": "c4ce0ac873dff14d36b5e2e9b5b3e02809a7fef8a44a18a23a353894aebb83d8", + "queries.npz": "d2db1d8a994d49abe40c39e5deaa5daa1f380cfc85319066b9446819c03ed94e", + "r2.npz": "7c6b0ef38c6998899291e6696a25df4962969c7f2cdff40ee5e576a30dbedf7f" + }, + "nodes": 31778, + "t_set": 0.03, + "eligible_unique": 1876, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00000721_9a461e8ae7dc4d33a55883eb_step_000/output", + "nodes": 31778, + "raw_nodes": 31778, + "t_scale_seconds": 0.03, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "711ab5ceaa37b9b6356e51ca7f5f2cc39cfa30d7b401d838e746d47b5130a0b9", + "Df.npy": "3297ec581e6c44d14a869c3dae72a94049c10507a36eaf3929dc7b1a12c5124b", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "4ed95a964ca10a5886627d720d1f8e29835932afd24b9775e108b890f1f65dce", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "2ea53e26e1d930d06eecb5d15b38936ba1553e932eca24cda5cda575d24fd1ed", + "target.npy": "58df5a4c916a2cccc5e62928dd73565f56bb5a89b57a6a2ef372e8e11ccbf1ea", + "Di.npy": "b919f2a2bd7005575607a09e49f9259498b0d094d99c3309d8b8cc3839932c61", + "raw_ids.npy": "a328b177a56abe13de04e92c93972d26f6dd305ff90cc42dd1bbfdcdb4399bb7", + "features.npy": "cc83a47c4a9e781a5a06dce0952068e1d66346a64bdb4157975efe08f56d549d", + "Vf.npy": "4a95bd82415f0d5ee8501a4671f9d1390ecdd94dfa056e4fcac8aee2a8ba9f86" + }, + "result_sha256": "49d79a0f13d500094cc09e85e2bff213f50384886f4d0f982a2bf63d1b6d443d", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00000721_9a461e8ae7dc4d33a55883eb_step_000", + "fold": 1, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00000721_9a461e8ae7dc4d33a55883eb_step_000.npz", + "sha256": "81e5f5369d22e1c70ef7875ca560f7c69c7d0a4d550615c14e90adcfc70efa6a", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000721_9a461e8ae7dc4d33a55883eb_step_000/output/result.json", + "result_sha256": "0a4e6dae8e1bc78f32fb9ecd5f790414115aa6361f12f44c76b9b8e7c5726832", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000721_9a461e8ae7dc4d33a55883eb_step_000/output/query-predictions.npz", + "predictions_sha256": "4ddd0771666b136c61446a32c15a7ed79a76be258e7c1ca8244e49907c852c43", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool25-R2/00000721_9a461e8ae7dc4d33a55883eb_step_000.npz", + "sha256": "d07e9538ea9414dd635bf0007a52f101ac4a45fa197feb0bb5e5709223b6fdcd" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool50-R2/00000721_9a461e8ae7dc4d33a55883eb_step_000.npz", + "sha256": "e8a800c7e432db0ba0b9d36cf57d29af4f85130d4a03b85a30117a9c83a2be51" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool100-R2/00000721_9a461e8ae7dc4d33a55883eb_step_000.npz", + "sha256": "d622ddbb298bc87d29a8ae4bf01e69e4b15e9668140a293032dc837caaeefd80" + } + } + }, + { + "case": "00000162_4dcda9fab6dd46cf98fb194e_step_000", + "source_key": "4dcda9fab6dd46cf98fb194e", + "component_id": "component-9a030f8717a2d204", + "nodes": 17919, + "exposure": { + "inventory_state": "KNOWN_DEVELOPMENT_EXPOSED", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [ + "s1-sampled-o2-2026-11-14", + "s1-sampled-o2-review-delivery-2026-11-14" + ], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": true + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 1, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 2, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 3, + "role": "test", + "learning_pools": [] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00000162_4dcda9fab6dd46cf98fb194e_step_000", + "result_sha256": "f94a201bab971af34a81d2d63bb6cdb5bb91c5e38f9accf75ab1120f21ec7a5a", + "output_sha256": { + "base.npy": "3ee68aef3b4e84abcd918d2a011a5159be146823e729572e95c6f6281f845d79", + "boundary_distance_raw.npy": "2fda5e3e3a401c6db2b1da5cafe34a0ffc97293a69c41789fcba44cfc9fd970a", + "draw.npz": "0eccfe2c33bc1dbd20d3b066fbd53100765f8faa056e9c66d01263b33aa4151b", + "edge-evidence.npz": "b4207d71d5e30653cc3e1e3cb551c6283a734b718ce6003dcadcf15100a469d3", + "geometry.npz": "7c3f03f7c272fa39acc40eb8d1eb72787c7c83b5f1c646e882a7af7c1703c0b6", + "o2-evidence.npz": "84afb6a37d1dc447cfd4d7ac0314915d395459503a19c62fa8e0bcf2f2d6039d", + "queries.npz": "ac0fe3eced29d20288ed9c2cf024660f872c27f1b1c7b066d51358c3db5465fd", + "r2.npz": "be6ce3dd0e736ee3467fce9a2fda42433ab98506fd7e8012f8be2c1915b8eb17" + }, + "nodes": 17919, + "t_set": 0.05, + "eligible_unique": 1803, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-protocol/parts/00000162_4dcda9fab6dd46cf98fb194e_step_000/output", + "nodes": 17919, + "raw_nodes": 17919, + "t_scale_seconds": 0.05, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "00dd49708b202e846e07bcbc5ea6fcd34b768a33bfab70da298b3196ac4d67df", + "Df.npy": "fe0d359d3a1a7ea0de8a5d0e0066641bd5996067ce96353c3841790887d612b2", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "3d0ae7123456d4f14354561cc33044629a34a3a55e2f3eef22b8c9b13c8533e9", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "5ca6b196af3c900bdad9ec62cdee0dd9cbf614788deb1b51742d13e051f15b9c", + "target.npy": "63c14ee9278c938752aead041baac2ce9f6b63ed6811a84528dc659e233d49e7", + "Di.npy": "de559d8798b578d8b4948ad2b01f410551404bd01eed18b9c870b2fc52ad7215", + "raw_ids.npy": "ef5550b8ea6d69be3e664a9e5cc801d497bd90057c3f4e6ceb50bf0fd20a8474", + "features.npy": "e4f984e8f0a4fddfbf8d205e404f08f58a532b1444eecbe591f8de039f4ea00e", + "Vf.npy": "f2e9d655b3234bec392614c79e111a795dac3f402ead8c0710d2d73f1fc253c3" + }, + "result_sha256": "14df7e49f85bf33d68fadf54cd4725885cf5b8d430651e6b6ec98031f0865bd2", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00000162_4dcda9fab6dd46cf98fb194e_step_000", + "fold": 3, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00000162_4dcda9fab6dd46cf98fb194e_step_000.npz", + "sha256": "d6ff4f1bfd9ab69f4b6371684a0a80a98ebf4b2f54ef82a07fdfc7988d9651b5", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000162_4dcda9fab6dd46cf98fb194e_step_000/output/result.json", + "result_sha256": "db008f037ee64ce4b77a81d5d4163f6cbac7a45d8d703314bb52e4051e208c20", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000162_4dcda9fab6dd46cf98fb194e_step_000/output/query-predictions.npz", + "predictions_sha256": "671c6675e770bbe7842a762131034b1dd24da4935836bc6f67919c85e4ba7d8a", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool25-R2/00000162_4dcda9fab6dd46cf98fb194e_step_000.npz", + "sha256": "04ac5db229838cd1154debcf76d685d7c9fb2155b42e3be3628e1a073b5dcdbd" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool50-R2/00000162_4dcda9fab6dd46cf98fb194e_step_000.npz", + "sha256": "146f9bce984af46adc012f15981dee4efff1dd9dc7eee19cb1571e96dbfddcba" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool100-R2/00000162_4dcda9fab6dd46cf98fb194e_step_000.npz", + "sha256": "f301528daba2d8a32eabcf02976b7dc1bd3f84b892f71748845fd34d0eca87bf" + } + } + }, + { + "case": "00000474_a5639f2b84c445aea5da18ad_step_000", + "source_key": "a5639f2b84c445aea5da18ad", + "component_id": "component-92219362862d58d7", + "nodes": 35871, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 1, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 2, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 3, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 4, + "role": "test", + "learning_pools": [] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00000474_a5639f2b84c445aea5da18ad_step_000", + "result_sha256": "95f8b5bd62da0861dffb9f13a1a1e5f9b342f36421e760bcedb7dd291db49394", + "output_sha256": { + "base.npy": "3aabc6f0ce6df9db553f1ce4318f56ceec92f6a84eb3a58c29f01f1480db037e", + "boundary_distance_raw.npy": "45cbff14d7c70e5493f43cff5e5e4d2c3adf449f3c9eb3fbf750b9c47afdb44c", + "draw.npz": "5ae3cb8277930cd8ee7e5107522c27c137c94290954ee6de5e4273120374db96", + "edge-evidence.npz": "4671f894e3e6d73adf24a7810dee9b396cd3571d7d0562ad944e744150d980f4", + "geometry.npz": "deef4b429de62078b8f19340144bec0745b6c1916bc5d07323761ba9f56a7a14", + "o2-evidence.npz": "82b98c2af4b0815389e5223df5cfb0d2d8c3c0f19141a8fef8c9ed4973d74860", + "queries.npz": "063c0edab22aff441969f30c6ed9654404b7776f41529763854d05ade07b16bd", + "r2.npz": "7f5256327e143ae397d494f570ba1ec4e19fdc51533fa41f3195956df16abcf9" + }, + "nodes": 35871, + "t_set": 3.7, + "eligible_unique": 1877, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-protocol/parts/00000474_a5639f2b84c445aea5da18ad_step_000/output", + "nodes": 35871, + "raw_nodes": 35871, + "t_scale_seconds": 3.7, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "fbe6c39a60b900f53df4b0103fb0131b8359b5db4be6ebcdfef412a39ce2b9aa", + "Df.npy": "57c32010a264c5da222e1bd67550e7d1da7e43c29ebe1353121756948f3102ef", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "c9550aefc60271d5ff17a762beaf18b87bcbae5d1f8a2a640f54ad9a53c846ee", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "fbfe7f611753656787bcf77433c7047103fff2df13e40db915b850fd82f32b50", + "target.npy": "cb439f39bfa29a54c1b208a7d6b150d91759fa773b9847c654502c7add523cce", + "Di.npy": "a101555eb9039172cbbe99dced13ec6b614a041b4ee910726cd53cc6e7dc3f0a", + "raw_ids.npy": "33d283b2c539b07e00b5fddc25bef78f40572720bc6c404f6cdab59cc6275ded", + "features.npy": "5d74293942ee65f8f9b9f781ff14365c7d47ccce35030086acad8f51d5840c6f", + "Vf.npy": "3c8b82619a2e38e9e363f64d3b2967e056a5e0bfc6657a82b7e1e8047cea69a8" + }, + "result_sha256": "57e5151d949e42ed1197c389aed244d2f36e1df31cbaa12b7c2fbd362353106f", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00000474_a5639f2b84c445aea5da18ad_step_000", + "fold": 4, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00000474_a5639f2b84c445aea5da18ad_step_000.npz", + "sha256": "dda083aa2bf92bcea437fd492ef603425dbfb2402301c7fec4284acc031a289a", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000474_a5639f2b84c445aea5da18ad_step_000/output/result.json", + "result_sha256": "9e1fac1e3bcafecfe6cd8e978f7605caff46b6facf5cca04293d89937c72138c", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000474_a5639f2b84c445aea5da18ad_step_000/output/query-predictions.npz", + "predictions_sha256": "47c98fa0f466bf4729c6376a8605fa67d2f841beedafb48a542c9705370fbe44", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/4/fold4-pool25-R2/00000474_a5639f2b84c445aea5da18ad_step_000.npz", + "sha256": "f8c6063c30903b9f2ce7796b6d3fe1b45039c34d025549794ae3a55d7a58ffd6" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/4/fold4-pool50-R2/00000474_a5639f2b84c445aea5da18ad_step_000.npz", + "sha256": "8fe5d9e961d968590d00420b2f357731de6c1ce01daed9fda6c72e2fe9d4121b" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/4/fold4-pool100-R2/00000474_a5639f2b84c445aea5da18ad_step_000.npz", + "sha256": "63bbe15e6ebf1b3a9bcec3857add237c133eeff749fd693bd8cc914aaf0a1673" + } + } + }, + { + "case": "00001228_2fd836ae38b44c41bfbd9584_step_002", + "source_key": "2fd836ae38b44c41bfbd9584", + "component_id": "component-c212b08feb6b1ab8", + "nodes": 15741, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 1, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 2, + "role": "test", + "learning_pools": [] + }, + { + "fold": 3, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 4, + "role": "validation", + "learning_pools": [] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00001228_2fd836ae38b44c41bfbd9584_step_002", + "result_sha256": "03e668cb1f64b91b498387792f4829bf366ebb3522ceec0710aba31a48fc3894", + "output_sha256": { + "base.npy": "0242b2bea8a46b9d20ff24096ccc47b6e9d8e85d9855f9dfd54ba0a962d90e33", + "boundary_distance_raw.npy": "87f240087c8394b626f344334a96eb13c7c5fe83bdd063d3ddf338703ce0457d", + "draw.npz": "86d20ce824c2cce236631a6ed652e9c3c7a200ad8053371c670f613cb4edcdb7", + "edge-evidence.npz": "e6b5b1b23c3bf79b8e86d1175cde4c55dc78644e3a1c7e463ff2b2ee81eb9ccb", + "geometry.npz": "c8e4eba5bea2d28cdbb0d01d1563739a9a9db1f8b1c1c75449c205e1ab0f950c", + "o2-evidence.npz": "8fd6200acf7ca03aa8e85c52b9400969a24673824e46855570b26121f69c4368", + "queries.npz": "b03c5a47ae0953e6cd78caf620015bba74116db8bbea25e20878db12a76d2434", + "r2.npz": "66a8d9a3c50c55f84eaddcd5087324d73e0d7d067e1082d9fa7986d2bd21383b" + }, + "nodes": 15741, + "t_set": 0.04, + "eligible_unique": 1810, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00001228_2fd836ae38b44c41bfbd9584_step_002/output", + "nodes": 15741, + "raw_nodes": 15741, + "t_scale_seconds": 0.04, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "ed75564392e0ea3683f8105dd12c7d5ebb5e6ef96177dea2889d91cd9f328e59", + "Df.npy": "2fdffe0a7e28edda118f1a7a7131b5e41aa84f2a5fb38e0d6ba630b4995698fd", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "ed527f95c188d3535cf9d5b08b126c813502895b71e7a2841b4a15bf5ed9c0ca", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "6ce6337f721bb562b7a966ffb7ffba7ece6c6b050d20a43808fdf683bc16e2fb", + "target.npy": "5f7308f6b20e6f0f11d337f3f13fab8cc299438a52b6fa599459e3348c8cbde4", + "Di.npy": "cbc2e7610022ba03cf328745bf32c5d2038cda494a218b772ff0282b3f2d718f", + "raw_ids.npy": "8b8f1455e78843b5b2f72fd8bfe3a23885b539e9b08514f7ec4777abb9d9416e", + "features.npy": "3084088528f0b8bc7cd5685c8cbf1c45be00eb64f84fe33cf368e8ad98fe49f7", + "Vf.npy": "08c010a52fb5699c40b74d9f301603062652a49aa653abf2d371b421968d9096" + }, + "result_sha256": "0550303a804fff4565f5896be5d3018c20e3e20f4d2e6b145211dc3ceebc7c5b", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00001228_2fd836ae38b44c41bfbd9584_step_002", + "fold": 2, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00001228_2fd836ae38b44c41bfbd9584_step_002.npz", + "sha256": "8a89c9985e37ac0fae37886c22f1f94b37293ac16f5b2bcade6340bcc4197b3b", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001228_2fd836ae38b44c41bfbd9584_step_002/output/result.json", + "result_sha256": "65f7cff856ece9b39aa23bce3641d7f58031daacdc526bd5f36bb3f956e856bc", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001228_2fd836ae38b44c41bfbd9584_step_002/output/query-predictions.npz", + "predictions_sha256": "44ea02620217bfec2927e2184bc289e155785b901984094d535cf454eab1be78", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool25-R2/00001228_2fd836ae38b44c41bfbd9584_step_002.npz", + "sha256": "319956cba4ccd66d1cbc86179e50543fdc8f9c3a78027218618525f037aab7a7" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool50-R2/00001228_2fd836ae38b44c41bfbd9584_step_002.npz", + "sha256": "12fcc8602fe3d983b3b4d3f4edd9c0b572b86969c93e177967797b17f357d9e9" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool100-R2/00001228_2fd836ae38b44c41bfbd9584_step_002.npz", + "sha256": "44b505f0e08dfa9faea0ce978bd9f99a2812cd4aeef11c538ac45c76a7040b24" + } + } + }, + { + "case": "00000336_1a821c3883f7459a9615fca4_step_000", + "source_key": "1a821c3883f7459a9615fca4", + "component_id": "component-2d7817f9639113ea", + "nodes": 40184, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": true, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": true + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 1, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 2, + "role": "test", + "learning_pools": [] + }, + { + "fold": 3, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00000336_1a821c3883f7459a9615fca4_step_000", + "result_sha256": "abea0cb4655ccf9183304f1671eac8b371a130acb330206eb1dc730b491a52d3", + "output_sha256": { + "base.npy": "d4f1bf724019f9d4976bd37a769e608fb28bda3d603201ee644dc4b258fb2aae", + "boundary_distance_raw.npy": "d53338d9dbd0cc9c3b59c42b53999a8bf1b1e2e7d56c3b1fa5814a4e573b6bb4", + "draw.npz": "1166cfc2a1d300b544541859776fd4b7959855e8abcbabdb12c456e4e4c06f50", + "edge-evidence.npz": "785b8e6821682048d680e0b66a15b3b114903518111be470d7b49420ceb74b49", + "geometry.npz": "9348c8203b2e0dbfc50469b2b6f5ea987f35c7802fde470dfe921abfd5158252", + "o2-evidence.npz": "c6e93e50d09b1df44d7ce889c2b25d473e8f46fa0bed2bdc8cca83cd97c9d8bd", + "queries.npz": "a320006f3d77103f5b57105e74d2f0cc9ffe771974207df18b84ebcbcd268883", + "r2.npz": "75a3f424cf447f285c2e87ae0d175f78b39461746a60e4365b9ddb8b92e7c115" + }, + "nodes": 40184, + "t_set": 1.3, + "eligible_unique": 1918, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-protocol/parts/00000336_1a821c3883f7459a9615fca4_step_000/output", + "nodes": 40184, + "raw_nodes": 40184, + "t_scale_seconds": 1.3, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "782a97745dc1ae0ca6be4c80d1092b4fa0d534bdb3a5787f485e43d72c665d0b", + "Df.npy": "22a66a43a3a3012d0e91816330472929705ebd1251c610a92528fe011b05f4bf", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "93649cd75d639e36c5f45a9db709687df87c096a22a0e7341a5845ec50661345", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "b534831d254c63d556fdc21a107442cedaba0bb7232cf88bd6d0a3b51ed27063", + "target.npy": "a580b58cc4daf2ff1d25decdfbaeba86b76cab94b6623ef5ecc3c920a1220b32", + "Di.npy": "939e09bfaff815a4307333d10678a34f88ba84169e75447976e4c51470abbd37", + "raw_ids.npy": "697a120bb4da4bec300a89ca823981d00a1a9a967c81c19f8e262058710b770e", + "features.npy": "134ec716527f768a1a794ceda0624db3c805afcc0d8a1ba4c3e8cfc1ac00b2cf", + "Vf.npy": "78f5dafe90bd229c8e4a30c0edfc84e8b6cd4ff1dea01abe8cf3a1588fc4f828" + }, + "result_sha256": "b0317679a3c059aac4e5b7f64e34f8daa86310c78d3c0c903da59a3c98e87b88", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00000336_1a821c3883f7459a9615fca4_step_000", + "fold": 2, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00000336_1a821c3883f7459a9615fca4_step_000.npz", + "sha256": "158e36278f97d8dc26d9ce6515784f339534c6486199d36aa2d571d56ec2cb74", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000336_1a821c3883f7459a9615fca4_step_000/output/result.json", + "result_sha256": "9d98a29f03968f51cfa50d67a922605df336309622ff1d77ae35bba13b0d1fb7", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000336_1a821c3883f7459a9615fca4_step_000/output/query-predictions.npz", + "predictions_sha256": "199825cc67172b38b1e6141fc9309b6a4d20923d7aceaff4e7cd7c0500646532", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool25-R2/00000336_1a821c3883f7459a9615fca4_step_000.npz", + "sha256": "56309b8206fbd18def568becf4652c0d6f9b0e457853f8e026eac7bdc5219178" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool50-R2/00000336_1a821c3883f7459a9615fca4_step_000.npz", + "sha256": "2826592ebe36ccb1430e68ac22762a366bf707ca282a456a29f8a93dd48234ed" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool100-R2/00000336_1a821c3883f7459a9615fca4_step_000.npz", + "sha256": "4f358d52759ac23e22028de4a07475e7ab15f6ea5319e53a1617871aaecf3d4e" + } + } + }, + { + "case": "00001146_274866da478e4a009bed8750_step_001", + "source_key": "274866da478e4a009bed8750", + "component_id": "component-82c77d19c0cc8461", + "nodes": 19169, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + }, + { + "fold": 1, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 2, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 3, + "role": "test", + "learning_pools": [] + }, + { + "fold": 4, + "role": "validation", + "learning_pools": [] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00001146_274866da478e4a009bed8750_step_001", + "result_sha256": "afbb069f7adf128f72babf67a7a88ecfea66346a348de0e20a7acdff28648c5e", + "output_sha256": { + "base.npy": "ca6807a1fc135cd6b518bc28637ce07cba70ac6291ba2623c0feeb8f2ffd4584", + "boundary_distance_raw.npy": "0783f639ecc824378d54dc8cda4e63076c7129fd267c0ea94fbbdb705ac1a691", + "draw.npz": "76cdeef2f8ac4d8b4539ccc04172699cbbbc80087f7823b8163bd5d5bed2cfa1", + "edge-evidence.npz": "c71aea856d559b9b66c6e11c4b7f573b3b837f7420b2d0458268c0fbd2cd4ed9", + "geometry.npz": "99fcd3b822f822449c33a1ce52824fb7c408a063ab962983091a197a14e90375", + "o2-evidence.npz": "d7d7683c53a00a39cabe732155f242d69efdf87b64b18b1d9d6a8814e82d0781", + "queries.npz": "eda6fa4081c11d017c45a421840ddb0f5274af12c37a933ead64d0d75e2d4e27", + "r2.npz": "219b4216479cc35c669c4719ec8a902ee27d7c68b02415850a98c17b841b2f0c" + }, + "nodes": 19169, + "t_set": 8.4, + "eligible_unique": 1863, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00001146_274866da478e4a009bed8750_step_001/output", + "nodes": 19169, + "raw_nodes": 19169, + "t_scale_seconds": 8.4, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "aeb22bc639bb248226f3716c331f38c37c6dc29757c8fa8cc57eda9eaee28356", + "Df.npy": "7176c284ff7bde0f99b0d4c399a3c5d017fc059d7d4d651619a55e7a3a2d296c", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "2f4e80e13afa608fcd6e77930dcf922e799c6e425eb81084a4669317559ac094", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "49da4ba0456870c1e79d46b9a653412fcd82ce452a3b7801543f341273129392", + "target.npy": "1e427982d98937822cbc27034916a9f86e6c450f1f82ad812d2e9e21793e63bc", + "Di.npy": "736958b3e12581c9e24a8ec97d47b152c63bf0aae9496f3b79566543d310816c", + "raw_ids.npy": "576d9ead5eb2d1a239ea5b326d240d709a52795390df42a1870d6dff155331bc", + "features.npy": "05d99b8b11696c9e92fb69dc8b73cecd4b284a36655a897e7c7ec04e8baa1240", + "Vf.npy": "02a0f84897c01d3e1c169cb17f61d700074950f3c6ec25f72dae5b8e35aa3701" + }, + "result_sha256": "43602f448969767de2bf792e3c011789b6834b229b07bb375a2cd8b245728a1f", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00001146_274866da478e4a009bed8750_step_001", + "fold": 3, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00001146_274866da478e4a009bed8750_step_001.npz", + "sha256": "457f50f3646da1cf6844e429c8516dc3cd2c06cf5fc09b8b654ef65276122b3c", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001146_274866da478e4a009bed8750_step_001/output/result.json", + "result_sha256": "bdd055b37242fdc15dce7b7d768335df0ffc89c1f77812d63c349880b81a29d6", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001146_274866da478e4a009bed8750_step_001/output/query-predictions.npz", + "predictions_sha256": "38d67980c23dfc41cc5480c72a9c0b8f0552644365d4ff97fdc1e6c323a8eace", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool25-R2/00001146_274866da478e4a009bed8750_step_001.npz", + "sha256": "543f40be9fb8639a44ac86a220ff74b7a334812156aa13183c874929d1c18fd7" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool50-R2/00001146_274866da478e4a009bed8750_step_001.npz", + "sha256": "2a6cf4099224a490dd3c5278e24e853a329b99a1a9276857c522f639d5b3940b" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool100-R2/00001146_274866da478e4a009bed8750_step_001.npz", + "sha256": "eed5415ab7197aa291b154a0b5b5dff25eb361112c0567b747cf8691fbd757b2" + } + } + }, + { + "case": "00000624_1eacb269d52a47f5b265c1ab_step_000", + "source_key": "1eacb269d52a47f5b265c1ab", + "component_id": "component-38514e817d76f7f6", + "nodes": 20373, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 1, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 2, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + }, + { + "fold": 3, + "role": "test", + "learning_pools": [] + }, + { + "fold": 4, + "role": "validation", + "learning_pools": [] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00000624_1eacb269d52a47f5b265c1ab_step_000", + "result_sha256": "b562b4ee25d0d0dfe6742e90719c946d8528c120678b85dcfddffa8ccafeb562", + "output_sha256": { + "base.npy": "b37b07fd0ccbfbb86ea70cd6942edcdb5f1217f79b6ab0cc3766a4557f8aef5a", + "boundary_distance_raw.npy": "8458a4b70f2a48c016a2f3fb8844305f21c9a14c3a27eacc786c6efc982c6e89", + "draw.npz": "3253a9c8c7bc31dbd31d958bc4617b7aa1810b18d99777324d92f0d7a575cdcc", + "edge-evidence.npz": "ac02dd71708a8d37c523dec2bbf344fbb27adc351297eadc96028570b6731821", + "geometry.npz": "c8c426da4dd0f23b74a36e0dc30dd62dd5127ed97e8aa1a9e9f22e8e0f05f4b3", + "o2-evidence.npz": "7282a66bc4107250621725a38d6b6b6704e71ad93fc14ae3019969acda40a157", + "queries.npz": "d2ce90d45cb7392fd4e8d746cbe738660cf0088f62cf12e67c391f38bfb2e962", + "r2.npz": "fa8d802ab48be7cbed0ad58947d3e15ecb0639e52b4c7673809671f759f1e075" + }, + "nodes": 20373, + "t_set": 0.03, + "eligible_unique": 1815, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-protocol/parts/00000624_1eacb269d52a47f5b265c1ab_step_000/output", + "nodes": 20373, + "raw_nodes": 20373, + "t_scale_seconds": 0.03, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "010f37c7dfe6b4b492f56a3f441061708bdf1061a155d28669d8a54eaa8cfb22", + "Df.npy": "b7a91cae7b0a20b742a3340fffe937c27688aa3a79db6bd026f291863270142d", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "f5de00aa7b00f53ab324e430d18ec54459e489203a85aee07cd3afdf94d96299", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "08050f17f089d324db014f473daf7153a1294414bb6d8d90d89acdc92d917eff", + "target.npy": "3ece7740206d75b102ec627a4e21e0632044ca11ddde635ebc04b8c0934e9e5b", + "Di.npy": "6b977b422a8e5f332a546a9d582db9cf95b1f903e6e31eb033e68cfe75b39a91", + "raw_ids.npy": "95819db63ea7f6666e3810672e1be253092107b7fcbd95ccaa3e3f440150c55f", + "features.npy": "b89d6ee1364740b1f877a2f80f3688cafa88f77b4ec670e9afa5249d29b9d620", + "Vf.npy": "7b2b51f3055925b9474460df8b7ab0dacac6044a325f872b4f347fe8857007f9" + }, + "result_sha256": "b1a611de18dee1e6fb7736dbc653a131897acc4fddcaacec121d28992522dd5f", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00000624_1eacb269d52a47f5b265c1ab_step_000", + "fold": 3, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00000624_1eacb269d52a47f5b265c1ab_step_000.npz", + "sha256": "cee31bf7461225a395b87cf55398ee1bd9a874211c301ed472f63ba88105b6cd", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000624_1eacb269d52a47f5b265c1ab_step_000/output/result.json", + "result_sha256": "c76506be8290052cbc9c057c82b6b8e3f265cd441e82326402cf6733ed7705a3", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00000624_1eacb269d52a47f5b265c1ab_step_000/output/query-predictions.npz", + "predictions_sha256": "50ecf46d7b3fc87a8bf057bfa9ccbd725c3810ce47ef1c0f69eff4fc1f2f9720", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool25-R2/00000624_1eacb269d52a47f5b265c1ab_step_000.npz", + "sha256": "1d7543bd1ac5baca100adc75462dcd0646728af720d16752151bbef2376b38e4" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool50-R2/00000624_1eacb269d52a47f5b265c1ab_step_000.npz", + "sha256": "d25aa1c310ee01ae0c6487acbc3bf859bb468f970ed78eae7328d02bb2777014" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/3/fold3-pool100-R2/00000624_1eacb269d52a47f5b265c1ab_step_000.npz", + "sha256": "7694d381aeea7483784404f05882a04d51ae271a358b015ba375fffbd2d6182d" + } + } + }, + { + "case": "00001490_6c8ef6d2f5564d139a5077f8_step_001", + "source_key": "6c8ef6d2f5564d139a5077f8", + "component_id": "component-828dfc7a89832c6e", + "nodes": 19535, + "exposure": { + "inventory_state": "KNOWN_DEVELOPMENT_EXPOSED", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [ + "s1-sampled-o2-2026-11-14", + "s1-sampled-o2-review-delivery-2026-11-14" + ], + "calibration_development": false, + "blind120_geometry_review": true, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": true + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 1, + "role": "test", + "learning_pools": [] + }, + { + "fold": 2, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 3, + "role": "learning", + "learning_pools": [ + "50", + "100" + ] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-recovery-inputs-2026-11-15/parts/00001490_6c8ef6d2f5564d139a5077f8_step_001", + "result_sha256": "88c406c41c6df8859c98fb1d36acdeb869194b2b0b764943c58feb8f0b31b3bb", + "output_sha256": { + "base.npy": "4f2de6dd0a5ad5855f24f8a1088bbb8b9f7b9cf7ab95bdf6369493a13b4ba418", + "boundary_distance_raw.npy": "7dd9670a520c7670407a8fd297489e7454ebbd03561f8b79dc32c608397d8650", + "draw.npz": "f5d064d8bc2b4eaeb6680ce5ce1de17ff11607389e11c94b26b44536e5d4b95a", + "edge-evidence.npz": "568813e2e247affbc88c6e8834f51587f84a12fb07685f806ef784ac68afe88e", + "geometry.npz": "fecce418ed4dce738247500d06499faeb6285f9b2c6cc0e11fa7e498198234c1", + "o2-evidence.npz": "4b1fc20ab8076dafb6aad767a70e2d0c365c057adc7dc7517ffa61af3c8ffdf2", + "queries.npz": "d0d9821ebfcf321ff54aa5282f9d515c2eda9a2cbc61a2be541c095a383ee9bc", + "r2.npz": "7e4035618aaff3cb61c45d15d7a2b7bdcf22b1abccbdb9d38023154cd50c18dc" + }, + "nodes": 19535, + "t_set": 0.05, + "eligible_unique": 1833, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00001490_6c8ef6d2f5564d139a5077f8_step_001/output", + "nodes": 19535, + "raw_nodes": 19535, + "t_scale_seconds": 0.05, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "7154268777e94a4dabfd6f6e8b5aa3ca6b0f6bf85e8ea05edaa80f9fa604bac1", + "Df.npy": "fa804523dbc3a7670e87628d0a0366dbfe31b4c0dfdbfe2cc1b53a84ca96967e", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "d8d1b6dd76cb38622194f4c7701bbd59adc5f192f411e6cd19a83a74b0cbed29", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "90fc209925e27c55ea354aad1c42e401bf7e6d40af41f51566dda806b26136bc", + "target.npy": "9f1ee29beb2bda44b8584a953ccc13342c8a80147b00d0e4fd9c0d697acaec4d", + "Di.npy": "acd1d977ac6b0d912d073250e3c224fb1755069606fe23db28659d63adc191a5", + "raw_ids.npy": "8be85ec7cc54246f658e028cd73f483453cc566f2075032fec8d69126fb6dde5", + "features.npy": "788af157dedf9f20b830501ad3e730cd1cecc4bdc5e8f6447cb135fa74b3a920", + "Vf.npy": "d8786e03f7f4010e4b9a866cae01b16d3c63aa5e0226c10c8d962bbc55752fcc" + }, + "result_sha256": "6ac4f2fa9475b22973c1ff3873e5afe9a631dde942b3af475b55ed9c166da8fa", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00001490_6c8ef6d2f5564d139a5077f8_step_001", + "fold": 1, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00001490_6c8ef6d2f5564d139a5077f8_step_001.npz", + "sha256": "d69d5aa98c44910715fd2dfd9e7de77a663662cee748cc74291425010f90cbcd", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001490_6c8ef6d2f5564d139a5077f8_step_001/output/result.json", + "result_sha256": "2a5b183b289a64af0bf0ea6ba5e5f3ed25999a5feb88301060f87b5aae9a6b47", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001490_6c8ef6d2f5564d139a5077f8_step_001/output/query-predictions.npz", + "predictions_sha256": "4599fa9fa026c1f26687f6b2375941fa97986a7d9648d2d43ed6944431a89550", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool25-R2/00001490_6c8ef6d2f5564d139a5077f8_step_001.npz", + "sha256": "3b606d93dc3fe49d34341b281012017752182ca62d12ee0c3c334d6eabe3b4bd" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool50-R2/00001490_6c8ef6d2f5564d139a5077f8_step_001.npz", + "sha256": "7fba982b5d534989b1b7d754217a5493a775a50a2f82c26d1ee9b9315b0853ac" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool100-R2/00001490_6c8ef6d2f5564d139a5077f8_step_001.npz", + "sha256": "63562ee4aac2b8e95465e59d9c84516faf6a58e706e509de793a74925699dde6" + } + } + }, + { + "case": "00001389_21b525da345e4e62aebd906b_step_000", + "source_key": "21b525da345e4e62aebd906b", + "component_id": "component-4ccbb2d1f81c4078", + "nodes": 24601, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "25", + "50", + "100" + ] + }, + { + "fold": 1, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 2, + "role": "test", + "learning_pools": [] + }, + { + "fold": 3, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-recovery-inputs-2026-11-15/parts/00001389_21b525da345e4e62aebd906b_step_000", + "result_sha256": "43e0ba7ebcc43f52ed7a5a210f9bd99e54d8067117b3845b671b27867ba03bf9", + "output_sha256": { + "base.npy": "34bd14dac345b4b08dde6af3d694e3290936be6c446bd4cbf8b2f046f9d8495b", + "boundary_distance_raw.npy": "0f3e2917347efcd7d328363152be9ff701b78c2eb12b148df5b0cdd04d621963", + "draw.npz": "cce25cc10dc4bf56a4e3df6790cc49d71acf1eba2f093b1e8831ed1815bfd181", + "edge-evidence.npz": "789e3cd5afb90b8ebd81d9e6800812c20329ec09f5874b55fd419e6f92e1fb6e", + "geometry.npz": "100b58f195b3d7591545b31375e0e1db7f5fedf7163d963def5b61ab4979af0b", + "o2-evidence.npz": "bfdda0718875c7a37611a549ab6632c3fef65268772a68a8b05992465f5d5c09", + "queries.npz": "425af3de102d95a6a4171b96c5dd36c229db0f5c64974983396c75cb3d5df9eb", + "r2.npz": "0eb10d3c4cf08101925e4bab55326a6c167270b36fd724b6be787c554b1f70c5" + }, + "nodes": 24601, + "t_set": 0.1, + "eligible_unique": 1871, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00001389_21b525da345e4e62aebd906b_step_000/output", + "nodes": 24601, + "raw_nodes": 24601, + "t_scale_seconds": 0.1, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "93d02a81f3d7539cb97d07c67e133f80dd7a00a9469daad8f0b1e8d03ef00bbe", + "Df.npy": "72fcc726c797e7564dd2dfc5bdaa537ecaaf2d451013b4c2f8da4b74d143a2d6", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "8bc487ea4bf0139cbef252cb99fcc0908f0bad23a27ec33d4b17016fe0ef907a", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "f48d8f425ef9eceea89fe002d6ad2f7c718d88074470e54d5c5d5051bec71ea7", + "target.npy": "027d34fd0610f2a64bfb34122b022fa2672967dd1d6afe4c64e6e94c0d329d53", + "Di.npy": "284e350f3b03200ea264b98489dd89b4fa4d7428b9746c2da5461573d521f6db", + "raw_ids.npy": "adfe97e5166539e636cac3d2a6dcc668520bbc0e9dd43000426973c9404b7f13", + "features.npy": "729011e6954aaeb90e26cbad4fd3436f48b0a052e2e35261afede69c4e61a464", + "Vf.npy": "3fab2623e0cf3f90504100c3d6d3a8651aaf906cf2c1626fb661f7ffee40af8e" + }, + "result_sha256": "378167698e9f8f203717abf52d7e28365feeb341fb243f5b50c7c74f457637ad", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00001389_21b525da345e4e62aebd906b_step_000", + "fold": 2, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00001389_21b525da345e4e62aebd906b_step_000.npz", + "sha256": "a8e6a01c91aa0c836d1fb157e12375f1eaf9c5f57bf99832642de65674f6bced", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001389_21b525da345e4e62aebd906b_step_000/output/result.json", + "result_sha256": "cebbf6dfff0d1c690e4f1ea55dfc70be83db54de63cd07d5948ba91f24db6815", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001389_21b525da345e4e62aebd906b_step_000/output/query-predictions.npz", + "predictions_sha256": "2d2d67c474738ac3ac6c57fddad9b47710b2186ff0807ee1d9b2cd6b5252b360", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool25-R2/00001389_21b525da345e4e62aebd906b_step_000.npz", + "sha256": "17ee1b8679e9980f93fd5f66c3043c385475f47426db5c47893ebe6baa5a43e4" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool50-R2/00001389_21b525da345e4e62aebd906b_step_000.npz", + "sha256": "35561cf76ea038f6af34db75dbfee8ded7feded21e2b1f5428d89260b345ff65" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/2/fold2-pool100-R2/00001389_21b525da345e4e62aebd906b_step_000.npz", + "sha256": "d6c984eb723efdc810c75e44870999e15b7911455cd045abc60e012e17d309c8" + } + } + }, + { + "case": "00001159_f112d6f3e0c644ae9de2a724_step_000", + "source_key": "f112d6f3e0c644ae9de2a724", + "component_id": "component-c2879a464722198c", + "nodes": 23427, + "exposure": { + "inventory_state": "UNKNOWN", + "old_30_pair_endpoint": false, + "individual_diagnostic_stages": [], + "calibration_development": false, + "blind120_geometry_review": false, + "band25_geometry_review": false, + "all_corpus_historical_screening": true, + "unexposed_claim": false, + "development_exposed": false + }, + "assignments": [ + { + "fold": 0, + "role": "learning", + "learning_pools": [ + "100" + ] + }, + { + "fold": 1, + "role": "test", + "learning_pools": [] + }, + { + "fold": 2, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 3, + "role": "validation", + "learning_pools": [] + }, + { + "fold": 4, + "role": "learning", + "learning_pools": [ + "100" + ] + } + ], + "included": true, + "exclusion_reason": null, + "preparation": { + "preparation_root": "artifacts/s2-pilot-inputs-2026-11-15/parts/00001159_f112d6f3e0c644ae9de2a724_step_000", + "result_sha256": "83605a44abfac09446823aa55ce5aeeb0212ee31e42600158c873b6aff756661", + "output_sha256": { + "base.npy": "55572929df170d08c7d7de89f318fb2edf5190e051861d53a965bf89aedec833", + "boundary_distance_raw.npy": "b5d1bf4d52824f059e488e18e0854b0ec7cad68ef529a3363298cf98dcb41471", + "draw.npz": "69ae8226c7aa5c08da8b6f84291e486a26ff605e3b0bbc5e8820f3cc439282ef", + "edge-evidence.npz": "3b5aa5f522fb06c2648ab58e64ab47ae31651e4365c88f016ed36a9de9bf9535", + "geometry.npz": "c65bdc9c6a54eae92b351d1dac20aa9cf7ca9b34b812af67344c284436d0a583", + "o2-evidence.npz": "8573c3d79a218a9f121e724aa611f1e990596edc34d6dcab1041f6f84bbfcd4e", + "queries.npz": "055c91858781c239f1595285379f3dce8a55f33865b95a7078887beebf105970", + "r2.npz": "8d2d51c4c8ada5b274470c2764e64bb22b1769d6b0426fa3f28ff391f99a4702" + }, + "nodes": 23427, + "t_set": 0.1, + "eligible_unique": 1906, + "eligible_slots": 2000 + }, + "attempt_kind": "REUSED_PREVIOUS_PASS", + "v5_cache": { + "output": "artifacts/gre24-reproduction-2026-11-15/v5-preparation-continuation-2026-11-16/parts/00001159_f112d6f3e0c644ae9de2a724_step_000/output", + "nodes": 23427, + "raw_nodes": 23427, + "t_scale_seconds": 0.1, + "output_sha256": { + "outside_tet_raw_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "mass.npy": "26c19da5b96455359b9b28f3440ec4e288433d9fd480007ca3f66bc5023ceaa4", + "Df.npy": "1675bf8754e03fed8ac32018f5071937aed802afb5b215715046fe80df9e24ca", + "outside_tet_fill_time.npy": "fdee2f2368bf2af9c942f32cce9d982e48dfc46889bf923e99bc9ac834a4ba46", + "seconds.npy": "004e9ffd696670fd84cb0bc5d33549f60070d8c15b6239c24a1ec31f333d1a95", + "all_wall_tet_ids.npy": "e734dac55ea9fbbe782af2d8c02c3c5992131906228afb2aaaf137d6f3ed74db", + "Dw.npy": "af94b25592b9a2afb1790213fab44dc0d53d0493fce1735f1b068d7704ea2461", + "target.npy": "16677c92c3441688c86ef692607231cb1668ccc847826551fff50fae5d70740f", + "Di.npy": "61937e163de68ca4358a1b3e7352532a96685bd0172384c6fa2367046c380164", + "raw_ids.npy": "72adf4568f135aa4cda5e810500ef4b6c7fd9457ce2f6d2ad04fc05a80b2a33c", + "features.npy": "f73bcbd67bce47f1d71fc7b46923f35745699a4d9c7db90268b930a7541d1ceb", + "Vf.npy": "ff84f3a48bf639a1ee928a8a7083ae9399193e55ae9e0eba6896c647255a3b5e" + }, + "result_sha256": "5efa25bad1fd01539257b5aed8ad2f79ee3cdb79d8236c31f2104f9300332f75", + "outside_tet_nodes": 0 + }, + "label": { + "case": "00001159_f112d6f3e0c644ae9de2a724_step_000", + "fold": 1, + "path": "artifacts/s2-custody-evaluation-2026-11-15/custody/labels/00001159_f112d6f3e0c644ae9de2a724_step_000.npz", + "sha256": "09246d0bc2cb3ce7d06d740fe4668dbf06ec82adc1c3d5a3f825cf8a9995793f", + "decoded_arrays": [ + "Fill_time" + ] + }, + "r4a": { + "result": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001159_f112d6f3e0c644ae9de2a724_step_000/output/result.json", + "result_sha256": "95b026b1597bbbf99723e462e2c2ecff00ddd875336980ff91ec48b1d5764cb0", + "predictions": "/home/frank14f/optane/MeltMind/artifacts/r4a-execution-2026-11-16/parts/00001159_f112d6f3e0c644ae9de2a724_step_000/output/query-predictions.npz", + "predictions_sha256": "0be5bf8ce45a45e003e9d28ecfa2e949000b21c96dc811f73c3480c5141ef838", + "source": "original" + }, + "historical_predictions": { + "25": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool25-R2/00001159_f112d6f3e0c644ae9de2a724_step_000.npz", + "sha256": "1d646d761500227e53a44b0fb07575d00f03b4e7c0273ae7dcf9c94de0c60388" + }, + "50": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool50-R2/00001159_f112d6f3e0c644ae9de2a724_step_000.npz", + "sha256": "e6da77aacbc733cc0fc759986fd776af49700212479309a2d36ce5bcf807ba27" + }, + "100": { + "path": "artifacts/s2-custody-evaluation-2026-11-15/predictions/1/fold1-pool100-R2/00001159_f112d6f3e0c644ae9de2a724_step_000.npz", + "sha256": "2489075642b5ee29f4de2427e0809bb21febee63f109732d8cc05b6ca51e085a" + } + } + } + ], + "code_sha256": { + "tools/phase2_b5_gate.py": "f3f79f153c69ddc920a01d65de55335416691da926d282005bd4d54c15a2095e", + "tools/phase2_b5_certificate.py": "77985aff911eab7304b9b13f2aeb934e42c658779899c15d2242d93f66bc1b20", + "tools/phase2_h1_worker_v2.py": "1543df85b615bb69b79bacd572074a7c77ae19dab110197601573a7e5805ed20", + "tools/phase2_residual_math.py": "ffbd9624dec79bdaabf95244fe87209055908f31a977e73ea4377045d6f8fe62", + "tools/r4bc_guard.py": "437a756ddf10b125dce450f463e76e28df52724f8c5766e0a989dfa536805628", + "tools/s2_recovery_supervisor.py": "f563ca3c2665f5baf0c04f296616e4640423a59b815fbb00479af0f29e57a919", + "tools/s2_recovery_monitoring.py": "442c2a9c75e8c00b30a8f2e91cb52d87c466b19a80aea9128b10c021e61b922e" + }, + "source_sha256": { + "/home/frank14f/optane/MeltMind/artifacts/phase2-b3-gate-2026-11-17/contract.json": "3ee2b2d7d1da8e2bb3be82f0963b2f24425ab8f8d93abc2f1812c0957900abc0", + "artifacts/phase2-b5-acceptance-2026-11-17/acceptance.json": "ef778d8b1422dd6444730a18b4d1ea26779d5fcf46fc4e5b5d5e79769eebb696" + }, + "selection": "first10 of frozen B3 component-hash panel; no label access", + "candidate_policy": { + "max_candidates": 3, + "anchor_boundary_faces": 16, + "nearest_face_centers": 32, + "opposing_normal_dot_max": -0.8, + "max_distance_over_sqrt_area": 4.0, + "min_abs_determinant_over_max_edge_cubed": 1e-12, + "vertex_correspondence": "minimum sum squared paired-vertex distance; permutation lex tie" + }, + "certificate": "positive oriented affine prism tets; exact pair intersections equal common reference simplices; exact subtraction proves whole image inside original tet union", + "limits": { + "worker_cpu": 20, + "worker_cpu_seconds": 7080, + "total_cpu_seconds": 7200, + "per_part_predicate_cpu_seconds": 300, + "per_part_predicate_operations": 70000, + "rss_bytes": 8589934592, + "disk_bytes": 5368709120 + }, + "new_decodes": 0, + "new_models": 0, + "gpu": false, + "retry": false, + "decision": "any independently confirmed false acceptance prunes implementation; >=6/10 exact certified unions below .20 parks whole-part layering; incomplete coverage stays unknown", + "interpretation": "certificate for stored binary-float mesh and nominated boundary facets; no independent true wall-pair labels or physical thin-gap guarantee" +} diff --git a/docs/phase2-b5-gate-contract-2026-11-17.md b/docs/phase2-b5-gate-contract-2026-11-17.md new file mode 100644 index 000000000..3b67ae164 --- /dev/null +++ b/docs/phase2-b5-gate-contract-2026-11-17.md @@ -0,0 +1,15 @@ +# B5 局部双壁片小门执行定义 + +执行Claude1794887072及1794888554已批准的Mold纸面小门,不重新请求主审/用户go。完整规格`references/2026-11-17/phase2-design/mold-b3-b4-b5-gates.md`。只读原学习侧几何,不读Fill_time/标签、不拟合、不用GPU;最多10件、每件最多3个候选。使用冻结B3面板前10件,仍为10个不同组件的fold0/pool100 learning;无后见挑选或替换。 + +候选政策固定:每件边界三角面按排序raw ID的逗号串SHA256取前16个anchor;各取质心最近32面,排除共顶点,两外法向点积≤−0.8,连线进入起面材料侧、离开终面材料侧,质心距≤4倍较小面面积平方根。外法向由唯一拥有原tet定向,不能唯一判定则未知。对应顶点取六排列中配对距离平方和最小者,平局按排列字典序;候选去重后按距离/面积平方根及面索引排序取前3。此政策只是有限、无标签候选生成法,不声称网格三角面本身就是独立标注的物理壁对。 + +对六顶点采用共同参考三角柱的固定三tet剖分;全部负定向时统一翻转参考坐标,保存重排;任何混合定向/零体积拒绝,最小绝对行列式/最大边长立方<1e−12记未知。随后将存储的二进制浮点坐标精确转为有理数:核每对像tet交点属于公共参考单纯形;通过凸多面体精确差集,证明候选完全包含在原tet并集中。只对bbox相交原tet做该包含检查,不用点/弦采样代替整域。两端是指定的不同原边界面,其实体边界身份来自原tet唯一拥有者,不是假设有独立CAD墙标注。 + +认证子片允许重叠;覆盖分子取精确几何并集体积,通过逐片差集去重,分母用原件lumped tet体积总和。相邻认证片没有做拼接兼容性认证,不能拼成全局坐标系。未认证区域保持未知;不把局部正体积或几根弦当证书。记录每个候选、原raw ID、所用原tet ID、拒绝/未知原因、每件覆盖、无候选数与成本。无独立壁对真值,所以工业穿空误接受数/率记未测,不报零误判率;已有合成穿空隙和折叠负对照单列。 + +每件精确谓词≤300 CPU秒/70000操作,凸多面体≤24平面/256碎片,超限UNKNOWN且该件覆盖未完整。候选退化余量不合格记UNKNOWN、无认证体积;若其余已认证片并集计算完整,该数仍是已认证覆盖而不是潜在可覆盖的上界。最多10件总≤7200 CPU秒,worker≤7080 CPU/墙钟秒、8GiB RSS、5GiB输出;CPU20与B1核分离,60秒setup含合成及合同准备,guard另实计。无重试、无额外候选扩展。 + +固定决策:任一独立确认穿空误接受,剪掉实现;10件中至少6件已认证并集精确覆盖<0.20,暂存全件片层化、只保留局部辅助路线。成本/复杂度未判清部分不当作否定证据,未够10件保留实际分母并PARK。以上不否定所有分区/类型/拓扑路线。重开条件为独立壁对真值、更稳健谓词或新候选生成法,由Claude统一树决策。 + +验收保留原4项证书合成(板/斜变换、穿空隙、筋根折叠、复杂度UNKNOWN),新增3项端到端合成:真实边界候选→证书→重复片并集去重、负定向参考重排还原、仅几何的完整单件通路及不足十件PARK/并集预算UNKNOWN。原测试后只新增参考顺序输出及谓词预算计数;新集成验收覆盖当前实现,不重跑旧纯数学。所有真实结果及实际启动由新根回执另证,本定义不是已执行声明。 diff --git a/tools/phase2_b5_certificate.py b/tools/phase2_b5_certificate.py new file mode 100644 index 000000000..d5d57a08a --- /dev/null +++ b/tools/phase2_b5_certificate.py @@ -0,0 +1,167 @@ +"""Conservative exact-rational certificate on the stored binary-float tet domain. + +No approximate predicate can turn UNKNOWN into acceptance. Complexity and CPU +limits return UNKNOWN. This certifies selected subpatches, not CAD wall truth. +""" +from fractions import Fraction as F +from itertools import combinations +from math import gcd,lcm +import time + + +class Unknown(RuntimeError):pass + + +class Work: + def __init__(self,operations=70000,cpu_seconds=300): + self.operations=0;self.limit=operations;self.start=time.process_time();self.cpu_limit=cpu_seconds + def tick(self): + self.operations+=1 + if self.operations>self.limit or time.process_time()-self.start>self.cpu_limit:raise Unknown('exact predicate complexity/CPU limit') + + +def point(p):return tuple(F.from_float(float(v)) for v in p) +def sub(a,b):return tuple(x-y for x,y in zip(a,b)) +def dot(a,b):return sum(x*y for x,y in zip(a,b)) +def cross(a,b):return (a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]) +def det(a,b,c):return dot(a,cross(b,c)) + + +def primitive(values): + den=lcm(*(v.denominator for v in values));nums=[int(v*den) for v in values] + div=gcd(*map(abs,nums)) + if div==0:raise Unknown('zero plane') + return tuple(v//div for v in nums) + + +def tetra_planes(vertices): + x=tuple(vertices);planes=[] + if det(sub(x[1],x[0]),sub(x[2],x[0]),sub(x[3],x[0]))==0:raise Unknown('degenerate tet') + for omitted in range(4): + face=[x[i] for i in range(4) if i!=omitted];n=cross(sub(face[1],face[0]),sub(face[2],face[0]));d=-dot(n,face[0]) + if dot(n,x[omitted])+d>0:n=tuple(-v for v in n);d=-d + planes.append(primitive((*n,d))) + return tuple(planes) + + +def evalplane(plane,p):return dot(plane[:3],p)+plane[3] + + +def vertices(planes,work): + planes=tuple(dict.fromkeys(planes)) + if len(planes)>24:raise Unknown('too many clipping planes') + out=set() + for a,b,c in combinations(planes,3): + work.tick();den=det(a[:3],b[:3],c[:3]) + if den==0:continue + bc=cross(b[:3],c[:3]);ca=cross(c[:3],a[:3]);ab=cross(a[:3],b[:3]) + p=tuple(F(-a[3]*bc[i]-b[3]*ca[i]-c[3]*ab[i],den) for i in range(3)) + if all(evalplane(h,p)<=0 for h in planes):out.add(p) + return tuple(sorted(out)) + + +def poly(planes,work): + h=tuple(dict.fromkeys(planes));return h,vertices(h,work) + + +def hull2(items,axes): + ordered=sorted(items,key=lambda p:(p[axes[0]],p[axes[1]])) + def turn(a,b,c):return (b[axes[0]]-a[axes[0]])*(c[axes[1]]-a[axes[1]])-(b[axes[1]]-a[axes[1]])*(c[axes[0]]-a[axes[0]]) + lower=[];upper=[] + for p in ordered: + while len(lower)>1 and turn(lower[-2],lower[-1],p)<=0:lower.pop() + lower.append(p) + for p in reversed(ordered): + while len(upper)>1 and turn(upper[-2],upper[-1],p)<=0:upper.pop() + upper.append(p) + return lower[:-1]+upper[:-1] + + +def volume(p): + planes,verts=p + if len(verts)<4:return F(0) + directions=[sub(v,verts[0]) for v in verts[1:]] + first=next((v for v in directions if any(v)),None) + if first is None:return F(0) + normal=next((cross(first,v) for v in directions if any(cross(first,v))),None) + if normal is None or all(dot(normal,v)==0 for v in directions):return F(0) + total=F(0);seen=set() + for plane in planes: + face=tuple(v for v in verts if evalplane(plane,v)==0) + if len(face)<3 or frozenset(face) in seen:continue + seen.add(frozenset(face));axis=max(range(3),key=lambda i:abs(plane[i]));axes=[i for i in range(3) if i!=axis] + boundary=hull2(face,axes) + if plane[axis]*(1 if axis!=1 else -1)<0:boundary.reverse() + for j in range(1,len(boundary)-1):total+=det(boundary[0],boundary[j],boundary[j+1])/6 + if total<0:raise Unknown('oriented volume inconsistency') + return total + + +def clip(p,plane,work): + h,v=p + if not v:return p + vals=[evalplane(plane,x) for x in v] + if max(vals)<=0:return p + if min(vals)>0:return (h+(plane,),()) + return poly(h+(plane,),work) + + +def outside(p,solid_planes,work): + remaining=p;pieces=[] + for h in solid_planes: + if not remaining[1]:break + fragment=clip(remaining,tuple(-v for v in h),work) + if volume(fragment)>0:pieces.append(fragment) + remaining=clip(remaining,h,work) + return pieces + + +def in_common(p,shared): + if not shared:return False + if len(shared)==1:return p==shared[0] + a=shared[0];b=sub(shared[1],a);v=sub(p,a) + if len(shared)==2: + k=next((i for i in range(3) if b[i]!=0),None) + if k is None:return p==a + t=v[k]/b[k];return 0<=t<=1 and all(v[i]==t*b[i] for i in range(3)) + c=sub(shared[2],a) + for i,j in combinations(range(3),2): + d=b[i]*c[j]-b[j]*c[i] + if d: + u=(v[i]*c[j]-v[j]*c[i])/d;w=(b[i]*v[j]-b[j]*v[i])/d + return u>=0 and w>=0 and u+w<=1 and all(v[k]==u*b[k]+w*c[k] for k in range(3)) + raise Unknown('degenerate shared reference face') + + +PRISM=((0,1,2,5),(0,4,1,5),(0,3,4,5)) + + +def certify(points,cavity_tets,work=None): + work=work or Work();x=tuple(point(p) for p in points) + reference_order=(0,1,2,3,4,5) + if len(x)!=6 or len(set(x))!=6:return dict(status='REJECT',reason='non-distinct prism vertices') + signs=[det(sub(x[t[1]],x[t[0]]),sub(x[t[2]],x[t[0]]),sub(x[t[3]],x[t[0]])) for t in PRISM] + if all(v<0 for v in signs): + reference_order=(0,2,1,3,5,4) + x=tuple(x[i] for i in (0,2,1,3,5,4));signs=[det(sub(x[t[1]],x[t[0]]),sub(x[t[2]],x[t[0]]),sub(x[t[3]],x[t[0]])) for t in PRISM] + if any(v<=0 for v in signs):return dict(status='REJECT',reason='folded or degenerate product mapping') + polys=[(tetra_planes([x[i] for i in t]),tuple(x[i] for i in t)) for t in PRISM] + for i,j in combinations(range(3),2): + intersection=vertices(polys[i][0]+polys[j][0],work) + shared=[x[k] for k in sorted(set(PRISM[i]) & set(PRISM[j]))] + if any(not in_common(p,shared) for p in intersection):return dict(status='REJECT',reason='nonlocal image self intersection') + cavity=[] + for t in cavity_tets: + work.tick();cavity.append(tetra_planes(tuple(point(p) for p in t))) + for p in polys: + uncovered=[p] + for planes in cavity: + work.tick() + uncovered=[q for prior in uncovered for q in outside(prior,planes,work)] + if len(uncovered)>256:raise Unknown('uncovered polytope count cap') + if not uncovered:break + if uncovered:return dict(status='REJECT',reason='positive volume outside original cavity union',uncovered_volume=float(sum(volume(p) for p in uncovered))) + v=sum(signs)/6 + return dict(status='CERTIFIED',volume=float(v),volume_fraction_exact=[str(v.numerator),str(v.denominator)], + operations=work.operations,verification='exact rational predicates for stored binary-float coordinates',tetrahedra=3, + reference_vertex_order=list(reference_order)) diff --git a/tools/phase2_b5_gate.py b/tools/phase2_b5_gate.py new file mode 100644 index 000000000..043164b9f --- /dev/null +++ b/tools/phase2_b5_gate.py @@ -0,0 +1,152 @@ +"""B5: <=3 selected boundary-triangle prism candidates on ten learning parts.""" +import argparse +import hashlib +from itertools import permutations +import json +import os +from pathlib import Path +import sys +import time +import numpy as np +from scipy.spatial import cKDTree +from phase2_b5_certificate import (certify,Work,Unknown,PRISM,point,tetra_planes,volume,outside,F,det,sub) +from phase2_h1_worker_v2 import checked,sha,save +from r4bc_guard import supervise + +BASE=Path('/home/frank14f/optane/MeltMind') +ROOT=BASE/'artifacts/phase2-b5-gate-2026-11-17' +def read(p):return json.loads(Path(p).read_text()) + + +def prepare(acceptance): + tests=read(acceptance) + if tests['status']!='PASS':raise ValueError('B5 synthetic acceptance missing') + for p,h in tests['code_sha256'].items():checked(BASE/p,h) + prior=BASE/'artifacts/phase2-b3-gate-2026-11-17/contract.json';parts=read(prior)['parts'][:10] + code={f'tools/{n}.py':sha(BASE/f'tools/{n}.py') for n in ['phase2_b5_gate','phase2_b5_certificate','phase2_h1_worker_v2','phase2_residual_math','r4bc_guard','s2_recovery_supervisor','s2_recovery_monitoring']} + ROOT.mkdir(exist_ok=False) + save(ROOT/'contract.json',dict(version='B5-local-prism-certificate-v1',authorizing_ruling='1794887072.921849',parts=parts, + code_sha256=code,source_sha256={str(prior):sha(prior),str(acceptance):sha(acceptance)}, + selection='first10 of frozen B3 component-hash panel; no label access',candidate_policy=dict(max_candidates=3, + anchor_boundary_faces=16,nearest_face_centers=32,opposing_normal_dot_max=-.8,max_distance_over_sqrt_area=4., + min_abs_determinant_over_max_edge_cubed=1e-12,vertex_correspondence='minimum sum squared paired-vertex distance; permutation lex tie'), + certificate='positive oriented affine prism tets; exact pair intersections equal common reference simplices; exact subtraction proves whole image inside original tet union', + limits=dict(worker_cpu=20,worker_cpu_seconds=7080,total_cpu_seconds=7200,per_part_predicate_cpu_seconds=300,per_part_predicate_operations=70000, + rss_bytes=8*1024**3,disk_bytes=5*1024**3),new_decodes=0,new_models=0,gpu=False,retry=False, + decision='any independently confirmed false acceptance prunes implementation; >=6/10 exact certified unions below .20 parks whole-part layering; incomplete coverage stays unknown', + interpretation='certificate for stored binary-float mesh and nominated boundary facets; no independent true wall-pair labels or physical thin-gap guarantee')) + + +def config(root): + c=read(root/'contract.json') + for p,h in {**c['source_sha256'],**c['code_sha256']}.items():checked(p,h) + for r in c['parts']: + a=next(x for x in r['assignments'] if x['fold']==0) + if a['role']!='learning' or '100' not in a['learning_pools']:raise PermissionError('B5 held-out role denied') + return c + + +def candidates(x,t,faces,raw,c): + centers=x[faces].mean(axis=1);tree=cKDTree(centers) + anchors=sorted(range(len(faces)),key=lambda k:(hashlib.sha256(','.join(map(str,sorted(map(int,raw[faces[k]])))).encode()).hexdigest(),k))[:16] + flat=t.ravel();order=np.argsort(flat,kind='stable');ends=np.r_[0,np.cumsum(np.bincount(flat,minlength=len(x)))];owners=order//4 + def normal(face): + possible=owners[ends[face[0]]:ends[face[0]+1]] + keep=(t[possible,:,None]==face[None,None,:]).any(axis=1).all(axis=1);owner=possible[keep] + if len(owner)!=1:raise Unknown('boundary face does not have one owning tet') + opposite=next(i for i in t[owner[0]] if i not in face) + a,b,d=x[face];n=np.cross(b-a,d-a);length=np.linalg.norm(n) + if not np.isfinite(length) or length<=0:raise Unknown('degenerate boundary triangle') + if np.dot(n,x[opposite]-a)>0:n=-n + return n/length,length/2 + found={} + for i in anchors: + ni,ai=normal(faces[i]);_,near=tree.query(centers[i],k=min(32,len(faces))) + for j in np.atleast_1d(near): + j=int(j) + if j==i or set(faces[i]) & set(faces[j]):continue + nj,aj=normal(faces[j]);d=centers[j]-centers[i];distance=float(np.linalg.norm(d));scale=float(np.sqrt(min(ai,aj))) + if ni@nj>-.8 or ni@d>=0 or nj@d<=0 or distance>4*scale:continue + key=tuple(sorted((i,j))) + if key in found:continue + bottom=faces[i];top=faces[j] + perm=min(permutations(range(3)),key=lambda p:(float(np.sum((x[bottom]-x[top[list(p)]])**2)),p)) + ids=np.r_[bottom,top[list(perm)]];points=x[ids] + found[key]=dict(wall_face_indices=[i,j],wall_raw_ids=[list(map(int,raw[bottom])),list(map(int,raw[top]))], + raw_ids=list(map(int,raw[ids])),local_ids=list(map(int,ids)),points=points.tolist(),selection_score=distance/scale) + return sorted(found.values(),key=lambda r:(r['selection_score'],r['wall_face_indices']))[:3] + + +def union_add(points,result,accepted,work): + vertices=tuple(point(points[i]) for i in result['reference_vertex_order']) + new=[(tetra_planes([vertices[i] for i in tet]),tuple(vertices[i] for i in tet)) for tet in PRISM] + added=F(0) + for poly in new: + fragments=[poly] + for old in accepted: + work.tick() + fragments=[q for f in fragments for q in outside(f,old[0],work)] + if len(fragments)>256:raise Unknown('union fragmentation cap') + added+=sum((volume(p) for p in fragments),F(0)) + return added,new + + +def run(root,c): + start=time.process_time();out=root/'parts';out.mkdir(exist_ok=False);results=[];failures=[] + for row in c['parts']: + dest=out/row['case'];dest.mkdir();work=Work(70000,300);records=[];accepted=[];union=F(0);exact_coverage=True + try: + p=row['preparation'];source=Path(p['preparation_root']) + with np.load(checked(source/'geometry.npz',p['output_sha256']['geometry.npz']),allow_pickle=False) as z: + x=z['points_raw'];t=z['tetra'];faces=z['boundary_triangles'];raw=z['raw_node_ids'];mass=z['node_volume_raw'] + selected=candidates(x,t,faces,raw,c);save(dest/'candidates.json',selected) + total_volume=float(mass.sum());mins=x[t].min(axis=1);maxs=x[t].max(axis=1) + for k,proposal in enumerate(selected): + points=np.asarray(proposal['points']);h=float(np.max(np.linalg.norm(points[:,None]-points[None,:],axis=2))) + signs=[float(det(sub(point(points[b]),point(points[a])),sub(point(points[d]),point(points[a])),sub(point(points[e]),point(points[a])))) for a,b,d,e in PRISM] + if h<=0 or min(map(abs,signs))/h**3<1e-12: + records.append(dict(candidate=k,status='UNKNOWN',reason='orientation/degeneracy margin'));continue + relevant=np.flatnonzero(np.all(maxs>=points.min(axis=0),axis=1)&np.all(mins<=points.max(axis=0),axis=1)) + try: + result=certify(points,x[t[relevant]],work) + result.update(candidate=k,cavity_tet_ids=list(map(int,relevant))) + if result['status']=='CERTIFIED': + added,new=union_add(points,result,accepted,work) + union+=added;accepted+=new;result['new_union_volume']=float(added) + records.append(result) + except Unknown as exc: + records.append(dict(candidate=k,status='UNKNOWN',reason=str(exc)));exact_coverage=False;break + report=dict(case=row['case'],component_id=row['component_id'],candidates=len(selected),attempted=len(records),records=records, + certified_patches=sum(r['status']=='CERTIFIED' for r in records),certified_union_volume=float(union),original_volume=total_volume, + certified_union_fraction=float(union)/total_volume,union_coverage_complete=exact_coverage, + no_candidate=not selected,operations=work.operations,predicate_cpu_seconds=time.process_time()-work.start, + independently_checked_cross_air_acceptances=None,independent_wall_pair_truth=False,labels_read=False) + save(dest/'result.json',report);results.append(report) + except Exception as exc: + failure=dict(case=row['case'],type=type(exc).__name__,message=str(exc));save(dest/'failure.json',failure);failures.append(failure) + save(root/'progress.json',dict(completed=len(results),failures=len(failures),cpu_seconds=time.process_time()-start)) + low=sum(r['union_coverage_complete'] and r['certified_union_fraction']<.2 for r in results) + decision='PARK_WHOLE_PART_LAYERING_KEEP_LOCAL_CERTIFICATES' if len(results)==10 and low>=6 else 'PARK_COVERAGE_UNKNOWN' if len(results)!=10 or failures or any(not r['union_coverage_complete'] for r in results) else 'RETAIN_LOCAL_CERTIFICATE_ROUTE' + save(root/'result.json',dict(status='COMPLETE',gate='B5',decision=decision,parts=results,failures=failures,low_coverage_parts=low, + independently_checked_cross_air_acceptances=None,independent_wall_pair_error_rate=None, + synthetic_negatives='air-gap and folded-correspondence rejections; no industrial true-pair error claim', + interpretation='exact containment in stored tet union; finite candidate policy and complexity failures do not refute all partition routes', + cpu_seconds=time.process_time()-start)) + + +def supervise_gate(root): + c=config(root);limits=c['limits'];os.sched_setaffinity(0,[limits['worker_cpu']]);start=time.process_time() + if (root/'actual-start.json').exists():raise FileExistsError('No B5 retry') + save(root/'actual-start.json',dict(pid=os.getpid(),unix=time.time(),contract_sha256=sha(root/'contract.json'))) + g=supervise([sys.executable,'tools/phase2_b5_gate.py','worker',str(root)],root/'guard',dict(cpu_seconds=7080,wall_seconds=7080,rss_bytes=limits['rss_bytes'],disk_bytes=limits['disk_bytes'])) + guard_cpu=time.process_time()-start;total=g['cpu_seconds']+guard_cpu+60 + status='PASS' if g['status']=='PASS' and total<=7200 and (root/'result.json').exists() else 'STOPPED' + save(root/'complete.json',dict(status=status,guard=g,guard_cpu_seconds=guard_cpu,setup_charge_seconds=60,cumulative_charge_seconds=total,retry=False)) + return 0 if status=='PASS' else 1 + + +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('mode',choices=['prepare','worker','supervise']);p.add_argument('path',type=Path);a=p.parse_args() + if a.mode=='prepare':prepare(a.path) + elif a.mode=='worker':run(a.path,config(a.path)) + else:raise SystemExit(supervise_gate(a.path)) diff --git a/tools/test_phase2_b5_certificate.py b/tools/test_phase2_b5_certificate.py new file mode 100644 index 000000000..bdfa57e42 --- /dev/null +++ b/tools/test_phase2_b5_certificate.py @@ -0,0 +1,24 @@ +import unittest +import numpy as np +from phase2_b5_certificate import certify,PRISM,Work,Unknown + + +class CertificateTests(unittest.TestCase): + def test_triangular_plate_exact_cover_and_oblique_transform(self): + p=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1],[1,0,1],[0,1,1]],float) + for x in (p,p@np.array([[1,.25,0],[0,1,.5],[.25,0,1]])+np.array([2.,-1.,3.])): + r=certify(x,x[np.array(PRISM)]);self.assertEqual(r['status'],'CERTIFIED') + def test_foldback_air_gap_rejected(self): + p=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,3],[1,0,3],[0,1,3]],float) + lower=p.copy();lower[3:,2]=1;upper=p.copy();upper[:3,2]=2 + cavity=np.concatenate([lower[np.array(PRISM)],upper[np.array(PRISM)]]) + r=certify(p,cavity);self.assertEqual(r['status'],'REJECT');self.assertIn('outside',r['reason']) + def test_rib_root_folded_correspondence_rejected(self): + p=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1],[0,1,1],[1,0,1]],float) + r=certify(p,np.zeros((0,4,3)));self.assertEqual(r['status'],'REJECT') + def test_budget_is_unknown_not_acceptance(self): + p=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,1],[1,0,1],[0,1,1]],float) + with self.assertRaises(Unknown):certify(p,p[np.array(PRISM)],Work(operations=1)) + + +if __name__=='__main__':unittest.main() diff --git a/tools/test_phase2_b5_integration.py b/tools/test_phase2_b5_integration.py new file mode 100644 index 000000000..11d0051f7 --- /dev/null +++ b/tools/test_phase2_b5_integration.py @@ -0,0 +1,48 @@ +import json +from pathlib import Path +from tempfile import TemporaryDirectory +import unittest +import numpy as np +from phase2_b5_certificate import certify,PRISM,Work,F,Unknown +from phase2_b5_gate import candidates,union_add,run,sha + + +def fixture(): + x=np.array([[0,0,0],[1,0,0],[0,1,0],[0,0,.125],[1,0,.125],[0,1,.125]],float) + t=np.array(PRISM);faces={} + for tet in t: + for k in range(4): + face=tuple(sorted(np.delete(tet,k)));faces[face]=faces.get(face,0)+1 + boundary=np.array([f for f,n in faces.items() if n==1]);raw=np.arange(100,106) + return x,t,boundary,raw + + +class IntegrationTests(unittest.TestCase): + def test_boundary_selection_certificate_and_duplicate_union(self): + x,t,faces,raw=fixture();selected=candidates(x,t,faces,raw,{}) + self.assertTrue(selected);self.assertLessEqual(len(selected),3) + item=next(p for p in selected if set(p['local_ids'])==set(range(6))) + points=np.array(item['points']);r=certify(points,x[t]);self.assertEqual(r['status'],'CERTIFIED') + added,polys=union_add(points,r,[],Work());self.assertEqual(added,F(1,16)) + duplicate,_=union_add(points,r,polys,Work());self.assertEqual(duplicate,0) + + def test_reversed_reference_metadata_reconstructs_volume(self): + x,t,_,_=fixture();p=x[[0,2,1,3,5,4]];r=certify(p,x[t]) + self.assertEqual(r['status'],'CERTIFIED');self.assertEqual(r['reference_vertex_order'],[0,2,1,3,5,4]) + added,_=union_add(p,r,[],Work());self.assertEqual(added,F(1,16)) + + def test_one_part_pipeline_reads_only_geometry_and_preserves_unknown(self): + x,t,faces,raw=fixture() + with TemporaryDirectory() as temp: + base=Path(temp);source=base/'source';source.mkdir();root=base/'gate';root.mkdir() + np.savez(source/'geometry.npz',points_raw=x,tetra=t,boundary_triangles=faces,raw_node_ids=raw,node_volume_raw=np.full(6,1/96)) + row=dict(case='synthetic',component_id='synthetic',preparation=dict(preparation_root=str(source),output_sha256={'geometry.npz':sha(source/'geometry.npz')})) + run(root,dict(parts=[row]));part=json.loads((root/'parts/synthetic/result.json').read_text()) + self.assertTrue(part['union_coverage_complete']);self.assertAlmostEqual(part['certified_union_fraction'],1.) + self.assertFalse(part['labels_read']);self.assertIsNone(part['independently_checked_cross_air_acceptances']) + self.assertEqual(json.loads((root/'result.json').read_text())['decision'],'PARK_COVERAGE_UNKNOWN') + with self.assertRaises(Unknown): + r=certify(x,x[t]);union_add(x,r,union_add(x,r,[],Work())[1],Work(operations=0)) + + +if __name__=='__main__':unittest.main()