FWeindel commited on
Commit
6bfe87f
·
verified ·
1 Parent(s): f154d6d

Add Tmax v1.1 stages 0–3 audit with pinned image references

Browse files
tmax11_v1.1/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Tmax v1.1 — stages 0–3 validation
2
+
3
+ This audit release contains all **13,565 task inputs**, including tasks with failed or incomplete checks. It is not a filtered set of passing tasks.
4
+
5
+ ## Files
6
+
7
+ - `tasks.parquet`: normalized task archives used by validation, matched to the results by task ID and content hash.
8
+ - `results.parquet`: per-check outcomes, details, repair flags and resource measurements.
9
+ - `check-summary.json`: outcome counts for every recorded check.
10
+ - `images.json`: task-to-image mappings, pinned upstream image references, local wrapper recipes and hashes of the validated wrapped images.
11
+ - `runtime.json`: identifies the cached host runner and records that separate clean verifier runtimes were not prepared.
12
+ - `source.json`: upstream conversion provenance.
13
+ - `release.json`: artifact hashes, validation settings and limitations.
14
+ - `cache_images.py`: downloads selected upstream images and optionally rebuilds their wrappers.
15
+
16
+ ## Validation scope
17
+
18
+ Stages 0–3 used the default training profile. AI detection was intentionally excluded by user policy. Stage 1 enabled absolute-path resolution and recorded recovery evidence. Reference execution was not applicable because these tasks have no reference solutions.
19
+
20
+ Results combine hash-matched evidence from the original run, targeted recovery attempts, a reviewed NOP finding and three verifier-path rechecks. They are not presented as a single execution under one contract. Stages 4 and later, judge reviews and model evaluations are not included.
21
+
22
+ NOP: **13,561 pass; 4 fail; no execution errors**. Three tasks awarded full credit to a no-op; one verifier has an independently reproduced infinite numerical loop. The task's verifier was not edited to hide that failure.
23
+
24
+ One required check remains incomplete: `task_003894_93326402` has `verifier_paths.status = execution_error`. Its NOP run hit the memory limit, preventing final filesystem observations; the NOP check separately accepts this as a zero-credit outcome. The explanation is retained in `results.parquet`.
25
+
26
+ Every task retains the `dockerfile-platform` failure from its pinned Dockerfile platform. Other failures and warnings are also retained; consult the per-check results rather than treating completion as a pass.
27
+
28
+ ## Task preparation and automatic repairs
29
+
30
+ The task inputs disable internet access, include the automatic anti-cheat instruction suffix and repository-timestamp normalization setup. Timestamp repairs were recorded for 92 tasks. Git history and file contents are preserved by timestamp normalization. Checker fixes do not alter the original verifier scripts or the known looping verifier.
31
+
32
+ ## Images and runtimes
33
+
34
+ Base SIF images already exist in [`TMaxxx/tmax-image-pool`](https://huggingface.co/datasets/TMaxxx/tmax-image-pool), pinned to revision `5c12a989f38a45de45e2f3ab1dda541fdd2af39a`.
35
+
36
+ The approximately 1.9 TB wrapped cache is **not duplicated in this release**. The manifest records the wrapper commands used to prepare runtime directories on CLAIX. Rebuilding a SIF may produce different file bytes; recorded wrapped hashes identify the exact validated local artifacts, not a guarantee of byte-identical rebuilds. New cache entries must be verified before use, and validation should enforce `OT_REQUIRE_PREBUILT_IMAGES=1`.
37
+
38
+ The separate 18 GB host-runner bundle is not uploaded. It contains validation tooling and is not a collection of clean per-task verifier environments. Task verifier dependencies came from the upstream-based images.
39
+
40
+ Example (prepare images separately from validation):
41
+
42
+ ```bash
43
+ python cache_images.py --task task_004125_02123c65 --output ./tmax-cache --wrap
44
+ ```
45
+
46
+ The script requires `huggingface_hub`; wrapping also requires Apptainer with permission to build from a local image. Task instructions, verifier files and setup are stored in `tasks.parquet`. Original upstream licensing and attribution continue to apply; this release does not assign a new license to upstream materials.
tmax11_v1.1/cache_images.py ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Prepare selected images from the pinned upstream pool, outside validation jobs."""
2
+ import argparse
3
+ import hashlib
4
+ import json
5
+ from pathlib import Path
6
+ import subprocess
7
+ import tempfile
8
+ from huggingface_hub import hf_hub_download
9
+
10
+
11
+ def main():
12
+ p = argparse.ArgumentParser(description=__doc__)
13
+ p.add_argument('--manifest', type=Path, default=Path(__file__).with_name('images.json'))
14
+ p.add_argument('--task', action='append', required=True, help='Repeat for multiple tasks')
15
+ p.add_argument('--output', type=Path, required=True)
16
+ p.add_argument('--wrap', action='store_true', help='Build the recorded directory wrapper using Apptainer')
17
+ a = p.parse_args()
18
+ manifest = json.loads(a.manifest.read_text())
19
+ a.output.mkdir(parents=True, exist_ok=True)
20
+ for task in a.task:
21
+ blob = manifest['tasks'][task]
22
+ entry = manifest['images'][blob]
23
+ source = Path(hf_hub_download(manifest['upstream_repository'], blob, repo_type='dataset',
24
+ revision=manifest['upstream_revision']))
25
+ if not a.wrap:
26
+ print(task, source)
27
+ continue
28
+ target = a.output / manifest['cache_filenames'][task]
29
+ if target.exists():
30
+ raise FileExistsError(f'Refusing to overwrite {target}; verify the existing image first')
31
+ with tempfile.TemporaryDirectory(prefix='tmax-wrapper-') as temp:
32
+ definition = Path(temp) / 'image.def'
33
+ definition.write_text('Bootstrap: localimage\nFrom: ' + str(source) + '\n\n%post\n' +
34
+ '\n'.join(' ' + command for command in entry['wrapper_commands']) + '\n')
35
+ subprocess.run(['apptainer', 'build', str(target), str(definition)], check=True)
36
+ h = hashlib.sha256()
37
+ with target.open('rb') as f:
38
+ for block in iter(lambda: f.read(8 * 1024 * 1024), b''):
39
+ h.update(block)
40
+ receipt = {'task': task, 'upstream_revision': manifest['upstream_revision'], 'upstream_path': blob,
41
+ 'sha256': h.hexdigest(), 'bytes': target.stat().st_size,
42
+ 'matches_validated_image': h.hexdigest() == entry['wrapped_sha256']}
43
+ target.with_suffix('.sif.receipt.json').write_text(json.dumps(receipt, indent=2) + '\n')
44
+ print(json.dumps(receipt))
45
+
46
+ if __name__ == '__main__':
47
+ main()
tmax11_v1.1/check-summary.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "agent_editable_test": {
3
+ "pass": 13550,
4
+ "fail": 15
5
+ },
6
+ "artifact_efficiency": {
7
+ "pass": 13565
8
+ },
9
+ "build": {
10
+ "pass": 13565
11
+ },
12
+ "compose-host-binds": {
13
+ "pass": 13565
14
+ },
15
+ "declared_internet_access": {
16
+ "pass": 13565
17
+ },
18
+ "declared_workdir": {
19
+ "pass": 13565
20
+ },
21
+ "do_not_modify": {
22
+ "not_applicable": 13305,
23
+ "pass": 252,
24
+ "fail": 8
25
+ },
26
+ "dockerfile-platform": {
27
+ "fail": 13565
28
+ },
29
+ "dockerfile-references": {
30
+ "pass": 13565
31
+ },
32
+ "dockerfile-sanity": {
33
+ "pass": 13565
34
+ },
35
+ "instruction-suffix": {
36
+ "pass": 13565
37
+ },
38
+ "no-cheat-dir": {
39
+ "pass": 13565
40
+ },
41
+ "no_behavioural_tests": {
42
+ "pass": 13565
43
+ },
44
+ "nop": {
45
+ "pass": 13561,
46
+ "fail": 4
47
+ },
48
+ "nop_determinism": {
49
+ "pass": 13562,
50
+ "fail": 3
51
+ },
52
+ "nproc": {
53
+ "pass": 13565
54
+ },
55
+ "pip-pinning": {
56
+ "pass": 12821,
57
+ "warning": 744
58
+ },
59
+ "python_missing_imports": {
60
+ "pass": 13565
61
+ },
62
+ "reference": {
63
+ "not_applicable": 13565
64
+ },
65
+ "reference_determinism": {
66
+ "not_applicable": 13565
67
+ },
68
+ "reference_leaks": {
69
+ "not_applicable": 13565
70
+ },
71
+ "repository_history": {
72
+ "pass": 333,
73
+ "not_applicable": 13208,
74
+ "warning": 24
75
+ },
76
+ "repository_timestamps": {
77
+ "pass": 326,
78
+ "not_applicable": 13239
79
+ },
80
+ "resource-sizes": {
81
+ "pass": 13565
82
+ },
83
+ "script_execution_coverage": {
84
+ "pass": 13045,
85
+ "fail": 520
86
+ },
87
+ "task-absolute-path": {
88
+ "warning": 6338,
89
+ "pass": 7227
90
+ },
91
+ "task-timeout": {
92
+ "pass": 13565
93
+ },
94
+ "task-toml-schema": {
95
+ "pass": 13565
96
+ },
97
+ "test-file-references": {
98
+ "pass": 13565
99
+ },
100
+ "verifier_paths": {
101
+ "pass": 13380,
102
+ "fail": 184,
103
+ "execution_error": 1
104
+ },
105
+ "verifier_tamper": {
106
+ "warning": 13495,
107
+ "pass": 70
108
+ }
109
+ }
tmax11_v1.1/images.json ADDED
The diff for this file is too large to render. See raw diff
 
tmax11_v1.1/release.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "tmax11_v1.1",
3
+ "source_dataset": "tmax_v1.1",
4
+ "tasks": 13565,
5
+ "stages": [
6
+ 0,
7
+ 1,
8
+ 2,
9
+ 3
10
+ ],
11
+ "profile": "training",
12
+ "ai_detection": "intentionally excluded by user policy",
13
+ "absolute_path_resolver": true,
14
+ "require_prebuilt_images": true,
15
+ "reference_solutions": false,
16
+ "check_provenance": "Hash-matched cross-attempt evidence; not a single-contract execution",
17
+ "retained_incomplete_checks": [
18
+ {
19
+ "task": "task_003894_93326402",
20
+ "check": "verifier_paths",
21
+ "status": "execution_error",
22
+ "cause": "NOP memory limit prevented after-verifier observations"
23
+ }
24
+ ],
25
+ "nop": {
26
+ "pass": 13561,
27
+ "fail": 4
28
+ },
29
+ "task_hashes_match_results": true,
30
+ "cached_images_uploaded": false,
31
+ "clean_verifier_runtimes_prepared": false,
32
+ "artifacts": {
33
+ "tasks.parquet": {
34
+ "sha256": "1f2b72b9056bc9f6a0a83074664772fe36d4dfde33dd769bd30a15a846c140a6",
35
+ "bytes": 205249652
36
+ },
37
+ "results.parquet": {
38
+ "sha256": "0aac8dd507bc15bcc1ed265c27256ae37d916b974b085b5592d66ebad8767630",
39
+ "bytes": 1907934
40
+ },
41
+ "check-summary.json": {
42
+ "sha256": "d7e533999362681ba32f1eebdae3f75595f22901dd91ce4d5394f5ba62ed46f3",
43
+ "bytes": 1769
44
+ },
45
+ "images.json": {
46
+ "sha256": "2ef1b44f7d60dd31753c2264e9c019f3329bf0b9e6a2d55de9143dbceeaf11f2",
47
+ "bytes": 9451158
48
+ },
49
+ "runtime.json": {
50
+ "sha256": "0f45e10731cb90db82e0f9fc92ec39f4aa9a3ea065e1067ae2a8712d79b4a0ec",
51
+ "bytes": 379
52
+ },
53
+ "source.json": {
54
+ "sha256": "05e5bab397a95148edd06ec3e0cbabaf027abc631a8995dbb96c5d61553d5e4f",
55
+ "bytes": 1223
56
+ },
57
+ "cache_images.py": {
58
+ "sha256": "a5c80b124560f0acd66e396f8b891891bdabb3d419ccc21c46f0bb249b3ce7b2",
59
+ "bytes": 2360
60
+ },
61
+ "README.md": {
62
+ "sha256": "f5bf89a1eee64ac42a1b98f31f78b4d764d547ae119f8577b4a2de511944f930",
63
+ "bytes": 3978
64
+ }
65
+ },
66
+ "images": {
67
+ "upstream_repository": "TMaxxx/tmax-image-pool",
68
+ "upstream_revision": "5c12a989f38a45de45e2f3ab1dda541fdd2af39a",
69
+ "unique_images": 13455,
70
+ "wrapped_cache_bytes": 1911559163904,
71
+ "uploaded": false
72
+ }
73
+ }
tmax11_v1.1/results.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aac8dd507bc15bcc1ed265c27256ae37d916b974b085b5592d66ebad8767630
3
+ size 1907934
tmax11_v1.1/runtime.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_verifier_runtimes_prepared": false,
3
+ "host_runner": {
4
+ "sha256": "8af41dfcd5212142c5467ca5f6b441dfa5de39ac956d8279e6943e9419994c10",
5
+ "bytes": 19006791680,
6
+ "python": "python3.12",
7
+ "uploaded": false
8
+ },
9
+ "note": "Host validation tooling is distinct from task verifier dependencies. Task verifier dependencies were provided by upstream-based images."
10
+ }
tmax11_v1.1/source.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": {
3
+ "repository": "TMaxxx/tmax-13k-v1.1-harbor",
4
+ "rows": 13565,
5
+ "training_repository": "TMaxxx/tmax-13k-v1.1",
6
+ "training_revision": "8d47de78dc85ae7f8cf4853b6777a0917e49fad9",
7
+ "metadata_repository": "TMaxxx/tmax-13k-v1.1-metadata",
8
+ "metadata_revision": "3ba07ea306bae2fa19f41310ca560f152be57eb2",
9
+ "source_archive_sha256": "a654638ec448403823273b6510eeb457ae6d9914c7bf4f87ce5302d1fb0c7146",
10
+ "tasks_zip_sha256": "37398f8cae62482f0cbdd2ff85015f8b4b86c7df8665311b2a704184ea5b03cd",
11
+ "source_files_verified": 41302,
12
+ "all_tasks_validate_with_harbor": true,
13
+ "all_instructions_match": true,
14
+ "all_original_files_byte_identical_in_zip": true,
15
+ "task_ids_match_companion_datasets": true,
16
+ "all_images_match_training_variant": true,
17
+ "tests_excluded_from_build_contexts": true,
18
+ "runtime_workspace_prepared_in_image_wrapper": true,
19
+ "task_image_namespaces": {
20
+ "hamishi740/swerl-tmax-v3": 11852,
21
+ "hamishivi/swerl-tmax-hardened": 1713
22
+ }
23
+ },
24
+ "variant": "hardened_prefilter",
25
+ "tasks": 13565,
26
+ "images_linked": 13565,
27
+ "derived": 1713,
28
+ "task_changes": {
29
+ "allow_internet": "true -> false",
30
+ "tasks": 13565
31
+ },
32
+ "missing_images": []
33
+ }
tmax11_v1.1/tasks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f2b72b9056bc9f6a0a83074664772fe36d4dfde33dd769bd30a15a846c140a6
3
+ size 205249652