mxk1998 commited on
Commit
c756797
·
verified ·
1 Parent(s): e7b67c8

Align recorded evidence source references with public archive members

Browse files
docs/LOGS.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  ## Download And Verify
4
 
5
- The public code repository includes a **1,932,308-byte** archive:
6
  [evaluation_340000_logs.tar.gz](../results/evaluation_340000_logs.tar.gz).
7
  It is also mirrored with the model resources. GitHub access does not
8
  require Hugging Face access or downloading the 23.91 GB checkpoint.
@@ -36,7 +36,7 @@ Missing/corrupt evidence fails the command instead of producing a score.
36
  Archive SHA-256:
37
 
38
  ```text
39
- 53424e662de335871e6a5b34577629afb381306784d2f6d8d472cf08ef45c90a
40
  ```
41
 
42
  ## Contents
@@ -97,6 +97,8 @@ Archive owners/groups and modification times are normalized.
97
  Private machine roots are replaced with `${PILOT_ROOT}`, `${SIM_ENV}`, or
98
  relative `tasks/` paths. Hostnames become `[REDACTED]`; process IDs and
99
  service ports become `null`. Terminal color escapes are removed.
 
 
100
  Task names, seeds, loss values, numerical diagnostics and success counts
101
  are preserved. The private originals are not modified.
102
 
 
2
 
3
  ## Download And Verify
4
 
5
+ The public code repository includes a **1,932,022-byte** archive:
6
  [evaluation_340000_logs.tar.gz](../results/evaluation_340000_logs.tar.gz).
7
  It is also mirrored with the model resources. GitHub access does not
8
  require Hugging Face access or downloading the 23.91 GB checkpoint.
 
36
  Archive SHA-256:
37
 
38
  ```text
39
+ 63b791fc4c78584cafcc814f569e8b3a2a6065855f854e8ebf04688554baa5db
40
  ```
41
 
42
  ## Contents
 
97
  Private machine roots are replaced with `${PILOT_ROOT}`, `${SIM_ENV}`, or
98
  relative `tasks/` paths. Hostnames become `[REDACTED]`; process IDs and
99
  service ports become `null`. Terminal color escapes are removed.
100
+ The audit JSON's `source` paths point directly to the corresponding
101
+ `tasks/<task_slug>/result.json` members in this public archive.
102
  Task names, seeds, loss values, numerical diagnostics and success counts
103
  are preserved. The private originals are not modified.
104
 
docs/VALIDATION.md CHANGED
@@ -5,7 +5,7 @@
5
  All **25 CPU tests** passed in the local Python 3.10 / PyTorch 2.8
6
  environment, including the original 19 tests and six evidence tests.
7
  The added tests cover the complete 51-file archive, corruption, wrong
8
- scene seeds, changed success counts, missing episodes, and unsafe tar paths.
9
  The standard-library evidence audit independently recomputes 717/1200,
10
  712 block-end successes and 637 final-step successes from the published
11
  recorded logs/diagnostics, and validates 680 training metric rows.
 
5
  All **25 CPU tests** passed in the local Python 3.10 / PyTorch 2.8
6
  environment, including the original 19 tests and six evidence tests.
7
  The added tests cover the complete 51-file archive, corruption, wrong
8
+ scene seeds, changed success counts/source references, missing episodes, and unsafe tar paths.
9
  The standard-library evidence audit independently recomputes 717/1200,
10
  712 block-end successes and 637 final-step successes from the published
11
  recorded logs/diagnostics, and validates 680 training metric rows.
release/audit_logs.py CHANGED
@@ -63,6 +63,8 @@ def audit_records(payload, reference):
63
  for task in tasks:
64
  name = task["task"]
65
  prefix = "tasks/" + name.replace("/", "_")
 
 
66
  result = json.loads(payload[prefix + "/result.json"])
67
  lines = payload[prefix + "/simulation.log"].decode().splitlines()
68
  records = [json.loads(line.split("EPISODE_RESULT ", 1)[1])
 
63
  for task in tasks:
64
  name = task["task"]
65
  prefix = "tasks/" + name.replace("/", "_")
66
+ require(task["source"] == prefix + "/result.json",
67
+ f"Source member path mismatch: {name}")
68
  result = json.loads(payload[prefix + "/result.json"])
69
  lines = payload[prefix + "/simulation.log"].decode().splitlines()
70
  records = [json.loads(line.split("EPISODE_RESULT ", 1)[1])
results/evaluation_340000_logs.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:53424e662de335871e6a5b34577629afb381306784d2f6d8d472cf08ef45c90a
3
- size 1932308
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63b791fc4c78584cafcc814f569e8b3a2a6065855f854e8ebf04688554baa5db
3
+ size 1932022
results/evaluation_340000_manifest.json CHANGED
@@ -3,8 +3,8 @@
3
  "checkpoint_step": 340000,
4
  "checkpoint_sha256": "34bf115c1c99a33b12c79e1dca20e596cd510f006060687c2f145fecea58e60e",
5
  "archive": "evaluation_340000_logs.tar.gz",
6
- "archive_sha256": "53424e662de335871e6a5b34577629afb381306784d2f6d8d472cf08ef45c90a",
7
- "archive_bytes": 1932308,
8
  "original_private_archive_sha256": "f7c14f3da4bfc80e2d8e22a1b7c4bffa80a515210957e0414bf414fb2305ebb1",
9
  "files": {
10
  "training_metrics_340000.csv": {
@@ -253,8 +253,8 @@
253
  "original_member_sha256": "9959fd1da06830c3a1cab2339d6b4143a19b58d5a53b2e87727c07b042f70773"
254
  },
255
  "benchmark_final_audit.json": {
256
- "bytes": 10673250,
257
- "sha256": "dcff6750eec5735093f061b4616368e5d527e8e8bcb4cd51cca774afde3493d3",
258
  "original_member_sha256": "a27799ee33d94fe3f157457ff99336e92c971aa86dc1cc4dd0ca88cb52f4c44c"
259
  },
260
  "source_provenance.json": {
@@ -268,6 +268,7 @@
268
  "checkpoint_root": 97,
269
  "simulation_root": 72,
270
  "result_root": 24,
 
271
  "environment_root": 48,
272
  "host": 48,
273
  "process_or_port": 96
 
3
  "checkpoint_step": 340000,
4
  "checkpoint_sha256": "34bf115c1c99a33b12c79e1dca20e596cd510f006060687c2f145fecea58e60e",
5
  "archive": "evaluation_340000_logs.tar.gz",
6
+ "archive_sha256": "63b791fc4c78584cafcc814f569e8b3a2a6065855f854e8ebf04688554baa5db",
7
+ "archive_bytes": 1932022,
8
  "original_private_archive_sha256": "f7c14f3da4bfc80e2d8e22a1b7c4bffa80a515210957e0414bf414fb2305ebb1",
9
  "files": {
10
  "training_metrics_340000.csv": {
 
253
  "original_member_sha256": "9959fd1da06830c3a1cab2339d6b4143a19b58d5a53b2e87727c07b042f70773"
254
  },
255
  "benchmark_final_audit.json": {
256
+ "bytes": 10673034,
257
+ "sha256": "a7a839c93f8363611c4279704cdd12cf05086f0299cb0f7efc908a16486ca51b",
258
  "original_member_sha256": "a27799ee33d94fe3f157457ff99336e92c971aa86dc1cc4dd0ca88cb52f4c44c"
259
  },
260
  "source_provenance.json": {
 
268
  "checkpoint_root": 97,
269
  "simulation_root": 72,
270
  "result_root": 24,
271
+ "archive_result_path": 24,
272
  "environment_root": 48,
273
  "host": 48,
274
  "process_or_port": 96
tests/test_log_evidence.py CHANGED
@@ -38,11 +38,17 @@ class LogEvidenceTests(unittest.TestCase):
38
  with self.assertRaisesRegex(ValueError, "seed mismatch"):
39
  audit_records(payload, self.reference)
40
 
41
- def test_changed_success_rejected(self):
42
  reference = copy.deepcopy(self.reference)
43
  reference["tasks"][0]["successes"] += 1
44
  with self.assertRaisesRegex(ValueError, "Success count"):
45
  audit_records(self.payload, reference)
 
 
 
 
 
 
46
 
47
  def test_missing_episode_rejected(self):
48
  payload = dict(self.payload)
 
38
  with self.assertRaisesRegex(ValueError, "seed mismatch"):
39
  audit_records(payload, self.reference)
40
 
41
+ def test_changed_success_or_source_rejected(self):
42
  reference = copy.deepcopy(self.reference)
43
  reference["tasks"][0]["successes"] += 1
44
  with self.assertRaisesRegex(ValueError, "Success count"):
45
  audit_records(self.payload, reference)
46
+ payload = dict(self.payload)
47
+ audit = json.loads(payload["benchmark_final_audit.json"])
48
+ audit["tasks"][0]["source"] = "missing/result.json"
49
+ payload["benchmark_final_audit.json"] = json.dumps(audit).encode()
50
+ with self.assertRaisesRegex(ValueError, "Source member path"):
51
+ audit_records(payload, self.reference)
52
 
53
  def test_missing_episode_rejected(self):
54
  payload = dict(self.payload)