Share joined oracle LOG evidence and actual S3-A recovery receipts

This commit is contained in:
Frank14f committed 2026-11-15 18:17:18 +08:00
1 parent 259d1d685b
commit 4d76d35fc2
30 files changed
+33862

No files matched your search

+2
View File
@@ -52,3 +52,5 @@
- Latest naive and LOG terminal update (2026-11-15): Naive ordering complete: original610PASS+7failures retained, seven cache-only continuations PASS; canonical617,23938maps frozen,score PASS. Worker cumulative836.697435206s/36000; no new fits or decodes in continuation. Original49189,continuation2411,map63422,score10304 all exited; do not rerun. Results9b7121a/docs/naive-ordering-results-2026-11-15.md. LOG92800 complete624/624,411within1pp,611zero-printed-flow undefined,13central-window printed-flow within5%; see docs/log-time-map-results-2026-11-15.md. Both retain complete raw evidence. S3-A original5217/PID458991 still active: 228 receipts/0 failures,progress228,4active,sourcepinsPASS,worker12282.190599s/64800fit cap;20h includes2hpostfit. No terminal freeze, prediction/scoring not started. Do not restart or modify running pins; after all390terminal follow existing approved postfit freeze/predict/score scope. Earlier two-queue running entries are historical.
- Latest S3-A terminal correction (2026-11-15): S3-A original5217/PID458991 has now exited1: S3A_STOPPED_INCOMPLETE/S3A_COORDINATOR_INTERRUPTED.235attempted=231PASS+4interrupted(230,232,233,234;returncode-9),155never-attempted235..389,all30finalnotrun. SourcepinsPASS,no live queue/fit processes,accounting_complete true,worker12507.336661CPU-s; original failures and attempts immutable. Signal origin unknown; handler merges SIGINT/SIGTERM, do not call this numerical failure. No restart/retry authorized by polling; Claude notified1794736881.943279 for infrastructure continuation ruling. Read artifacts/s3a-interruption-audit-2026-11-15/audit.json. Naive/LOG complete; prior S3-A running snapshots are historical.
- Latest S3-A infrastructure continuation actual launch (2026-11-15): S3-A authorized159 continuation now active: session7921/PID464772/root artifacts/s3a-recovery-2026-11-15, orchestration259d1d685bdced1920eb3d483019cd18fedc1bf5 (local fixed; remote publication queued behind087f63b full raw upload). Scientific contract263b0b42 and original6142ad6 workers unchanged. Claude1794736905 explicit4infra recoveries230/232/233/234+155never attempted; reuse231PASS, prior12507.336661CPU-s counted once within20h/18hfit+2hpostfit. Six scope/accounting/barrier testsPASS, actual sourcepinsPASS and4guards+4workers observed; old458991 absent. All360HPO terminal then30final,390canonical thenprediction/scoring. Original partial failures immutable; do not duplicate/restart or mutate either pinned implementation. Read fresh receipts, recovery-scope/code-freeze and actual-start-audit; older stopped/running entries are historical.
@@ -0,0 +1,24 @@
{
"status": "EXACT_CASE_JOIN_AND_DISPLAY_COMPLETE",
"parts": 617,
"log_only": 7,
"first_guard_failure_retained": true,
"first_failure_stage": "display: relative_l2 is a metric object with value/reason",
"existing_join_not_recomputed": true,
"new_decodes": 0,
"new_fits": 0,
"new_predictions": 0,
"new_significance_tests": 0,
"worker_CPU_s": 1.491620715,
"limitations": [
"Matching case IDs does not equate the volume domains or time endpoints.",
"LOG ordinate deviation is volume percentage points; oracle ordinate is time relative L2.",
"No subtraction as ordering-error share, no floor or causality claim."
],
"output_sha256": {
"oracle-log-join.png": "d7a91f9483d0192970f38faf77b0a4e76c76844cac58e7a3b2b5526280d0052d",
"joined-parts.json": "32bf1faf6db34dba4ab5a54fbdaec2f85f203a1afb173bc544deea534dcb9add",
"log-only-parts.json": "b83f55af853ba944ef38e810dcaba9c6e27a41c0839c0ed1fe743997ddbac826",
"endpoint-provenance.json": "592ca759e07c683ecbc155cd29c87e1a6b85d8d602a4d88a82dbcf4827a5a06d"
}
}
@@ -0,0 +1,31 @@
{
"worker": {
"status": "PASS",
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/finish_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"returncode": 0,
"stop_reason": null,
"cpu_seconds": 1.7116569999999998,
"wall_seconds": 2.1395979470107704,
"peak_tree_rss_bytes": 84627456,
"peak_process_count": 1,
"output_disk_bytes_before_receipt": 4096,
"max_poll_gap_seconds": 0.3875139820156619,
"poll_target_seconds": 0.2,
"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
},
"first_worker_CPU_s": 2.649644,
"cumulative_join_CPU_s": 4.361300999999999,
"join_cap_CPU_s": 60,
"cumulative_LOG_task_CPU_s": 11.351280276,
"LOG_cap_CPU_s": 3600
}
Whitespace-only changes.
@@ -0,0 +1,10 @@
{
"cpu_seconds_charged": 1.7116569999999998,
"attempts": [
{
"name": "worker",
"status": "PASS",
"cpu_seconds": 1.7116569999999998
}
]
}
Whitespace-only changes.
@@ -0,0 +1,24 @@
{
"status": "PASS",
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/finish_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"returncode": 0,
"stop_reason": null,
"cpu_seconds": 1.7116569999999998,
"wall_seconds": 2.1395979470107704,
"peak_tree_rss_bytes": 84627456,
"peak_process_count": 1,
"output_disk_bytes_before_receipt": 4096,
"max_poll_gap_seconds": 0.3875139820156619,
"poll_target_seconds": 0.2,
"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
}
@@ -0,0 +1,17 @@
{
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/finish_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"limits": {
"total_cpu_seconds": 57.350356,
"job_cpu_seconds": 57.350356,
"job_wall_seconds": 120,
"tree_rss_bytes": 1073741824,
"disk_bytes": 10485760,
"max_processes": 1
},
"started_unix": 1794737549.9135325
}
@@ -0,0 +1,10 @@
{
"purpose": "Finish display from retained617join; copy existing endpoint metadata; no repeated join/prediction/labels",
"inputs": {
"artifacts/naive-log-join-2026-11-15/joined-parts.json": "32bf1faf6db34dba4ab5a54fbdaec2f85f203a1afb173bc544deea534dcb9add",
"artifacts/naive-log-join-2026-11-15/log-only-parts.json": "b83f55af853ba944ef38e810dcaba9c6e27a41c0839c0ed1fe743997ddbac826",
"artifacts/naive-log-join-2026-11-15/guard-result.json": "19a49bf7bab70e2910768a22cf66596452996c673c78b858bd6d3674afe50e2d"
},
"source_sha256": "91117c48799aeb50698af49f1ded7d0bb79bd82c0813319d4d1dc5cc9d495698",
"remaining_CPU_s": 57.350356
}
File diff suppressed because it is too large. Load diff
Whitespace-only changes.
@@ -0,0 +1,29 @@
{
"worker": {
"status": "STOPPED_OR_FAILED",
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"returncode": 1,
"stop_reason": null,
"cpu_seconds": 2.649644,
"wall_seconds": 2.8495280359638855,
"peak_tree_rss_bytes": 120893440,
"peak_process_count": 1,
"output_disk_bytes_before_receipt": 688128,
"max_poll_gap_seconds": 0.41002479096641764,
"poll_target_seconds": 0.2,
"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
},
"prior_LOG_task_CPU_s": 6.989979276,
"cumulative_LOG_task_CPU_s": 9.639623276,
"LOG_task_CPU_cap": 3600
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,10 @@
{
"cpu_seconds_charged": 2.649644,
"attempts": [
{
"name": "worker",
"status": "STOPPED_OR_FAILED",
"cpu_seconds": 2.649644
}
]
}
@@ -0,0 +1,9 @@
[
"00000216_5324c79b172f41e8a49afc6f_step_003",
"00000342_fe70be720f7e49fa90ded969_step_001",
"00000359_9ee540a56d79451e8026e1e6_step_001",
"00000575_5a4cef68211d4706b1ec8586_step_004",
"00000614_c710d414bbbc4340b682c58a_step_000",
"00000625_6af98f5458b347bb843f0562_step_000",
"00000995_ac4ba032d4b5431ca04f542c_step_002"
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

@@ -0,0 +1,22 @@
Traceback (most recent call last):
File "/home/frank14f/optane/MeltMind/tools/run_naive_log_join.py", line 80, in <module>
raise SystemExit(worker(a.root) if a.worker else guard(a.root))
File "/home/frank14f/optane/MeltMind/tools/run_naive_log_join.py", line 54, in worker
ax.scatter([r['log_max_linearity_deviation_pp'] for r in data],
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/_api/deprecation.py", line 453, in wrapper
return func(*args, **kwargs)
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/__init__.py", line 1524, in inner
return func(
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/axes/_axes.py", line 4930, in scatter
x, y = self._process_unit_info([("x", x), ("y", y)], kwargs)
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 2663, in _process_unit_info
axis.update_units(data)
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/axis.py", line 1754, in update_units
default = self._converter.default_units(data, self)
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/category.py", line 106, in default_units
axis.set_units(UnitData(data))
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/category.py", line 182, in __init__
self.update(data)
File "/home/frank14f/.local/lib/python3.10/site-packages/matplotlib/category.py", line 215, in update
for val in OrderedDict.fromkeys(data):
TypeError: unhashable type: 'dict'
@@ -0,0 +1,24 @@
{
"status": "STOPPED_OR_FAILED",
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"returncode": 1,
"stop_reason": null,
"cpu_seconds": 2.649644,
"wall_seconds": 2.8495280359638855,
"peak_tree_rss_bytes": 120893440,
"peak_process_count": 1,
"output_disk_bytes_before_receipt": 688128,
"max_poll_gap_seconds": 0.41002479096641764,
"poll_target_seconds": 0.2,
"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
}
@@ -0,0 +1,17 @@
{
"command": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_naive_log_join.py",
"artifacts/naive-log-join-2026-11-15",
"--worker"
],
"limits": {
"total_cpu_seconds": 60,
"job_cpu_seconds": 60,
"job_wall_seconds": 120,
"tree_rss_bytes": 1073741824,
"disk_bytes": 10485760,
"max_processes": 1
},
"started_unix": 1794737381.7603638
}
Binary file not shown.
@@ -0,0 +1,8 @@
{
"file_id": "F0CHEAFDB4P",
"shared_channel": "C0C78UFKGRM",
"thread_ts": "1794219487.255049",
"url": "https://arcticnimbus.slack.com/files/U0C7U0YA91S/F0CHEAFDB4P/meltmind-naive-log-review-2026-11-15.zip",
"zip_sha256": "ff8d75448b15f13228a453b3d389e3ff390efd40edcfc69e27c69459f593261e",
"full_git_087f63b_upload": "still_in_progress"
}
@@ -0,0 +1,116 @@
{
"unix": 1794737463.5024834,
"source_pins": "PASS",
"session": 7921,
"pid": 464772,
"children": [
{
"pid": 464863,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_s3a_recovery_queue.py",
"artifacts/s3a-recovery-2026-11-15",
"--guard",
"236",
"--slot",
"1"
]
},
{
"pid": 464872,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_s3a_recovery_queue.py",
"artifacts/s3a-recovery-2026-11-15",
"--guard",
"238",
"--slot",
"3"
]
},
{
"pid": 464876,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_s3a_recovery_queue.py",
"artifacts/s3a-recovery-2026-11-15",
"--guard",
"239",
"--slot",
"2"
]
},
{
"pid": 464889,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"/home/frank14f/optane/MeltMind/tools/run_s3a_recovery_queue.py",
"artifacts/s3a-recovery-2026-11-15",
"--guard",
"240",
"--slot",
"0"
]
},
{
"pid": 464890,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"tools/run_s3a_fit.py",
"artifacts/s3a-recovery-2026-11-15",
"240"
]
},
{
"pid": 464877,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"tools/run_s3a_fit.py",
"artifacts/s3a-recovery-2026-11-15",
"239"
]
},
{
"pid": 464873,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"tools/run_s3a_fit.py",
"artifacts/s3a-recovery-2026-11-15",
"238"
]
},
{
"pid": 464864,
"cmd": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"tools/run_s3a_fit.py",
"artifacts/s3a-recovery-2026-11-15",
"236"
]
}
],
"recovery_code_freeze_sha256": "7797ba423191a1f383ac9ea284584fa721a0ca5032205de24d2e982e783450b4",
"recovery_scope_sha256": "2eb5aeacd0017048654bd8760cc46c94986a2909857a45bc7d8182ea3ed99cdd",
"progress": {
"completed": 237,
"active": {
"1": 236,
"3": 238,
"2": 239,
"0": 240
},
"dispatch_cursor": 10,
"worker_cpu_seconds": 12737.148892000005,
"live_guard_and_worker_cpu_seconds": 94.03000000000002,
"active_tree_rss_bytes": 1597984768,
"disk_bytes": 377364480,
"first_fit_checked": true,
"selections_frozen": false,
"stop_reason": null,
"fresh_accounting": true,
"monitor_errors": 0,
"elapsed_seconds": 86.68006311001955
},
"old_queue_absent": true,
"publication_status": "local fixed259d1d6; preceding087f63b full raw evidence still uploading"
}
@@ -0,0 +1,16 @@
{
"pid": 464772,
"unix": 1794737376.4061751,
"contract_sha256": "263b0b42b832d958ccf5843215403d629cf9d037084951d10f2af40bb89348d8",
"implementation_freeze": {
"git_commit": "6142ad69d015123efb3e252533cc52c6a9782fe7",
"implementation_sha256": "a2bd051b83502129473038b0e98d5d0a0726e1f0d5c6f0e718ccfad1c77f1526",
"contract_sha256": "263b0b42b832d958ccf5843215403d629cf9d037084951d10f2af40bb89348d8",
"main_review": "1794732829.567629",
"remote_push_confirmed": true
},
"cpu_affinity": [
30,
31
]
}
@@ -0,0 +1,26 @@
{
"four_recoveries": [
{
"index": 230,
"status": "PASS",
"CPU_s": 51.180101
},
{
"index": 232,
"status": "PASS",
"CPU_s": 39.866304
},
{
"index": 233,
"status": "PASS",
"CPU_s": 61.007519
},
{
"index": 234,
"status": "PASS",
"CPU_s": 21.517239
}
],
"original_aborted_records_unchanged": true,
"old_successes_not_repeated": 231
}
@@ -0,0 +1,38 @@
{
"unix": 1794737640.8520057,
"pid": 464772,
"ppid": 3257,
"SID": 464772,
"PGID": 464772,
"cmdline": [
"/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python",
"-u",
"tools/run_s3a_recovery_queue.py",
"artifacts/s3a-recovery-2026-11-15"
],
"launch_method": "direct exec_command with Python -u; no explicit nohup or setsid in supplied shell command",
"root_sid_equals_pid": true,
"root_pgid_equals_pid": true,
"guard_launch_method": "pinned orchestration uses subprocess.Popen(start_new_session=True) for each guard",
"no_restart_for_detachment_check": true,
"progress": {
"completed": 249,
"active": {
"0": 248,
"2": 250,
"3": 251,
"1": 252
},
"dispatch_cursor": 22,
"worker_cpu_seconds": 13362.520222000005,
"live_guard_and_worker_cpu_seconds": 125.87,
"active_tree_rss_bytes": 1976434688,
"disk_bytes": 396660736,
"first_fit_checked": true,
"selections_frozen": false,
"stop_reason": null,
"fresh_accounting": true,
"monitor_errors": 0,
"elapsed_seconds": 264.15869516297244
}
}
@@ -0,0 +1,10 @@
{
"git_commit": "259d1d685bdced1920eb3d483019cd18fedc1bf5",
"scope_sha256": "2eb5aeacd0017048654bd8760cc46c94986a2909857a45bc7d8182ea3ed99cdd",
"source_sha256": {
"tools/s3a_recovery_common.py": "d2ed163657e8d6528c987208d1c9e456732d5cbff7f48d278fcefb1956d77125",
"tools/run_s3a_recovery_queue.py": "31fb3ec990fc8151d01a3deebdd8d3b12a22fb7707479ad8c8ca42c51e1ce931",
"tools/test_s3a_recovery.py": "3538fac8054bc0ee0e1c49958f10a4c9a207c6aa1802d4bd7fe0cd3e68b2152b"
},
"remote_publication_status": "queued behind ongoing immutable087f63b data upload; not yet remotely confirmed"
}
+15
View File
@@ -0,0 +1,15 @@
# 617件oracle误差与LOG偏差的逐件对齐
按Claude1794736668.095669/1794736905.571479,只对既有冻结结果按完整case ID连接;617件全部一对一匹配,另7份LOG属于原617 roster外,单列log-only-parts.json。没有新的标签解码、拟合、预测、重新评分、显著性检验或阈值调节。
joined-parts.json保留三条100%池oracle的原始relative_l2对象(value/reason)、LOG体积线性偏差、原容差判定、首打印行、打印100%时刻、实际V/P状态、行号及来源SHA。endpoint-provenance.json另列全tet标签最后到达、原VTU终点、query最大时刻及LOG端点,不把不同体积域和时间端点强制视为相同。
描述性观察:真实tet-end映射误差最大的前三件为00000996、00000984、00000784,恰好也是LOG端点线偏差最大的前三件。其时间相对L2分别约0.48537、0.10678、0.08865,对应LOG体积偏差34.0093、11.6146、9.4988个百分点。但learning-clock oracle误差最高的件是00000666、00000659、00001586,不能把前一模式概括为所有oracle共同的解释。散点仅供团队讨论,没有相关系数、拟合关系、因果或普遍恒流结论。
![逐件对齐](../artifacts/naive-log-join-2026-11-15/oracle-log-join.png)
初次脚本已经生成完整617件原JSON,但绘图误将指标对象当成标量,guard exit1,2.649644CPU秒;原guard/log及JSON全部保留。只补显示时正确提取value,补充端点来源,未重新执行join。显示补充guard PASS/exit0,1.711657秒;累计4.361301/60CPU秒,独立LOG任务累计11.351280276/3600CPU秒。
Mold1794736801.168389已实际读取naive报告及tables/contrasts/result、canonical、15组clocks/clock-freeze、23938映射清单/冻结与两道guard。接受共同617件/209组件评分、CDF域不同、15个c仅learning来源及原7失败保留。解释边界:不能用7.2993%-1.4782%相减归因排序误差份额,不能把时间相对L2与约1%体积增量直接比较,oracle不是理论floor;真实终点约束不等于最小L2。R2重排描述性改善约−0.092%,区间[−1.445%,+1.239%],没有净收益证据。Dw平方只检验此固定图/时钟/指数。S3-B图前沿仅纸面良定性讨论,eikonal、类型分区、真实连通仍独立开放,没有新增实验。
原完整naive及624LOG证据已固定087f63b,约2.2GB Git上传仍进行;本小包优先交Slack复核,明确区分本地固定与远端发布完成。S3-A唯一159项基础设施接续另按259d1d6与Claude明确裁量运行,不能由本对齐诊断新增训练任务。
+4
View File
@@ -1,3 +1,7 @@
# Latest handoff: authorized S3-A159 continuation active
S3-A authorized159 continuation now active: session7921/PID464772/root artifacts/s3a-recovery-2026-11-15, orchestration259d1d685bdced1920eb3d483019cd18fedc1bf5 (local fixed; remote publication queued behind087f63b full raw upload). Scientific contract263b0b42 and original6142ad6 workers unchanged. Claude1794736905 explicit4infra recoveries230/232/233/234+155never attempted; reuse231PASS, prior12507.336661CPU-s counted once within20h/18hfit+2hpostfit. Six scope/accounting/barrier testsPASS, actual sourcepinsPASS and4guards+4workers observed; old458991 absent. All360HPO terminal then30final,390canonical thenprediction/scoring. Original partial failures immutable; do not duplicate/restart or mutate either pinned implementation. Read fresh receipts, recovery-scope/code-freeze and actual-start-audit; older stopped/running entries are historical.
# Latest handoff: S3-A interrupted, awaiting infrastructure continuation ruling
S3-A original5217/PID458991 has now exited1: S3A_STOPPED_INCOMPLETE/S3A_COORDINATOR_INTERRUPTED.235attempted=231PASS+4interrupted(230,232,233,234;returncode-9),155never-attempted235..389,all30finalnotrun. SourcepinsPASS,no live queue/fit processes,accounting_complete true,worker12507.336661CPU-s; original failures and attempts immutable. Signal origin unknown; handler merges SIGINT/SIGTERM, do not call this numerical failure. No restart/retry authorized by polling; Claude notified1794736881.943279 for infrastructure continuation ruling. Read artifacts/s3a-interruption-audit-2026-11-15/audit.json. Naive/LOG complete; prior S3-A running snapshots are historical.
@@ -0,0 +1,3 @@
# S3-A独立基础设施接续已启动
S3-A authorized159 continuation now active: session7921/PID464772/root artifacts/s3a-recovery-2026-11-15, orchestration259d1d685bdced1920eb3d483019cd18fedc1bf5 (local fixed; remote publication queued behind087f63b full raw upload). Scientific contract263b0b42 and original6142ad6 workers unchanged. Claude1794736905 explicit4infra recoveries230/232/233/234+155never attempted; reuse231PASS, prior12507.336661CPU-s counted once within20h/18hfit+2hpostfit. Six scope/accounting/barrier testsPASS, actual sourcepinsPASS and4guards+4workers observed; old458991 absent. All360HPO terminal then30final,390canonical thenprediction/scoring. Original partial failures immutable; do not duplicate/restart or mutate either pinned implementation. Read fresh receipts, recovery-scope/code-freeze and actual-start-audit; older stopped/running entries are historical.
+75
View File
@@ -0,0 +1,75 @@
"""Finish display only from the retained successful join; no repeated scientific step."""
import argparse
import hashlib
import json
import math
import os
from pathlib import Path
import sys
import time
from s2_recovery_supervisor import save,supervise
def checked(p,h):
raw=Path(p).read_bytes()
if hashlib.sha256(raw).hexdigest()!=h:raise ValueError('Existing evidence changed')
return json.loads(raw)
def worker(root):
start=time.process_time();scope=json.loads((root/'display-scope.json').read_text())
for p,h in scope['inputs'].items():checked(p,h)
rows=json.loads((root/'joined-parts.json').read_text());c=json.loads((root/'contract.json').read_text())
if len(rows)!=617 or len({r['case'] for r in rows})!=617:raise ValueError('Join roster')
arms=c['arms']
for r in rows:
for arm in arms:
m=r['oracle_relative_l2'][arm]
if m['reason'] is not None or not isinstance(m['value'],(float,int)) or not math.isfinite(m['value']):
raise ValueError('Undefined/non-numeric source metric')
canonical_path=next(p for p in c['source_sha256'] if p.endswith('/canonical-preparation.json'))
canonical=checked(canonical_path,c['source_sha256'][canonical_path]);by_case={r['case']:r for r in rows};endpoints=[]
for row in canonical['parts']:
m=checked(row['result_path'],row['result_sha256']);r=by_case[row['case']]
endpoints.append(dict(case=row['case'],source_result=row['result_path'],source_sha256=row['result_sha256'],
full_tet_T_end=m['full_tet_T_end'],raw_VTU_T_end=m['full_VTU_T_end'],query_T_max=m['query_T_max'],
log_first_printed_time_s=r['log_first_printed_time_s'],log_first_printed_fill_percent=r['log_first_printed_fill_percent'],
log_printed_100_time_s=r['log_printed_100_time_s'],log_explicit_switch_rows=r['log_explicit_switch_rows']))
save(root/'endpoint-provenance.json',endpoints)
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
fig,axes=plt.subplots(1,3,figsize=(12,3.7),layout='constrained')
for ax,arm in zip(axes,arms):
ax.scatter([r['log_max_linearity_deviation_pp'] for r in rows],
[r['oracle_relative_l2'][arm]['value'] for r in rows],s=10,alpha=.5)
ax.set(xlabel='LOG volume deviation (percentage points)',ylabel='Per-part time relative L2',title=arm)
fig.suptitle('617 exact-case joins: descriptive, distinct LOG-volume and tet-time quantities')
fig.savefig(root/'oracle-log-join.png',dpi=170);plt.close(fig)
save(root/'completion.json',dict(status='EXACT_CASE_JOIN_AND_DISPLAY_COMPLETE',parts=617,log_only=7,
first_guard_failure_retained=True,first_failure_stage='display: relative_l2 is a metric object with value/reason',
existing_join_not_recomputed=True,new_decodes=0,new_fits=0,new_predictions=0,
new_significance_tests=0,worker_CPU_s=time.process_time()-start,
limitations=['Matching case IDs does not equate the volume domains or time endpoints.',
'LOG ordinate deviation is volume percentage points; oracle ordinate is time relative L2.',
'No subtraction as ordering-error share, no floor or causality claim.'],
output_sha256={p.name:hashlib.sha256(p.read_bytes()).hexdigest() for p in root.iterdir()
if p.name in ('joined-parts.json','log-only-parts.json','endpoint-provenance.json','oracle-log-join.png')}))
return 0
def guard(root):
original=json.loads((root/'guard-result.json').read_text());spent=original['worker']['cpu_seconds']
os.sched_setaffinity(0,[24])
r=supervise([sys.executable,__file__,str(root),'--worker'],root/'display-guard','worker',dict(
total_cpu_seconds=60-spent,job_cpu_seconds=60-spent,job_wall_seconds=120,
tree_rss_bytes=1073741824,disk_bytes=10485760,max_processes=1),poll=.2)
save(root/'display-guard-result.json',dict(worker=r,first_worker_CPU_s=spent,
cumulative_join_CPU_s=spent+r['cpu_seconds'],join_cap_CPU_s=60,
cumulative_LOG_task_CPU_s=original['cumulative_LOG_task_CPU_s']+r['cpu_seconds'],LOG_cap_CPU_s=3600))
return 0 if r['status']=='PASS' else 1
if __name__=='__main__':
p=argparse.ArgumentParser();p.add_argument('root',type=Path);p.add_argument('--worker',action='store_true');a=p.parse_args()
raise SystemExit(worker(a.root) if a.worker else guard(a.root))