AdithyaSK HF Staff commited on
Commit
fb673ab
·
verified ·
1 Parent(s): 2b60120

369 validated tasks; grader keeps large builds within the 10 GB disk

Browse files

Re-ran the oracle with the updated verifier. The verifier now empties Lake's per-module setup files and generated C once each module is built, and deletes the build before writing its verdict, so a build that fills the disk scores 0 instead of leaving the trial without a result. 14 more tasks validated; not-validated list updated.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +20 -35
  2. generator/README.md +12 -6
  3. generator/openai_math_harbor/adapter.py +8 -6
  4. generator/openai_math_harbor/attacks.py +16 -0
  5. generator/openai_math_harbor/report.py +1 -1
  6. generator/openai_math_harbor/templates/dataset_README.md +1 -1
  7. generator/openai_math_harbor/templates/tests/grade.py +67 -5
  8. generator/tests/test_grade_unpack.py +27 -0
  9. manifest.json +619 -440
  10. manifest.parquet +2 -2
  11. registry.json +57 -1
  12. tasks/abhyankar-sathaye/task.toml +1 -1
  13. tasks/abhyankar-sathaye/tests/grade.py +67 -5
  14. tasks/affine-bernstein/task.toml +1 -1
  15. tasks/affine-bernstein/tests/grade.py +67 -5
  16. tasks/algorithmic-thin-trees/task.toml +1 -1
  17. tasks/algorithmic-thin-trees/tests/grade.py +67 -5
  18. tasks/amplitude-damping/task.toml +1 -1
  19. tasks/amplitude-damping/tests/grade.py +67 -5
  20. tasks/artin-cat0/task.toml +1 -1
  21. tasks/artin-cat0/tests/grade.py +67 -5
  22. tasks/artin-parabolic-intersections/task.toml +1 -1
  23. tasks/artin-parabolic-intersections/tests/grade.py +67 -5
  24. tasks/asymptotically-minimal-littlewood/task.toml +1 -1
  25. tasks/asymptotically-minimal-littlewood/tests/grade.py +67 -5
  26. tasks/atomic-gaussian/environment/Dockerfile +8 -0
  27. tasks/atomic-gaussian/environment/fetch_mathlib.sh +19 -0
  28. tasks/atomic-gaussian/environment/lake-manifest.json +116 -0
  29. tasks/atomic-gaussian/environment/lakefile.lean +12 -0
  30. tasks/atomic-gaussian/environment/lean_setup.sh +126 -0
  31. tasks/atomic-gaussian/environment/pack_submission.py +70 -0
  32. tasks/atomic-gaussian/instruction.md +303 -0
  33. tasks/atomic-gaussian/solution/closure.txt +215 -0
  34. tasks/atomic-gaussian/solution/reference.py +58 -0
  35. tasks/atomic-gaussian/solution/solve.sh +20 -0
  36. tasks/atomic-gaussian/task.toml +49 -0
  37. tasks/atomic-gaussian/tests/Challenge.lean +252 -0
  38. tasks/atomic-gaussian/tests/grade.py +418 -0
  39. tasks/atomic-gaussian/tests/task.json +15 -0
  40. tasks/atomic-gaussian/tests/test.sh +3 -0
  41. tasks/auslander-reiten/task.toml +1 -1
  42. tasks/auslander-reiten/tests/grade.py +67 -5
  43. tasks/backward-intertwiners/task.toml +1 -1
  44. tasks/backward-intertwiners/tests/grade.py +67 -5
  45. tasks/balanced-box-routing/task.toml +1 -1
  46. tasks/balanced-box-routing/tests/grade.py +67 -5
  47. tasks/balanced-ryser/task.toml +1 -1
  48. tasks/balanced-ryser/tests/grade.py +67 -5
  49. tasks/balanced-three-stack/task.toml +1 -1
  50. tasks/balanced-three-stack/tests/grade.py +67 -5
README.md CHANGED
@@ -22,8 +22,8 @@ pretty_name: "openai/math as Harbor environments"
22
  We ported the math problems from OpenAI's [openai/math](https://github.com/openai/math) release
23
  (commit `adc7f12`) into [Harbor](https://github.com/harbor-framework/harbor) environments.
24
  The release formalizes **405** of its results as Lean statements. This dataset contains
25
- **355 environments**, the ones whose official proof we verified end to end in the environment,
26
- covering 209 result families across 17 fields. The other 50 are listed
27
  under [Validation](#validation) with the reason each could not be validated.
28
 
29
  ## How a task works
@@ -107,66 +107,51 @@ official proof was accepted are included.
107
 
108
  | Oracle result | Tasks | Meaning |
109
  |---|---|---|
110
- | accepted | 355 | OpenAI's proof is accepted: the environment is verified end to end |
111
- | missing-package | 16 | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
112
  | definition-mismatch | 2 | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
113
- | memory | 5 | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
114
- | disk | 4 | OpenAI's proof is too large for the sandbox's 10 GB disk |
115
- | not completed | 22 | grading did not complete in our run |
116
 
117
- Grading an accepted proof took 16 minutes at the median. Each task's result is in its `task.toml` (`oracle_result`) and in `manifest.parquet`.
118
 
119
- <details><summary>50 statements not included (click to expand)</summary>
120
 
121
  | Statement | Why it could not be validated |
122
  |---|---|
123
  | `arnold-counterexample` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
124
- | `atomic-gaussian` | grading did not complete in our run |
125
  | `catalan` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
126
  | `coarse-assembly` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
127
- | `continuum-coulomb-hardness` | OpenAI's proof is too large for the sandbox's 10 GB disk |
128
- | `cycle-clique-ramsey` | grading did not complete in our run |
129
  | `defocusing-nls` | left out by design: OAI.DefocusingNLS.sobolevProduct: open definition the theorem statements depend on |
130
  | `dirichlet-seven-eighths` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
131
  | `duke-prime-degree` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
132
  | `einstein-four` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
133
- | `erdos-reciprocal` | OpenAI's proof is too large for the sandbox's 10 GB disk |
134
  | `hecke-seven-eighths` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
135
- | `invariant-ising` | grading did not complete in our run |
136
  | `jacobsthal` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
137
  | `jacobsthal-improved` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
138
  | `joint-dickman` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
139
- | `koebe-circle-domains` | OpenAI's proof is too large for the sandbox's 10 GB disk |
140
  | `matrix-multiplication` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
141
  | `mub-six` | grading did not complete in our run |
142
  | `nuclear-ultrapower` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
143
  | `occupied-overlap` | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
144
  | `ordinary-two-point-correlations` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
145
- | `ostmann-complete` | grading did not complete in our run |
146
  | `ostmann-primes` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
147
- | `patterson-first-moment` | OpenAI's proof is too large for the sandbox's 10 GB disk |
148
- | `planar-packing` | grading did not complete in our run |
149
- | `polycyclic-recognition` | grading did not complete in our run |
150
  | `quasi-riemann-hypothesis` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
151
- | `ramsey-five` | grading did not complete in our run |
152
  | `riesz-quantitative` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
153
- | `sat-computability` | grading did not complete in our run |
154
- | `sharp-log-ramsey` | grading did not complete in our run |
155
  | `siegel-zeros` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
156
- | `simple-amenable` | grading did not complete in our run |
157
- | `simple-overgroups` | grading did not complete in our run |
158
- | `sk-barriers` | grading did not complete in our run |
159
- | `sk-high-temperature` | grading did not complete in our run |
160
- | `sk-ratio` | grading did not complete in our run |
161
- | `smooth-yau` | grading did not complete in our run |
162
  | `snaky-certificate` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
163
- | `snaky-conditional` | grading did not complete in our run |
164
- | `snaky-twenty-one` | grading did not complete in our run |
165
  | `spin-angle` | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
166
- | `standard-map-components` | grading did not complete in our run |
167
- | `strong-kadison-kastler` | grading did not complete in our run |
168
- | `surface-immersion` | grading did not complete in our run |
169
- | `taming-compatibility` | grading did not complete in our run |
170
  | `totient-asymptotic` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
171
  | `totient-companion-zero` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
172
  | `universal-tensor-squares` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
@@ -175,7 +160,7 @@ Grading an accepted proof took 16 minutes at the median. Each task's result is i
175
 
176
  The verifier was also tested against submissions that try to cheat (`sorry` in several disguises,
177
  fake axioms, `native_decide`, weakened statements, redefined definitions, planted reward files, code
178
- that runs during grading). All scored 0. A no-op agent scores 0.
179
 
180
  ## Notes
181
 
 
22
  We ported the math problems from OpenAI's [openai/math](https://github.com/openai/math) release
23
  (commit `adc7f12`) into [Harbor](https://github.com/harbor-framework/harbor) environments.
24
  The release formalizes **405** of its results as Lean statements. This dataset contains
25
+ **369 environments**, the ones whose official proof we verified end to end in the environment,
26
+ covering 214 result families across 17 fields. The other 36 are listed
27
  under [Validation](#validation) with the reason each could not be validated.
28
 
29
  ## How a task works
 
107
 
108
  | Oracle result | Tasks | Meaning |
109
  |---|---|---|
110
+ | accepted | 369 | OpenAI's proof is accepted: the environment is verified end to end |
111
+ | missing-package | 21 | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
112
  | definition-mismatch | 2 | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
113
+ | memory | 10 | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
114
+ | not completed | 2 | grading did not complete in our run |
 
115
 
116
+ Grading an accepted proof took 8 minutes at the median. Each task's result is in its `task.toml` (`oracle_result`) and in `manifest.parquet`.
117
 
118
+ <details><summary>36 statements not included (click to expand)</summary>
119
 
120
  | Statement | Why it could not be validated |
121
  |---|---|
122
  | `arnold-counterexample` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
 
123
  | `catalan` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
124
  | `coarse-assembly` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
125
+ | `continuum-coulomb-hardness` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
126
+ | `cycle-clique-ramsey` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
127
  | `defocusing-nls` | left out by design: OAI.DefocusingNLS.sobolevProduct: open definition the theorem statements depend on |
128
  | `dirichlet-seven-eighths` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
129
  | `duke-prime-degree` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
130
  | `einstein-four` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
131
+ | `erdos-reciprocal` | grading did not complete in our run |
132
  | `hecke-seven-eighths` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
 
133
  | `jacobsthal` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
134
  | `jacobsthal-improved` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
135
  | `joint-dickman` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
136
+ | `koebe-circle-domains` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
137
  | `matrix-multiplication` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
138
  | `mub-six` | grading did not complete in our run |
139
  | `nuclear-ultrapower` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
140
  | `occupied-overlap` | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
141
  | `ordinary-two-point-correlations` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
142
+ | `ostmann-complete` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
143
  | `ostmann-primes` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
144
+ | `patterson-first-moment` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
145
+ | `planar-packing` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
146
+ | `polycyclic-recognition` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
147
  | `quasi-riemann-hypothesis` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
 
148
  | `riesz-quantitative` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
 
 
149
  | `siegel-zeros` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
 
 
 
 
 
 
150
  | `snaky-certificate` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
151
+ | `snaky-twenty-one` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
 
152
  | `spin-angle` | OpenAI's proof writes a definition with the same text but it compiles differently, so the exact-match check fails |
153
+ | `surface-immersion` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
154
+ | `taming-compatibility` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
 
 
155
  | `totient-asymptotic` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
156
  | `totient-companion-zero` | OpenAI's proof uses a Lean library beyond Mathlib that the sandbox does not include |
157
  | `universal-tensor-squares` | OpenAI's proof needs more than the sandbox's 8 GB of memory to build |
 
160
 
161
  The verifier was also tested against submissions that try to cheat (`sorry` in several disguises,
162
  fake axioms, `native_decide`, weakened statements, redefined definitions, planted reward files, code
163
+ that runs during grading, a build that fills the verifier's disk). All scored 0. A no-op agent scores 0.
164
 
165
  ## Notes
166
 
generator/README.md CHANGED
@@ -50,7 +50,7 @@ per challenge, all from the data:
50
  |---|---|---|
51
  | Definition holes | 9 configs | Comparator checks only the name and type of a `definition_names` entry, never its body, so a solution could redefine `ProperColoring := False` and prove the theorem trivially. A hole whose body is written out is removed from the config, so it must match exactly (8 configs). A hole whose body is `sorry` stays open only if its name appears nowhere else in the file (`ElementaryPositivity`, whose type is the claim). `DefocusingNLS` has a `sorry` inside a definition the theorems use and is excluded. |
52
  | Reference proofs needing other Lean libraries | 23 | PrimeNumberTheoremAnd, StrongPNT, RellichKondrachov and others. Every statement imports only Mathlib, so agents are unaffected; only those official proofs cannot be built in this image. |
53
- | Grading time | all | 1 h plus 15 min per MB of the reference proof, at most 6 h. |
54
 
55
  The 137 result families without Lean statements have no machine-checkable target and are not part
56
  of the dataset.
@@ -67,7 +67,8 @@ agent sandbox (snapshot) verifier sandbox (same snapshot, fre
67
  collect hook: pack_submission.py 3. iptables: grader uid gets no sockets
68
  -> /logs/artifacts/submission.tar ----------> 4. Comparator as `grader`: landrun builds, statement
69
  (one plain file crosses) + axiom check, kernel replay
70
- 5. kill grader processes, root writes reward.txt
 
71
  ```
72
 
73
  Harbor's `[verifier] environment_mode = "separate"` (0.24+) provides the second sandbox. Both
@@ -88,6 +89,7 @@ after 10 minutes, which is less than the image build takes, hence `snapshot.py`.
88
  | Re-export the trusted Challenge module | its theorems are `sorry` | `import-challenge` |
89
  | Plant `reward.txt` or a fake `comparator` in the agent sandbox | grading runs in a separate fresh sandbox | `agent-side-reward` |
90
  | Lean code run while the verifier builds the proof (`run_cmd`, `#eval`, macros) writes `reward.txt`, runs a shell or opens a connection | landrun (read-only file system except `.lake`, execution limited to Lean and git, TCP denied), unprivileged `grader` user, iptables owner rule; root writes the reward only after killing every grader process | `compile-time-reward` |
 
91
  | Symlinks, path traversal, device files, hard links, huge archives | the collect hook packs only regular files; `grade.py` accepts only regular `Submission.lean` and `Submission/**.lean` whose path components are Lean identifiers | `symlink`, `tests/test_grade_unpack.py` |
92
  | Read OpenAI's proof | not in the image; the agent phase has no network | network probe (below) |
93
  | A background process in the agent sandbox interfering with grading | Harbor stops the agent sandbox before the verifier starts and empties the verifier's log directory first; on Daytona the two sandboxes share no files | by construction |
@@ -117,7 +119,7 @@ All through `harbor run` on Daytona with the separate verifier; none involves a
117
  | Oracle over every task (official proofs) | 1 where the proof fits the image | see the dataset card and each task's `oracle_result` |
118
  | All 405 statements built in one sandbox (`lake build`, 3 threads) | compile | 405 of 405; median 5 s, 90th percentile 7 s, slowest 220 s |
119
  | No-op agent | 0 | 0, "no submission" |
120
- | 11 adversarial submissions (`attacks.py`) | 0 | 0 on all eleven, each rejected for the intended reason; the build-time probe printed `write denied`, and neither a shell nor git's HTTP helper could be executed |
121
  | Agent-phase view (oracle agent printing its environment) | no network | DNS fails, HTTPS to github.com times out, a direct-IP connection is refused; `LEAN_NUM_THREADS=3` is set; `/tests` is absent |
122
  | Oracle with `--allow-agent-host github.com` | 1 | 1 (positive control for the network check) |
123
  | landrun and iptables in a Daytona sandbox | both enforce | as described above |
@@ -144,9 +146,13 @@ details matter:
144
  ## Limits
145
 
146
  - **Daytona's per-sandbox caps: 4 CPUs, 8 GB memory, 10 GB disk.** The 10 GB is working space on
147
- top of the image. Compiled output of a large proof can exceed it: reference proofs up to about
148
- 1.8 MB of Lean source grade fine, while 3.5 MB and 4.8 MB ones ran out of disk. The oracle results
149
- record which tasks are affected. Higher per-sandbox limits remove the constraint.
 
 
 
 
150
  - **The agent sandbox contains Comparator,** since agent and verifier share one image. Nothing in it
151
  is secret: the statement and the rules are public, and `lake build` plus `#print axioms` already
152
  tell an agent whether a proof is complete.
 
50
  |---|---|---|
51
  | Definition holes | 9 configs | Comparator checks only the name and type of a `definition_names` entry, never its body, so a solution could redefine `ProperColoring := False` and prove the theorem trivially. A hole whose body is written out is removed from the config, so it must match exactly (8 configs). A hole whose body is `sorry` stays open only if its name appears nowhere else in the file (`ElementaryPositivity`, whose type is the claim). `DefocusingNLS` has a `sorry` inside a definition the theorems use and is excluded. |
52
  | Reference proofs needing other Lean libraries | 23 | PrimeNumberTheoremAnd, StrongPNT, RellichKondrachov and others. Every statement imports only Mathlib, so agents are unaffected; only those official proofs cannot be built in this image. |
53
+ | Grading time | all | 3 h plus 15 min per MB of the reference proof, at most 6 h. |
54
 
55
  The 137 result families without Lean statements have no machine-checkable target and are not part
56
  of the dataset.
 
67
  collect hook: pack_submission.py 3. iptables: grader uid gets no sockets
68
  -> /logs/artifacts/submission.tar ----------> 4. Comparator as `grader`: landrun builds, statement
69
  (one plain file crosses) + axiom check, kernel replay
70
+ 5. kill grader processes, delete the build,
71
+ root writes reward.txt
72
  ```
73
 
74
  Harbor's `[verifier] environment_mode = "separate"` (0.24+) provides the second sandbox. Both
 
89
  | Re-export the trusted Challenge module | its theorems are `sorry` | `import-challenge` |
90
  | Plant `reward.txt` or a fake `comparator` in the agent sandbox | grading runs in a separate fresh sandbox | `agent-side-reward` |
91
  | Lean code run while the verifier builds the proof (`run_cmd`, `#eval`, macros) writes `reward.txt`, runs a shell or opens a connection | landrun (read-only file system except `.lake`, execution limited to Lean and git, TCP denied), unprivileged `grader` user, iptables owner rule; root writes the reward only after killing every grader process | `compile-time-reward` |
92
+ | Exhaust the verifier's disk or memory so grading cannot finish | Lake by-products are emptied as the build runs; the build is deleted before the verdict is written, so a full disk still yields reward 0; memory and time are bounded (8 GB, `grade_timeout_sec`) and a killed build scores 0 | `fill-disk` |
93
  | Symlinks, path traversal, device files, hard links, huge archives | the collect hook packs only regular files; `grade.py` accepts only regular `Submission.lean` and `Submission/**.lean` whose path components are Lean identifiers | `symlink`, `tests/test_grade_unpack.py` |
94
  | Read OpenAI's proof | not in the image; the agent phase has no network | network probe (below) |
95
  | A background process in the agent sandbox interfering with grading | Harbor stops the agent sandbox before the verifier starts and empties the verifier's log directory first; on Daytona the two sandboxes share no files | by construction |
 
119
  | Oracle over every task (official proofs) | 1 where the proof fits the image | see the dataset card and each task's `oracle_result` |
120
  | All 405 statements built in one sandbox (`lake build`, 3 threads) | compile | 405 of 405; median 5 s, 90th percentile 7 s, slowest 220 s |
121
  | No-op agent | 0 | 0, "no submission" |
122
+ | 12 adversarial submissions (`attacks.py`) | 0 | 0 on all twelve, each rejected for the intended reason (`fill-disk` on Oct 9 with the final grader: "ran out of disk space" after 85 s); the build-time probe printed `write denied`, and neither a shell nor git's HTTP helper could be executed |
123
  | Agent-phase view (oracle agent printing its environment) | no network | DNS fails, HTTPS to github.com times out, a direct-IP connection is refused; `LEAN_NUM_THREADS=3` is set; `/tests` is absent |
124
  | Oracle with `--allow-agent-host github.com` | 1 | 1 (positive control for the network check) |
125
  | landrun and iptables in a Daytona sandbox | both enforce | as described above |
 
146
  ## Limits
147
 
148
  - **Daytona's per-sandbox caps: 4 CPUs, 8 GB memory, 10 GB disk.** The 10 GB is working space on
149
+ top of the image. Lake compiles every module to C as well as to `.olean`; grading never reads the
150
+ C, but for the largest proofs it reached 9.4 GB and filled the disk. `grade.py` therefore empties
151
+ the generated `.c` files every 15 seconds while the build runs (as the `grader` user; Lake keeps
152
+ the recorded hash and does not rebuild), and deletes the build before writing its verdict, so a
153
+ build that still fills the disk scores 0 instead of leaving Harbor waiting for a verifier that
154
+ can no longer report. Some proofs still need more than 8 GB of memory or 6 hours; the oracle
155
+ results record which. Higher per-sandbox limits remove the constraint.
156
  - **The agent sandbox contains Comparator,** since agent and verifier share one image. Nothing in it
157
  is secret: the statement and the rules are public, and `lake build` plus `#print axioms` already
158
  tell an agent whether a proof is complete.
generator/openai_math_harbor/adapter.py CHANGED
@@ -221,13 +221,15 @@ def validation_block(written: list[dict]) -> str:
221
  if not results:
222
  return "The oracle has not been run on this build of the dataset."
223
  counts: dict[str, list[str]] = {}
 
 
224
  for w in results:
225
- counts.setdefault(w["oracle_result"], []).append(w["task"])
226
- order = [k for k in ORACLE_MEANING if k in counts] + sorted(k for k in counts if k not in ORACLE_MEANING)
 
227
  rows = ["| Oracle result | Tasks | Meaning |", "|---|---|---|"]
228
  for key in order:
229
- rows.append(f"| {key} | {len(counts[key])} | {ORACLE_MEANING.get(key, 'grading did not complete')} |")
230
- pending = [w["task"] for w in written if not w.get("oracle_result")]
231
  if pending:
232
  rows.append(f"| not completed | {len(pending)} | grading did not complete in our run |")
233
  lines = ["\n".join(rows), ""]
@@ -236,7 +238,7 @@ def validation_block(written: list[dict]) -> str:
236
  if secs:
237
  lines.append(f"Grading an accepted proof took {secs[len(secs) // 2] // 60} minutes at the median. "
238
  "Each task's result is in its `task.toml` (`oracle_result`) and in `manifest.parquet`.")
239
- unexplained = sorted(t for k in counts if k not in ORACLE_MEANING or k in ("rejected", "timeout") for t in counts[k])
240
  if unexplained:
241
  lines.append("Other: " + ", ".join(f"`{t}`" for t in unexplained) + ".")
242
  return "\n".join(lines)
@@ -339,7 +341,7 @@ def main() -> None:
339
  if args.only_validated and entry["oracle_result"] != "accepted":
340
  shutil.rmtree(args.out / "tasks" / entry["task"])
341
  not_validated.append({"task": entry["task"], "challenge": c.name, "family": c.family.number,
342
- "reason": entry["oracle_result"] or "pending"})
343
  continue
344
  written.append(entry)
345
  (args.out / "manifest.json").write_text(json.dumps({
 
221
  if not results:
222
  return "The oracle has not been run on this build of the dataset."
223
  counts: dict[str, list[str]] = {}
224
+ # No verdict: not run yet, or the run was interrupted (`error: ...`) rather than graded.
225
+ pending = [w["task"] for w in written if w.get("oracle_result") not in ORACLE_MEANING]
226
  for w in results:
227
+ if w["oracle_result"] in ORACLE_MEANING:
228
+ counts.setdefault(w["oracle_result"], []).append(w["task"])
229
+ order = [k for k in ORACLE_MEANING if k in counts]
230
  rows = ["| Oracle result | Tasks | Meaning |", "|---|---|---|"]
231
  for key in order:
232
+ rows.append(f"| {key} | {len(counts[key])} | {ORACLE_MEANING[key]} |")
 
233
  if pending:
234
  rows.append(f"| not completed | {len(pending)} | grading did not complete in our run |")
235
  lines = ["\n".join(rows), ""]
 
238
  if secs:
239
  lines.append(f"Grading an accepted proof took {secs[len(secs) // 2] // 60} minutes at the median. "
240
  "Each task's result is in its `task.toml` (`oracle_result`) and in `manifest.parquet`.")
241
+ unexplained = sorted(t for k in ("rejected", "timeout") for t in counts.get(k, []))
242
  if unexplained:
243
  lines.append("Other: " + ", ".join(f"`{t}`" for t in unexplained) + ".")
244
  return "\n".join(lines)
 
341
  if args.only_validated and entry["oracle_result"] != "accepted":
342
  shutil.rmtree(args.out / "tasks" / entry["task"])
343
  not_validated.append({"task": entry["task"], "challenge": c.name, "family": c.family.number,
344
+ "reason": entry["oracle_result"] if entry["oracle_result"] in ORACLE_MEANING else "not completed"})
345
  continue
346
  written.append(entry)
347
  (args.out / "manifest.json").write_text(json.dumps({
generator/openai_math_harbor/attacks.py CHANGED
@@ -109,6 +109,21 @@ def openaiMathProbeRun (cmd : String) (args : Array String) : IO String := do
109
  return _write("/workspace/Submission.lean", lean)
110
 
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  def attack_agent_side_reward(t: Path) -> str:
113
  # Plant rewards and fake comparator output in the agent sandbox; the verifier runs elsewhere.
114
  return (
@@ -169,6 +184,7 @@ ATTACKS = {
169
  "weaken-statement": (attack_weaken_statement, "same theorem name, statement changed to True"),
170
  "import-challenge": (attack_import_challenge, "import the trusted Challenge module and re-export it"),
171
  "compile-time-reward": (attack_compile_time_reward, "Lean code run at build time plants reward.txt and dials the daemon"),
 
172
  "agent-side-reward": (attack_agent_side_reward, "plant reward files and a fake comparator in the agent sandbox"),
173
  "symlink": (attack_symlink, "submit symlinks instead of files"),
174
  }
 
109
  return _write("/workspace/Submission.lean", lean)
110
 
111
 
112
+ def attack_fill_disk(t: Path) -> str:
113
+ # Lean code run at build time writes 12 GB into .lake (the one place landrun lets the build
114
+ # write), more than the verifier's 10 GB disk. Grading must still finish with reward 0: a full
115
+ # disk once made the verifier unable to report, leaving Harbor waiting until its timeout.
116
+ probe = """
117
+ #eval show IO Unit from do
118
+ let chunk := "".pushn 'x' (1 <<< 20)
119
+ let h ← IO.FS.Handle.mk ".lake/openai-math-fill" .write
120
+ for _ in [0:12288] do
121
+ h.putStr chunk
122
+ """
123
+ lean = _challenge(t).replace("import Mathlib\n", "import Mathlib\n" + probe, 1)
124
+ return _write("/workspace/Submission.lean", lean)
125
+
126
+
127
  def attack_agent_side_reward(t: Path) -> str:
128
  # Plant rewards and fake comparator output in the agent sandbox; the verifier runs elsewhere.
129
  return (
 
184
  "weaken-statement": (attack_weaken_statement, "same theorem name, statement changed to True"),
185
  "import-challenge": (attack_import_challenge, "import the trusted Challenge module and re-export it"),
186
  "compile-time-reward": (attack_compile_time_reward, "Lean code run at build time plants reward.txt and dials the daemon"),
187
+ "fill-disk": (attack_fill_disk, "Lean code run at build time fills the verifier's disk"),
188
  "agent-side-reward": (attack_agent_side_reward, "plant reward files and a fake comparator in the agent sandbox"),
189
  "symlink": (attack_symlink, "submit symlinks instead of files"),
190
  }
generator/openai_math_harbor/report.py CHANGED
@@ -17,7 +17,7 @@ from pathlib import Path
17
 
18
  # Checked in order against grading.json's reason and the Comparator log.
19
  CAUSES = [
20
- ("disk", ("no space left on device",)),
21
  # The reference proof states a definition with the same text as the challenge, but compiled in
22
  # its own library's context it elaborates to a different term, so exact matching fails.
23
  ("definition-mismatch", ("Const does not match between challenge and target",)),
 
17
 
18
  # Checked in order against grading.json's reason and the Comparator log.
19
  CAUSES = [
20
+ ("disk", ("no space left on device", "ran out of disk space")),
21
  # The reference proof states a definition with the same text as the challenge, but compiled in
22
  # its own library's context it elaborates to a different term, so exact matching fails.
23
  ("definition-mismatch", ("Const does not match between challenge and target",)),
generator/openai_math_harbor/templates/dataset_README.md CHANGED
@@ -111,7 +111,7 @@ $not_validated
111
 
112
  The verifier was also tested against submissions that try to cheat (`sorry` in several disguises,
113
  fake axioms, `native_decide`, weakened statements, redefined definitions, planted reward files, code
114
- that runs during grading). All scored 0. A no-op agent scores 0.
115
 
116
  ## Notes
117
 
 
111
 
112
  The verifier was also tested against submissions that try to cheat (`sorry` in several disguises,
113
  fake axioms, `native_decide`, weakened statements, redefined definitions, planted reward files, code
114
+ that runs during grading, a build that fills the verifier's disk). All scored 0. A no-op agent scores 0.
115
 
116
  ## Notes
117
 
generator/openai_math_harbor/templates/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
generator/tests/test_grade_unpack.py CHANGED
@@ -136,6 +136,33 @@ class UnpackTest(unittest.TestCase):
136
  self.assertEqual(reward, 0)
137
  self.assertIn("out of memory", reason)
138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  def test_classify(self):
140
  ok = "Building Challenge\nBuilding Submission\nYour solution is okay!\n"
141
  self.assertEqual(grade.classify(0, ok)[0], 1)
 
136
  self.assertEqual(reward, 0)
137
  self.assertIn("out of memory", reason)
138
 
139
+ def test_empty_scratch_only_touches_finished_modules(self):
140
+ import os, subprocess, sys
141
+ ir = self.tmp / "ir" / "Submission"; ir.mkdir(parents=True)
142
+ def module(name, hash_age=None):
143
+ for ext in (".setup.json", ".c"):
144
+ (ir / (name + ext)).write_text("x" * 100)
145
+ os.utime(ir / (name + ".setup.json"), (1000, 1000))
146
+ if hash_age is not None:
147
+ (ir / (name + ".c.hash")).write_text("1")
148
+ os.utime(ir / (name + ".c.hash"), (1000 + hash_age, 1000 + hash_age))
149
+ module("Done", hash_age=5) # Lake finished: hash written after the setup
150
+ module("Building") # Lean or leanir may still read the setup
151
+ module("Stale", hash_age=-5) # hash older than the setup: a rebuild is in progress
152
+ subprocess.run([sys.executable, "-c", grade.EMPTY_SCRATCH, str(self.tmp / "ir")], check=True)
153
+ size = lambda n: (ir / n).stat().st_size
154
+ self.assertEqual((size("Done.setup.json"), size("Done.c")), (0, 0))
155
+ self.assertEqual((size("Building.setup.json"), size("Building.c")), (100, 100))
156
+ self.assertEqual((size("Stale.setup.json"), size("Stale.c")), (100, 100))
157
+ self.assertEqual(size("Done.c.hash"), 1)
158
+
159
+ def test_out_of_disk_detection(self):
160
+ out = "Building Submission\nerror: resource exhausted (error code: 28, no space left on device)\n"
161
+ reward, reason = grade.classify(1, out)
162
+ self.assertEqual(reward, 0)
163
+ self.assertIn("out of disk", reason)
164
+ self.assertTrue(grade.out_of_disk("OSError: [Errno 28] No space left on device"))
165
+
166
  def test_classify(self):
167
  ok = "Building Challenge\nBuilding Submission\nYour solution is okay!\n"
168
  self.assertEqual(grade.classify(0, ok)[0], 1)
manifest.json CHANGED
@@ -18,7 +18,7 @@
18
  "packages": [],
19
  "grade_timeout_sec": 10850,
20
  "oracle_result": "accepted",
21
- "oracle_grade_seconds": 463
22
  },
23
  {
24
  "task": "affine-bernstein",
@@ -36,7 +36,7 @@
36
  "packages": [],
37
  "grade_timeout_sec": 12598,
38
  "oracle_result": "accepted",
39
- "oracle_grade_seconds": 1091
40
  },
41
  {
42
  "task": "algorithmic-thin-trees",
@@ -54,7 +54,7 @@
54
  "packages": [],
55
  "grade_timeout_sec": 14901,
56
  "oracle_result": "accepted",
57
- "oracle_grade_seconds": 2906
58
  },
59
  {
60
  "task": "amplitude-damping",
@@ -72,7 +72,7 @@
72
  "packages": [],
73
  "grade_timeout_sec": 11055,
74
  "oracle_result": "accepted",
75
- "oracle_grade_seconds": 1119
76
  },
77
  {
78
  "task": "artin-cat0",
@@ -90,7 +90,7 @@
90
  "packages": [],
91
  "grade_timeout_sec": 11173,
92
  "oracle_result": "accepted",
93
- "oracle_grade_seconds": 792
94
  },
95
  {
96
  "task": "artin-parabolic-intersections",
@@ -111,7 +111,7 @@
111
  "packages": [],
112
  "grade_timeout_sec": 13770,
113
  "oracle_result": "accepted",
114
- "oracle_grade_seconds": 1711
115
  },
116
  {
117
  "task": "asymptotically-minimal-littlewood",
@@ -129,7 +129,25 @@
129
  "packages": [],
130
  "grade_timeout_sec": 11189,
131
  "oracle_result": "accepted",
132
- "oracle_grade_seconds": 919
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  },
134
  {
135
  "task": "auslander-reiten",
@@ -147,7 +165,7 @@
147
  "packages": [],
148
  "grade_timeout_sec": 12914,
149
  "oracle_result": "accepted",
150
- "oracle_grade_seconds": 2615
151
  },
152
  {
153
  "task": "backward-intertwiners",
@@ -165,7 +183,7 @@
165
  "packages": [],
166
  "grade_timeout_sec": 11036,
167
  "oracle_result": "accepted",
168
- "oracle_grade_seconds": 823
169
  },
170
  {
171
  "task": "balanced-box-routing",
@@ -183,7 +201,7 @@
183
  "packages": [],
184
  "grade_timeout_sec": 10948,
185
  "oracle_result": "accepted",
186
- "oracle_grade_seconds": 299
187
  },
188
  {
189
  "task": "balanced-ryser",
@@ -201,7 +219,7 @@
201
  "packages": [],
202
  "grade_timeout_sec": 14307,
203
  "oracle_result": "accepted",
204
- "oracle_grade_seconds": 1733
205
  },
206
  {
207
  "task": "balanced-three-stack",
@@ -219,7 +237,7 @@
219
  "packages": [],
220
  "grade_timeout_sec": 11246,
221
  "oracle_result": "accepted",
222
- "oracle_grade_seconds": 1956
223
  },
224
  {
225
  "task": "ball-packing",
@@ -237,7 +255,7 @@
237
  "packages": [],
238
  "grade_timeout_sec": 14876,
239
  "oracle_result": "accepted",
240
- "oracle_grade_seconds": 4562
241
  },
242
  {
243
  "task": "ball-packing-necessity",
@@ -255,7 +273,7 @@
255
  "packages": [],
256
  "grade_timeout_sec": 12306,
257
  "oracle_result": "accepted",
258
- "oracle_grade_seconds": 1874
259
  },
260
  {
261
  "task": "barnette-hamiltonian",
@@ -273,7 +291,7 @@
273
  "packages": [],
274
  "grade_timeout_sec": 11141,
275
  "oracle_result": "accepted",
276
- "oracle_grade_seconds": 752
277
  },
278
  {
279
  "task": "bass-torsion-free",
@@ -291,7 +309,7 @@
291
  "packages": [],
292
  "grade_timeout_sec": 11720,
293
  "oracle_result": "accepted",
294
- "oracle_grade_seconds": 1087
295
  },
296
  {
297
  "task": "bass-trace",
@@ -309,7 +327,7 @@
309
  "packages": [],
310
  "grade_timeout_sec": 11697,
311
  "oracle_result": "accepted",
312
- "oracle_grade_seconds": 1120
313
  },
314
  {
315
  "task": "benjamini-schramm",
@@ -329,7 +347,7 @@
329
  "packages": [],
330
  "grade_timeout_sec": 16950,
331
  "oracle_result": "accepted",
332
- "oracle_grade_seconds": 3592
333
  },
334
  {
335
  "task": "bernoulli-nonflat-in-seven",
@@ -347,7 +365,7 @@
347
  "packages": [],
348
  "grade_timeout_sec": 11376,
349
  "oracle_result": "accepted",
350
- "oracle_grade_seconds": 1160
351
  },
352
  {
353
  "task": "biholder-transport",
@@ -365,7 +383,7 @@
365
  "packages": [],
366
  "grade_timeout_sec": 13682,
367
  "oracle_result": "accepted",
368
- "oracle_grade_seconds": 3094
369
  },
370
  {
371
  "task": "bin-packing-gap",
@@ -383,7 +401,7 @@
383
  "packages": [],
384
  "grade_timeout_sec": 17601,
385
  "oracle_result": "accepted",
386
- "oracle_grade_seconds": 1412
387
  },
388
  {
389
  "task": "binary-edit-lower",
@@ -401,7 +419,7 @@
401
  "packages": [],
402
  "grade_timeout_sec": 11218,
403
  "oracle_result": "accepted",
404
- "oracle_grade_seconds": 790
405
  },
406
  {
407
  "task": "binary-matching",
@@ -419,7 +437,7 @@
419
  "packages": [],
420
  "grade_timeout_sec": 11355,
421
  "oracle_result": "accepted",
422
- "oracle_grade_seconds": 1132
423
  },
424
  {
425
  "task": "binary-sweep",
@@ -437,7 +455,7 @@
437
  "packages": [],
438
  "grade_timeout_sec": 11836,
439
  "oracle_result": "accepted",
440
- "oracle_grade_seconds": 1210
441
  },
442
  {
443
  "task": "bipartite-crossing",
@@ -455,7 +473,7 @@
455
  "packages": [],
456
  "grade_timeout_sec": 11604,
457
  "oracle_result": "accepted",
458
- "oracle_grade_seconds": 790
459
  },
460
  {
461
  "task": "bogomolov-pop-injectivity",
@@ -473,7 +491,7 @@
473
  "packages": [],
474
  "grade_timeout_sec": 10939,
475
  "oracle_result": "accepted",
476
- "oracle_grade_seconds": 445
477
  },
478
  {
479
  "task": "boltzmann-nonuniqueness",
@@ -491,7 +509,7 @@
491
  "packages": [],
492
  "grade_timeout_sec": 17397,
493
  "oracle_result": "accepted",
494
- "oracle_grade_seconds": 1584
495
  },
496
  {
497
  "task": "boone-higman",
@@ -509,7 +527,7 @@
509
  "packages": [],
510
  "grade_timeout_sec": 12318,
511
  "oracle_result": "accepted",
512
- "oracle_grade_seconds": 976
513
  },
514
  {
515
  "task": "borsuk-nine",
@@ -527,7 +545,7 @@
527
  "packages": [],
528
  "grade_timeout_sec": 13972,
529
  "oracle_result": "accepted",
530
- "oracle_grade_seconds": 893
531
  },
532
  {
533
  "task": "bounded-recovery",
@@ -545,7 +563,7 @@
545
  "packages": [],
546
  "grade_timeout_sec": 11131,
547
  "oracle_result": "accepted",
548
- "oracle_grade_seconds": 1002
549
  },
550
  {
551
  "task": "bounded-tree-potentials",
@@ -563,7 +581,7 @@
563
  "packages": [],
564
  "grade_timeout_sec": 11336,
565
  "oracle_result": "accepted",
566
- "oracle_grade_seconds": 758
567
  },
568
  {
569
  "task": "bounded-treewidth-l1",
@@ -581,7 +599,7 @@
581
  "packages": [],
582
  "grade_timeout_sec": 11437,
583
  "oracle_result": "accepted",
584
- "oracle_grade_seconds": 791
585
  },
586
  {
587
  "task": "brenier",
@@ -613,7 +631,7 @@
613
  "packages": [],
614
  "grade_timeout_sec": 12179,
615
  "oracle_result": "accepted",
616
- "oracle_grade_seconds": 2528
617
  },
618
  {
619
  "task": "brennan",
@@ -631,7 +649,7 @@
631
  "packages": [],
632
  "grade_timeout_sec": 11423,
633
  "oracle_result": "accepted",
634
- "oracle_grade_seconds": 1116
635
  },
636
  {
637
  "task": "brennan-sharp",
@@ -649,7 +667,7 @@
649
  "packages": [],
650
  "grade_timeout_sec": 11440,
651
  "oracle_result": "accepted",
652
- "oracle_grade_seconds": 895
653
  },
654
  {
655
  "task": "buffered-ising",
@@ -667,7 +685,7 @@
667
  "packages": [],
668
  "grade_timeout_sec": 10922,
669
  "oracle_result": "accepted",
670
- "oracle_grade_seconds": 2053
671
  },
672
  {
673
  "task": "c0-absorption",
@@ -685,7 +703,7 @@
685
  "packages": [],
686
  "grade_timeout_sec": 11129,
687
  "oracle_result": "accepted",
688
- "oracle_grade_seconds": 1155
689
  },
690
  {
691
  "task": "c1-entropy-counterexample",
@@ -703,7 +721,7 @@
703
  "packages": [],
704
  "grade_timeout_sec": 11668,
705
  "oracle_result": "accepted",
706
- "oracle_grade_seconds": 1331
707
  },
708
  {
709
  "task": "ch-obstruction",
@@ -721,7 +739,7 @@
721
  "packages": [],
722
  "grade_timeout_sec": 10979,
723
  "oracle_result": "accepted",
724
- "oracle_grade_seconds": 1476
725
  },
726
  {
727
  "task": "cks-bondi-penrose",
@@ -740,7 +758,7 @@
740
  "packages": [],
741
  "grade_timeout_sec": 13346,
742
  "oracle_result": "accepted",
743
- "oracle_grade_seconds": 1456
744
  },
745
  {
746
  "task": "cannon-geometric-action",
@@ -758,7 +776,7 @@
758
  "packages": [],
759
  "grade_timeout_sec": 13413,
760
  "oracle_result": "accepted",
761
- "oracle_grade_seconds": 970
762
  },
763
  {
764
  "task": "cayley-percolation",
@@ -776,7 +794,7 @@
776
  "packages": [],
777
  "grade_timeout_sec": 13179,
778
  "oracle_result": "accepted",
779
- "oracle_grade_seconds": 1048
780
  },
781
  {
782
  "task": "character-criterion",
@@ -794,7 +812,7 @@
794
  "packages": [],
795
  "grade_timeout_sec": 11832,
796
  "oracle_result": "accepted",
797
- "oracle_grade_seconds": 1889
798
  },
799
  {
800
  "task": "choiceless-polynomial-time",
@@ -812,7 +830,7 @@
812
  "packages": [],
813
  "grade_timeout_sec": 11523,
814
  "oracle_result": "accepted",
815
- "oracle_grade_seconds": 574
816
  },
817
  {
818
  "task": "circulant-hadamard",
@@ -830,7 +848,7 @@
830
  "packages": [],
831
  "grade_timeout_sec": 11160,
832
  "oracle_result": "accepted",
833
- "oracle_grade_seconds": 1652
834
  },
835
  {
836
  "task": "classical-on",
@@ -848,7 +866,7 @@
848
  "packages": [],
849
  "grade_timeout_sec": 11324,
850
  "oracle_result": "accepted",
851
- "oracle_grade_seconds": 1392
852
  },
853
  {
854
  "task": "clique-free-log",
@@ -866,7 +884,7 @@
866
  "packages": [],
867
  "grade_timeout_sec": 11006,
868
  "oracle_result": "accepted",
869
- "oracle_grade_seconds": 794
870
  },
871
  {
872
  "task": "coboundary-expanders",
@@ -884,7 +902,7 @@
884
  "packages": [],
885
  "grade_timeout_sec": 12113,
886
  "oracle_result": "accepted",
887
- "oracle_grade_seconds": 1082
888
  },
889
  {
890
  "task": "common-bases-fpras",
@@ -902,7 +920,7 @@
902
  "packages": [],
903
  "grade_timeout_sec": 12002,
904
  "oracle_result": "accepted",
905
- "oracle_grade_seconds": 950
906
  },
907
  {
908
  "task": "commuting-derivations",
@@ -920,7 +938,7 @@
920
  "packages": [],
921
  "grade_timeout_sec": 10921,
922
  "oracle_result": "accepted",
923
- "oracle_grade_seconds": 426
924
  },
925
  {
926
  "task": "compact-banach",
@@ -938,7 +956,7 @@
938
  "packages": [],
939
  "grade_timeout_sec": 10986,
940
  "oracle_result": "accepted",
941
- "oracle_grade_seconds": 1439
942
  },
943
  {
944
  "task": "complete-crossing",
@@ -956,7 +974,7 @@
956
  "packages": [],
957
  "grade_timeout_sec": 12117,
958
  "oracle_result": "accepted",
959
- "oracle_grade_seconds": 800
960
  },
961
  {
962
  "task": "complete-crouzeix",
@@ -974,7 +992,7 @@
974
  "packages": [],
975
  "grade_timeout_sec": 11386,
976
  "oracle_result": "accepted",
977
- "oracle_grade_seconds": 1153
978
  },
979
  {
980
  "task": "complex-cancellation",
@@ -992,7 +1010,7 @@
992
  "packages": [],
993
  "grade_timeout_sec": 11018,
994
  "oracle_result": "accepted",
995
- "oracle_grade_seconds": 971
996
  },
997
  {
998
  "task": "conductivity",
@@ -1010,7 +1028,7 @@
1010
  "packages": [],
1011
  "grade_timeout_sec": 14056,
1012
  "oracle_result": "accepted",
1013
- "oracle_grade_seconds": 1871
1014
  },
1015
  {
1016
  "task": "conjugate-points",
@@ -1028,7 +1046,7 @@
1028
  "packages": [],
1029
  "grade_timeout_sec": 11951,
1030
  "oracle_result": "accepted",
1031
- "oracle_grade_seconds": 1609
1032
  },
1033
  {
1034
  "task": "contingency-tables",
@@ -1048,7 +1066,7 @@
1048
  "packages": [],
1049
  "grade_timeout_sec": 18988,
1050
  "oracle_result": "accepted",
1051
- "oracle_grade_seconds": 3243
1052
  },
1053
  {
1054
  "task": "continuous-circle-weight",
@@ -1066,7 +1084,7 @@
1066
  "packages": [],
1067
  "grade_timeout_sec": 11617,
1068
  "oracle_result": "accepted",
1069
- "oracle_grade_seconds": 1217
1070
  },
1071
  {
1072
  "task": "continuum-transition",
@@ -1084,7 +1102,7 @@
1084
  "packages": [],
1085
  "grade_timeout_sec": 11427,
1086
  "oracle_result": "accepted",
1087
- "oracle_grade_seconds": 1607
1088
  },
1089
  {
1090
  "task": "coordinate-sweeps",
@@ -1103,7 +1121,7 @@
1103
  "packages": [],
1104
  "grade_timeout_sec": 11777,
1105
  "oracle_result": "accepted",
1106
- "oracle_grade_seconds": 1051
1107
  },
1108
  {
1109
  "task": "coordinate-trace",
@@ -1121,7 +1139,7 @@
1121
  "packages": [],
1122
  "grade_timeout_sec": 11676,
1123
  "oracle_result": "accepted",
1124
- "oracle_grade_seconds": 1254
1125
  },
1126
  {
1127
  "task": "cotype",
@@ -1139,7 +1157,7 @@
1139
  "packages": [],
1140
  "grade_timeout_sec": 11253,
1141
  "oracle_result": "accepted",
1142
- "oracle_grade_seconds": 1088
1143
  },
1144
  {
1145
  "task": "coulomb-counterexample",
@@ -1157,7 +1175,7 @@
1157
  "packages": [],
1158
  "grade_timeout_sec": 11220,
1159
  "oracle_result": "accepted",
1160
- "oracle_grade_seconds": 891
1161
  },
1162
  {
1163
  "task": "coulomb-ionization",
@@ -1175,7 +1193,7 @@
1175
  "packages": [],
1176
  "grade_timeout_sec": 14952,
1177
  "oracle_result": "accepted",
1178
- "oracle_grade_seconds": 2115
1179
  },
1180
  {
1181
  "task": "coulomb-radii",
@@ -1193,7 +1211,7 @@
1193
  "packages": [],
1194
  "grade_timeout_sec": 14272,
1195
  "oracle_result": "accepted",
1196
- "oracle_grade_seconds": 2054
1197
  },
1198
  {
1199
  "task": "courtade-kumar",
@@ -1211,7 +1229,7 @@
1211
  "packages": [],
1212
  "grade_timeout_sec": 11095,
1213
  "oracle_result": "accepted",
1214
- "oracle_grade_seconds": 468
1215
  },
1216
  {
1217
  "task": "covering-density",
@@ -1229,7 +1247,7 @@
1229
  "packages": [],
1230
  "grade_timeout_sec": 12384,
1231
  "oracle_result": "accepted",
1232
- "oracle_grade_seconds": 1458
1233
  },
1234
  {
1235
  "task": "critical-percolation",
@@ -1247,7 +1265,7 @@
1247
  "packages": [],
1248
  "grade_timeout_sec": 13419,
1249
  "oracle_result": "accepted",
1250
- "oracle_grade_seconds": 2360
1251
  },
1252
  {
1253
  "task": "critical-sk",
@@ -1267,7 +1285,7 @@
1267
  "packages": [],
1268
  "grade_timeout_sec": 11601,
1269
  "oracle_result": "accepted",
1270
- "oracle_grade_seconds": 892
1271
  },
1272
  {
1273
  "task": "critical-sk-mixing",
@@ -1285,7 +1303,7 @@
1285
  "packages": [],
1286
  "grade_timeout_sec": 15840,
1287
  "oracle_result": "accepted",
1288
- "oracle_grade_seconds": 2139
1289
  },
1290
  {
1291
  "task": "critical-strip-mass",
@@ -1303,7 +1321,7 @@
1303
  "packages": [],
1304
  "grade_timeout_sec": 13317,
1305
  "oracle_result": "accepted",
1306
- "oracle_grade_seconds": 1959
1307
  },
1308
  {
1309
  "task": "critical-z3",
@@ -1321,7 +1339,7 @@
1321
  "packages": [],
1322
  "grade_timeout_sec": 11215,
1323
  "oracle_result": "accepted",
1324
- "oracle_grade_seconds": 859
1325
  },
1326
  {
1327
  "task": "crouzeix-hilbert",
@@ -1339,7 +1357,7 @@
1339
  "packages": [],
1340
  "grade_timeout_sec": 11451,
1341
  "oracle_result": "accepted",
1342
- "oracle_grade_seconds": 1215
1343
  },
1344
  {
1345
  "task": "cubic-torus",
@@ -1357,7 +1375,7 @@
1357
  "packages": [],
1358
  "grade_timeout_sec": 17093,
1359
  "oracle_result": "accepted",
1360
- "oracle_grade_seconds": 2541
1361
  },
1362
  {
1363
  "task": "cycle-decomposition",
@@ -1375,7 +1393,7 @@
1375
  "packages": [],
1376
  "grade_timeout_sec": 11698,
1377
  "oracle_result": "accepted",
1378
- "oracle_grade_seconds": 827
1379
  },
1380
  {
1381
  "task": "cylinder-covering",
@@ -1393,7 +1411,7 @@
1393
  "packages": [],
1394
  "grade_timeout_sec": 13511,
1395
  "oracle_result": "accepted",
1396
- "oracle_grade_seconds": 2016
1397
  },
1398
  {
1399
  "task": "daugavet-moduli",
@@ -1413,7 +1431,7 @@
1413
  "packages": [],
1414
  "grade_timeout_sec": 10981,
1415
  "oracle_result": "accepted",
1416
- "oracle_grade_seconds": 462
1417
  },
1418
  {
1419
  "task": "degree-rigidity",
@@ -1431,7 +1449,7 @@
1431
  "packages": [],
1432
  "grade_timeout_sec": 14330,
1433
  "oracle_result": "accepted",
1434
- "oracle_grade_seconds": 1821
1435
  },
1436
  {
1437
  "task": "deligne-drinfeld",
@@ -1449,7 +1467,7 @@
1449
  "packages": [],
1450
  "grade_timeout_sec": 12022,
1451
  "oracle_result": "accepted",
1452
- "oracle_grade_seconds": 921
1453
  },
1454
  {
1455
  "task": "depth-five",
@@ -1467,7 +1485,7 @@
1467
  "packages": [],
1468
  "grade_timeout_sec": 11592,
1469
  "oracle_result": "accepted",
1470
- "oracle_grade_seconds": 1051
1471
  },
1472
  {
1473
  "task": "depth-three",
@@ -1485,7 +1503,7 @@
1485
  "packages": [],
1486
  "grade_timeout_sec": 11723,
1487
  "oracle_result": "accepted",
1488
- "oracle_grade_seconds": 776
1489
  },
1490
  {
1491
  "task": "diamond-distortion",
@@ -1503,7 +1521,7 @@
1503
  "packages": [],
1504
  "grade_timeout_sec": 11225,
1505
  "oracle_result": "accepted",
1506
- "oracle_grade_seconds": 771
1507
  },
1508
  {
1509
  "task": "diluted-spin",
@@ -1521,7 +1539,7 @@
1521
  "packages": [],
1522
  "grade_timeout_sec": 13284,
1523
  "oracle_result": "accepted",
1524
- "oracle_grade_seconds": 1537
1525
  },
1526
  {
1527
  "task": "dimension-ten-channel",
@@ -1539,7 +1557,7 @@
1539
  "packages": [],
1540
  "grade_timeout_sec": 13567,
1541
  "oracle_result": "accepted",
1542
- "oracle_grade_seconds": 2360
1543
  },
1544
  {
1545
  "task": "dimension-ten-pair",
@@ -1557,7 +1575,7 @@
1557
  "packages": [],
1558
  "grade_timeout_sec": 12972,
1559
  "oracle_result": "accepted",
1560
- "oracle_grade_seconds": 1766
1561
  },
1562
  {
1563
  "task": "direct-crouzeix",
@@ -1576,7 +1594,7 @@
1576
  "packages": [],
1577
  "grade_timeout_sec": 11082,
1578
  "oracle_result": "accepted",
1579
- "oracle_grade_seconds": 1202
1580
  },
1581
  {
1582
  "task": "directed-feedback",
@@ -1594,7 +1612,7 @@
1594
  "packages": [],
1595
  "grade_timeout_sec": 18455,
1596
  "oracle_result": "accepted",
1597
- "oracle_grade_seconds": 1662
1598
  },
1599
  {
1600
  "task": "directional-ballisticity",
@@ -1612,7 +1630,7 @@
1612
  "packages": [],
1613
  "grade_timeout_sec": 15311,
1614
  "oracle_result": "accepted",
1615
- "oracle_grade_seconds": 1730
1616
  },
1617
  {
1618
  "task": "directional-walk",
@@ -1630,7 +1648,7 @@
1630
  "packages": [],
1631
  "grade_timeout_sec": 11656,
1632
  "oracle_result": "accepted",
1633
- "oracle_grade_seconds": 968
1634
  },
1635
  {
1636
  "task": "discrete-lipschitz-free",
@@ -1648,7 +1666,7 @@
1648
  "packages": [],
1649
  "grade_timeout_sec": 10956,
1650
  "oracle_result": "accepted",
1651
- "oracle_grade_seconds": 662
1652
  },
1653
  {
1654
  "task": "disk-maximal",
@@ -1666,7 +1684,7 @@
1666
  "packages": [],
1667
  "grade_timeout_sec": 11673,
1668
  "oracle_result": "accepted",
1669
- "oracle_grade_seconds": 756
1670
  },
1671
  {
1672
  "task": "dixmier",
@@ -1684,7 +1702,7 @@
1684
  "packages": [],
1685
  "grade_timeout_sec": 10943,
1686
  "oracle_result": "accepted",
1687
- "oracle_grade_seconds": 332
1688
  },
1689
  {
1690
  "task": "dixmier-all-discrete",
@@ -1702,7 +1720,7 @@
1702
  "packages": [],
1703
  "grade_timeout_sec": 10963,
1704
  "oracle_result": "accepted",
1705
- "oracle_grade_seconds": 471
1706
  },
1707
  {
1708
  "task": "doubling-hilbert",
@@ -1720,7 +1738,7 @@
1720
  "packages": [],
1721
  "grade_timeout_sec": 10941,
1722
  "oracle_result": "accepted",
1723
- "oracle_grade_seconds": 454
1724
  },
1725
  {
1726
  "task": "dutta-domain",
@@ -1738,7 +1756,7 @@
1738
  "packages": [],
1739
  "grade_timeout_sec": 12968,
1740
  "oracle_result": "accepted",
1741
- "oracle_grade_seconds": 1913
1742
  },
1743
  {
1744
  "task": "dyadic-avoidance",
@@ -1756,7 +1774,7 @@
1756
  "packages": [],
1757
  "grade_timeout_sec": 11132,
1758
  "oracle_result": "accepted",
1759
- "oracle_grade_seconds": 796
1760
  },
1761
  {
1762
  "task": "edit-approximation",
@@ -1774,7 +1792,7 @@
1774
  "packages": [],
1775
  "grade_timeout_sec": 17632,
1776
  "oracle_result": "accepted",
1777
- "oracle_grade_seconds": 3183
1778
  },
1779
  {
1780
  "task": "edit-distance",
@@ -1792,7 +1810,7 @@
1792
  "packages": [],
1793
  "grade_timeout_sec": 12317,
1794
  "oracle_result": "accepted",
1795
- "oracle_grade_seconds": 1069
1796
  },
1797
  {
1798
  "task": "egyptian-fractions",
@@ -1818,7 +1836,7 @@
1818
  "packages": [],
1819
  "grade_timeout_sec": 12262,
1820
  "oracle_result": "accepted",
1821
- "oracle_grade_seconds": 763
1822
  },
1823
  {
1824
  "task": "eilenberg-ganea",
@@ -1836,7 +1854,7 @@
1836
  "packages": [],
1837
  "grade_timeout_sec": 12346,
1838
  "oracle_result": "accepted",
1839
- "oracle_grade_seconds": 4559
1840
  },
1841
  {
1842
  "task": "elasticity-uniqueness",
@@ -1854,7 +1872,7 @@
1854
  "packages": [],
1855
  "grade_timeout_sec": 12247,
1856
  "oracle_result": "accepted",
1857
- "oracle_grade_seconds": 1681
1858
  },
1859
  {
1860
  "task": "elementary-positivity",
@@ -1872,7 +1890,7 @@
1872
  "packages": [],
1873
  "grade_timeout_sec": 13926,
1874
  "oracle_result": "accepted",
1875
- "oracle_grade_seconds": 2371
1876
  },
1877
  {
1878
  "task": "entangled-games",
@@ -1890,7 +1908,7 @@
1890
  "packages": [],
1891
  "grade_timeout_sec": 11118,
1892
  "oracle_result": "accepted",
1893
- "oracle_grade_seconds": 786
1894
  },
1895
  {
1896
  "task": "entropy-photon-number",
@@ -1908,7 +1926,7 @@
1908
  "packages": [],
1909
  "grade_timeout_sec": 12060,
1910
  "oracle_result": "accepted",
1911
- "oracle_grade_seconds": 998
1912
  },
1913
  {
1914
  "task": "euclidean-five-color",
@@ -1928,7 +1946,7 @@
1928
  "packages": [],
1929
  "grade_timeout_sec": 12193,
1930
  "oracle_result": "accepted",
1931
- "oracle_grade_seconds": 1407
1932
  },
1933
  {
1934
  "task": "euclidean-ramsey",
@@ -1946,7 +1964,7 @@
1946
  "packages": [],
1947
  "grade_timeout_sec": 11059,
1948
  "oracle_result": "accepted",
1949
- "oracle_grade_seconds": 1062
1950
  },
1951
  {
1952
  "task": "euclidean-ramsey-circle",
@@ -1964,7 +1982,7 @@
1964
  "packages": [],
1965
  "grade_timeout_sec": 11086,
1966
  "oracle_result": "accepted",
1967
- "oracle_grade_seconds": 883
1968
  },
1969
  {
1970
  "task": "euclidean-ramsey-nine",
@@ -1982,7 +2000,7 @@
1982
  "packages": [],
1983
  "grade_timeout_sec": 10869,
1984
  "oracle_result": "accepted",
1985
- "oracle_grade_seconds": 600
1986
  },
1987
  {
1988
  "task": "euclidean-ramsey-quadratic",
@@ -2000,7 +2018,7 @@
2000
  "packages": [],
2001
  "grade_timeout_sec": 11069,
2002
  "oracle_result": "accepted",
2003
- "oracle_grade_seconds": 672
2004
  },
2005
  {
2006
  "task": "euclidean-ramsey-spherical",
@@ -2018,7 +2036,7 @@
2018
  "packages": [],
2019
  "grade_timeout_sec": 11065,
2020
  "oracle_result": "accepted",
2021
- "oracle_grade_seconds": 735
2022
  },
2023
  {
2024
  "task": "euclidean-ramsey-transitive",
@@ -2036,7 +2054,7 @@
2036
  "packages": [],
2037
  "grade_timeout_sec": 11065,
2038
  "oracle_result": "accepted",
2039
- "oracle_grade_seconds": 1235
2040
  },
2041
  {
2042
  "task": "even-barker",
@@ -2054,7 +2072,7 @@
2054
  "packages": [],
2055
  "grade_timeout_sec": 11169,
2056
  "oracle_result": "accepted",
2057
- "oracle_grade_seconds": 743
2058
  },
2059
  {
2060
  "task": "exact-fourier",
@@ -2072,7 +2090,7 @@
2072
  "packages": [],
2073
  "grade_timeout_sec": 11563,
2074
  "oracle_result": "accepted",
2075
- "oracle_grade_seconds": 765
2076
  },
2077
  {
2078
  "task": "exact-infiniteness",
@@ -2091,7 +2109,7 @@
2091
  "packages": [],
2092
  "grade_timeout_sec": 16851,
2093
  "oracle_result": "accepted",
2094
- "oracle_grade_seconds": 4206
2095
  },
2096
  {
2097
  "task": "exact-quantum-factoring",
@@ -2109,7 +2127,7 @@
2109
  "packages": [],
2110
  "grade_timeout_sec": 12978,
2111
  "oracle_result": "accepted",
2112
- "oracle_grade_seconds": 1227
2113
  },
2114
  {
2115
  "task": "fkcrt",
@@ -2127,7 +2145,7 @@
2127
  "packages": [],
2128
  "grade_timeout_sec": 12489,
2129
  "oracle_result": "accepted",
2130
- "oracle_grade_seconds": 1071
2131
  },
2132
  {
2133
  "task": "factor-generation",
@@ -2145,7 +2163,7 @@
2145
  "packages": [],
2146
  "grade_timeout_sec": 12311,
2147
  "oracle_result": "accepted",
2148
- "oracle_grade_seconds": 3699
2149
  },
2150
  {
2151
  "task": "falconer-all-dimensions",
@@ -2163,7 +2181,7 @@
2163
  "packages": [],
2164
  "grade_timeout_sec": 18862,
2165
  "oracle_result": "accepted",
2166
- "oracle_grade_seconds": 4645
2167
  },
2168
  {
2169
  "task": "filling-coefficient",
@@ -2181,7 +2199,7 @@
2181
  "packages": [],
2182
  "grade_timeout_sec": 11427,
2183
  "oracle_result": "accepted",
2184
- "oracle_grade_seconds": 1115
2185
  },
2186
  {
2187
  "task": "finite-circle",
@@ -2199,7 +2217,7 @@
2199
  "packages": [],
2200
  "grade_timeout_sec": 11212,
2201
  "oracle_result": "accepted",
2202
- "oracle_grade_seconds": 902
2203
  },
2204
  {
2205
  "task": "finite-congruence-graph",
@@ -2217,7 +2235,7 @@
2217
  "packages": [],
2218
  "grade_timeout_sec": 10820,
2219
  "oracle_result": "accepted",
2220
- "oracle_grade_seconds": 466
2221
  },
2222
  {
2223
  "task": "finite-entropy-separation",
@@ -2235,7 +2253,7 @@
2235
  "packages": [],
2236
  "grade_timeout_sec": 11507,
2237
  "oracle_result": "accepted",
2238
- "oracle_grade_seconds": 1422
2239
  },
2240
  {
2241
  "task": "finite-factor",
@@ -2253,7 +2271,7 @@
2253
  "packages": [],
2254
  "grade_timeout_sec": 11802,
2255
  "oracle_result": "accepted",
2256
- "oracle_grade_seconds": 1338
2257
  },
2258
  {
2259
  "task": "finitistic-asymmetry",
@@ -2271,7 +2289,7 @@
2271
  "packages": [],
2272
  "grade_timeout_sec": 12826,
2273
  "oracle_result": "accepted",
2274
- "oracle_grade_seconds": 2003
2275
  },
2276
  {
2277
  "task": "fixed-clause-threshold",
@@ -2289,7 +2307,7 @@
2289
  "packages": [],
2290
  "grade_timeout_sec": 10994,
2291
  "oracle_result": "accepted",
2292
- "oracle_grade_seconds": 655
2293
  },
2294
  {
2295
  "task": "forced-navier-stokes-computation",
@@ -2307,7 +2325,7 @@
2307
  "packages": [],
2308
  "grade_timeout_sec": 11246,
2309
  "oracle_result": "accepted",
2310
- "oracle_grade_seconds": 547
2311
  },
2312
  {
2313
  "task": "forest-space",
@@ -2325,7 +2343,7 @@
2325
  "packages": [],
2326
  "grade_timeout_sec": 10975,
2327
  "oracle_result": "accepted",
2328
- "oracle_grade_seconds": 741
2329
  },
2330
  {
2331
  "task": "formula-hitting",
@@ -2343,7 +2361,7 @@
2343
  "packages": [],
2344
  "grade_timeout_sec": 10911,
2345
  "oracle_result": "accepted",
2346
- "oracle_grade_seconds": 637
2347
  },
2348
  {
2349
  "task": "foulkes-howe",
@@ -2361,7 +2379,7 @@
2361
  "packages": [],
2362
  "grade_timeout_sec": 10977,
2363
  "oracle_result": "accepted",
2364
- "oracle_grade_seconds": 1045
2365
  },
2366
  {
2367
  "task": "four-row-permanent",
@@ -2379,7 +2397,7 @@
2379
  "packages": [],
2380
  "grade_timeout_sec": 10822,
2381
  "oracle_result": "accepted",
2382
- "oracle_grade_seconds": 788
2383
  },
2384
  {
2385
  "task": "free-ising",
@@ -2397,7 +2415,7 @@
2397
  "packages": [],
2398
  "grade_timeout_sec": 15777,
2399
  "oracle_result": "accepted",
2400
- "oracle_grade_seconds": 2215
2401
  },
2402
  {
2403
  "task": "free-uniform-spanning-forest",
@@ -2415,7 +2433,7 @@
2415
  "packages": [],
2416
  "grade_timeout_sec": 11762,
2417
  "oracle_result": "accepted",
2418
- "oracle_grade_seconds": 1286
2419
  },
2420
  {
2421
  "task": "gamma-passage",
@@ -2433,7 +2451,7 @@
2433
  "packages": [],
2434
  "grade_timeout_sec": 11652,
2435
  "oracle_result": "accepted",
2436
- "oracle_grade_seconds": 800
2437
  },
2438
  {
2439
  "task": "gaussian-finite-entropy",
@@ -2451,7 +2469,7 @@
2451
  "packages": [],
2452
  "grade_timeout_sec": 10905,
2453
  "oracle_result": "accepted",
2454
- "oracle_grade_seconds": 870
2455
  },
2456
  {
2457
  "task": "gaussian-information",
@@ -2472,7 +2490,7 @@
2472
  "packages": [],
2473
  "grade_timeout_sec": 11504,
2474
  "oracle_result": "accepted",
2475
- "oracle_grade_seconds": 1216
2476
  },
2477
  {
2478
  "task": "gaussian-moat",
@@ -2490,7 +2508,7 @@
2490
  "packages": [],
2491
  "grade_timeout_sec": 11338,
2492
  "oracle_result": "accepted",
2493
- "oracle_grade_seconds": 1157
2494
  },
2495
  {
2496
  "task": "gaussian-propeller",
@@ -2508,7 +2526,7 @@
2508
  "packages": [],
2509
  "grade_timeout_sec": 11325,
2510
  "oracle_result": "accepted",
2511
- "oracle_grade_seconds": 1095
2512
  },
2513
  {
2514
  "task": "gaussian-replacement",
@@ -2536,7 +2554,7 @@
2536
  "packages": [],
2537
  "grade_timeout_sec": 11484,
2538
  "oracle_result": "accepted",
2539
- "oracle_grade_seconds": 1104
2540
  },
2541
  {
2542
  "task": "general-mahler",
@@ -2554,7 +2572,7 @@
2554
  "packages": [],
2555
  "grade_timeout_sec": 12728,
2556
  "oracle_result": "accepted",
2557
- "oracle_grade_seconds": 5069
2558
  },
2559
  {
2560
  "task": "generalized-star-height",
@@ -2572,7 +2590,7 @@
2572
  "packages": [],
2573
  "grade_timeout_sec": 11270,
2574
  "oracle_result": "accepted",
2575
- "oracle_grade_seconds": 852
2576
  },
2577
  {
2578
  "task": "gotsman-linial",
@@ -2590,7 +2608,7 @@
2590
  "packages": [],
2591
  "grade_timeout_sec": 10954,
2592
  "oracle_result": "accepted",
2593
- "oracle_grade_seconds": 728
2594
  },
2595
  {
2596
  "task": "graham-spherical",
@@ -2608,7 +2626,7 @@
2608
  "packages": [],
2609
  "grade_timeout_sec": 10834,
2610
  "oracle_result": "accepted",
2611
- "oracle_grade_seconds": 751
2612
  },
2613
  {
2614
  "task": "grothendieck-elementary-expansion",
@@ -2626,7 +2644,7 @@
2626
  "packages": [],
2627
  "grade_timeout_sec": 11322,
2628
  "oracle_result": "accepted",
2629
- "oracle_grade_seconds": 1113
2630
  },
2631
  {
2632
  "task": "group-ring-determinant",
@@ -2644,7 +2662,7 @@
2644
  "packages": [],
2645
  "grade_timeout_sec": 11412,
2646
  "oracle_result": "accepted",
2647
- "oracle_grade_seconds": 1695
2648
  },
2649
  {
2650
  "task": "hadamard-cube-fiber",
@@ -2662,7 +2680,7 @@
2662
  "packages": [],
2663
  "grade_timeout_sec": 10835,
2664
  "oracle_result": "accepted",
2665
- "oracle_grade_seconds": 462
2666
  },
2667
  {
2668
  "task": "halving-lines",
@@ -2680,7 +2698,7 @@
2680
  "packages": [],
2681
  "grade_timeout_sec": 11598,
2682
  "oracle_result": "accepted",
2683
- "oracle_grade_seconds": 894
2684
  },
2685
  {
2686
  "task": "hard-sphere",
@@ -2698,7 +2716,7 @@
2698
  "packages": [],
2699
  "grade_timeout_sec": 13924,
2700
  "oracle_result": "accepted",
2701
- "oracle_grade_seconds": 1367
2702
  },
2703
  {
2704
  "task": "harmonic-artin",
@@ -2716,7 +2734,7 @@
2716
  "packages": [],
2717
  "grade_timeout_sec": 13321,
2718
  "oracle_result": "accepted",
2719
- "oracle_grade_seconds": 1612
2720
  },
2721
  {
2722
  "task": "harmonic-growth",
@@ -2734,7 +2752,7 @@
2734
  "packages": [],
2735
  "grade_timeout_sec": 12315,
2736
  "oracle_result": "accepted",
2737
- "oracle_grade_seconds": 1761
2738
  },
2739
  {
2740
  "task": "heilbronn-triangle",
@@ -2753,7 +2771,7 @@
2753
  "packages": [],
2754
  "grade_timeout_sec": 11713,
2755
  "oracle_result": "accepted",
2756
- "oracle_grade_seconds": 1117
2757
  },
2758
  {
2759
  "task": "heisenberg",
@@ -2771,7 +2789,7 @@
2771
  "packages": [],
2772
  "grade_timeout_sec": 11798,
2773
  "oracle_result": "accepted",
2774
- "oracle_grade_seconds": 1829
2775
  },
2776
  {
2777
  "task": "henon-emden",
@@ -2789,7 +2807,7 @@
2789
  "packages": [],
2790
  "grade_timeout_sec": 11381,
2791
  "oracle_result": "accepted",
2792
- "oracle_grade_seconds": 1094
2793
  },
2794
  {
2795
  "task": "hilbert-crouzeix",
@@ -2810,7 +2828,7 @@
2810
  "packages": [],
2811
  "grade_timeout_sec": 10833,
2812
  "oracle_result": "accepted",
2813
- "oracle_grade_seconds": 927
2814
  },
2815
  {
2816
  "task": "honeycomb-bridge-finiteness",
@@ -2828,7 +2846,7 @@
2828
  "packages": [],
2829
  "grade_timeout_sec": 11090,
2830
  "oracle_result": "accepted",
2831
- "oracle_grade_seconds": 711
2832
  },
2833
  {
2834
  "task": "honeycomb-free-energy",
@@ -2846,7 +2864,7 @@
2846
  "packages": [],
2847
  "grade_timeout_sec": 10837,
2848
  "oracle_result": "accepted",
2849
- "oracle_grade_seconds": 812
2850
  },
2851
  {
2852
  "task": "hot-spots",
@@ -2864,7 +2882,7 @@
2864
  "packages": [],
2865
  "grade_timeout_sec": 12043,
2866
  "oracle_result": "accepted",
2867
- "oracle_grade_seconds": 1437
2868
  },
2869
  {
2870
  "task": "hyperbolic-cones",
@@ -2882,7 +2900,7 @@
2882
  "packages": [],
2883
  "grade_timeout_sec": 10996,
2884
  "oracle_result": "accepted",
2885
- "oracle_grade_seconds": 849
2886
  },
2887
  {
2888
  "task": "hyperbolic-obstruction",
@@ -2900,7 +2918,7 @@
2900
  "packages": [],
2901
  "grade_timeout_sec": 12987,
2902
  "oracle_result": "accepted",
2903
- "oracle_grade_seconds": 1194
2904
  },
2905
  {
2906
  "task": "hyperinvariant-subspaces",
@@ -2918,7 +2936,7 @@
2918
  "packages": [],
2919
  "grade_timeout_sec": 11816,
2920
  "oracle_result": "accepted",
2921
- "oracle_grade_seconds": 1437
2922
  },
2923
  {
2924
  "task": "independent-products",
@@ -2939,7 +2957,7 @@
2939
  "packages": [],
2940
  "grade_timeout_sec": 10960,
2941
  "oracle_result": "accepted",
2942
- "oracle_grade_seconds": 656
2943
  },
2944
  {
2945
  "task": "independent-sets",
@@ -2957,7 +2975,7 @@
2957
  "packages": [],
2958
  "grade_timeout_sec": 14830,
2959
  "oracle_result": "accepted",
2960
- "oracle_grade_seconds": 1201
2961
  },
2962
  {
2963
  "task": "individual-strong-infiniteness",
@@ -2975,7 +2993,7 @@
2975
  "packages": [],
2976
  "grade_timeout_sec": 11054,
2977
  "oracle_result": "accepted",
2978
- "oracle_grade_seconds": 965
2979
  },
2980
  {
2981
  "task": "infinite-matroid",
@@ -2993,7 +3011,7 @@
2993
  "packages": [],
2994
  "grade_timeout_sec": 10957,
2995
  "oracle_result": "accepted",
2996
- "oracle_grade_seconds": 667
2997
  },
2998
  {
2999
  "task": "infinite-matroid-corollaries",
@@ -3012,7 +3030,7 @@
3012
  "packages": [],
3013
  "grade_timeout_sec": 10973,
3014
  "oracle_result": "accepted",
3015
- "oracle_grade_seconds": 637
3016
  },
3017
  {
3018
  "task": "interpolated-factors",
@@ -3030,7 +3048,35 @@
3030
  "packages": [],
3031
  "grade_timeout_sec": 11924,
3032
  "oracle_result": "accepted",
3033
- "oracle_grade_seconds": 1971
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3034
  },
3035
  {
3036
  "task": "irrational-rotation",
@@ -3049,7 +3095,7 @@
3049
  "packages": [],
3050
  "grade_timeout_sec": 14080,
3051
  "oracle_result": "accepted",
3052
- "oracle_grade_seconds": 1441
3053
  },
3054
  {
3055
  "task": "irrational-triangle-billiard",
@@ -3067,7 +3113,7 @@
3067
  "packages": [],
3068
  "grade_timeout_sec": 11334,
3069
  "oracle_result": "accepted",
3070
- "oracle_grade_seconds": 820
3071
  },
3072
  {
3073
  "task": "ising-finiteness",
@@ -3085,7 +3131,7 @@
3085
  "packages": [],
3086
  "grade_timeout_sec": 12144,
3087
  "oracle_result": "accepted",
3088
- "oracle_grade_seconds": 958
3089
  },
3090
  {
3091
  "task": "isometric-immersion",
@@ -3103,7 +3149,7 @@
3103
  "packages": [],
3104
  "grade_timeout_sec": 13342,
3105
  "oracle_result": "accepted",
3106
- "oracle_grade_seconds": 1242
3107
  },
3108
  {
3109
  "task": "kl-invariance",
@@ -3121,7 +3167,7 @@
3121
  "packages": [],
3122
  "grade_timeout_sec": 12448,
3123
  "oracle_result": "accepted",
3124
- "oracle_grade_seconds": 1717
3125
  },
3126
  {
3127
  "task": "k-median-recovery",
@@ -3139,7 +3185,7 @@
3139
  "packages": [],
3140
  "grade_timeout_sec": 14148,
3141
  "oracle_result": "accepted",
3142
- "oracle_grade_seconds": 1362
3143
  },
3144
  {
3145
  "task": "k-median-refined-recovery",
@@ -3157,7 +3203,7 @@
3157
  "packages": [],
3158
  "grade_timeout_sec": 13122,
3159
  "oracle_result": "accepted",
3160
- "oracle_grade_seconds": 1849
3161
  },
3162
  {
3163
  "task": "k-median-threshold",
@@ -3175,7 +3221,7 @@
3175
  "packages": [],
3176
  "grade_timeout_sec": 13713,
3177
  "oracle_result": "accepted",
3178
- "oracle_grade_seconds": 2259
3179
  },
3180
  {
3181
  "task": "k-server",
@@ -3203,7 +3249,7 @@
3203
  "packages": [],
3204
  "grade_timeout_sec": 12404,
3205
  "oracle_result": "accepted",
3206
- "oracle_grade_seconds": 587
3207
  },
3208
  {
3209
  "task": "kadison-ringrose",
@@ -3221,7 +3267,7 @@
3221
  "packages": [],
3222
  "grade_timeout_sec": 13314,
3223
  "oracle_result": "accepted",
3224
- "oracle_grade_seconds": 1352
3225
  },
3226
  {
3227
  "task": "kadison-similarity",
@@ -3241,7 +3287,7 @@
3241
  "packages": [],
3242
  "grade_timeout_sec": 16012,
3243
  "oracle_result": "accepted",
3244
- "oracle_grade_seconds": 3415
3245
  },
3246
  {
3247
  "task": "kahler-splitting",
@@ -3259,7 +3305,7 @@
3259
  "packages": [],
3260
  "grade_timeout_sec": 11454,
3261
  "oracle_result": "accepted",
3262
- "oracle_grade_seconds": 1239
3263
  },
3264
  {
3265
  "task": "kaplansky-direct-finiteness",
@@ -3277,7 +3323,7 @@
3277
  "packages": [],
3278
  "grade_timeout_sec": 11289,
3279
  "oracle_result": "accepted",
3280
- "oracle_grade_seconds": 1170
3281
  },
3282
  {
3283
  "task": "kaplansky-finitely-presented",
@@ -3295,7 +3341,7 @@
3295
  "packages": [],
3296
  "grade_timeout_sec": 11300,
3297
  "oracle_result": "accepted",
3298
- "oracle_grade_seconds": 1470
3299
  },
3300
  {
3301
  "task": "kaplansky-quasitrace",
@@ -3313,7 +3359,7 @@
3313
  "packages": [],
3314
  "grade_timeout_sec": 12150,
3315
  "oracle_result": "accepted",
3316
- "oracle_grade_seconds": 993
3317
  },
3318
  {
3319
  "task": "kaplansky-stable-finiteness",
@@ -3331,7 +3377,7 @@
3331
  "packages": [],
3332
  "grade_timeout_sec": 12365,
3333
  "oracle_result": "accepted",
3334
- "oracle_grade_seconds": 1007
3335
  },
3336
  {
3337
  "task": "kervaire",
@@ -3349,7 +3395,7 @@
3349
  "packages": [],
3350
  "grade_timeout_sec": 11257,
3351
  "oracle_result": "accepted",
3352
- "oracle_grade_seconds": 1057
3353
  },
3354
  {
3355
  "task": "laughlin",
@@ -3367,7 +3413,7 @@
3367
  "packages": [],
3368
  "grade_timeout_sec": 13474,
3369
  "oracle_result": "accepted",
3370
- "oracle_grade_seconds": 6718
3371
  },
3372
  {
3373
  "task": "laughlin-fock",
@@ -3385,7 +3431,7 @@
3385
  "packages": [],
3386
  "grade_timeout_sec": 18377,
3387
  "oracle_result": "accepted",
3388
- "oracle_grade_seconds": 6546
3389
  },
3390
  {
3391
  "task": "laughlin-gap",
@@ -3403,7 +3449,7 @@
3403
  "packages": [],
3404
  "grade_timeout_sec": 12905,
3405
  "oracle_result": "accepted",
3406
- "oracle_grade_seconds": 5587
3407
  },
3408
  {
3409
  "task": "laughlin-planar",
@@ -3421,7 +3467,7 @@
3421
  "packages": [],
3422
  "grade_timeout_sec": 13554,
3423
  "oracle_result": "accepted",
3424
- "oracle_grade_seconds": 7126
3425
  },
3426
  {
3427
  "task": "lieb-thirring",
@@ -3439,7 +3485,7 @@
3439
  "packages": [],
3440
  "grade_timeout_sec": 11388,
3441
  "oracle_result": "accepted",
3442
- "oracle_grade_seconds": 1327
3443
  },
3444
  {
3445
  "task": "lipschitz-equivalence",
@@ -3457,7 +3503,7 @@
3457
  "packages": [],
3458
  "grade_timeout_sec": 11228,
3459
  "oracle_result": "accepted",
3460
- "oracle_grade_seconds": 1251
3461
  },
3462
  {
3463
  "task": "lipschitz-hilbert",
@@ -3476,7 +3522,7 @@
3476
  "packages": [],
3477
  "grade_timeout_sec": 19136,
3478
  "oracle_result": "accepted",
3479
- "oracle_grade_seconds": 2945
3480
  },
3481
  {
3482
  "task": "list-hadwiger",
@@ -3494,7 +3540,7 @@
3494
  "packages": [],
3495
  "grade_timeout_sec": 11612,
3496
  "oracle_result": "accepted",
3497
- "oracle_grade_seconds": 715
3498
  },
3499
  {
3500
  "task": "little-finitistic",
@@ -3512,7 +3558,7 @@
3512
  "packages": [],
3513
  "grade_timeout_sec": 12645,
3514
  "oracle_result": "accepted",
3515
- "oracle_grade_seconds": 1694
3516
  },
3517
  {
3518
  "task": "littlewood-finite-flatness",
@@ -3530,7 +3576,7 @@
3530
  "packages": [],
3531
  "grade_timeout_sec": 11204,
3532
  "oracle_result": "accepted",
3533
- "oracle_grade_seconds": 855
3534
  },
3535
  {
3536
  "task": "log-brunn-minkowski",
@@ -3548,7 +3594,7 @@
3548
  "packages": [],
3549
  "grade_timeout_sec": 11905,
3550
  "oracle_result": "accepted",
3551
- "oracle_grade_seconds": 898
3552
  },
3553
  {
3554
  "task": "log-concave-query",
@@ -3566,7 +3612,7 @@
3566
  "packages": [],
3567
  "grade_timeout_sec": 13500,
3568
  "oracle_result": "accepted",
3569
- "oracle_grade_seconds": 1278
3570
  },
3571
  {
3572
  "task": "log-kodaira-fiber-negative",
@@ -3584,7 +3630,7 @@
3584
  "packages": [],
3585
  "grade_timeout_sec": 10959,
3586
  "oracle_result": "accepted",
3587
- "oracle_grade_seconds": 813
3588
  },
3589
  {
3590
  "task": "mahler-conjecture",
@@ -3602,7 +3648,7 @@
3602
  "packages": [],
3603
  "grade_timeout_sec": 11696,
3604
  "oracle_result": "accepted",
3605
- "oracle_grade_seconds": 968
3606
  },
3607
  {
3608
  "task": "markov-type",
@@ -3620,7 +3666,7 @@
3620
  "packages": [],
3621
  "grade_timeout_sec": 11788,
3622
  "oracle_result": "accepted",
3623
- "oracle_grade_seconds": 926
3624
  },
3625
  {
3626
  "task": "mass-action",
@@ -3638,7 +3684,7 @@
3638
  "packages": [],
3639
  "grade_timeout_sec": 11095,
3640
  "oracle_result": "accepted",
3641
- "oracle_grade_seconds": 751
3642
  },
3643
  {
3644
  "task": "matching-affine-lift",
@@ -3656,7 +3702,7 @@
3656
  "packages": [],
3657
  "grade_timeout_sec": 11089,
3658
  "oracle_result": "accepted",
3659
- "oracle_grade_seconds": 905
3660
  },
3661
  {
3662
  "task": "matching-entropy",
@@ -3674,7 +3720,7 @@
3674
  "packages": [],
3675
  "grade_timeout_sec": 10941,
3676
  "oracle_result": "accepted",
3677
- "oracle_grade_seconds": 607
3678
  },
3679
  {
3680
  "task": "matching-entropy-bounds",
@@ -3692,7 +3738,7 @@
3692
  "packages": [],
3693
  "grade_timeout_sec": 11111,
3694
  "oracle_result": "accepted",
3695
- "oracle_grade_seconds": 808
3696
  },
3697
  {
3698
  "task": "matching-fpras",
@@ -3710,7 +3756,7 @@
3710
  "packages": [],
3711
  "grade_timeout_sec": 13582,
3712
  "oracle_result": "accepted",
3713
- "oracle_grade_seconds": 1267
3714
  },
3715
  {
3716
  "task": "matching-psd",
@@ -3728,7 +3774,7 @@
3728
  "packages": [],
3729
  "grade_timeout_sec": 11066,
3730
  "oracle_result": "accepted",
3731
- "oracle_grade_seconds": 855
3732
  },
3733
  {
3734
  "task": "matrix-fields",
@@ -3746,7 +3792,7 @@
3746
  "packages": [],
3747
  "grade_timeout_sec": 21600,
3748
  "oracle_result": "accepted",
3749
- "oracle_grade_seconds": 4564
3750
  },
3751
  {
3752
  "task": "matrix-removal",
@@ -3764,7 +3810,7 @@
3764
  "packages": [],
3765
  "grade_timeout_sec": 11090,
3766
  "oracle_result": "accepted",
3767
- "oracle_grade_seconds": 710
3768
  },
3769
  {
3770
  "task": "matroid-prophet",
@@ -3782,7 +3828,7 @@
3782
  "packages": [],
3783
  "grade_timeout_sec": 11399,
3784
  "oracle_result": "accepted",
3785
- "oracle_grade_seconds": 745
3786
  },
3787
  {
3788
  "task": "matroid-secretary",
@@ -3802,7 +3848,7 @@
3802
  "packages": [],
3803
  "grade_timeout_sec": 11857,
3804
  "oracle_result": "accepted",
3805
- "oracle_grade_seconds": 973
3806
  },
3807
  {
3808
  "task": "maximal-seshadri-constants",
@@ -3820,7 +3866,7 @@
3820
  "packages": [],
3821
  "grade_timeout_sec": 13044,
3822
  "oracle_result": "accepted",
3823
- "oracle_grade_seconds": 2446
3824
  },
3825
  {
3826
  "task": "memory-precision",
@@ -3838,7 +3884,7 @@
3838
  "packages": [],
3839
  "grade_timeout_sec": 11502,
3840
  "oracle_result": "accepted",
3841
- "oracle_grade_seconds": 957
3842
  },
3843
  {
3844
  "task": "metric-entropy-duality",
@@ -3856,7 +3902,7 @@
3856
  "packages": [],
3857
  "grade_timeout_sec": 11041,
3858
  "oracle_result": "accepted",
3859
- "oracle_grade_seconds": 557
3860
  },
3861
  {
3862
  "task": "metric-k-median",
@@ -3874,7 +3920,7 @@
3874
  "packages": [],
3875
  "grade_timeout_sec": 13032,
3876
  "oracle_result": "accepted",
3877
- "oracle_grade_seconds": 1451
3878
  },
3879
  {
3880
  "task": "midpoint-lenses",
@@ -3892,7 +3938,7 @@
3892
  "packages": [],
3893
  "grade_timeout_sec": 10916,
3894
  "oracle_result": "accepted",
3895
- "oracle_grade_seconds": 634
3896
  },
3897
  {
3898
  "task": "min-uncut",
@@ -3910,7 +3956,7 @@
3910
  "packages": [],
3911
  "grade_timeout_sec": 16196,
3912
  "oracle_result": "accepted",
3913
- "oracle_grade_seconds": 1335
3914
  },
3915
  {
3916
  "task": "nagata",
@@ -3930,7 +3976,7 @@
3930
  "packages": [],
3931
  "grade_timeout_sec": 12248,
3932
  "oracle_result": "accepted",
3933
- "oracle_grade_seconds": 505
3934
  },
3935
  {
3936
  "task": "naimark",
@@ -3956,7 +4002,7 @@
3956
  "packages": [],
3957
  "grade_timeout_sec": 11887,
3958
  "oracle_result": "accepted",
3959
- "oracle_grade_seconds": 2857
3960
  },
3961
  {
3962
  "task": "navier-stokes-alternating",
@@ -3974,7 +4020,7 @@
3974
  "packages": [],
3975
  "grade_timeout_sec": 11147,
3976
  "oracle_result": "accepted",
3977
- "oracle_grade_seconds": 874
3978
  },
3979
  {
3980
  "task": "navier-stokes-velocity",
@@ -3992,7 +4038,7 @@
3992
  "packages": [],
3993
  "grade_timeout_sec": 11728,
3994
  "oracle_result": "accepted",
3995
- "oracle_grade_seconds": 1274
3996
  },
3997
  {
3998
  "task": "nodal-length",
@@ -4010,7 +4056,7 @@
4010
  "packages": [],
4011
  "grade_timeout_sec": 12135,
4012
  "oracle_result": "accepted",
4013
- "oracle_grade_seconds": 1261
4014
  },
4015
  {
4016
  "task": "noiseless-regression",
@@ -4028,7 +4074,7 @@
4028
  "packages": [],
4029
  "grade_timeout_sec": 10980,
4030
  "oracle_result": "accepted",
4031
- "oracle_grade_seconds": 758
4032
  },
4033
  {
4034
  "task": "odd-kaplansky",
@@ -4046,7 +4092,7 @@
4046
  "packages": [],
4047
  "grade_timeout_sec": 11549,
4048
  "oracle_result": "accepted",
4049
- "oracle_grade_seconds": 1336
4050
  },
4051
  {
4052
  "task": "one-way-liveness",
@@ -4064,7 +4110,7 @@
4064
  "packages": [],
4065
  "grade_timeout_sec": 10955,
4066
  "oracle_result": "accepted",
4067
- "oracle_grade_seconds": 624
4068
  },
4069
  {
4070
  "task": "optimal-max-cut",
@@ -4082,7 +4128,7 @@
4082
  "packages": [],
4083
  "grade_timeout_sec": 18776,
4084
  "oracle_result": "accepted",
4085
- "oracle_grade_seconds": 1488
4086
  },
4087
  {
4088
  "task": "ordinary-elliott",
@@ -4100,7 +4146,7 @@
4100
  "packages": [],
4101
  "grade_timeout_sec": 13561,
4102
  "oracle_result": "accepted",
4103
- "oracle_grade_seconds": 1590
4104
  },
4105
  {
4106
  "task": "parity-lifts",
@@ -4118,7 +4164,7 @@
4118
  "packages": [],
4119
  "grade_timeout_sec": 10962,
4120
  "oracle_result": "accepted",
4121
- "oracle_grade_seconds": 839
4122
  },
4123
  {
4124
  "task": "partial-permutation",
@@ -4136,7 +4182,7 @@
4136
  "packages": [],
4137
  "grade_timeout_sec": 11021,
4138
  "oracle_result": "accepted",
4139
- "oracle_grade_seconds": 802
4140
  },
4141
  {
4142
  "task": "partition-consistency",
@@ -4154,7 +4200,7 @@
4154
  "packages": [],
4155
  "grade_timeout_sec": 12151,
4156
  "oracle_result": "accepted",
4157
- "oracle_grade_seconds": 823
4158
  },
4159
  {
4160
  "task": "partition-principle",
@@ -4172,7 +4218,7 @@
4172
  "packages": [],
4173
  "grade_timeout_sec": 21600,
4174
  "oracle_result": "accepted",
4175
- "oracle_grade_seconds": 2843
4176
  },
4177
  {
4178
  "task": "perceptron-free-energy",
@@ -4190,7 +4236,7 @@
4190
  "packages": [],
4191
  "grade_timeout_sec": 14271,
4192
  "oracle_result": "accepted",
4193
- "oracle_grade_seconds": 1268
4194
  },
4195
  {
4196
  "task": "perfect-completeness",
@@ -4208,7 +4254,7 @@
4208
  "packages": [],
4209
  "grade_timeout_sec": 21600,
4210
  "oracle_result": "accepted",
4211
- "oracle_grade_seconds": 2380
4212
  },
4213
  {
4214
  "task": "periodic-group",
@@ -4226,7 +4272,7 @@
4226
  "packages": [],
4227
  "grade_timeout_sec": 12417,
4228
  "oracle_result": "accepted",
4229
- "oracle_grade_seconds": 1008
4230
  },
4231
  {
4232
  "task": "periodic-tiling-three",
@@ -4244,7 +4290,7 @@
4244
  "packages": [],
4245
  "grade_timeout_sec": 11395,
4246
  "oracle_result": "accepted",
4247
- "oracle_grade_seconds": 928
4248
  },
4249
  {
4250
  "task": "permanent-cubic",
@@ -4262,7 +4308,7 @@
4262
  "packages": [],
4263
  "grade_timeout_sec": 11624,
4264
  "oracle_result": "accepted",
4265
- "oracle_grade_seconds": 1031
4266
  },
4267
  {
4268
  "task": "petty-projection-volume",
@@ -4280,7 +4326,7 @@
4280
  "packages": [],
4281
  "grade_timeout_sec": 11396,
4282
  "oracle_result": "accepted",
4283
- "oracle_grade_seconds": 979
4284
  },
4285
  {
4286
  "task": "pi-exponent",
@@ -4298,7 +4344,7 @@
4298
  "packages": [],
4299
  "grade_timeout_sec": 14689,
4300
  "oracle_result": "accepted",
4301
- "oracle_grade_seconds": 2882
4302
  },
4303
  {
4304
  "task": "pinched-kahler",
@@ -4318,7 +4364,7 @@
4318
  "packages": [],
4319
  "grade_timeout_sec": 11629,
4320
  "oracle_result": "accepted",
4321
- "oracle_grade_seconds": 1351
4322
  },
4323
  {
4324
  "task": "pinned-distances",
@@ -4336,7 +4382,7 @@
4336
  "packages": [],
4337
  "grade_timeout_sec": 11465,
4338
  "oracle_result": "accepted",
4339
- "oracle_grade_seconds": 926
4340
  },
4341
  {
4342
  "task": "planar-anderson-spectrum",
@@ -4354,7 +4400,7 @@
4354
  "packages": [],
4355
  "grade_timeout_sec": 10831,
4356
  "oracle_result": "accepted",
4357
- "oracle_grade_seconds": 582
4358
  },
4359
  {
4360
  "task": "planar-falconer",
@@ -4372,7 +4418,7 @@
4372
  "packages": [],
4373
  "grade_timeout_sec": 13176,
4374
  "oracle_result": "accepted",
4375
- "oracle_grade_seconds": 1803
4376
  },
4377
  {
4378
  "task": "planar-first-passage",
@@ -4390,7 +4436,7 @@
4390
  "packages": [],
4391
  "grade_timeout_sec": 11568,
4392
  "oracle_result": "accepted",
4393
- "oracle_grade_seconds": 768
4394
  },
4395
  {
4396
  "task": "planar-l1",
@@ -4408,7 +4454,7 @@
4408
  "packages": [],
4409
  "grade_timeout_sec": 12210,
4410
  "oracle_result": "accepted",
4411
- "oracle_grade_seconds": 713
4412
  },
4413
  {
4414
  "task": "planar-unit-distances",
@@ -4426,7 +4472,7 @@
4426
  "packages": [],
4427
  "grade_timeout_sec": 12010,
4428
  "oracle_result": "accepted",
4429
- "oracle_grade_seconds": 1123
4430
  },
4431
  {
4432
  "task": "plane-coloring",
@@ -4444,7 +4490,7 @@
4444
  "packages": [],
4445
  "grade_timeout_sec": 10816,
4446
  "oracle_result": "accepted",
4447
- "oracle_grade_seconds": 677
4448
  },
4449
  {
4450
  "task": "posterior-replicas",
@@ -4462,7 +4508,7 @@
4462
  "packages": [],
4463
  "grade_timeout_sec": 11444,
4464
  "oracle_result": "accepted",
4465
- "oracle_grade_seconds": 1090
4466
  },
4467
  {
4468
  "task": "power-free-values",
@@ -4480,7 +4526,7 @@
4480
  "packages": [],
4481
  "grade_timeout_sec": 11824,
4482
  "oracle_result": "accepted",
4483
- "oracle_grade_seconds": 1054
4484
  },
4485
  {
4486
  "task": "prime-gaps",
@@ -4498,7 +4544,7 @@
4498
  "packages": [],
4499
  "grade_timeout_sec": 11777,
4500
  "oracle_result": "accepted",
4501
- "oracle_grade_seconds": 727
4502
  },
4503
  {
4504
  "task": "product-brown",
@@ -4516,7 +4562,7 @@
4516
  "packages": [],
4517
  "grade_timeout_sec": 11878,
4518
  "oracle_result": "accepted",
4519
- "oracle_grade_seconds": 853
4520
  },
4521
  {
4522
  "task": "projection-counterexample",
@@ -4534,7 +4580,7 @@
4534
  "packages": [],
4535
  "grade_timeout_sec": 10918,
4536
  "oracle_result": "accepted",
4537
- "oracle_grade_seconds": 576
4538
  },
4539
  {
4540
  "task": "projection-moments",
@@ -4552,7 +4598,7 @@
4552
  "packages": [],
4553
  "grade_timeout_sec": 11263,
4554
  "oracle_result": "accepted",
4555
- "oracle_grade_seconds": 919
4556
  },
4557
  {
4558
  "task": "projection-volume",
@@ -4570,7 +4616,7 @@
4570
  "packages": [],
4571
  "grade_timeout_sec": 10915,
4572
  "oracle_result": "accepted",
4573
- "oracle_grade_seconds": 601
4574
  },
4575
  {
4576
  "task": "qac-parity",
@@ -4588,7 +4634,7 @@
4588
  "packages": [],
4589
  "grade_timeout_sec": 10937,
4590
  "oracle_result": "accepted",
4591
- "oracle_grade_seconds": 693
4592
  },
4593
  {
4594
  "task": "quadric-bundles",
@@ -4606,7 +4652,7 @@
4606
  "packages": [],
4607
  "grade_timeout_sec": 11343,
4608
  "oracle_result": "accepted",
4609
- "oracle_grade_seconds": 886
4610
  },
4611
  {
4612
  "task": "quantitative-van-der-waerden",
@@ -4624,7 +4670,7 @@
4624
  "packages": [],
4625
  "grade_timeout_sec": 11378,
4626
  "oracle_result": "accepted",
4627
- "oracle_grade_seconds": 811
4628
  },
4629
  {
4630
  "task": "quintic-lienard",
@@ -4642,7 +4688,7 @@
4642
  "packages": [],
4643
  "grade_timeout_sec": 11534,
4644
  "oracle_result": "accepted",
4645
- "oracle_grade_seconds": 1484
4646
  },
4647
  {
4648
  "task": "radial-density-interval",
@@ -4660,7 +4706,7 @@
4660
  "packages": [],
4661
  "grade_timeout_sec": 11428,
4662
  "oracle_result": "accepted",
4663
- "oracle_grade_seconds": 1163
4664
  },
4665
  {
4666
  "task": "radial-transition",
@@ -4678,7 +4724,25 @@
4678
  "packages": [],
4679
  "grade_timeout_sec": 11423,
4680
  "oracle_result": "accepted",
4681
- "oracle_grade_seconds": 1222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4682
  },
4683
  {
4684
  "task": "randomized-mean-payoff",
@@ -4696,7 +4760,7 @@
4696
  "packages": [],
4697
  "grade_timeout_sec": 11970,
4698
  "oracle_result": "accepted",
4699
- "oracle_grade_seconds": 1082
4700
  },
4701
  {
4702
  "task": "rational-hitting",
@@ -4714,7 +4778,7 @@
4714
  "packages": [],
4715
  "grade_timeout_sec": 11430,
4716
  "oracle_result": "accepted",
4717
- "oracle_grade_seconds": 666
4718
  },
4719
  {
4720
  "task": "real-l1-renorming",
@@ -4732,7 +4796,7 @@
4732
  "packages": [],
4733
  "grade_timeout_sec": 10961,
4734
  "oracle_result": "accepted",
4735
- "oracle_grade_seconds": 304
4736
  },
4737
  {
4738
  "task": "recursive-potentials",
@@ -4750,7 +4814,7 @@
4750
  "packages": [],
4751
  "grade_timeout_sec": 11201,
4752
  "oracle_result": "accepted",
4753
- "oracle_grade_seconds": 617
4754
  },
4755
  {
4756
  "task": "reflexive-fixed-points",
@@ -4768,7 +4832,7 @@
4768
  "packages": [],
4769
  "grade_timeout_sec": 11232,
4770
  "oracle_result": "accepted",
4771
- "oracle_grade_seconds": 664
4772
  },
4773
  {
4774
  "task": "regular-parity",
@@ -4786,7 +4850,7 @@
4786
  "packages": [],
4787
  "grade_timeout_sec": 10938,
4788
  "oracle_result": "accepted",
4789
- "oracle_grade_seconds": 623
4790
  },
4791
  {
4792
  "task": "relative-generation",
@@ -4804,7 +4868,7 @@
4804
  "packages": [],
4805
  "grade_timeout_sec": 12350,
4806
  "oracle_result": "accepted",
4807
- "oracle_grade_seconds": 3956
4808
  },
4809
  {
4810
  "task": "rokhlin",
@@ -4827,7 +4891,7 @@
4827
  "packages": [],
4828
  "grade_timeout_sec": 12066,
4829
  "oracle_result": "accepted",
4830
- "oracle_grade_seconds": 1397
4831
  },
4832
  {
4833
  "task": "ruled-covering",
@@ -4845,7 +4909,7 @@
4845
  "packages": [],
4846
  "grade_timeout_sec": 10976,
4847
  "oracle_result": "accepted",
4848
- "oracle_grade_seconds": 963
4849
  },
4850
  {
4851
  "task": "ryser-covering",
@@ -4863,7 +4927,7 @@
4863
  "packages": [],
4864
  "grade_timeout_sec": 11816,
4865
  "oracle_result": "accepted",
4866
- "oracle_grade_seconds": 702
4867
  },
4868
  {
4869
  "task": "ryser-odd-extensions",
@@ -4881,7 +4945,25 @@
4881
  "packages": [],
4882
  "grade_timeout_sec": 11826,
4883
  "oracle_result": "accepted",
4884
- "oracle_grade_seconds": 649
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4885
  },
4886
  {
4887
  "task": "sat-sharpness",
@@ -4899,7 +4981,7 @@
4899
  "packages": [],
4900
  "grade_timeout_sec": 11013,
4901
  "oracle_result": "accepted",
4902
- "oracle_grade_seconds": 561
4903
  },
4904
  {
4905
  "task": "sat-variance",
@@ -4917,7 +4999,25 @@
4917
  "packages": [],
4918
  "grade_timeout_sec": 11069,
4919
  "oracle_result": "accepted",
4920
- "oracle_grade_seconds": 700
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4921
  },
4922
  {
4923
  "task": "sk-full-support",
@@ -4935,7 +5035,43 @@
4935
  "packages": [],
4936
  "grade_timeout_sec": 11690,
4937
  "oracle_result": "accepted",
4938
- "oracle_grade_seconds": 964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4939
  },
4940
  {
4941
  "task": "sk-value",
@@ -4953,7 +5089,7 @@
4953
  "packages": [],
4954
  "grade_timeout_sec": 12139,
4955
  "oracle_result": "accepted",
4956
- "oracle_grade_seconds": 1378
4957
  },
4958
  {
4959
  "task": "sle-lower-positivity",
@@ -4971,7 +5107,7 @@
4971
  "packages": [],
4972
  "grade_timeout_sec": 12837,
4973
  "oracle_result": "accepted",
4974
- "oracle_grade_seconds": 1070
4975
  },
4976
  {
4977
  "task": "saxl",
@@ -4989,7 +5125,7 @@
4989
  "packages": [],
4990
  "grade_timeout_sec": 11089,
4991
  "oracle_result": "accepted",
4992
- "oracle_grade_seconds": 943
4993
  },
4994
  {
4995
  "task": "second-kahn-kalai",
@@ -5007,7 +5143,7 @@
5007
  "packages": [],
5008
  "grade_timeout_sec": 11059,
5009
  "oracle_result": "accepted",
5010
- "oracle_grade_seconds": 573
5011
  },
5012
  {
5013
  "task": "self-similar",
@@ -5025,7 +5161,7 @@
5025
  "packages": [],
5026
  "grade_timeout_sec": 11271,
5027
  "oracle_result": "accepted",
5028
- "oracle_grade_seconds": 832
5029
  },
5030
  {
5031
  "task": "self-similar-corollaries",
@@ -5044,7 +5180,7 @@
5044
  "packages": [],
5045
  "grade_timeout_sec": 11303,
5046
  "oracle_result": "accepted",
5047
- "oracle_grade_seconds": 1090
5048
  },
5049
  {
5050
  "task": "sensitivity-separation",
@@ -5062,7 +5198,7 @@
5062
  "packages": [],
5063
  "grade_timeout_sec": 10943,
5064
  "oracle_result": "accepted",
5065
- "oracle_grade_seconds": 787
5066
  },
5067
  {
5068
  "task": "separable-quotient-negative",
@@ -5080,7 +5216,7 @@
5080
  "packages": [],
5081
  "grade_timeout_sec": 11402,
5082
  "oracle_result": "accepted",
5083
- "oracle_grade_seconds": 974
5084
  },
5085
  {
5086
  "task": "seymour-second-neighborhood",
@@ -5098,7 +5234,7 @@
5098
  "packages": [],
5099
  "grade_timeout_sec": 10971,
5100
  "oracle_result": "accepted",
5101
- "oracle_grade_seconds": 649
5102
  },
5103
  {
5104
  "task": "sharp-cat0-filling",
@@ -5116,7 +5252,25 @@
5116
  "packages": [],
5117
  "grade_timeout_sec": 12896,
5118
  "oracle_result": "accepted",
5119
- "oracle_grade_seconds": 1201
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5120
  },
5121
  {
5122
  "task": "sharp-threshold",
@@ -5134,7 +5288,7 @@
5134
  "packages": [],
5135
  "grade_timeout_sec": 11082,
5136
  "oracle_result": "accepted",
5137
- "oracle_grade_seconds": 662
5138
  },
5139
  {
5140
  "task": "short-egyptian-fractions",
@@ -5152,7 +5306,7 @@
5152
  "packages": [],
5153
  "grade_timeout_sec": 11145,
5154
  "oracle_result": "accepted",
5155
- "oracle_grade_seconds": 818
5156
  },
5157
  {
5158
  "task": "sidorenko-counterexample",
@@ -5170,7 +5324,7 @@
5170
  "packages": [],
5171
  "grade_timeout_sec": 11895,
5172
  "oracle_result": "accepted",
5173
- "oracle_grade_seconds": 1285
5174
  },
5175
  {
5176
  "task": "signed-finite-band",
@@ -5188,7 +5342,7 @@
5188
  "packages": [],
5189
  "grade_timeout_sec": 11557,
5190
  "oracle_result": "accepted",
5191
- "oracle_grade_seconds": 785
5192
  },
5193
  {
5194
  "task": "signed-sweep-moment",
@@ -5206,7 +5360,43 @@
5206
  "packages": [],
5207
  "grade_timeout_sec": 11878,
5208
  "oracle_result": "accepted",
5209
- "oracle_grade_seconds": 1266
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5210
  },
5211
  {
5212
  "task": "single-fold",
@@ -5224,7 +5414,7 @@
5224
  "packages": [],
5225
  "grade_timeout_sec": 11103,
5226
  "oracle_result": "accepted",
5227
- "oracle_grade_seconds": 851
5228
  },
5229
  {
5230
  "task": "single-lattice-covering",
@@ -5242,7 +5432,7 @@
5242
  "packages": [],
5243
  "grade_timeout_sec": 11831,
5244
  "oracle_result": "accepted",
5245
- "oracle_grade_seconds": 1015
5246
  },
5247
  {
5248
  "task": "singleton-loop-matching",
@@ -5260,7 +5450,7 @@
5260
  "packages": [],
5261
  "grade_timeout_sec": 11447,
5262
  "oracle_result": "accepted",
5263
- "oracle_grade_seconds": 1239
5264
  },
5265
  {
5266
  "task": "smooth-initial-form",
@@ -5278,7 +5468,7 @@
5278
  "packages": [],
5279
  "grade_timeout_sec": 11061,
5280
  "oracle_result": "accepted",
5281
- "oracle_grade_seconds": 852
5282
  },
5283
  {
5284
  "task": "smooth-obstruction",
@@ -5296,7 +5486,44 @@
5296
  "packages": [],
5297
  "grade_timeout_sec": 12186,
5298
  "oracle_result": "accepted",
5299
- "oracle_grade_seconds": 1158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5300
  },
5301
  {
5302
  "task": "soft-channel204",
@@ -5314,7 +5541,7 @@
5314
  "packages": [],
5315
  "grade_timeout_sec": 11246,
5316
  "oracle_result": "accepted",
5317
- "oracle_grade_seconds": 775
5318
  },
5319
  {
5320
  "task": "solenoidal-sheet-programs",
@@ -5332,7 +5559,7 @@
5332
  "packages": [],
5333
  "grade_timeout_sec": 11065,
5334
  "oracle_result": "accepted",
5335
- "oracle_grade_seconds": 690
5336
  },
5337
  {
5338
  "task": "spherical-field",
@@ -5350,7 +5577,7 @@
5350
  "packages": [],
5351
  "grade_timeout_sec": 11928,
5352
  "oracle_result": "accepted",
5353
- "oracle_grade_seconds": 1292
5354
  },
5355
  {
5356
  "task": "split-tangent-integrability",
@@ -5368,7 +5595,7 @@
5368
  "packages": [],
5369
  "grade_timeout_sec": 11524,
5370
  "oracle_result": "accepted",
5371
- "oracle_grade_seconds": 529
5372
  },
5373
  {
5374
  "task": "square-difference",
@@ -5386,7 +5613,7 @@
5386
  "packages": [],
5387
  "grade_timeout_sec": 11792,
5388
  "oracle_result": "accepted",
5389
- "oracle_grade_seconds": 978
5390
  },
5391
  {
5392
  "task": "square-root-degree",
@@ -5404,7 +5631,25 @@
5404
  "packages": [],
5405
  "grade_timeout_sec": 10942,
5406
  "oracle_result": "accepted",
5407
- "oracle_grade_seconds": 316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5408
  },
5409
  {
5410
  "task": "standard-map-entropy",
@@ -5422,7 +5667,7 @@
5422
  "packages": [],
5423
  "grade_timeout_sec": 11988,
5424
  "oracle_result": "accepted",
5425
- "oracle_grade_seconds": 1548
5426
  },
5427
  {
5428
  "task": "standard-map-lyapunov",
@@ -5440,7 +5685,7 @@
5440
  "packages": [],
5441
  "grade_timeout_sec": 12045,
5442
  "oracle_result": "accepted",
5443
- "oracle_grade_seconds": 1561
5444
  },
5445
  {
5446
  "task": "steinitz-bergstrom",
@@ -5458,7 +5703,7 @@
5458
  "packages": [],
5459
  "grade_timeout_sec": 11444,
5460
  "oracle_result": "accepted",
5461
- "oracle_grade_seconds": 875
5462
  },
5463
  {
5464
  "task": "strict-means",
@@ -5476,7 +5721,25 @@
5476
  "packages": [],
5477
  "grade_timeout_sec": 11446,
5478
  "oracle_result": "accepted",
5479
- "oracle_grade_seconds": 1180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5480
  },
5481
  {
5482
  "task": "strong-thin-tree",
@@ -5494,7 +5757,7 @@
5494
  "packages": [],
5495
  "grade_timeout_sec": 11497,
5496
  "oracle_result": "accepted",
5497
- "oracle_grade_seconds": 974
5498
  },
5499
  {
5500
  "task": "strongly-rayleigh-dpp",
@@ -5517,7 +5780,7 @@
5517
  "packages": [],
5518
  "grade_timeout_sec": 11261,
5519
  "oracle_result": "accepted",
5520
- "oracle_grade_seconds": 889
5521
  },
5522
  {
5523
  "task": "structural-crouzeix",
@@ -5535,7 +5798,7 @@
5535
  "packages": [],
5536
  "grade_timeout_sec": 11428,
5537
  "oracle_result": "accepted",
5538
- "oracle_grade_seconds": 1228
5539
  },
5540
  {
5541
  "task": "subpolynomial-lp",
@@ -5553,7 +5816,7 @@
5553
  "packages": [],
5554
  "grade_timeout_sec": 11132,
5555
  "oracle_result": "accepted",
5556
- "oracle_grade_seconds": 893
5557
  },
5558
  {
5559
  "task": "subsphere-current",
@@ -5571,7 +5834,7 @@
5571
  "packages": [],
5572
  "grade_timeout_sec": 11229,
5573
  "oracle_result": "accepted",
5574
- "oracle_grade_seconds": 463
5575
  },
5576
  {
5577
  "task": "superstring",
@@ -5589,7 +5852,7 @@
5589
  "packages": [],
5590
  "grade_timeout_sec": 11646,
5591
  "oracle_result": "accepted",
5592
- "oracle_grade_seconds": 784
5593
  },
5594
  {
5595
  "task": "switch-chain",
@@ -5609,7 +5872,7 @@
5609
  "packages": [],
5610
  "grade_timeout_sec": 11629,
5611
  "oracle_result": "accepted",
5612
- "oracle_grade_seconds": 924
5613
  },
5614
  {
5615
  "task": "symmetric-domains",
@@ -5627,7 +5890,7 @@
5627
  "packages": [],
5628
  "grade_timeout_sec": 12703,
5629
  "oracle_result": "accepted",
5630
- "oracle_grade_seconds": 1307
5631
  },
5632
  {
5633
  "task": "symmetric-mahler-equality",
@@ -5645,7 +5908,7 @@
5645
  "packages": [],
5646
  "grade_timeout_sec": 11997,
5647
  "oracle_result": "accepted",
5648
- "oracle_grade_seconds": 986
5649
  },
5650
  {
5651
  "task": "symmetric-polar",
@@ -5663,7 +5926,7 @@
5663
  "packages": [],
5664
  "grade_timeout_sec": 11289,
5665
  "oracle_result": "accepted",
5666
- "oracle_grade_seconds": 1068
5667
  },
5668
  {
5669
  "task": "tachikawa",
@@ -5681,7 +5944,7 @@
5681
  "packages": [],
5682
  "grade_timeout_sec": 11938,
5683
  "oracle_result": "accepted",
5684
- "oracle_grade_seconds": 1382
5685
  },
5686
  {
5687
  "task": "talagrand-discrete-convexity",
@@ -5699,7 +5962,7 @@
5699
  "packages": [],
5700
  "grade_timeout_sec": 10956,
5701
  "oracle_result": "accepted",
5702
- "oracle_grade_seconds": 439
5703
  },
5704
  {
5705
  "task": "talagrand-expectation-threshold",
@@ -5717,7 +5980,7 @@
5717
  "packages": [],
5718
  "grade_timeout_sec": 10973,
5719
  "oracle_result": "accepted",
5720
- "oracle_grade_seconds": 213
5721
  },
5722
  {
5723
  "task": "thomason-model-structures",
@@ -5736,7 +5999,7 @@
5736
  "packages": [],
5737
  "grade_timeout_sec": 13387,
5738
  "oracle_result": "accepted",
5739
- "oracle_grade_seconds": 1608
5740
  },
5741
  {
5742
  "task": "thompson-nonamenability",
@@ -5754,7 +6017,7 @@
5754
  "packages": [],
5755
  "grade_timeout_sec": 11135,
5756
  "oracle_result": "accepted",
5757
- "oracle_grade_seconds": 146
5758
  },
5759
  {
5760
  "task": "thorp-first-reciprocal",
@@ -5772,7 +6035,7 @@
5772
  "packages": [],
5773
  "grade_timeout_sec": 11130,
5774
  "oracle_result": "accepted",
5775
- "oracle_grade_seconds": 637
5776
  },
5777
  {
5778
  "task": "thorp-remaining",
@@ -5790,7 +6053,7 @@
5790
  "packages": [],
5791
  "grade_timeout_sec": 12040,
5792
  "oracle_result": "accepted",
5793
- "oracle_grade_seconds": 730
5794
  },
5795
  {
5796
  "task": "thorp-routing",
@@ -5808,7 +6071,7 @@
5808
  "packages": [],
5809
  "grade_timeout_sec": 16723,
5810
  "oracle_result": "accepted",
5811
- "oracle_grade_seconds": 1374
5812
  },
5813
  {
5814
  "task": "thorp-weighted-compatibility",
@@ -5826,7 +6089,7 @@
5826
  "packages": [],
5827
  "grade_timeout_sec": 10921,
5828
  "oracle_result": "accepted",
5829
- "oracle_grade_seconds": 294
5830
  },
5831
  {
5832
  "task": "three-machine",
@@ -5844,7 +6107,7 @@
5844
  "packages": [],
5845
  "grade_timeout_sec": 11566,
5846
  "oracle_result": "accepted",
5847
- "oracle_grade_seconds": 467
5848
  },
5849
  {
5850
  "task": "three-state-supercritical",
@@ -5863,7 +6126,7 @@
5863
  "packages": [],
5864
  "grade_timeout_sec": 11144,
5865
  "oracle_result": "accepted",
5866
- "oracle_grade_seconds": 212
5867
  },
5868
  {
5869
  "task": "three-state-tree-clauses",
@@ -5882,7 +6145,7 @@
5882
  "packages": [],
5883
  "grade_timeout_sec": 11145,
5884
  "oracle_result": "accepted",
5885
- "oracle_grade_seconds": 204
5886
  },
5887
  {
5888
  "task": "three-torus",
@@ -5900,7 +6163,7 @@
5900
  "packages": [],
5901
  "grade_timeout_sec": 12348,
5902
  "oracle_result": "accepted",
5903
- "oracle_grade_seconds": 669
5904
  },
5905
  {
5906
  "task": "tingley-sphere-isometry",
@@ -5918,7 +6181,7 @@
5918
  "packages": [],
5919
  "grade_timeout_sec": 11144,
5920
  "oracle_result": "accepted",
5921
- "oracle_grade_seconds": 129
5922
  },
5923
  {
5924
  "task": "torsion-free-hyperbolic",
@@ -5936,7 +6199,7 @@
5936
  "packages": [],
5937
  "grade_timeout_sec": 11233,
5938
  "oracle_result": "accepted",
5939
- "oracle_grade_seconds": 289
5940
  },
5941
  {
5942
  "task": "torsion-free-zero-divisors",
@@ -5954,7 +6217,7 @@
5954
  "packages": [],
5955
  "grade_timeout_sec": 12657,
5956
  "oracle_result": "accepted",
5957
- "oracle_grade_seconds": 805
5958
  },
5959
  {
5960
  "task": "trace-reconstruction",
@@ -5974,7 +6237,7 @@
5974
  "packages": [],
5975
  "grade_timeout_sec": 12269,
5976
  "oracle_result": "accepted",
5977
- "oracle_grade_seconds": 415
5978
  },
5979
  {
5980
  "task": "tree-edit",
@@ -5992,7 +6255,7 @@
5992
  "packages": [],
5993
  "grade_timeout_sec": 11018,
5994
  "oracle_result": "accepted",
5995
- "oracle_grade_seconds": 202
5996
  },
5997
  {
5998
  "task": "triangle-face",
@@ -6010,7 +6273,7 @@
6010
  "packages": [],
6011
  "grade_timeout_sec": 11093,
6012
  "oracle_result": "accepted",
6013
- "oracle_grade_seconds": 216
6014
  },
6015
  {
6016
  "task": "triangle-removal",
@@ -6028,7 +6291,7 @@
6028
  "packages": [],
6029
  "grade_timeout_sec": 12122,
6030
  "oracle_result": "accepted",
6031
- "oracle_grade_seconds": 935
6032
  },
6033
  {
6034
  "task": "triangular-covering",
@@ -6046,7 +6309,7 @@
6046
  "packages": [],
6047
  "grade_timeout_sec": 10886,
6048
  "oracle_result": "accepted",
6049
- "oracle_grade_seconds": 203
6050
  },
6051
  {
6052
  "task": "triangular-energy",
@@ -6100,7 +6363,7 @@
6100
  "packages": [],
6101
  "grade_timeout_sec": 11249,
6102
  "oracle_result": "accepted",
6103
- "oracle_grade_seconds": 630
6104
  },
6105
  {
6106
  "task": "truffet-counterexample",
@@ -6118,7 +6381,7 @@
6118
  "packages": [],
6119
  "grade_timeout_sec": 10809,
6120
  "oracle_result": "accepted",
6121
- "oracle_grade_seconds": 68
6122
  },
6123
  {
6124
  "task": "two-way-complementation",
@@ -6136,7 +6399,7 @@
6136
  "packages": [],
6137
  "grade_timeout_sec": 10973,
6138
  "oracle_result": "accepted",
6139
- "oracle_grade_seconds": 96
6140
  },
6141
  {
6142
  "task": "two-way-determinization",
@@ -6154,7 +6417,7 @@
6154
  "packages": [],
6155
  "grade_timeout_sec": 11140,
6156
  "oracle_result": "accepted",
6157
- "oracle_grade_seconds": 197
6158
  },
6159
  {
6160
  "task": "type-system-normalization",
@@ -6172,7 +6435,7 @@
6172
  "packages": [],
6173
  "grade_timeout_sec": 12221,
6174
  "oracle_result": "accepted",
6175
- "oracle_grade_seconds": 186
6176
  },
6177
  {
6178
  "task": "uniform-commutator",
@@ -6208,7 +6471,7 @@
6208
  "packages": [],
6209
  "grade_timeout_sec": 11462,
6210
  "oracle_result": "accepted",
6211
- "oracle_grade_seconds": 520
6212
  },
6213
  {
6214
  "task": "uniform-k-server",
@@ -6244,7 +6507,7 @@
6244
  "packages": [],
6245
  "grade_timeout_sec": 11239,
6246
  "oracle_result": "accepted",
6247
- "oracle_grade_seconds": 470
6248
  },
6249
  {
6250
  "task": "unique-games-theorem",
@@ -6280,7 +6543,7 @@
6280
  "packages": [],
6281
  "grade_timeout_sec": 11595,
6282
  "oracle_result": "accepted",
6283
- "oracle_grade_seconds": 416
6284
  },
6285
  {
6286
  "task": "variable-wl",
@@ -6298,7 +6561,7 @@
6298
  "packages": [],
6299
  "grade_timeout_sec": 11864,
6300
  "oracle_result": "accepted",
6301
- "oracle_grade_seconds": 429
6302
  },
6303
  {
6304
  "task": "velocity-hemisphere",
@@ -6334,7 +6597,7 @@
6334
  "packages": [],
6335
  "grade_timeout_sec": 12071,
6336
  "oracle_result": "accepted",
6337
- "oracle_grade_seconds": 696
6338
  },
6339
  {
6340
  "task": "vertex-cover",
@@ -6389,7 +6652,7 @@
6389
  "packages": [],
6390
  "grade_timeout_sec": 11488,
6391
  "oracle_result": "accepted",
6392
- "oracle_grade_seconds": 529
6393
  },
6394
  {
6395
  "task": "weak-hessian",
@@ -6443,7 +6706,7 @@
6443
  "packages": [],
6444
  "grade_timeout_sec": 11533,
6445
  "oracle_result": "accepted",
6446
- "oracle_grade_seconds": 338
6447
  },
6448
  {
6449
  "task": "weisfeiler-leman",
@@ -6461,7 +6724,7 @@
6461
  "packages": [],
6462
  "grade_timeout_sec": 11626,
6463
  "oracle_result": "accepted",
6464
- "oracle_grade_seconds": 401
6465
  },
6466
  {
6467
  "task": "witnessed-choice",
@@ -6479,7 +6742,7 @@
6479
  "packages": [],
6480
  "grade_timeout_sec": 11806,
6481
  "oracle_result": "accepted",
6482
- "oracle_grade_seconds": 585
6483
  },
6484
  {
6485
  "task": "yau-counterexample",
@@ -6513,12 +6776,6 @@
6513
  "family": "347",
6514
  "reason": "memory"
6515
  },
6516
- {
6517
- "task": "atomic-gaussian",
6518
- "challenge": "AtomicGaussian",
6519
- "family": "090",
6520
- "reason": "pending"
6521
- },
6522
  {
6523
  "task": "catalan",
6524
  "challenge": "Catalan",
@@ -6535,13 +6792,13 @@
6535
  "task": "continuum-coulomb-hardness",
6536
  "challenge": "ContinuumCoulombHardness",
6537
  "family": "275",
6538
- "reason": "disk"
6539
  },
6540
  {
6541
  "task": "cycle-clique-ramsey",
6542
  "challenge": "CycleCliqueRamsey",
6543
  "family": "189",
6544
- "reason": "pending"
6545
  },
6546
  {
6547
  "task": "dirichlet-seven-eighths",
@@ -6565,7 +6822,7 @@
6565
  "task": "erdos-reciprocal",
6566
  "challenge": "ErdosReciprocal",
6567
  "family": "159",
6568
- "reason": "disk"
6569
  },
6570
  {
6571
  "task": "hecke-seven-eighths",
@@ -6573,12 +6830,6 @@
6573
  "family": "003",
6574
  "reason": "missing-package"
6575
  },
6576
- {
6577
- "task": "invariant-ising",
6578
- "challenge": "InvariantIsing",
6579
- "family": "234",
6580
- "reason": "pending"
6581
- },
6582
  {
6583
  "task": "jacobsthal",
6584
  "challenge": "Jacobsthal",
@@ -6601,13 +6852,13 @@
6601
  "task": "koebe-circle-domains",
6602
  "challenge": "KoebeCircleDomains",
6603
  "family": "071",
6604
- "reason": "disk"
6605
  },
6606
  {
6607
  "task": "mub-six",
6608
  "challenge": "MUBSix",
6609
  "family": "266",
6610
- "reason": "pending"
6611
  },
6612
  {
6613
  "task": "matrix-multiplication",
@@ -6637,7 +6888,7 @@
6637
  "task": "ostmann-complete",
6638
  "challenge": "OstmannComplete",
6639
  "family": "013",
6640
- "reason": "pending"
6641
  },
6642
  {
6643
  "task": "ostmann-primes",
@@ -6649,19 +6900,19 @@
6649
  "task": "patterson-first-moment",
6650
  "challenge": "PattersonFirstMoment",
6651
  "family": "023",
6652
- "reason": "disk"
6653
  },
6654
  {
6655
  "task": "planar-packing",
6656
  "challenge": "PlanarPacking",
6657
  "family": "090",
6658
- "reason": "pending"
6659
  },
6660
  {
6661
  "task": "polycyclic-recognition",
6662
  "challenge": "PolycyclicRecognition",
6663
  "family": "255",
6664
- "reason": "pending"
6665
  },
6666
  {
6667
  "task": "quasi-riemann-hypothesis",
@@ -6669,89 +6920,29 @@
6669
  "family": "003",
6670
  "reason": "missing-package"
6671
  },
6672
- {
6673
- "task": "ramsey-five",
6674
- "challenge": "RamseyFive",
6675
- "family": "170",
6676
- "reason": "pending"
6677
- },
6678
  {
6679
  "task": "riesz-quantitative",
6680
  "challenge": "RieszQuantitative",
6681
  "family": "081",
6682
  "reason": "missing-package"
6683
  },
6684
- {
6685
- "task": "sat-computability",
6686
- "challenge": "SATComputability",
6687
- "family": "235",
6688
- "reason": "pending"
6689
- },
6690
- {
6691
- "task": "sk-barriers",
6692
- "challenge": "SKBarriers",
6693
- "family": "227",
6694
- "reason": "pending"
6695
- },
6696
- {
6697
- "task": "sk-high-temperature",
6698
- "challenge": "SKHighTemperature",
6699
- "family": "227",
6700
- "reason": "pending"
6701
- },
6702
- {
6703
- "task": "sk-ratio",
6704
- "challenge": "SKRatio",
6705
- "family": "227",
6706
- "reason": "pending"
6707
- },
6708
- {
6709
- "task": "sharp-log-ramsey",
6710
- "challenge": "SharpLogRamsey",
6711
- "family": "170",
6712
- "reason": "pending"
6713
- },
6714
  {
6715
  "task": "siegel-zeros",
6716
  "challenge": "SiegelZeros",
6717
  "family": "003",
6718
  "reason": "missing-package"
6719
  },
6720
- {
6721
- "task": "simple-amenable",
6722
- "challenge": "SimpleAmenable",
6723
- "family": "253",
6724
- "reason": "pending"
6725
- },
6726
- {
6727
- "task": "simple-overgroups",
6728
- "challenge": "SimpleOvergroups",
6729
- "family": "250",
6730
- "reason": "pending"
6731
- },
6732
- {
6733
- "task": "smooth-yau",
6734
- "challenge": "SmoothYau",
6735
- "family": "350",
6736
- "reason": "pending"
6737
- },
6738
  {
6739
  "task": "snaky-certificate",
6740
  "challenge": "SnakyCertificate",
6741
  "family": "187",
6742
  "reason": "memory"
6743
  },
6744
- {
6745
- "task": "snaky-conditional",
6746
- "challenge": "SnakyConditional",
6747
- "family": "187",
6748
- "reason": "pending"
6749
- },
6750
  {
6751
  "task": "snaky-twenty-one",
6752
  "challenge": "SnakyTwentyOne",
6753
  "family": "187",
6754
- "reason": "pending"
6755
  },
6756
  {
6757
  "task": "spin-angle",
@@ -6759,29 +6950,17 @@
6759
  "family": "238",
6760
  "reason": "definition-mismatch"
6761
  },
6762
- {
6763
- "task": "standard-map-components",
6764
- "challenge": "StandardMapComponents",
6765
- "family": "146",
6766
- "reason": "pending"
6767
- },
6768
- {
6769
- "task": "strong-kadison-kastler",
6770
- "challenge": "StrongKadisonKastler",
6771
- "family": "289",
6772
- "reason": "pending"
6773
- },
6774
  {
6775
  "task": "surface-immersion",
6776
  "challenge": "SurfaceImmersion",
6777
  "family": "333",
6778
- "reason": "pending"
6779
  },
6780
  {
6781
  "task": "taming-compatibility",
6782
  "challenge": "TamingCompatibility",
6783
  "family": "342",
6784
- "reason": "pending"
6785
  },
6786
  {
6787
  "task": "totient-asymptotic",
 
18
  "packages": [],
19
  "grade_timeout_sec": 10850,
20
  "oracle_result": "accepted",
21
+ "oracle_grade_seconds": 47
22
  },
23
  {
24
  "task": "affine-bernstein",
 
36
  "packages": [],
37
  "grade_timeout_sec": 12598,
38
  "oracle_result": "accepted",
39
+ "oracle_grade_seconds": 1429
40
  },
41
  {
42
  "task": "algorithmic-thin-trees",
 
54
  "packages": [],
55
  "grade_timeout_sec": 14901,
56
  "oracle_result": "accepted",
57
+ "oracle_grade_seconds": 2392
58
  },
59
  {
60
  "task": "amplitude-damping",
 
72
  "packages": [],
73
  "grade_timeout_sec": 11055,
74
  "oracle_result": "accepted",
75
+ "oracle_grade_seconds": 432
76
  },
77
  {
78
  "task": "artin-cat0",
 
90
  "packages": [],
91
  "grade_timeout_sec": 11173,
92
  "oracle_result": "accepted",
93
+ "oracle_grade_seconds": 193
94
  },
95
  {
96
  "task": "artin-parabolic-intersections",
 
111
  "packages": [],
112
  "grade_timeout_sec": 13770,
113
  "oracle_result": "accepted",
114
+ "oracle_grade_seconds": 2200
115
  },
116
  {
117
  "task": "asymptotically-minimal-littlewood",
 
129
  "packages": [],
130
  "grade_timeout_sec": 11189,
131
  "oracle_result": "accepted",
132
+ "oracle_grade_seconds": 346
133
+ },
134
+ {
135
+ "task": "atomic-gaussian",
136
+ "challenge": "AtomicGaussian",
137
+ "family": "090",
138
+ "family_title": "Universal optimality of the triangular lattice",
139
+ "subject": "Convex and metric geometry",
140
+ "theorems": [
141
+ "OAI.AtomicTriangular.sharp_gaussian_minorants_atomic"
142
+ ],
143
+ "definition_holes": [],
144
+ "fixed_definitions": [],
145
+ "n_modules": 215,
146
+ "bytes": 8527615,
147
+ "packages": [],
148
+ "grade_timeout_sec": 18474,
149
+ "oracle_result": "accepted",
150
+ "oracle_grade_seconds": 10626
151
  },
152
  {
153
  "task": "auslander-reiten",
 
165
  "packages": [],
166
  "grade_timeout_sec": 12914,
167
  "oracle_result": "accepted",
168
+ "oracle_grade_seconds": 2177
169
  },
170
  {
171
  "task": "backward-intertwiners",
 
183
  "packages": [],
184
  "grade_timeout_sec": 11036,
185
  "oracle_result": "accepted",
186
+ "oracle_grade_seconds": 337
187
  },
188
  {
189
  "task": "balanced-box-routing",
 
201
  "packages": [],
202
  "grade_timeout_sec": 10948,
203
  "oracle_result": "accepted",
204
+ "oracle_grade_seconds": 141
205
  },
206
  {
207
  "task": "balanced-ryser",
 
219
  "packages": [],
220
  "grade_timeout_sec": 14307,
221
  "oracle_result": "accepted",
222
+ "oracle_grade_seconds": 1384
223
  },
224
  {
225
  "task": "balanced-three-stack",
 
237
  "packages": [],
238
  "grade_timeout_sec": 11246,
239
  "oracle_result": "accepted",
240
+ "oracle_grade_seconds": 392
241
  },
242
  {
243
  "task": "ball-packing",
 
255
  "packages": [],
256
  "grade_timeout_sec": 14876,
257
  "oracle_result": "accepted",
258
+ "oracle_grade_seconds": 2433
259
  },
260
  {
261
  "task": "ball-packing-necessity",
 
273
  "packages": [],
274
  "grade_timeout_sec": 12306,
275
  "oracle_result": "accepted",
276
+ "oracle_grade_seconds": 1186
277
  },
278
  {
279
  "task": "barnette-hamiltonian",
 
291
  "packages": [],
292
  "grade_timeout_sec": 11141,
293
  "oracle_result": "accepted",
294
+ "oracle_grade_seconds": 337
295
  },
296
  {
297
  "task": "bass-torsion-free",
 
309
  "packages": [],
310
  "grade_timeout_sec": 11720,
311
  "oracle_result": "accepted",
312
+ "oracle_grade_seconds": 650
313
  },
314
  {
315
  "task": "bass-trace",
 
327
  "packages": [],
328
  "grade_timeout_sec": 11697,
329
  "oracle_result": "accepted",
330
+ "oracle_grade_seconds": 633
331
  },
332
  {
333
  "task": "benjamini-schramm",
 
347
  "packages": [],
348
  "grade_timeout_sec": 16950,
349
  "oracle_result": "accepted",
350
+ "oracle_grade_seconds": 2752
351
  },
352
  {
353
  "task": "bernoulli-nonflat-in-seven",
 
365
  "packages": [],
366
  "grade_timeout_sec": 11376,
367
  "oracle_result": "accepted",
368
+ "oracle_grade_seconds": 664
369
  },
370
  {
371
  "task": "biholder-transport",
 
383
  "packages": [],
384
  "grade_timeout_sec": 13682,
385
  "oracle_result": "accepted",
386
+ "oracle_grade_seconds": 2398
387
  },
388
  {
389
  "task": "bin-packing-gap",
 
401
  "packages": [],
402
  "grade_timeout_sec": 17601,
403
  "oracle_result": "accepted",
404
+ "oracle_grade_seconds": 1119
405
  },
406
  {
407
  "task": "binary-edit-lower",
 
419
  "packages": [],
420
  "grade_timeout_sec": 11218,
421
  "oracle_result": "accepted",
422
+ "oracle_grade_seconds": 280
423
  },
424
  {
425
  "task": "binary-matching",
 
437
  "packages": [],
438
  "grade_timeout_sec": 11355,
439
  "oracle_result": "accepted",
440
+ "oracle_grade_seconds": 524
441
  },
442
  {
443
  "task": "binary-sweep",
 
455
  "packages": [],
456
  "grade_timeout_sec": 11836,
457
  "oracle_result": "accepted",
458
+ "oracle_grade_seconds": 768
459
  },
460
  {
461
  "task": "bipartite-crossing",
 
473
  "packages": [],
474
  "grade_timeout_sec": 11604,
475
  "oracle_result": "accepted",
476
+ "oracle_grade_seconds": 448
477
  },
478
  {
479
  "task": "bogomolov-pop-injectivity",
 
491
  "packages": [],
492
  "grade_timeout_sec": 10939,
493
  "oracle_result": "accepted",
494
+ "oracle_grade_seconds": 159
495
  },
496
  {
497
  "task": "boltzmann-nonuniqueness",
 
509
  "packages": [],
510
  "grade_timeout_sec": 17397,
511
  "oracle_result": "accepted",
512
+ "oracle_grade_seconds": 1339
513
  },
514
  {
515
  "task": "boone-higman",
 
527
  "packages": [],
528
  "grade_timeout_sec": 12318,
529
  "oracle_result": "accepted",
530
+ "oracle_grade_seconds": 379
531
  },
532
  {
533
  "task": "borsuk-nine",
 
545
  "packages": [],
546
  "grade_timeout_sec": 13972,
547
  "oracle_result": "accepted",
548
+ "oracle_grade_seconds": 1206
549
  },
550
  {
551
  "task": "bounded-recovery",
 
563
  "packages": [],
564
  "grade_timeout_sec": 11131,
565
  "oracle_result": "accepted",
566
+ "oracle_grade_seconds": 494
567
  },
568
  {
569
  "task": "bounded-tree-potentials",
 
581
  "packages": [],
582
  "grade_timeout_sec": 11336,
583
  "oracle_result": "accepted",
584
+ "oracle_grade_seconds": 358
585
  },
586
  {
587
  "task": "bounded-treewidth-l1",
 
599
  "packages": [],
600
  "grade_timeout_sec": 11437,
601
  "oracle_result": "accepted",
602
+ "oracle_grade_seconds": 283
603
  },
604
  {
605
  "task": "brenier",
 
631
  "packages": [],
632
  "grade_timeout_sec": 12179,
633
  "oracle_result": "accepted",
634
+ "oracle_grade_seconds": 440
635
  },
636
  {
637
  "task": "brennan",
 
649
  "packages": [],
650
  "grade_timeout_sec": 11423,
651
  "oracle_result": "accepted",
652
+ "oracle_grade_seconds": 507
653
  },
654
  {
655
  "task": "brennan-sharp",
 
667
  "packages": [],
668
  "grade_timeout_sec": 11440,
669
  "oracle_result": "accepted",
670
+ "oracle_grade_seconds": 354
671
  },
672
  {
673
  "task": "buffered-ising",
 
685
  "packages": [],
686
  "grade_timeout_sec": 10922,
687
  "oracle_result": "accepted",
688
+ "oracle_grade_seconds": 127
689
  },
690
  {
691
  "task": "c0-absorption",
 
703
  "packages": [],
704
  "grade_timeout_sec": 11129,
705
  "oracle_result": "accepted",
706
+ "oracle_grade_seconds": 256
707
  },
708
  {
709
  "task": "c1-entropy-counterexample",
 
721
  "packages": [],
722
  "grade_timeout_sec": 11668,
723
  "oracle_result": "accepted",
724
+ "oracle_grade_seconds": 647
725
  },
726
  {
727
  "task": "ch-obstruction",
 
739
  "packages": [],
740
  "grade_timeout_sec": 10979,
741
  "oracle_result": "accepted",
742
+ "oracle_grade_seconds": 124
743
  },
744
  {
745
  "task": "cks-bondi-penrose",
 
758
  "packages": [],
759
  "grade_timeout_sec": 13346,
760
  "oracle_result": "accepted",
761
+ "oracle_grade_seconds": 1417
762
  },
763
  {
764
  "task": "cannon-geometric-action",
 
776
  "packages": [],
777
  "grade_timeout_sec": 13413,
778
  "oracle_result": "accepted",
779
+ "oracle_grade_seconds": 1075
780
  },
781
  {
782
  "task": "cayley-percolation",
 
794
  "packages": [],
795
  "grade_timeout_sec": 13179,
796
  "oracle_result": "accepted",
797
+ "oracle_grade_seconds": 698
798
  },
799
  {
800
  "task": "character-criterion",
 
812
  "packages": [],
813
  "grade_timeout_sec": 11832,
814
  "oracle_result": "accepted",
815
+ "oracle_grade_seconds": 991
816
  },
817
  {
818
  "task": "choiceless-polynomial-time",
 
830
  "packages": [],
831
  "grade_timeout_sec": 11523,
832
  "oracle_result": "accepted",
833
+ "oracle_grade_seconds": 286
834
  },
835
  {
836
  "task": "circulant-hadamard",
 
848
  "packages": [],
849
  "grade_timeout_sec": 11160,
850
  "oracle_result": "accepted",
851
+ "oracle_grade_seconds": 235
852
  },
853
  {
854
  "task": "classical-on",
 
866
  "packages": [],
867
  "grade_timeout_sec": 11324,
868
  "oracle_result": "accepted",
869
+ "oracle_grade_seconds": 752
870
  },
871
  {
872
  "task": "clique-free-log",
 
884
  "packages": [],
885
  "grade_timeout_sec": 11006,
886
  "oracle_result": "accepted",
887
+ "oracle_grade_seconds": 193
888
  },
889
  {
890
  "task": "coboundary-expanders",
 
902
  "packages": [],
903
  "grade_timeout_sec": 12113,
904
  "oracle_result": "accepted",
905
+ "oracle_grade_seconds": 437
906
  },
907
  {
908
  "task": "common-bases-fpras",
 
920
  "packages": [],
921
  "grade_timeout_sec": 12002,
922
  "oracle_result": "accepted",
923
+ "oracle_grade_seconds": 347
924
  },
925
  {
926
  "task": "commuting-derivations",
 
938
  "packages": [],
939
  "grade_timeout_sec": 10921,
940
  "oracle_result": "accepted",
941
+ "oracle_grade_seconds": 81
942
  },
943
  {
944
  "task": "compact-banach",
 
956
  "packages": [],
957
  "grade_timeout_sec": 10986,
958
  "oracle_result": "accepted",
959
+ "oracle_grade_seconds": 303
960
  },
961
  {
962
  "task": "complete-crossing",
 
974
  "packages": [],
975
  "grade_timeout_sec": 12117,
976
  "oracle_result": "accepted",
977
+ "oracle_grade_seconds": 344
978
  },
979
  {
980
  "task": "complete-crouzeix",
 
992
  "packages": [],
993
  "grade_timeout_sec": 11386,
994
  "oracle_result": "accepted",
995
+ "oracle_grade_seconds": 546
996
  },
997
  {
998
  "task": "complex-cancellation",
 
1010
  "packages": [],
1011
  "grade_timeout_sec": 11018,
1012
  "oracle_result": "accepted",
1013
+ "oracle_grade_seconds": 355
1014
  },
1015
  {
1016
  "task": "conductivity",
 
1028
  "packages": [],
1029
  "grade_timeout_sec": 14056,
1030
  "oracle_result": "accepted",
1031
+ "oracle_grade_seconds": 1793
1032
  },
1033
  {
1034
  "task": "conjugate-points",
 
1046
  "packages": [],
1047
  "grade_timeout_sec": 11951,
1048
  "oracle_result": "accepted",
1049
+ "oracle_grade_seconds": 595
1050
  },
1051
  {
1052
  "task": "contingency-tables",
 
1066
  "packages": [],
1067
  "grade_timeout_sec": 18988,
1068
  "oracle_result": "accepted",
1069
+ "oracle_grade_seconds": 3262
1070
  },
1071
  {
1072
  "task": "continuous-circle-weight",
 
1084
  "packages": [],
1085
  "grade_timeout_sec": 11617,
1086
  "oracle_result": "accepted",
1087
+ "oracle_grade_seconds": 530
1088
  },
1089
  {
1090
  "task": "continuum-transition",
 
1102
  "packages": [],
1103
  "grade_timeout_sec": 11427,
1104
  "oracle_result": "accepted",
1105
+ "oracle_grade_seconds": 942
1106
  },
1107
  {
1108
  "task": "coordinate-sweeps",
 
1121
  "packages": [],
1122
  "grade_timeout_sec": 11777,
1123
  "oracle_result": "accepted",
1124
+ "oracle_grade_seconds": 383
1125
  },
1126
  {
1127
  "task": "coordinate-trace",
 
1139
  "packages": [],
1140
  "grade_timeout_sec": 11676,
1141
  "oracle_result": "accepted",
1142
+ "oracle_grade_seconds": 427
1143
  },
1144
  {
1145
  "task": "cotype",
 
1157
  "packages": [],
1158
  "grade_timeout_sec": 11253,
1159
  "oracle_result": "accepted",
1160
+ "oracle_grade_seconds": 444
1161
  },
1162
  {
1163
  "task": "coulomb-counterexample",
 
1175
  "packages": [],
1176
  "grade_timeout_sec": 11220,
1177
  "oracle_result": "accepted",
1178
+ "oracle_grade_seconds": 349
1179
  },
1180
  {
1181
  "task": "coulomb-ionization",
 
1193
  "packages": [],
1194
  "grade_timeout_sec": 14952,
1195
  "oracle_result": "accepted",
1196
+ "oracle_grade_seconds": 2150
1197
  },
1198
  {
1199
  "task": "coulomb-radii",
 
1211
  "packages": [],
1212
  "grade_timeout_sec": 14272,
1213
  "oracle_result": "accepted",
1214
+ "oracle_grade_seconds": 1444
1215
  },
1216
  {
1217
  "task": "courtade-kumar",
 
1229
  "packages": [],
1230
  "grade_timeout_sec": 11095,
1231
  "oracle_result": "accepted",
1232
+ "oracle_grade_seconds": 251
1233
  },
1234
  {
1235
  "task": "covering-density",
 
1247
  "packages": [],
1248
  "grade_timeout_sec": 12384,
1249
  "oracle_result": "accepted",
1250
+ "oracle_grade_seconds": 762
1251
  },
1252
  {
1253
  "task": "critical-percolation",
 
1265
  "packages": [],
1266
  "grade_timeout_sec": 13419,
1267
  "oracle_result": "accepted",
1268
+ "oracle_grade_seconds": 1685
1269
  },
1270
  {
1271
  "task": "critical-sk",
 
1285
  "packages": [],
1286
  "grade_timeout_sec": 11601,
1287
  "oracle_result": "accepted",
1288
+ "oracle_grade_seconds": 322
1289
  },
1290
  {
1291
  "task": "critical-sk-mixing",
 
1303
  "packages": [],
1304
  "grade_timeout_sec": 15840,
1305
  "oracle_result": "accepted",
1306
+ "oracle_grade_seconds": 2056
1307
  },
1308
  {
1309
  "task": "critical-strip-mass",
 
1321
  "packages": [],
1322
  "grade_timeout_sec": 13317,
1323
  "oracle_result": "accepted",
1324
+ "oracle_grade_seconds": 1033
1325
  },
1326
  {
1327
  "task": "critical-z3",
 
1339
  "packages": [],
1340
  "grade_timeout_sec": 11215,
1341
  "oracle_result": "accepted",
1342
+ "oracle_grade_seconds": 230
1343
  },
1344
  {
1345
  "task": "crouzeix-hilbert",
 
1357
  "packages": [],
1358
  "grade_timeout_sec": 11451,
1359
  "oracle_result": "accepted",
1360
+ "oracle_grade_seconds": 657
1361
  },
1362
  {
1363
  "task": "cubic-torus",
 
1375
  "packages": [],
1376
  "grade_timeout_sec": 17093,
1377
  "oracle_result": "accepted",
1378
+ "oracle_grade_seconds": 1840
1379
  },
1380
  {
1381
  "task": "cycle-decomposition",
 
1393
  "packages": [],
1394
  "grade_timeout_sec": 11698,
1395
  "oracle_result": "accepted",
1396
+ "oracle_grade_seconds": 295
1397
  },
1398
  {
1399
  "task": "cylinder-covering",
 
1411
  "packages": [],
1412
  "grade_timeout_sec": 13511,
1413
  "oracle_result": "accepted",
1414
+ "oracle_grade_seconds": 1626
1415
  },
1416
  {
1417
  "task": "daugavet-moduli",
 
1431
  "packages": [],
1432
  "grade_timeout_sec": 10981,
1433
  "oracle_result": "accepted",
1434
+ "oracle_grade_seconds": 230
1435
  },
1436
  {
1437
  "task": "degree-rigidity",
 
1449
  "packages": [],
1450
  "grade_timeout_sec": 14330,
1451
  "oracle_result": "accepted",
1452
+ "oracle_grade_seconds": 2006
1453
  },
1454
  {
1455
  "task": "deligne-drinfeld",
 
1467
  "packages": [],
1468
  "grade_timeout_sec": 12022,
1469
  "oracle_result": "accepted",
1470
+ "oracle_grade_seconds": 563
1471
  },
1472
  {
1473
  "task": "depth-five",
 
1485
  "packages": [],
1486
  "grade_timeout_sec": 11592,
1487
  "oracle_result": "accepted",
1488
+ "oracle_grade_seconds": 462
1489
  },
1490
  {
1491
  "task": "depth-three",
 
1503
  "packages": [],
1504
  "grade_timeout_sec": 11723,
1505
  "oracle_result": "accepted",
1506
+ "oracle_grade_seconds": 398
1507
  },
1508
  {
1509
  "task": "diamond-distortion",
 
1521
  "packages": [],
1522
  "grade_timeout_sec": 11225,
1523
  "oracle_result": "accepted",
1524
+ "oracle_grade_seconds": 268
1525
  },
1526
  {
1527
  "task": "diluted-spin",
 
1539
  "packages": [],
1540
  "grade_timeout_sec": 13284,
1541
  "oracle_result": "accepted",
1542
+ "oracle_grade_seconds": 1199
1543
  },
1544
  {
1545
  "task": "dimension-ten-channel",
 
1557
  "packages": [],
1558
  "grade_timeout_sec": 13567,
1559
  "oracle_result": "accepted",
1560
+ "oracle_grade_seconds": 1785
1561
  },
1562
  {
1563
  "task": "dimension-ten-pair",
 
1575
  "packages": [],
1576
  "grade_timeout_sec": 12972,
1577
  "oracle_result": "accepted",
1578
+ "oracle_grade_seconds": 1663
1579
  },
1580
  {
1581
  "task": "direct-crouzeix",
 
1594
  "packages": [],
1595
  "grade_timeout_sec": 11082,
1596
  "oracle_result": "accepted",
1597
+ "oracle_grade_seconds": 429
1598
  },
1599
  {
1600
  "task": "directed-feedback",
 
1612
  "packages": [],
1613
  "grade_timeout_sec": 18455,
1614
  "oracle_result": "accepted",
1615
+ "oracle_grade_seconds": 1607
1616
  },
1617
  {
1618
  "task": "directional-ballisticity",
 
1630
  "packages": [],
1631
  "grade_timeout_sec": 15311,
1632
  "oracle_result": "accepted",
1633
+ "oracle_grade_seconds": 1803
1634
  },
1635
  {
1636
  "task": "directional-walk",
 
1648
  "packages": [],
1649
  "grade_timeout_sec": 11656,
1650
  "oracle_result": "accepted",
1651
+ "oracle_grade_seconds": 459
1652
  },
1653
  {
1654
  "task": "discrete-lipschitz-free",
 
1666
  "packages": [],
1667
  "grade_timeout_sec": 10956,
1668
  "oracle_result": "accepted",
1669
+ "oracle_grade_seconds": 199
1670
  },
1671
  {
1672
  "task": "disk-maximal",
 
1684
  "packages": [],
1685
  "grade_timeout_sec": 11673,
1686
  "oracle_result": "accepted",
1687
+ "oracle_grade_seconds": 415
1688
  },
1689
  {
1690
  "task": "dixmier",
 
1702
  "packages": [],
1703
  "grade_timeout_sec": 10943,
1704
  "oracle_result": "accepted",
1705
+ "oracle_grade_seconds": 112
1706
  },
1707
  {
1708
  "task": "dixmier-all-discrete",
 
1720
  "packages": [],
1721
  "grade_timeout_sec": 10963,
1722
  "oracle_result": "accepted",
1723
+ "oracle_grade_seconds": 194
1724
  },
1725
  {
1726
  "task": "doubling-hilbert",
 
1738
  "packages": [],
1739
  "grade_timeout_sec": 10941,
1740
  "oracle_result": "accepted",
1741
+ "oracle_grade_seconds": 179
1742
  },
1743
  {
1744
  "task": "dutta-domain",
 
1756
  "packages": [],
1757
  "grade_timeout_sec": 12968,
1758
  "oracle_result": "accepted",
1759
+ "oracle_grade_seconds": 1966
1760
  },
1761
  {
1762
  "task": "dyadic-avoidance",
 
1774
  "packages": [],
1775
  "grade_timeout_sec": 11132,
1776
  "oracle_result": "accepted",
1777
+ "oracle_grade_seconds": 198
1778
  },
1779
  {
1780
  "task": "edit-approximation",
 
1792
  "packages": [],
1793
  "grade_timeout_sec": 17632,
1794
  "oracle_result": "accepted",
1795
+ "oracle_grade_seconds": 2717
1796
  },
1797
  {
1798
  "task": "edit-distance",
 
1810
  "packages": [],
1811
  "grade_timeout_sec": 12317,
1812
  "oracle_result": "accepted",
1813
+ "oracle_grade_seconds": 320
1814
  },
1815
  {
1816
  "task": "egyptian-fractions",
 
1836
  "packages": [],
1837
  "grade_timeout_sec": 12262,
1838
  "oracle_result": "accepted",
1839
+ "oracle_grade_seconds": 832
1840
  },
1841
  {
1842
  "task": "eilenberg-ganea",
 
1854
  "packages": [],
1855
  "grade_timeout_sec": 12346,
1856
  "oracle_result": "accepted",
1857
+ "oracle_grade_seconds": 3411
1858
  },
1859
  {
1860
  "task": "elasticity-uniqueness",
 
1872
  "packages": [],
1873
  "grade_timeout_sec": 12247,
1874
  "oracle_result": "accepted",
1875
+ "oracle_grade_seconds": 755
1876
  },
1877
  {
1878
  "task": "elementary-positivity",
 
1890
  "packages": [],
1891
  "grade_timeout_sec": 13926,
1892
  "oracle_result": "accepted",
1893
+ "oracle_grade_seconds": 2005
1894
  },
1895
  {
1896
  "task": "entangled-games",
 
1908
  "packages": [],
1909
  "grade_timeout_sec": 11118,
1910
  "oracle_result": "accepted",
1911
+ "oracle_grade_seconds": 276
1912
  },
1913
  {
1914
  "task": "entropy-photon-number",
 
1926
  "packages": [],
1927
  "grade_timeout_sec": 12060,
1928
  "oracle_result": "accepted",
1929
+ "oracle_grade_seconds": 517
1930
  },
1931
  {
1932
  "task": "euclidean-five-color",
 
1946
  "packages": [],
1947
  "grade_timeout_sec": 12193,
1948
  "oracle_result": "accepted",
1949
+ "oracle_grade_seconds": 597
1950
  },
1951
  {
1952
  "task": "euclidean-ramsey",
 
1964
  "packages": [],
1965
  "grade_timeout_sec": 11059,
1966
  "oracle_result": "accepted",
1967
+ "oracle_grade_seconds": 303
1968
  },
1969
  {
1970
  "task": "euclidean-ramsey-circle",
 
1982
  "packages": [],
1983
  "grade_timeout_sec": 11086,
1984
  "oracle_result": "accepted",
1985
+ "oracle_grade_seconds": 304
1986
  },
1987
  {
1988
  "task": "euclidean-ramsey-nine",
 
2000
  "packages": [],
2001
  "grade_timeout_sec": 10869,
2002
  "oracle_result": "accepted",
2003
+ "oracle_grade_seconds": 137
2004
  },
2005
  {
2006
  "task": "euclidean-ramsey-quadratic",
 
2018
  "packages": [],
2019
  "grade_timeout_sec": 11069,
2020
  "oracle_result": "accepted",
2021
+ "oracle_grade_seconds": 297
2022
  },
2023
  {
2024
  "task": "euclidean-ramsey-spherical",
 
2036
  "packages": [],
2037
  "grade_timeout_sec": 11065,
2038
  "oracle_result": "accepted",
2039
+ "oracle_grade_seconds": 222
2040
  },
2041
  {
2042
  "task": "euclidean-ramsey-transitive",
 
2054
  "packages": [],
2055
  "grade_timeout_sec": 11065,
2056
  "oracle_result": "accepted",
2057
+ "oracle_grade_seconds": 352
2058
  },
2059
  {
2060
  "task": "even-barker",
 
2072
  "packages": [],
2073
  "grade_timeout_sec": 11169,
2074
  "oracle_result": "accepted",
2075
+ "oracle_grade_seconds": 251
2076
  },
2077
  {
2078
  "task": "exact-fourier",
 
2090
  "packages": [],
2091
  "grade_timeout_sec": 11563,
2092
  "oracle_result": "accepted",
2093
+ "oracle_grade_seconds": 480
2094
  },
2095
  {
2096
  "task": "exact-infiniteness",
 
2109
  "packages": [],
2110
  "grade_timeout_sec": 16851,
2111
  "oracle_result": "accepted",
2112
+ "oracle_grade_seconds": 4325
2113
  },
2114
  {
2115
  "task": "exact-quantum-factoring",
 
2127
  "packages": [],
2128
  "grade_timeout_sec": 12978,
2129
  "oracle_result": "accepted",
2130
+ "oracle_grade_seconds": 1235
2131
  },
2132
  {
2133
  "task": "fkcrt",
 
2145
  "packages": [],
2146
  "grade_timeout_sec": 12489,
2147
  "oracle_result": "accepted",
2148
+ "oracle_grade_seconds": 489
2149
  },
2150
  {
2151
  "task": "factor-generation",
 
2163
  "packages": [],
2164
  "grade_timeout_sec": 12311,
2165
  "oracle_result": "accepted",
2166
+ "oracle_grade_seconds": 2800
2167
  },
2168
  {
2169
  "task": "falconer-all-dimensions",
 
2181
  "packages": [],
2182
  "grade_timeout_sec": 18862,
2183
  "oracle_result": "accepted",
2184
+ "oracle_grade_seconds": 5233
2185
  },
2186
  {
2187
  "task": "filling-coefficient",
 
2199
  "packages": [],
2200
  "grade_timeout_sec": 11427,
2201
  "oracle_result": "accepted",
2202
+ "oracle_grade_seconds": 480
2203
  },
2204
  {
2205
  "task": "finite-circle",
 
2217
  "packages": [],
2218
  "grade_timeout_sec": 11212,
2219
  "oracle_result": "accepted",
2220
+ "oracle_grade_seconds": 285
2221
  },
2222
  {
2223
  "task": "finite-congruence-graph",
 
2235
  "packages": [],
2236
  "grade_timeout_sec": 10820,
2237
  "oracle_result": "accepted",
2238
+ "oracle_grade_seconds": 19
2239
  },
2240
  {
2241
  "task": "finite-entropy-separation",
 
2253
  "packages": [],
2254
  "grade_timeout_sec": 11507,
2255
  "oracle_result": "accepted",
2256
+ "oracle_grade_seconds": 1014
2257
  },
2258
  {
2259
  "task": "finite-factor",
 
2271
  "packages": [],
2272
  "grade_timeout_sec": 11802,
2273
  "oracle_result": "accepted",
2274
+ "oracle_grade_seconds": 745
2275
  },
2276
  {
2277
  "task": "finitistic-asymmetry",
 
2289
  "packages": [],
2290
  "grade_timeout_sec": 12826,
2291
  "oracle_result": "accepted",
2292
+ "oracle_grade_seconds": 1462
2293
  },
2294
  {
2295
  "task": "fixed-clause-threshold",
 
2307
  "packages": [],
2308
  "grade_timeout_sec": 10994,
2309
  "oracle_result": "accepted",
2310
+ "oracle_grade_seconds": 145
2311
  },
2312
  {
2313
  "task": "forced-navier-stokes-computation",
 
2325
  "packages": [],
2326
  "grade_timeout_sec": 11246,
2327
  "oracle_result": "accepted",
2328
+ "oracle_grade_seconds": 302
2329
  },
2330
  {
2331
  "task": "forest-space",
 
2343
  "packages": [],
2344
  "grade_timeout_sec": 10975,
2345
  "oracle_result": "accepted",
2346
+ "oracle_grade_seconds": 175
2347
  },
2348
  {
2349
  "task": "formula-hitting",
 
2361
  "packages": [],
2362
  "grade_timeout_sec": 10911,
2363
  "oracle_result": "accepted",
2364
+ "oracle_grade_seconds": 63
2365
  },
2366
  {
2367
  "task": "foulkes-howe",
 
2379
  "packages": [],
2380
  "grade_timeout_sec": 10977,
2381
  "oracle_result": "accepted",
2382
+ "oracle_grade_seconds": 276
2383
  },
2384
  {
2385
  "task": "four-row-permanent",
 
2397
  "packages": [],
2398
  "grade_timeout_sec": 10822,
2399
  "oracle_result": "accepted",
2400
+ "oracle_grade_seconds": 90
2401
  },
2402
  {
2403
  "task": "free-ising",
 
2415
  "packages": [],
2416
  "grade_timeout_sec": 15777,
2417
  "oracle_result": "accepted",
2418
+ "oracle_grade_seconds": 2094
2419
  },
2420
  {
2421
  "task": "free-uniform-spanning-forest",
 
2433
  "packages": [],
2434
  "grade_timeout_sec": 11762,
2435
  "oracle_result": "accepted",
2436
+ "oracle_grade_seconds": 624
2437
  },
2438
  {
2439
  "task": "gamma-passage",
 
2451
  "packages": [],
2452
  "grade_timeout_sec": 11652,
2453
  "oracle_result": "accepted",
2454
+ "oracle_grade_seconds": 466
2455
  },
2456
  {
2457
  "task": "gaussian-finite-entropy",
 
2469
  "packages": [],
2470
  "grade_timeout_sec": 10905,
2471
  "oracle_result": "accepted",
2472
+ "oracle_grade_seconds": 165
2473
  },
2474
  {
2475
  "task": "gaussian-information",
 
2490
  "packages": [],
2491
  "grade_timeout_sec": 11504,
2492
  "oracle_result": "accepted",
2493
+ "oracle_grade_seconds": 572
2494
  },
2495
  {
2496
  "task": "gaussian-moat",
 
2508
  "packages": [],
2509
  "grade_timeout_sec": 11338,
2510
  "oracle_result": "accepted",
2511
+ "oracle_grade_seconds": 422
2512
  },
2513
  {
2514
  "task": "gaussian-propeller",
 
2526
  "packages": [],
2527
  "grade_timeout_sec": 11325,
2528
  "oracle_result": "accepted",
2529
+ "oracle_grade_seconds": 496
2530
  },
2531
  {
2532
  "task": "gaussian-replacement",
 
2554
  "packages": [],
2555
  "grade_timeout_sec": 11484,
2556
  "oracle_result": "accepted",
2557
+ "oracle_grade_seconds": 486
2558
  },
2559
  {
2560
  "task": "general-mahler",
 
2572
  "packages": [],
2573
  "grade_timeout_sec": 12728,
2574
  "oracle_result": "accepted",
2575
+ "oracle_grade_seconds": 5721
2576
  },
2577
  {
2578
  "task": "generalized-star-height",
 
2590
  "packages": [],
2591
  "grade_timeout_sec": 11270,
2592
  "oracle_result": "accepted",
2593
+ "oracle_grade_seconds": 235
2594
  },
2595
  {
2596
  "task": "gotsman-linial",
 
2608
  "packages": [],
2609
  "grade_timeout_sec": 10954,
2610
  "oracle_result": "accepted",
2611
+ "oracle_grade_seconds": 72
2612
  },
2613
  {
2614
  "task": "graham-spherical",
 
2626
  "packages": [],
2627
  "grade_timeout_sec": 10834,
2628
  "oracle_result": "accepted",
2629
+ "oracle_grade_seconds": 92
2630
  },
2631
  {
2632
  "task": "grothendieck-elementary-expansion",
 
2644
  "packages": [],
2645
  "grade_timeout_sec": 11322,
2646
  "oracle_result": "accepted",
2647
+ "oracle_grade_seconds": 436
2648
  },
2649
  {
2650
  "task": "group-ring-determinant",
 
2662
  "packages": [],
2663
  "grade_timeout_sec": 11412,
2664
  "oracle_result": "accepted",
2665
+ "oracle_grade_seconds": 788
2666
  },
2667
  {
2668
  "task": "hadamard-cube-fiber",
 
2680
  "packages": [],
2681
  "grade_timeout_sec": 10835,
2682
  "oracle_result": "accepted",
2683
+ "oracle_grade_seconds": 64
2684
  },
2685
  {
2686
  "task": "halving-lines",
 
2698
  "packages": [],
2699
  "grade_timeout_sec": 11598,
2700
  "oracle_result": "accepted",
2701
+ "oracle_grade_seconds": 410
2702
  },
2703
  {
2704
  "task": "hard-sphere",
 
2716
  "packages": [],
2717
  "grade_timeout_sec": 13924,
2718
  "oracle_result": "accepted",
2719
+ "oracle_grade_seconds": 1832
2720
  },
2721
  {
2722
  "task": "harmonic-artin",
 
2734
  "packages": [],
2735
  "grade_timeout_sec": 13321,
2736
  "oracle_result": "accepted",
2737
+ "oracle_grade_seconds": 1678
2738
  },
2739
  {
2740
  "task": "harmonic-growth",
 
2752
  "packages": [],
2753
  "grade_timeout_sec": 12315,
2754
  "oracle_result": "accepted",
2755
+ "oracle_grade_seconds": 799
2756
  },
2757
  {
2758
  "task": "heilbronn-triangle",
 
2771
  "packages": [],
2772
  "grade_timeout_sec": 11713,
2773
  "oracle_result": "accepted",
2774
+ "oracle_grade_seconds": 640
2775
  },
2776
  {
2777
  "task": "heisenberg",
 
2789
  "packages": [],
2790
  "grade_timeout_sec": 11798,
2791
  "oracle_result": "accepted",
2792
+ "oracle_grade_seconds": 1106
2793
  },
2794
  {
2795
  "task": "henon-emden",
 
2807
  "packages": [],
2808
  "grade_timeout_sec": 11381,
2809
  "oracle_result": "accepted",
2810
+ "oracle_grade_seconds": 584
2811
  },
2812
  {
2813
  "task": "hilbert-crouzeix",
 
2828
  "packages": [],
2829
  "grade_timeout_sec": 10833,
2830
  "oracle_result": "accepted",
2831
+ "oracle_grade_seconds": 136
2832
  },
2833
  {
2834
  "task": "honeycomb-bridge-finiteness",
 
2846
  "packages": [],
2847
  "grade_timeout_sec": 11090,
2848
  "oracle_result": "accepted",
2849
+ "oracle_grade_seconds": 192
2850
  },
2851
  {
2852
  "task": "honeycomb-free-energy",
 
2864
  "packages": [],
2865
  "grade_timeout_sec": 10837,
2866
  "oracle_result": "accepted",
2867
+ "oracle_grade_seconds": 51
2868
  },
2869
  {
2870
  "task": "hot-spots",
 
2882
  "packages": [],
2883
  "grade_timeout_sec": 12043,
2884
  "oracle_result": "accepted",
2885
+ "oracle_grade_seconds": 578
2886
  },
2887
  {
2888
  "task": "hyperbolic-cones",
 
2900
  "packages": [],
2901
  "grade_timeout_sec": 10996,
2902
  "oracle_result": "accepted",
2903
+ "oracle_grade_seconds": 350
2904
  },
2905
  {
2906
  "task": "hyperbolic-obstruction",
 
2918
  "packages": [],
2919
  "grade_timeout_sec": 12987,
2920
  "oracle_result": "accepted",
2921
+ "oracle_grade_seconds": 1278
2922
  },
2923
  {
2924
  "task": "hyperinvariant-subspaces",
 
2936
  "packages": [],
2937
  "grade_timeout_sec": 11816,
2938
  "oracle_result": "accepted",
2939
+ "oracle_grade_seconds": 870
2940
  },
2941
  {
2942
  "task": "independent-products",
 
2957
  "packages": [],
2958
  "grade_timeout_sec": 10960,
2959
  "oracle_result": "accepted",
2960
+ "oracle_grade_seconds": 250
2961
  },
2962
  {
2963
  "task": "independent-sets",
 
2975
  "packages": [],
2976
  "grade_timeout_sec": 14830,
2977
  "oracle_result": "accepted",
2978
+ "oracle_grade_seconds": 1204
2979
  },
2980
  {
2981
  "task": "individual-strong-infiniteness",
 
2993
  "packages": [],
2994
  "grade_timeout_sec": 11054,
2995
  "oracle_result": "accepted",
2996
+ "oracle_grade_seconds": 355
2997
  },
2998
  {
2999
  "task": "infinite-matroid",
 
3011
  "packages": [],
3012
  "grade_timeout_sec": 10957,
3013
  "oracle_result": "accepted",
3014
+ "oracle_grade_seconds": 111
3015
  },
3016
  {
3017
  "task": "infinite-matroid-corollaries",
 
3030
  "packages": [],
3031
  "grade_timeout_sec": 10973,
3032
  "oracle_result": "accepted",
3033
+ "oracle_grade_seconds": 155
3034
  },
3035
  {
3036
  "task": "interpolated-factors",
 
3048
  "packages": [],
3049
  "grade_timeout_sec": 11924,
3050
  "oracle_result": "accepted",
3051
+ "oracle_grade_seconds": 1361
3052
+ },
3053
+ {
3054
+ "task": "invariant-ising",
3055
+ "challenge": "InvariantIsing",
3056
+ "family": "234",
3057
+ "family_title": "All-temperature pressure for orthogonally invariant Ising spin glasses",
3058
+ "subject": "Probability and statistical mechanics",
3059
+ "theorems": [
3060
+ "OAI.InvariantIsing.limiting_pressure_of_extreme_limits_unconditional",
3061
+ "OAI.InvariantIsing.limiting_wasserstein_field_pressure_of_extreme_limits_unconditional",
3062
+ "OAI.InvariantIsing.positive_temperature_pressure_unconditional",
3063
+ "OAI.InvariantIsing.ground_state_limit_unconditional",
3064
+ "OAI.InvariantIsing.random_pressure_tendsto_in_measure_unconditional",
3065
+ "OAI.InvariantIsing.random_pressure_limit_unconditional",
3066
+ "OAI.InvariantIsing.random_pressure_tendsto_ae_unconditional",
3067
+ "OAI.InvariantIsing.random_field_pressure_tendsto_ae_unconditional",
3068
+ "OAI.InvariantIsing.gaussianPattern_pressure_limit_unconditional",
3069
+ "OAI.InvariantIsing.gaussianPattern_ground_limit_unconditional",
3070
+ "OAI.InvariantIsing.gaussianPattern_norm_limits_unconditional"
3071
+ ],
3072
+ "definition_holes": [],
3073
+ "fixed_definitions": [],
3074
+ "n_modules": 2123,
3075
+ "bytes": 10537287,
3076
+ "packages": [],
3077
+ "grade_timeout_sec": 20283,
3078
+ "oracle_result": "accepted",
3079
+ "oracle_grade_seconds": 5030
3080
  },
3081
  {
3082
  "task": "irrational-rotation",
 
3095
  "packages": [],
3096
  "grade_timeout_sec": 14080,
3097
  "oracle_result": "accepted",
3098
+ "oracle_grade_seconds": 2128
3099
  },
3100
  {
3101
  "task": "irrational-triangle-billiard",
 
3113
  "packages": [],
3114
  "grade_timeout_sec": 11334,
3115
  "oracle_result": "accepted",
3116
+ "oracle_grade_seconds": 347
3117
  },
3118
  {
3119
  "task": "ising-finiteness",
 
3131
  "packages": [],
3132
  "grade_timeout_sec": 12144,
3133
  "oracle_result": "accepted",
3134
+ "oracle_grade_seconds": 327
3135
  },
3136
  {
3137
  "task": "isometric-immersion",
 
3149
  "packages": [],
3150
  "grade_timeout_sec": 13342,
3151
  "oracle_result": "accepted",
3152
+ "oracle_grade_seconds": 698
3153
  },
3154
  {
3155
  "task": "kl-invariance",
 
3167
  "packages": [],
3168
  "grade_timeout_sec": 12448,
3169
  "oracle_result": "accepted",
3170
+ "oracle_grade_seconds": 1231
3171
  },
3172
  {
3173
  "task": "k-median-recovery",
 
3185
  "packages": [],
3186
  "grade_timeout_sec": 14148,
3187
  "oracle_result": "accepted",
3188
+ "oracle_grade_seconds": 1418
3189
  },
3190
  {
3191
  "task": "k-median-refined-recovery",
 
3203
  "packages": [],
3204
  "grade_timeout_sec": 13122,
3205
  "oracle_result": "accepted",
3206
+ "oracle_grade_seconds": 1462
3207
  },
3208
  {
3209
  "task": "k-median-threshold",
 
3221
  "packages": [],
3222
  "grade_timeout_sec": 13713,
3223
  "oracle_result": "accepted",
3224
+ "oracle_grade_seconds": 2180
3225
  },
3226
  {
3227
  "task": "k-server",
 
3249
  "packages": [],
3250
  "grade_timeout_sec": 12404,
3251
  "oracle_result": "accepted",
3252
+ "oracle_grade_seconds": 322
3253
  },
3254
  {
3255
  "task": "kadison-ringrose",
 
3267
  "packages": [],
3268
  "grade_timeout_sec": 13314,
3269
  "oracle_result": "accepted",
3270
+ "oracle_grade_seconds": 1426
3271
  },
3272
  {
3273
  "task": "kadison-similarity",
 
3287
  "packages": [],
3288
  "grade_timeout_sec": 16012,
3289
  "oracle_result": "accepted",
3290
+ "oracle_grade_seconds": 4111
3291
  },
3292
  {
3293
  "task": "kahler-splitting",
 
3305
  "packages": [],
3306
  "grade_timeout_sec": 11454,
3307
  "oracle_result": "accepted",
3308
+ "oracle_grade_seconds": 468
3309
  },
3310
  {
3311
  "task": "kaplansky-direct-finiteness",
 
3323
  "packages": [],
3324
  "grade_timeout_sec": 11289,
3325
  "oracle_result": "accepted",
3326
+ "oracle_grade_seconds": 704
3327
  },
3328
  {
3329
  "task": "kaplansky-finitely-presented",
 
3341
  "packages": [],
3342
  "grade_timeout_sec": 11300,
3343
  "oracle_result": "accepted",
3344
+ "oracle_grade_seconds": 723
3345
  },
3346
  {
3347
  "task": "kaplansky-quasitrace",
 
3359
  "packages": [],
3360
  "grade_timeout_sec": 12150,
3361
  "oracle_result": "accepted",
3362
+ "oracle_grade_seconds": 492
3363
  },
3364
  {
3365
  "task": "kaplansky-stable-finiteness",
 
3377
  "packages": [],
3378
  "grade_timeout_sec": 12365,
3379
  "oracle_result": "accepted",
3380
+ "oracle_grade_seconds": 720
3381
  },
3382
  {
3383
  "task": "kervaire",
 
3395
  "packages": [],
3396
  "grade_timeout_sec": 11257,
3397
  "oracle_result": "accepted",
3398
+ "oracle_grade_seconds": 506
3399
  },
3400
  {
3401
  "task": "laughlin",
 
3413
  "packages": [],
3414
  "grade_timeout_sec": 13474,
3415
  "oracle_result": "accepted",
3416
+ "oracle_grade_seconds": 6435
3417
  },
3418
  {
3419
  "task": "laughlin-fock",
 
3431
  "packages": [],
3432
  "grade_timeout_sec": 18377,
3433
  "oracle_result": "accepted",
3434
+ "oracle_grade_seconds": 6157
3435
  },
3436
  {
3437
  "task": "laughlin-gap",
 
3449
  "packages": [],
3450
  "grade_timeout_sec": 12905,
3451
  "oracle_result": "accepted",
3452
+ "oracle_grade_seconds": 4594
3453
  },
3454
  {
3455
  "task": "laughlin-planar",
 
3467
  "packages": [],
3468
  "grade_timeout_sec": 13554,
3469
  "oracle_result": "accepted",
3470
+ "oracle_grade_seconds": 5977
3471
  },
3472
  {
3473
  "task": "lieb-thirring",
 
3485
  "packages": [],
3486
  "grade_timeout_sec": 11388,
3487
  "oracle_result": "accepted",
3488
+ "oracle_grade_seconds": 478
3489
  },
3490
  {
3491
  "task": "lipschitz-equivalence",
 
3503
  "packages": [],
3504
  "grade_timeout_sec": 11228,
3505
  "oracle_result": "accepted",
3506
+ "oracle_grade_seconds": 460
3507
  },
3508
  {
3509
  "task": "lipschitz-hilbert",
 
3522
  "packages": [],
3523
  "grade_timeout_sec": 19136,
3524
  "oracle_result": "accepted",
3525
+ "oracle_grade_seconds": 2873
3526
  },
3527
  {
3528
  "task": "list-hadwiger",
 
3540
  "packages": [],
3541
  "grade_timeout_sec": 11612,
3542
  "oracle_result": "accepted",
3543
+ "oracle_grade_seconds": 402
3544
  },
3545
  {
3546
  "task": "little-finitistic",
 
3558
  "packages": [],
3559
  "grade_timeout_sec": 12645,
3560
  "oracle_result": "accepted",
3561
+ "oracle_grade_seconds": 1382
3562
  },
3563
  {
3564
  "task": "littlewood-finite-flatness",
 
3576
  "packages": [],
3577
  "grade_timeout_sec": 11204,
3578
  "oracle_result": "accepted",
3579
+ "oracle_grade_seconds": 316
3580
  },
3581
  {
3582
  "task": "log-brunn-minkowski",
 
3594
  "packages": [],
3595
  "grade_timeout_sec": 11905,
3596
  "oracle_result": "accepted",
3597
+ "oracle_grade_seconds": 432
3598
  },
3599
  {
3600
  "task": "log-concave-query",
 
3612
  "packages": [],
3613
  "grade_timeout_sec": 13500,
3614
  "oracle_result": "accepted",
3615
+ "oracle_grade_seconds": 1273
3616
  },
3617
  {
3618
  "task": "log-kodaira-fiber-negative",
 
3630
  "packages": [],
3631
  "grade_timeout_sec": 10959,
3632
  "oracle_result": "accepted",
3633
+ "oracle_grade_seconds": 296
3634
  },
3635
  {
3636
  "task": "mahler-conjecture",
 
3648
  "packages": [],
3649
  "grade_timeout_sec": 11696,
3650
  "oracle_result": "accepted",
3651
+ "oracle_grade_seconds": 514
3652
  },
3653
  {
3654
  "task": "markov-type",
 
3666
  "packages": [],
3667
  "grade_timeout_sec": 11788,
3668
  "oracle_result": "accepted",
3669
+ "oracle_grade_seconds": 277
3670
  },
3671
  {
3672
  "task": "mass-action",
 
3684
  "packages": [],
3685
  "grade_timeout_sec": 11095,
3686
  "oracle_result": "accepted",
3687
+ "oracle_grade_seconds": 255
3688
  },
3689
  {
3690
  "task": "matching-affine-lift",
 
3702
  "packages": [],
3703
  "grade_timeout_sec": 11089,
3704
  "oracle_result": "accepted",
3705
+ "oracle_grade_seconds": 380
3706
  },
3707
  {
3708
  "task": "matching-entropy",
 
3720
  "packages": [],
3721
  "grade_timeout_sec": 10941,
3722
  "oracle_result": "accepted",
3723
+ "oracle_grade_seconds": 156
3724
  },
3725
  {
3726
  "task": "matching-entropy-bounds",
 
3738
  "packages": [],
3739
  "grade_timeout_sec": 11111,
3740
  "oracle_result": "accepted",
3741
+ "oracle_grade_seconds": 363
3742
  },
3743
  {
3744
  "task": "matching-fpras",
 
3756
  "packages": [],
3757
  "grade_timeout_sec": 13582,
3758
  "oracle_result": "accepted",
3759
+ "oracle_grade_seconds": 1243
3760
  },
3761
  {
3762
  "task": "matching-psd",
 
3774
  "packages": [],
3775
  "grade_timeout_sec": 11066,
3776
  "oracle_result": "accepted",
3777
+ "oracle_grade_seconds": 382
3778
  },
3779
  {
3780
  "task": "matrix-fields",
 
3792
  "packages": [],
3793
  "grade_timeout_sec": 21600,
3794
  "oracle_result": "accepted",
3795
+ "oracle_grade_seconds": 4284
3796
  },
3797
  {
3798
  "task": "matrix-removal",
 
3810
  "packages": [],
3811
  "grade_timeout_sec": 11090,
3812
  "oracle_result": "accepted",
3813
+ "oracle_grade_seconds": 215
3814
  },
3815
  {
3816
  "task": "matroid-prophet",
 
3828
  "packages": [],
3829
  "grade_timeout_sec": 11399,
3830
  "oracle_result": "accepted",
3831
+ "oracle_grade_seconds": 310
3832
  },
3833
  {
3834
  "task": "matroid-secretary",
 
3848
  "packages": [],
3849
  "grade_timeout_sec": 11857,
3850
  "oracle_result": "accepted",
3851
+ "oracle_grade_seconds": 478
3852
  },
3853
  {
3854
  "task": "maximal-seshadri-constants",
 
3866
  "packages": [],
3867
  "grade_timeout_sec": 13044,
3868
  "oracle_result": "accepted",
3869
+ "oracle_grade_seconds": 2150
3870
  },
3871
  {
3872
  "task": "memory-precision",
 
3884
  "packages": [],
3885
  "grade_timeout_sec": 11502,
3886
  "oracle_result": "accepted",
3887
+ "oracle_grade_seconds": 420
3888
  },
3889
  {
3890
  "task": "metric-entropy-duality",
 
3902
  "packages": [],
3903
  "grade_timeout_sec": 11041,
3904
  "oracle_result": "accepted",
3905
+ "oracle_grade_seconds": 77
3906
  },
3907
  {
3908
  "task": "metric-k-median",
 
3920
  "packages": [],
3921
  "grade_timeout_sec": 13032,
3922
  "oracle_result": "accepted",
3923
+ "oracle_grade_seconds": 1760
3924
  },
3925
  {
3926
  "task": "midpoint-lenses",
 
3938
  "packages": [],
3939
  "grade_timeout_sec": 10916,
3940
  "oracle_result": "accepted",
3941
+ "oracle_grade_seconds": 139
3942
  },
3943
  {
3944
  "task": "min-uncut",
 
3956
  "packages": [],
3957
  "grade_timeout_sec": 16196,
3958
  "oracle_result": "accepted",
3959
+ "oracle_grade_seconds": 1263
3960
  },
3961
  {
3962
  "task": "nagata",
 
3976
  "packages": [],
3977
  "grade_timeout_sec": 12248,
3978
  "oracle_result": "accepted",
3979
+ "oracle_grade_seconds": 296
3980
  },
3981
  {
3982
  "task": "naimark",
 
4002
  "packages": [],
4003
  "grade_timeout_sec": 11887,
4004
  "oracle_result": "accepted",
4005
+ "oracle_grade_seconds": 2390
4006
  },
4007
  {
4008
  "task": "navier-stokes-alternating",
 
4020
  "packages": [],
4021
  "grade_timeout_sec": 11147,
4022
  "oracle_result": "accepted",
4023
+ "oracle_grade_seconds": 471
4024
  },
4025
  {
4026
  "task": "navier-stokes-velocity",
 
4038
  "packages": [],
4039
  "grade_timeout_sec": 11728,
4040
  "oracle_result": "accepted",
4041
+ "oracle_grade_seconds": 925
4042
  },
4043
  {
4044
  "task": "nodal-length",
 
4056
  "packages": [],
4057
  "grade_timeout_sec": 12135,
4058
  "oracle_result": "accepted",
4059
+ "oracle_grade_seconds": 915
4060
  },
4061
  {
4062
  "task": "noiseless-regression",
 
4074
  "packages": [],
4075
  "grade_timeout_sec": 10980,
4076
  "oracle_result": "accepted",
4077
+ "oracle_grade_seconds": 225
4078
  },
4079
  {
4080
  "task": "odd-kaplansky",
 
4092
  "packages": [],
4093
  "grade_timeout_sec": 11549,
4094
  "oracle_result": "accepted",
4095
+ "oracle_grade_seconds": 901
4096
  },
4097
  {
4098
  "task": "one-way-liveness",
 
4110
  "packages": [],
4111
  "grade_timeout_sec": 10955,
4112
  "oracle_result": "accepted",
4113
+ "oracle_grade_seconds": 95
4114
  },
4115
  {
4116
  "task": "optimal-max-cut",
 
4128
  "packages": [],
4129
  "grade_timeout_sec": 18776,
4130
  "oracle_result": "accepted",
4131
+ "oracle_grade_seconds": 1492
4132
  },
4133
  {
4134
  "task": "ordinary-elliott",
 
4146
  "packages": [],
4147
  "grade_timeout_sec": 13561,
4148
  "oracle_result": "accepted",
4149
+ "oracle_grade_seconds": 2016
4150
  },
4151
  {
4152
  "task": "parity-lifts",
 
4164
  "packages": [],
4165
  "grade_timeout_sec": 10962,
4166
  "oracle_result": "accepted",
4167
+ "oracle_grade_seconds": 137
4168
  },
4169
  {
4170
  "task": "partial-permutation",
 
4182
  "packages": [],
4183
  "grade_timeout_sec": 11021,
4184
  "oracle_result": "accepted",
4185
+ "oracle_grade_seconds": 352
4186
  },
4187
  {
4188
  "task": "partition-consistency",
 
4200
  "packages": [],
4201
  "grade_timeout_sec": 12151,
4202
  "oracle_result": "accepted",
4203
+ "oracle_grade_seconds": 344
4204
  },
4205
  {
4206
  "task": "partition-principle",
 
4218
  "packages": [],
4219
  "grade_timeout_sec": 21600,
4220
  "oracle_result": "accepted",
4221
+ "oracle_grade_seconds": 2875
4222
  },
4223
  {
4224
  "task": "perceptron-free-energy",
 
4236
  "packages": [],
4237
  "grade_timeout_sec": 14271,
4238
  "oracle_result": "accepted",
4239
+ "oracle_grade_seconds": 1308
4240
  },
4241
  {
4242
  "task": "perfect-completeness",
 
4254
  "packages": [],
4255
  "grade_timeout_sec": 21600,
4256
  "oracle_result": "accepted",
4257
+ "oracle_grade_seconds": 2718
4258
  },
4259
  {
4260
  "task": "periodic-group",
 
4272
  "packages": [],
4273
  "grade_timeout_sec": 12417,
4274
  "oracle_result": "accepted",
4275
+ "oracle_grade_seconds": 528
4276
  },
4277
  {
4278
  "task": "periodic-tiling-three",
 
4290
  "packages": [],
4291
  "grade_timeout_sec": 11395,
4292
  "oracle_result": "accepted",
4293
+ "oracle_grade_seconds": 409
4294
  },
4295
  {
4296
  "task": "permanent-cubic",
 
4308
  "packages": [],
4309
  "grade_timeout_sec": 11624,
4310
  "oracle_result": "accepted",
4311
+ "oracle_grade_seconds": 591
4312
  },
4313
  {
4314
  "task": "petty-projection-volume",
 
4326
  "packages": [],
4327
  "grade_timeout_sec": 11396,
4328
  "oracle_result": "accepted",
4329
+ "oracle_grade_seconds": 459
4330
  },
4331
  {
4332
  "task": "pi-exponent",
 
4344
  "packages": [],
4345
  "grade_timeout_sec": 14689,
4346
  "oracle_result": "accepted",
4347
+ "oracle_grade_seconds": 2846
4348
  },
4349
  {
4350
  "task": "pinched-kahler",
 
4364
  "packages": [],
4365
  "grade_timeout_sec": 11629,
4366
  "oracle_result": "accepted",
4367
+ "oracle_grade_seconds": 909
4368
  },
4369
  {
4370
  "task": "pinned-distances",
 
4382
  "packages": [],
4383
  "grade_timeout_sec": 11465,
4384
  "oracle_result": "accepted",
4385
+ "oracle_grade_seconds": 467
4386
  },
4387
  {
4388
  "task": "planar-anderson-spectrum",
 
4400
  "packages": [],
4401
  "grade_timeout_sec": 10831,
4402
  "oracle_result": "accepted",
4403
+ "oracle_grade_seconds": 96
4404
  },
4405
  {
4406
  "task": "planar-falconer",
 
4418
  "packages": [],
4419
  "grade_timeout_sec": 13176,
4420
  "oracle_result": "accepted",
4421
+ "oracle_grade_seconds": 1590
4422
  },
4423
  {
4424
  "task": "planar-first-passage",
 
4436
  "packages": [],
4437
  "grade_timeout_sec": 11568,
4438
  "oracle_result": "accepted",
4439
+ "oracle_grade_seconds": 462
4440
  },
4441
  {
4442
  "task": "planar-l1",
 
4454
  "packages": [],
4455
  "grade_timeout_sec": 12210,
4456
  "oracle_result": "accepted",
4457
+ "oracle_grade_seconds": 421
4458
  },
4459
  {
4460
  "task": "planar-unit-distances",
 
4472
  "packages": [],
4473
  "grade_timeout_sec": 12010,
4474
  "oracle_result": "accepted",
4475
+ "oracle_grade_seconds": 513
4476
  },
4477
  {
4478
  "task": "plane-coloring",
 
4490
  "packages": [],
4491
  "grade_timeout_sec": 10816,
4492
  "oracle_result": "accepted",
4493
+ "oracle_grade_seconds": 99
4494
  },
4495
  {
4496
  "task": "posterior-replicas",
 
4508
  "packages": [],
4509
  "grade_timeout_sec": 11444,
4510
  "oracle_result": "accepted",
4511
+ "oracle_grade_seconds": 621
4512
  },
4513
  {
4514
  "task": "power-free-values",
 
4526
  "packages": [],
4527
  "grade_timeout_sec": 11824,
4528
  "oracle_result": "accepted",
4529
+ "oracle_grade_seconds": 692
4530
  },
4531
  {
4532
  "task": "prime-gaps",
 
4544
  "packages": [],
4545
  "grade_timeout_sec": 11777,
4546
  "oracle_result": "accepted",
4547
+ "oracle_grade_seconds": 560
4548
  },
4549
  {
4550
  "task": "product-brown",
 
4562
  "packages": [],
4563
  "grade_timeout_sec": 11878,
4564
  "oracle_result": "accepted",
4565
+ "oracle_grade_seconds": 889
4566
  },
4567
  {
4568
  "task": "projection-counterexample",
 
4580
  "packages": [],
4581
  "grade_timeout_sec": 10918,
4582
  "oracle_result": "accepted",
4583
+ "oracle_grade_seconds": 142
4584
  },
4585
  {
4586
  "task": "projection-moments",
 
4598
  "packages": [],
4599
  "grade_timeout_sec": 11263,
4600
  "oracle_result": "accepted",
4601
+ "oracle_grade_seconds": 343
4602
  },
4603
  {
4604
  "task": "projection-volume",
 
4616
  "packages": [],
4617
  "grade_timeout_sec": 10915,
4618
  "oracle_result": "accepted",
4619
+ "oracle_grade_seconds": 182
4620
  },
4621
  {
4622
  "task": "qac-parity",
 
4634
  "packages": [],
4635
  "grade_timeout_sec": 10937,
4636
  "oracle_result": "accepted",
4637
+ "oracle_grade_seconds": 171
4638
  },
4639
  {
4640
  "task": "quadric-bundles",
 
4652
  "packages": [],
4653
  "grade_timeout_sec": 11343,
4654
  "oracle_result": "accepted",
4655
+ "oracle_grade_seconds": 408
4656
  },
4657
  {
4658
  "task": "quantitative-van-der-waerden",
 
4670
  "packages": [],
4671
  "grade_timeout_sec": 11378,
4672
  "oracle_result": "accepted",
4673
+ "oracle_grade_seconds": 170
4674
  },
4675
  {
4676
  "task": "quintic-lienard",
 
4688
  "packages": [],
4689
  "grade_timeout_sec": 11534,
4690
  "oracle_result": "accepted",
4691
+ "oracle_grade_seconds": 829
4692
  },
4693
  {
4694
  "task": "radial-density-interval",
 
4706
  "packages": [],
4707
  "grade_timeout_sec": 11428,
4708
  "oracle_result": "accepted",
4709
+ "oracle_grade_seconds": 678
4710
  },
4711
  {
4712
  "task": "radial-transition",
 
4724
  "packages": [],
4725
  "grade_timeout_sec": 11423,
4726
  "oracle_result": "accepted",
4727
+ "oracle_grade_seconds": 888
4728
+ },
4729
+ {
4730
+ "task": "ramsey-five",
4731
+ "challenge": "RamseyFive",
4732
+ "family": "170",
4733
+ "family_title": "Sharp logarithmic exponents for off-diagonal Ramsey numbers",
4734
+ "subject": "Combinatorics",
4735
+ "theorems": [
4736
+ "OAI.SharpRamseyFive.main"
4737
+ ],
4738
+ "definition_holes": [],
4739
+ "fixed_definitions": [],
4740
+ "n_modules": 482,
4741
+ "bytes": 3634776,
4742
+ "packages": [],
4743
+ "grade_timeout_sec": 14071,
4744
+ "oracle_result": "accepted",
4745
+ "oracle_grade_seconds": 2034
4746
  },
4747
  {
4748
  "task": "randomized-mean-payoff",
 
4760
  "packages": [],
4761
  "grade_timeout_sec": 11970,
4762
  "oracle_result": "accepted",
4763
+ "oracle_grade_seconds": 809
4764
  },
4765
  {
4766
  "task": "rational-hitting",
 
4778
  "packages": [],
4779
  "grade_timeout_sec": 11430,
4780
  "oracle_result": "accepted",
4781
+ "oracle_grade_seconds": 472
4782
  },
4783
  {
4784
  "task": "real-l1-renorming",
 
4796
  "packages": [],
4797
  "grade_timeout_sec": 10961,
4798
  "oracle_result": "accepted",
4799
+ "oracle_grade_seconds": 172
4800
  },
4801
  {
4802
  "task": "recursive-potentials",
 
4814
  "packages": [],
4815
  "grade_timeout_sec": 11201,
4816
  "oracle_result": "accepted",
4817
+ "oracle_grade_seconds": 218
4818
  },
4819
  {
4820
  "task": "reflexive-fixed-points",
 
4832
  "packages": [],
4833
  "grade_timeout_sec": 11232,
4834
  "oracle_result": "accepted",
4835
+ "oracle_grade_seconds": 221
4836
  },
4837
  {
4838
  "task": "regular-parity",
 
4850
  "packages": [],
4851
  "grade_timeout_sec": 10938,
4852
  "oracle_result": "accepted",
4853
+ "oracle_grade_seconds": 185
4854
  },
4855
  {
4856
  "task": "relative-generation",
 
4868
  "packages": [],
4869
  "grade_timeout_sec": 12350,
4870
  "oracle_result": "accepted",
4871
+ "oracle_grade_seconds": 2953
4872
  },
4873
  {
4874
  "task": "rokhlin",
 
4891
  "packages": [],
4892
  "grade_timeout_sec": 12066,
4893
  "oracle_result": "accepted",
4894
+ "oracle_grade_seconds": 627
4895
  },
4896
  {
4897
  "task": "ruled-covering",
 
4909
  "packages": [],
4910
  "grade_timeout_sec": 10976,
4911
  "oracle_result": "accepted",
4912
+ "oracle_grade_seconds": 265
4913
  },
4914
  {
4915
  "task": "ryser-covering",
 
4927
  "packages": [],
4928
  "grade_timeout_sec": 11816,
4929
  "oracle_result": "accepted",
4930
+ "oracle_grade_seconds": 355
4931
  },
4932
  {
4933
  "task": "ryser-odd-extensions",
 
4945
  "packages": [],
4946
  "grade_timeout_sec": 11826,
4947
  "oracle_result": "accepted",
4948
+ "oracle_grade_seconds": 205
4949
+ },
4950
+ {
4951
+ "task": "sat-computability",
4952
+ "challenge": "SATComputability",
4953
+ "family": "235",
4954
+ "family_title": "Random-SAT thresholds, sharp variance and computability",
4955
+ "subject": "Probability and statistical mechanics",
4956
+ "theorems": [
4957
+ "OAI.FixedClauseThreshold.Computability.main"
4958
+ ],
4959
+ "definition_holes": [],
4960
+ "fixed_definitions": [],
4961
+ "n_modules": 592,
4962
+ "bytes": 4186949,
4963
+ "packages": [],
4964
+ "grade_timeout_sec": 14568,
4965
+ "oracle_result": "accepted",
4966
+ "oracle_grade_seconds": 1515
4967
  },
4968
  {
4969
  "task": "sat-sharpness",
 
4981
  "packages": [],
4982
  "grade_timeout_sec": 11013,
4983
  "oracle_result": "accepted",
4984
+ "oracle_grade_seconds": 167
4985
  },
4986
  {
4987
  "task": "sat-variance",
 
4999
  "packages": [],
5000
  "grade_timeout_sec": 11069,
5001
  "oracle_result": "accepted",
5002
+ "oracle_grade_seconds": 245
5003
+ },
5004
+ {
5005
+ "task": "sk-barriers",
5006
+ "challenge": "SKBarriers",
5007
+ "family": "227",
5008
+ "family_title": "The dynamical phase transition in the Sherrington\u2013Kirkpatrick model",
5009
+ "subject": "Probability and statistical mechanics",
5010
+ "theorems": [
5011
+ "OAI.SK.main"
5012
+ ],
5013
+ "definition_holes": [],
5014
+ "fixed_definitions": [],
5015
+ "n_modules": 574,
5016
+ "bytes": 2610000,
5017
+ "packages": [],
5018
+ "grade_timeout_sec": 13149,
5019
+ "oracle_result": "accepted",
5020
+ "oracle_grade_seconds": 1847
5021
  },
5022
  {
5023
  "task": "sk-full-support",
 
5035
  "packages": [],
5036
  "grade_timeout_sec": 11690,
5037
  "oracle_result": "accepted",
5038
+ "oracle_grade_seconds": 656
5039
+ },
5040
+ {
5041
+ "task": "sk-high-temperature",
5042
+ "challenge": "SKHighTemperature",
5043
+ "family": "227",
5044
+ "family_title": "The dynamical phase transition in the Sherrington\u2013Kirkpatrick model",
5045
+ "subject": "Probability and statistical mechanics",
5046
+ "theorems": [
5047
+ "OAI.SKGap.sk_main"
5048
+ ],
5049
+ "definition_holes": [],
5050
+ "fixed_definitions": [],
5051
+ "n_modules": 556,
5052
+ "bytes": 4702297,
5053
+ "packages": [],
5054
+ "grade_timeout_sec": 15032,
5055
+ "oracle_result": "accepted",
5056
+ "oracle_grade_seconds": 2268
5057
+ },
5058
+ {
5059
+ "task": "sk-ratio",
5060
+ "challenge": "SKRatio",
5061
+ "family": "227",
5062
+ "family_title": "The dynamical phase transition in the Sherrington\u2013Kirkpatrick model",
5063
+ "subject": "Probability and statistical mechanics",
5064
+ "theorems": [
5065
+ "OAI.SKRatio.ratio_cutoff"
5066
+ ],
5067
+ "definition_holes": [],
5068
+ "fixed_definitions": [],
5069
+ "n_modules": 260,
5070
+ "bytes": 2087158,
5071
+ "packages": [],
5072
+ "grade_timeout_sec": 12678,
5073
+ "oracle_result": "accepted",
5074
+ "oracle_grade_seconds": 7778
5075
  },
5076
  {
5077
  "task": "sk-value",
 
5089
  "packages": [],
5090
  "grade_timeout_sec": 12139,
5091
  "oracle_result": "accepted",
5092
+ "oracle_grade_seconds": 650
5093
  },
5094
  {
5095
  "task": "sle-lower-positivity",
 
5107
  "packages": [],
5108
  "grade_timeout_sec": 12837,
5109
  "oracle_result": "accepted",
5110
+ "oracle_grade_seconds": 527
5111
  },
5112
  {
5113
  "task": "saxl",
 
5125
  "packages": [],
5126
  "grade_timeout_sec": 11089,
5127
  "oracle_result": "accepted",
5128
+ "oracle_grade_seconds": 504
5129
  },
5130
  {
5131
  "task": "second-kahn-kalai",
 
5143
  "packages": [],
5144
  "grade_timeout_sec": 11059,
5145
  "oracle_result": "accepted",
5146
+ "oracle_grade_seconds": 76
5147
  },
5148
  {
5149
  "task": "self-similar",
 
5161
  "packages": [],
5162
  "grade_timeout_sec": 11271,
5163
  "oracle_result": "accepted",
5164
+ "oracle_grade_seconds": 382
5165
  },
5166
  {
5167
  "task": "self-similar-corollaries",
 
5180
  "packages": [],
5181
  "grade_timeout_sec": 11303,
5182
  "oracle_result": "accepted",
5183
+ "oracle_grade_seconds": 399
5184
  },
5185
  {
5186
  "task": "sensitivity-separation",
 
5198
  "packages": [],
5199
  "grade_timeout_sec": 10943,
5200
  "oracle_result": "accepted",
5201
+ "oracle_grade_seconds": 133
5202
  },
5203
  {
5204
  "task": "separable-quotient-negative",
 
5216
  "packages": [],
5217
  "grade_timeout_sec": 11402,
5218
  "oracle_result": "accepted",
5219
+ "oracle_grade_seconds": 545
5220
  },
5221
  {
5222
  "task": "seymour-second-neighborhood",
 
5234
  "packages": [],
5235
  "grade_timeout_sec": 10971,
5236
  "oracle_result": "accepted",
5237
+ "oracle_grade_seconds": 59
5238
  },
5239
  {
5240
  "task": "sharp-cat0-filling",
 
5252
  "packages": [],
5253
  "grade_timeout_sec": 12896,
5254
  "oracle_result": "accepted",
5255
+ "oracle_grade_seconds": 1023
5256
+ },
5257
+ {
5258
+ "task": "sharp-log-ramsey",
5259
+ "challenge": "SharpLogRamsey",
5260
+ "family": "170",
5261
+ "family_title": "Sharp logarithmic exponents for off-diagonal Ramsey numbers",
5262
+ "subject": "Combinatorics",
5263
+ "theorems": [
5264
+ "OAI.SharpLogRamsey.main"
5265
+ ],
5266
+ "definition_holes": [],
5267
+ "fixed_definitions": [],
5268
+ "n_modules": 408,
5269
+ "bytes": 2902698,
5270
+ "packages": [],
5271
+ "grade_timeout_sec": 13412,
5272
+ "oracle_result": "accepted",
5273
+ "oracle_grade_seconds": 1307
5274
  },
5275
  {
5276
  "task": "sharp-threshold",
 
5288
  "packages": [],
5289
  "grade_timeout_sec": 11082,
5290
  "oracle_result": "accepted",
5291
+ "oracle_grade_seconds": 221
5292
  },
5293
  {
5294
  "task": "short-egyptian-fractions",
 
5306
  "packages": [],
5307
  "grade_timeout_sec": 11145,
5308
  "oracle_result": "accepted",
5309
+ "oracle_grade_seconds": 357
5310
  },
5311
  {
5312
  "task": "sidorenko-counterexample",
 
5324
  "packages": [],
5325
  "grade_timeout_sec": 11895,
5326
  "oracle_result": "accepted",
5327
+ "oracle_grade_seconds": 837
5328
  },
5329
  {
5330
  "task": "signed-finite-band",
 
5342
  "packages": [],
5343
  "grade_timeout_sec": 11557,
5344
  "oracle_result": "accepted",
5345
+ "oracle_grade_seconds": 376
5346
  },
5347
  {
5348
  "task": "signed-sweep-moment",
 
5360
  "packages": [],
5361
  "grade_timeout_sec": 11878,
5362
  "oracle_result": "accepted",
5363
+ "oracle_grade_seconds": 796
5364
+ },
5365
+ {
5366
+ "task": "simple-amenable",
5367
+ "challenge": "SimpleAmenable",
5368
+ "family": "253",
5369
+ "family_title": "An infinite finitely presented simple amenable group",
5370
+ "subject": "Group theory",
5371
+ "theorems": [
5372
+ "OAI.SimpleAmenable.main"
5373
+ ],
5374
+ "definition_holes": [],
5375
+ "fixed_definitions": [],
5376
+ "n_modules": 550,
5377
+ "bytes": 3943717,
5378
+ "packages": [],
5379
+ "grade_timeout_sec": 14349,
5380
+ "oracle_result": "accepted",
5381
+ "oracle_grade_seconds": 1969
5382
+ },
5383
+ {
5384
+ "task": "simple-overgroups",
5385
+ "challenge": "SimpleOvergroups",
5386
+ "family": "250",
5387
+ "family_title": "The Boone\u2013Higman conjecture and higher finiteness",
5388
+ "subject": "Group theory",
5389
+ "theorems": [
5390
+ "OAI.SimpleFInftyOvergroups.main"
5391
+ ],
5392
+ "definition_holes": [],
5393
+ "fixed_definitions": [],
5394
+ "n_modules": 238,
5395
+ "bytes": 4013491,
5396
+ "packages": [],
5397
+ "grade_timeout_sec": 14412,
5398
+ "oracle_result": "accepted",
5399
+ "oracle_grade_seconds": 1221
5400
  },
5401
  {
5402
  "task": "single-fold",
 
5414
  "packages": [],
5415
  "grade_timeout_sec": 11103,
5416
  "oracle_result": "accepted",
5417
+ "oracle_grade_seconds": 344
5418
  },
5419
  {
5420
  "task": "single-lattice-covering",
 
5432
  "packages": [],
5433
  "grade_timeout_sec": 11831,
5434
  "oracle_result": "accepted",
5435
+ "oracle_grade_seconds": 519
5436
  },
5437
  {
5438
  "task": "singleton-loop-matching",
 
5450
  "packages": [],
5451
  "grade_timeout_sec": 11447,
5452
  "oracle_result": "accepted",
5453
+ "oracle_grade_seconds": 576
5454
  },
5455
  {
5456
  "task": "smooth-initial-form",
 
5468
  "packages": [],
5469
  "grade_timeout_sec": 11061,
5470
  "oracle_result": "accepted",
5471
+ "oracle_grade_seconds": 334
5472
  },
5473
  {
5474
  "task": "smooth-obstruction",
 
5486
  "packages": [],
5487
  "grade_timeout_sec": 12186,
5488
  "oracle_result": "accepted",
5489
+ "oracle_grade_seconds": 472
5490
+ },
5491
+ {
5492
+ "task": "smooth-yau",
5493
+ "challenge": "SmoothYau",
5494
+ "family": "350",
5495
+ "family_title": "Yau's nodal conjecture: surfaces and counterexamples",
5496
+ "subject": "Differential geometry",
5497
+ "theorems": [
5498
+ "OAI.YauCounterexamples.sphere_three",
5499
+ "OAI.YauCounterexamples.sphere_two_torus_two"
5500
+ ],
5501
+ "definition_holes": [],
5502
+ "fixed_definitions": [],
5503
+ "n_modules": 436,
5504
+ "bytes": 4544098,
5505
+ "packages": [],
5506
+ "grade_timeout_sec": 14889,
5507
+ "oracle_result": "accepted",
5508
+ "oracle_grade_seconds": 1965
5509
+ },
5510
+ {
5511
+ "task": "snaky-conditional",
5512
+ "challenge": "SnakyConditional",
5513
+ "family": "187",
5514
+ "family_title": "Snaky in 21 Maker moves",
5515
+ "subject": "Combinatorics",
5516
+ "theorems": [
5517
+ "OAI.SnakyConditional.snaky_winning_strategy_with_legal_states"
5518
+ ],
5519
+ "definition_holes": [],
5520
+ "fixed_definitions": [],
5521
+ "n_modules": 209,
5522
+ "bytes": 7279627,
5523
+ "packages": [],
5524
+ "grade_timeout_sec": 17351,
5525
+ "oracle_result": "accepted",
5526
+ "oracle_grade_seconds": 3069
5527
  },
5528
  {
5529
  "task": "soft-channel204",
 
5541
  "packages": [],
5542
  "grade_timeout_sec": 11246,
5543
  "oracle_result": "accepted",
5544
+ "oracle_grade_seconds": 323
5545
  },
5546
  {
5547
  "task": "solenoidal-sheet-programs",
 
5559
  "packages": [],
5560
  "grade_timeout_sec": 11065,
5561
  "oracle_result": "accepted",
5562
+ "oracle_grade_seconds": 244
5563
  },
5564
  {
5565
  "task": "spherical-field",
 
5577
  "packages": [],
5578
  "grade_timeout_sec": 11928,
5579
  "oracle_result": "accepted",
5580
+ "oracle_grade_seconds": 698
5581
  },
5582
  {
5583
  "task": "split-tangent-integrability",
 
5595
  "packages": [],
5596
  "grade_timeout_sec": 11524,
5597
  "oracle_result": "accepted",
5598
+ "oracle_grade_seconds": 360
5599
  },
5600
  {
5601
  "task": "square-difference",
 
5613
  "packages": [],
5614
  "grade_timeout_sec": 11792,
5615
  "oracle_result": "accepted",
5616
+ "oracle_grade_seconds": 524
5617
  },
5618
  {
5619
  "task": "square-root-degree",
 
5631
  "packages": [],
5632
  "grade_timeout_sec": 10942,
5633
  "oracle_result": "accepted",
5634
+ "oracle_grade_seconds": 207
5635
+ },
5636
+ {
5637
+ "task": "standard-map-components",
5638
+ "challenge": "StandardMapComponents",
5639
+ "family": "146",
5640
+ "family_title": "Sinai's positive-entropy conjecture for the standard map",
5641
+ "subject": "Dynamical systems and ergodic theory",
5642
+ "theorems": [
5643
+ "OAI.StandardMapEntropy.main_components"
5644
+ ],
5645
+ "definition_holes": [],
5646
+ "fixed_definitions": [],
5647
+ "n_modules": 274,
5648
+ "bytes": 2886579,
5649
+ "packages": [],
5650
+ "grade_timeout_sec": 13397,
5651
+ "oracle_result": "accepted",
5652
+ "oracle_grade_seconds": 1312
5653
  },
5654
  {
5655
  "task": "standard-map-entropy",
 
5667
  "packages": [],
5668
  "grade_timeout_sec": 11988,
5669
  "oracle_result": "accepted",
5670
+ "oracle_grade_seconds": 1510
5671
  },
5672
  {
5673
  "task": "standard-map-lyapunov",
 
5685
  "packages": [],
5686
  "grade_timeout_sec": 12045,
5687
  "oracle_result": "accepted",
5688
+ "oracle_grade_seconds": 1019
5689
  },
5690
  {
5691
  "task": "steinitz-bergstrom",
 
5703
  "packages": [],
5704
  "grade_timeout_sec": 11444,
5705
  "oracle_result": "accepted",
5706
+ "oracle_grade_seconds": 440
5707
  },
5708
  {
5709
  "task": "strict-means",
 
5721
  "packages": [],
5722
  "grade_timeout_sec": 11446,
5723
  "oracle_result": "accepted",
5724
+ "oracle_grade_seconds": 845
5725
+ },
5726
+ {
5727
+ "task": "strong-kadison-kastler",
5728
+ "challenge": "StrongKadisonKastler",
5729
+ "family": "289",
5730
+ "family_title": "The strong Kadison\u2013Kastler conjecture",
5731
+ "subject": "Operator algebras",
5732
+ "theorems": [
5733
+ "OAI.KadisonKastler.universal_strong_stability"
5734
+ ],
5735
+ "definition_holes": [],
5736
+ "fixed_definitions": [],
5737
+ "n_modules": 2652,
5738
+ "bytes": 14567629,
5739
+ "packages": [],
5740
+ "grade_timeout_sec": 21600,
5741
+ "oracle_result": "accepted",
5742
+ "oracle_grade_seconds": 10799
5743
  },
5744
  {
5745
  "task": "strong-thin-tree",
 
5757
  "packages": [],
5758
  "grade_timeout_sec": 11497,
5759
  "oracle_result": "accepted",
5760
+ "oracle_grade_seconds": 487
5761
  },
5762
  {
5763
  "task": "strongly-rayleigh-dpp",
 
5780
  "packages": [],
5781
  "grade_timeout_sec": 11261,
5782
  "oracle_result": "accepted",
5783
+ "oracle_grade_seconds": 364
5784
  },
5785
  {
5786
  "task": "structural-crouzeix",
 
5798
  "packages": [],
5799
  "grade_timeout_sec": 11428,
5800
  "oracle_result": "accepted",
5801
+ "oracle_grade_seconds": 546
5802
  },
5803
  {
5804
  "task": "subpolynomial-lp",
 
5816
  "packages": [],
5817
  "grade_timeout_sec": 11132,
5818
  "oracle_result": "accepted",
5819
+ "oracle_grade_seconds": 381
5820
  },
5821
  {
5822
  "task": "subsphere-current",
 
5834
  "packages": [],
5835
  "grade_timeout_sec": 11229,
5836
  "oracle_result": "accepted",
5837
+ "oracle_grade_seconds": 258
5838
  },
5839
  {
5840
  "task": "superstring",
 
5852
  "packages": [],
5853
  "grade_timeout_sec": 11646,
5854
  "oracle_result": "accepted",
5855
+ "oracle_grade_seconds": 297
5856
  },
5857
  {
5858
  "task": "switch-chain",
 
5872
  "packages": [],
5873
  "grade_timeout_sec": 11629,
5874
  "oracle_result": "accepted",
5875
+ "oracle_grade_seconds": 413
5876
  },
5877
  {
5878
  "task": "symmetric-domains",
 
5890
  "packages": [],
5891
  "grade_timeout_sec": 12703,
5892
  "oracle_result": "accepted",
5893
+ "oracle_grade_seconds": 1240
5894
  },
5895
  {
5896
  "task": "symmetric-mahler-equality",
 
5908
  "packages": [],
5909
  "grade_timeout_sec": 11997,
5910
  "oracle_result": "accepted",
5911
+ "oracle_grade_seconds": 662
5912
  },
5913
  {
5914
  "task": "symmetric-polar",
 
5926
  "packages": [],
5927
  "grade_timeout_sec": 11289,
5928
  "oracle_result": "accepted",
5929
+ "oracle_grade_seconds": 686
5930
  },
5931
  {
5932
  "task": "tachikawa",
 
5944
  "packages": [],
5945
  "grade_timeout_sec": 11938,
5946
  "oracle_result": "accepted",
5947
+ "oracle_grade_seconds": 974
5948
  },
5949
  {
5950
  "task": "talagrand-discrete-convexity",
 
5962
  "packages": [],
5963
  "grade_timeout_sec": 10956,
5964
  "oracle_result": "accepted",
5965
+ "oracle_grade_seconds": 72
5966
  },
5967
  {
5968
  "task": "talagrand-expectation-threshold",
 
5980
  "packages": [],
5981
  "grade_timeout_sec": 10973,
5982
  "oracle_result": "accepted",
5983
+ "oracle_grade_seconds": 64
5984
  },
5985
  {
5986
  "task": "thomason-model-structures",
 
5999
  "packages": [],
6000
  "grade_timeout_sec": 13387,
6001
  "oracle_result": "accepted",
6002
+ "oracle_grade_seconds": 599
6003
  },
6004
  {
6005
  "task": "thompson-nonamenability",
 
6017
  "packages": [],
6018
  "grade_timeout_sec": 11135,
6019
  "oracle_result": "accepted",
6020
+ "oracle_grade_seconds": 141
6021
  },
6022
  {
6023
  "task": "thorp-first-reciprocal",
 
6035
  "packages": [],
6036
  "grade_timeout_sec": 11130,
6037
  "oracle_result": "accepted",
6038
+ "oracle_grade_seconds": 344
6039
  },
6040
  {
6041
  "task": "thorp-remaining",
 
6053
  "packages": [],
6054
  "grade_timeout_sec": 12040,
6055
  "oracle_result": "accepted",
6056
+ "oracle_grade_seconds": 472
6057
  },
6058
  {
6059
  "task": "thorp-routing",
 
6071
  "packages": [],
6072
  "grade_timeout_sec": 16723,
6073
  "oracle_result": "accepted",
6074
+ "oracle_grade_seconds": 1031
6075
  },
6076
  {
6077
  "task": "thorp-weighted-compatibility",
 
6089
  "packages": [],
6090
  "grade_timeout_sec": 10921,
6091
  "oracle_result": "accepted",
6092
+ "oracle_grade_seconds": 171
6093
  },
6094
  {
6095
  "task": "three-machine",
 
6107
  "packages": [],
6108
  "grade_timeout_sec": 11566,
6109
  "oracle_result": "accepted",
6110
+ "oracle_grade_seconds": 338
6111
  },
6112
  {
6113
  "task": "three-state-supercritical",
 
6126
  "packages": [],
6127
  "grade_timeout_sec": 11144,
6128
  "oracle_result": "accepted",
6129
+ "oracle_grade_seconds": 180
6130
  },
6131
  {
6132
  "task": "three-state-tree-clauses",
 
6145
  "packages": [],
6146
  "grade_timeout_sec": 11145,
6147
  "oracle_result": "accepted",
6148
+ "oracle_grade_seconds": 328
6149
  },
6150
  {
6151
  "task": "three-torus",
 
6163
  "packages": [],
6164
  "grade_timeout_sec": 12348,
6165
  "oracle_result": "accepted",
6166
+ "oracle_grade_seconds": 645
6167
  },
6168
  {
6169
  "task": "tingley-sphere-isometry",
 
6181
  "packages": [],
6182
  "grade_timeout_sec": 11144,
6183
  "oracle_result": "accepted",
6184
+ "oracle_grade_seconds": 94
6185
  },
6186
  {
6187
  "task": "torsion-free-hyperbolic",
 
6199
  "packages": [],
6200
  "grade_timeout_sec": 11233,
6201
  "oracle_result": "accepted",
6202
+ "oracle_grade_seconds": 216
6203
  },
6204
  {
6205
  "task": "torsion-free-zero-divisors",
 
6217
  "packages": [],
6218
  "grade_timeout_sec": 12657,
6219
  "oracle_result": "accepted",
6220
+ "oracle_grade_seconds": 560
6221
  },
6222
  {
6223
  "task": "trace-reconstruction",
 
6237
  "packages": [],
6238
  "grade_timeout_sec": 12269,
6239
  "oracle_result": "accepted",
6240
+ "oracle_grade_seconds": 316
6241
  },
6242
  {
6243
  "task": "tree-edit",
 
6255
  "packages": [],
6256
  "grade_timeout_sec": 11018,
6257
  "oracle_result": "accepted",
6258
+ "oracle_grade_seconds": 167
6259
  },
6260
  {
6261
  "task": "triangle-face",
 
6273
  "packages": [],
6274
  "grade_timeout_sec": 11093,
6275
  "oracle_result": "accepted",
6276
+ "oracle_grade_seconds": 174
6277
  },
6278
  {
6279
  "task": "triangle-removal",
 
6291
  "packages": [],
6292
  "grade_timeout_sec": 12122,
6293
  "oracle_result": "accepted",
6294
+ "oracle_grade_seconds": 986
6295
  },
6296
  {
6297
  "task": "triangular-covering",
 
6309
  "packages": [],
6310
  "grade_timeout_sec": 10886,
6311
  "oracle_result": "accepted",
6312
+ "oracle_grade_seconds": 140
6313
  },
6314
  {
6315
  "task": "triangular-energy",
 
6363
  "packages": [],
6364
  "grade_timeout_sec": 11249,
6365
  "oracle_result": "accepted",
6366
+ "oracle_grade_seconds": 621
6367
  },
6368
  {
6369
  "task": "truffet-counterexample",
 
6381
  "packages": [],
6382
  "grade_timeout_sec": 10809,
6383
  "oracle_result": "accepted",
6384
+ "oracle_grade_seconds": 46
6385
  },
6386
  {
6387
  "task": "two-way-complementation",
 
6399
  "packages": [],
6400
  "grade_timeout_sec": 10973,
6401
  "oracle_result": "accepted",
6402
+ "oracle_grade_seconds": 106
6403
  },
6404
  {
6405
  "task": "two-way-determinization",
 
6417
  "packages": [],
6418
  "grade_timeout_sec": 11140,
6419
  "oracle_result": "accepted",
6420
+ "oracle_grade_seconds": 137
6421
  },
6422
  {
6423
  "task": "type-system-normalization",
 
6435
  "packages": [],
6436
  "grade_timeout_sec": 12221,
6437
  "oracle_result": "accepted",
6438
+ "oracle_grade_seconds": 187
6439
  },
6440
  {
6441
  "task": "uniform-commutator",
 
6471
  "packages": [],
6472
  "grade_timeout_sec": 11462,
6473
  "oracle_result": "accepted",
6474
+ "oracle_grade_seconds": 534
6475
  },
6476
  {
6477
  "task": "uniform-k-server",
 
6507
  "packages": [],
6508
  "grade_timeout_sec": 11239,
6509
  "oracle_result": "accepted",
6510
+ "oracle_grade_seconds": 392
6511
  },
6512
  {
6513
  "task": "unique-games-theorem",
 
6543
  "packages": [],
6544
  "grade_timeout_sec": 11595,
6545
  "oracle_result": "accepted",
6546
+ "oracle_grade_seconds": 502
6547
  },
6548
  {
6549
  "task": "variable-wl",
 
6561
  "packages": [],
6562
  "grade_timeout_sec": 11864,
6563
  "oracle_result": "accepted",
6564
+ "oracle_grade_seconds": 456
6565
  },
6566
  {
6567
  "task": "velocity-hemisphere",
 
6597
  "packages": [],
6598
  "grade_timeout_sec": 12071,
6599
  "oracle_result": "accepted",
6600
+ "oracle_grade_seconds": 725
6601
  },
6602
  {
6603
  "task": "vertex-cover",
 
6652
  "packages": [],
6653
  "grade_timeout_sec": 11488,
6654
  "oracle_result": "accepted",
6655
+ "oracle_grade_seconds": 358
6656
  },
6657
  {
6658
  "task": "weak-hessian",
 
6706
  "packages": [],
6707
  "grade_timeout_sec": 11533,
6708
  "oracle_result": "accepted",
6709
+ "oracle_grade_seconds": 329
6710
  },
6711
  {
6712
  "task": "weisfeiler-leman",
 
6724
  "packages": [],
6725
  "grade_timeout_sec": 11626,
6726
  "oracle_result": "accepted",
6727
+ "oracle_grade_seconds": 301
6728
  },
6729
  {
6730
  "task": "witnessed-choice",
 
6742
  "packages": [],
6743
  "grade_timeout_sec": 11806,
6744
  "oracle_result": "accepted",
6745
+ "oracle_grade_seconds": 485
6746
  },
6747
  {
6748
  "task": "yau-counterexample",
 
6776
  "family": "347",
6777
  "reason": "memory"
6778
  },
 
 
 
 
 
 
6779
  {
6780
  "task": "catalan",
6781
  "challenge": "Catalan",
 
6792
  "task": "continuum-coulomb-hardness",
6793
  "challenge": "ContinuumCoulombHardness",
6794
  "family": "275",
6795
+ "reason": "memory"
6796
  },
6797
  {
6798
  "task": "cycle-clique-ramsey",
6799
  "challenge": "CycleCliqueRamsey",
6800
  "family": "189",
6801
+ "reason": "memory"
6802
  },
6803
  {
6804
  "task": "dirichlet-seven-eighths",
 
6822
  "task": "erdos-reciprocal",
6823
  "challenge": "ErdosReciprocal",
6824
  "family": "159",
6825
+ "reason": "not completed"
6826
  },
6827
  {
6828
  "task": "hecke-seven-eighths",
 
6830
  "family": "003",
6831
  "reason": "missing-package"
6832
  },
 
 
 
 
 
 
6833
  {
6834
  "task": "jacobsthal",
6835
  "challenge": "Jacobsthal",
 
6852
  "task": "koebe-circle-domains",
6853
  "challenge": "KoebeCircleDomains",
6854
  "family": "071",
6855
+ "reason": "missing-package"
6856
  },
6857
  {
6858
  "task": "mub-six",
6859
  "challenge": "MUBSix",
6860
  "family": "266",
6861
+ "reason": "not completed"
6862
  },
6863
  {
6864
  "task": "matrix-multiplication",
 
6888
  "task": "ostmann-complete",
6889
  "challenge": "OstmannComplete",
6890
  "family": "013",
6891
+ "reason": "missing-package"
6892
  },
6893
  {
6894
  "task": "ostmann-primes",
 
6900
  "task": "patterson-first-moment",
6901
  "challenge": "PattersonFirstMoment",
6902
  "family": "023",
6903
+ "reason": "missing-package"
6904
  },
6905
  {
6906
  "task": "planar-packing",
6907
  "challenge": "PlanarPacking",
6908
  "family": "090",
6909
+ "reason": "memory"
6910
  },
6911
  {
6912
  "task": "polycyclic-recognition",
6913
  "challenge": "PolycyclicRecognition",
6914
  "family": "255",
6915
+ "reason": "missing-package"
6916
  },
6917
  {
6918
  "task": "quasi-riemann-hypothesis",
 
6920
  "family": "003",
6921
  "reason": "missing-package"
6922
  },
 
 
 
 
 
 
6923
  {
6924
  "task": "riesz-quantitative",
6925
  "challenge": "RieszQuantitative",
6926
  "family": "081",
6927
  "reason": "missing-package"
6928
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6929
  {
6930
  "task": "siegel-zeros",
6931
  "challenge": "SiegelZeros",
6932
  "family": "003",
6933
  "reason": "missing-package"
6934
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6935
  {
6936
  "task": "snaky-certificate",
6937
  "challenge": "SnakyCertificate",
6938
  "family": "187",
6939
  "reason": "memory"
6940
  },
 
 
 
 
 
 
6941
  {
6942
  "task": "snaky-twenty-one",
6943
  "challenge": "SnakyTwentyOne",
6944
  "family": "187",
6945
+ "reason": "memory"
6946
  },
6947
  {
6948
  "task": "spin-angle",
 
6950
  "family": "238",
6951
  "reason": "definition-mismatch"
6952
  },
 
 
 
 
 
 
 
 
 
 
 
 
6953
  {
6954
  "task": "surface-immersion",
6955
  "challenge": "SurfaceImmersion",
6956
  "family": "333",
6957
+ "reason": "missing-package"
6958
  },
6959
  {
6960
  "task": "taming-compatibility",
6961
  "challenge": "TamingCompatibility",
6962
  "family": "342",
6963
+ "reason": "memory"
6964
  },
6965
  {
6966
  "task": "totient-asymptotic",
manifest.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3afe9e43520364a939417dd85aeec87f892c6c81fe54c6f9d0bb67650c4021d0
3
- size 44329
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e4b47df11e93d77c06b8899337e1a0043f1193c9c5b18b19f0eecc9ee3acf94
3
+ size 45681
registry.json CHANGED
@@ -2,7 +2,7 @@
2
  {
3
  "name": "openai-math",
4
  "version": "1.0",
5
- "description": "355 Lean 4 theorem-proving tasks from openai/math, graded by Comparator in a separate sandbox.",
6
  "tasks": [
7
  {
8
  "name": "abhyankar-sathaye",
@@ -32,6 +32,10 @@
32
  "name": "asymptotically-minimal-littlewood",
33
  "path": "tasks/asymptotically-minimal-littlewood"
34
  },
 
 
 
 
35
  {
36
  "name": "auslander-reiten",
37
  "path": "tasks/auslander-reiten"
@@ -664,6 +668,10 @@
664
  "name": "interpolated-factors",
665
  "path": "tasks/interpolated-factors"
666
  },
 
 
 
 
667
  {
668
  "name": "irrational-rotation",
669
  "path": "tasks/irrational-rotation"
@@ -1024,6 +1032,10 @@
1024
  "name": "radial-transition",
1025
  "path": "tasks/radial-transition"
1026
  },
 
 
 
 
1027
  {
1028
  "name": "randomized-mean-payoff",
1029
  "path": "tasks/randomized-mean-payoff"
@@ -1068,6 +1080,10 @@
1068
  "name": "ryser-odd-extensions",
1069
  "path": "tasks/ryser-odd-extensions"
1070
  },
 
 
 
 
1071
  {
1072
  "name": "sat-sharpness",
1073
  "path": "tasks/sat-sharpness"
@@ -1076,10 +1092,22 @@
1076
  "name": "sat-variance",
1077
  "path": "tasks/sat-variance"
1078
  },
 
 
 
 
1079
  {
1080
  "name": "sk-full-support",
1081
  "path": "tasks/sk-full-support"
1082
  },
 
 
 
 
 
 
 
 
1083
  {
1084
  "name": "sk-value",
1085
  "path": "tasks/sk-value"
@@ -1120,6 +1148,10 @@
1120
  "name": "sharp-cat0-filling",
1121
  "path": "tasks/sharp-cat0-filling"
1122
  },
 
 
 
 
1123
  {
1124
  "name": "sharp-threshold",
1125
  "path": "tasks/sharp-threshold"
@@ -1140,6 +1172,14 @@
1140
  "name": "signed-sweep-moment",
1141
  "path": "tasks/signed-sweep-moment"
1142
  },
 
 
 
 
 
 
 
 
1143
  {
1144
  "name": "single-fold",
1145
  "path": "tasks/single-fold"
@@ -1160,6 +1200,14 @@
1160
  "name": "smooth-obstruction",
1161
  "path": "tasks/smooth-obstruction"
1162
  },
 
 
 
 
 
 
 
 
1163
  {
1164
  "name": "soft-channel204",
1165
  "path": "tasks/soft-channel204"
@@ -1184,6 +1232,10 @@
1184
  "name": "square-root-degree",
1185
  "path": "tasks/square-root-degree"
1186
  },
 
 
 
 
1187
  {
1188
  "name": "standard-map-entropy",
1189
  "path": "tasks/standard-map-entropy"
@@ -1200,6 +1252,10 @@
1200
  "name": "strict-means",
1201
  "path": "tasks/strict-means"
1202
  },
 
 
 
 
1203
  {
1204
  "name": "strong-thin-tree",
1205
  "path": "tasks/strong-thin-tree"
 
2
  {
3
  "name": "openai-math",
4
  "version": "1.0",
5
+ "description": "369 Lean 4 theorem-proving tasks from openai/math, graded by Comparator in a separate sandbox.",
6
  "tasks": [
7
  {
8
  "name": "abhyankar-sathaye",
 
32
  "name": "asymptotically-minimal-littlewood",
33
  "path": "tasks/asymptotically-minimal-littlewood"
34
  },
35
+ {
36
+ "name": "atomic-gaussian",
37
+ "path": "tasks/atomic-gaussian"
38
+ },
39
  {
40
  "name": "auslander-reiten",
41
  "path": "tasks/auslander-reiten"
 
668
  "name": "interpolated-factors",
669
  "path": "tasks/interpolated-factors"
670
  },
671
+ {
672
+ "name": "invariant-ising",
673
+ "path": "tasks/invariant-ising"
674
+ },
675
  {
676
  "name": "irrational-rotation",
677
  "path": "tasks/irrational-rotation"
 
1032
  "name": "radial-transition",
1033
  "path": "tasks/radial-transition"
1034
  },
1035
+ {
1036
+ "name": "ramsey-five",
1037
+ "path": "tasks/ramsey-five"
1038
+ },
1039
  {
1040
  "name": "randomized-mean-payoff",
1041
  "path": "tasks/randomized-mean-payoff"
 
1080
  "name": "ryser-odd-extensions",
1081
  "path": "tasks/ryser-odd-extensions"
1082
  },
1083
+ {
1084
+ "name": "sat-computability",
1085
+ "path": "tasks/sat-computability"
1086
+ },
1087
  {
1088
  "name": "sat-sharpness",
1089
  "path": "tasks/sat-sharpness"
 
1092
  "name": "sat-variance",
1093
  "path": "tasks/sat-variance"
1094
  },
1095
+ {
1096
+ "name": "sk-barriers",
1097
+ "path": "tasks/sk-barriers"
1098
+ },
1099
  {
1100
  "name": "sk-full-support",
1101
  "path": "tasks/sk-full-support"
1102
  },
1103
+ {
1104
+ "name": "sk-high-temperature",
1105
+ "path": "tasks/sk-high-temperature"
1106
+ },
1107
+ {
1108
+ "name": "sk-ratio",
1109
+ "path": "tasks/sk-ratio"
1110
+ },
1111
  {
1112
  "name": "sk-value",
1113
  "path": "tasks/sk-value"
 
1148
  "name": "sharp-cat0-filling",
1149
  "path": "tasks/sharp-cat0-filling"
1150
  },
1151
+ {
1152
+ "name": "sharp-log-ramsey",
1153
+ "path": "tasks/sharp-log-ramsey"
1154
+ },
1155
  {
1156
  "name": "sharp-threshold",
1157
  "path": "tasks/sharp-threshold"
 
1172
  "name": "signed-sweep-moment",
1173
  "path": "tasks/signed-sweep-moment"
1174
  },
1175
+ {
1176
+ "name": "simple-amenable",
1177
+ "path": "tasks/simple-amenable"
1178
+ },
1179
+ {
1180
+ "name": "simple-overgroups",
1181
+ "path": "tasks/simple-overgroups"
1182
+ },
1183
  {
1184
  "name": "single-fold",
1185
  "path": "tasks/single-fold"
 
1200
  "name": "smooth-obstruction",
1201
  "path": "tasks/smooth-obstruction"
1202
  },
1203
+ {
1204
+ "name": "smooth-yau",
1205
+ "path": "tasks/smooth-yau"
1206
+ },
1207
+ {
1208
+ "name": "snaky-conditional",
1209
+ "path": "tasks/snaky-conditional"
1210
+ },
1211
  {
1212
  "name": "soft-channel204",
1213
  "path": "tasks/soft-channel204"
 
1232
  "name": "square-root-degree",
1233
  "path": "tasks/square-root-degree"
1234
  },
1235
+ {
1236
+ "name": "standard-map-components",
1237
+ "path": "tasks/standard-map-components"
1238
+ },
1239
  {
1240
  "name": "standard-map-entropy",
1241
  "path": "tasks/standard-map-entropy"
 
1252
  "name": "strict-means",
1253
  "path": "tasks/strict-means"
1254
  },
1255
+ {
1256
+ "name": "strong-kadison-kastler",
1257
+ "path": "tasks/strong-kadison-kastler"
1258
+ },
1259
  {
1260
  "name": "strong-thin-tree",
1261
  "path": "tasks/strong-thin-tree"
tasks/abhyankar-sathaye/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 15
23
  reference_lean_bytes = 55824
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 463
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 55824
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 47
27
  difficulty = "research"
28
 
29
  [agent]
tasks/abhyankar-sathaye/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/affine-bernstein/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 322
23
  reference_lean_bytes = 1998143
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 1091
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 1998143
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 1429
27
  difficulty = "research"
28
 
29
  [agent]
tasks/affine-bernstein/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/algorithmic-thin-trees/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 736
23
  reference_lean_bytes = 4556988
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 2906
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 4556988
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 2392
27
  difficulty = "research"
28
 
29
  [agent]
tasks/algorithmic-thin-trees/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/amplitude-damping/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 35
23
  reference_lean_bytes = 283452
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 1119
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 283452
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 432
27
  difficulty = "research"
28
 
29
  [agent]
tasks/amplitude-damping/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/artin-cat0/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 20
23
  reference_lean_bytes = 414894
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 792
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 414894
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 193
27
  difficulty = "research"
28
 
29
  [agent]
tasks/artin-cat0/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/artin-parabolic-intersections/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 782
23
  reference_lean_bytes = 3300665
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 1711
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 3300665
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 2200
27
  difficulty = "research"
28
 
29
  [agent]
tasks/artin-parabolic-intersections/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/asymptotically-minimal-littlewood/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 24
23
  reference_lean_bytes = 432620
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 919
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 432620
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 346
27
  difficulty = "research"
28
 
29
  [agent]
tasks/asymptotically-minimal-littlewood/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/atomic-gaussian/environment/Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Shared by every openai/math task (agent and separate verifier). See lean_setup.sh.
2
+ FROM ubuntu:24.04
3
+ ENV ELAN_HOME=/opt/elan \
4
+ PATH=/opt/elan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
5
+ LANG=C.UTF-8
6
+ COPY lean_setup.sh fetch_mathlib.sh lakefile.lean lake-manifest.json pack_submission.py /opt/build/
7
+ RUN bash /opt/build/lean_setup.sh
8
+ WORKDIR /workspace
tasks/atomic-gaussian/environment/fetch_mathlib.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Unpack Mathlib's prebuilt cache in batches and truncate the files that importing Mathlib never
3
+ # reads (generated C and .ilean editor indexes), keeping their .hash files so Lake still sees every
4
+ # module as built. Lean + full Mathlib otherwise needs ~11 GB, more than a 10 GB sandbox disk.
5
+ set -euo pipefail
6
+ cd /opt/lean-env
7
+ trim() {
8
+ find .lake/packages -path '*/.lake/build/*' \( -name '*.c' -o -name '*.ilean' \) -size +0 -exec truncate -s 0 {} +
9
+ rm -rf "${HOME:-/root}/.cache/mathlib"
10
+ }
11
+ for dir in .lake/packages/mathlib/Mathlib/*/; do
12
+ name=$(basename "$dir")
13
+ echo "== Mathlib/$name"
14
+ lake exe cache get ".lake/packages/mathlib/Mathlib/$name" >/dev/null
15
+ trim
16
+ df -h / | tail -1
17
+ done
18
+ lake exe cache get
19
+ trim
tasks/atomic-gaussian/environment/lake-manifest.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.2.0",
3
+ "packagesDir": ".lake/packages",
4
+ "packages": [
5
+ {
6
+ "url": "https://github.com/leanprover-community/mathlib4.git",
7
+ "type": "git",
8
+ "subDir": null,
9
+ "scope": "",
10
+ "rev": "d13f23b723b8a846827a245b89c10fc7d3f11612",
11
+ "name": "mathlib",
12
+ "manifestFile": "lake-manifest.json",
13
+ "inputRev": "d13f23b723b8a846827a245b89c10fc7d3f11612",
14
+ "inherited": false,
15
+ "configFile": "lakefile.lean"
16
+ },
17
+ {
18
+ "url": "https://github.com/leanprover-community/plausible",
19
+ "type": "git",
20
+ "subDir": null,
21
+ "scope": "leanprover-community",
22
+ "rev": "118aa17ee84656b8bd727fef7c458ee8c833385c",
23
+ "name": "plausible",
24
+ "manifestFile": "lake-manifest.json",
25
+ "inputRev": "main",
26
+ "inherited": true,
27
+ "configFile": "lakefile.toml"
28
+ },
29
+ {
30
+ "url": "https://github.com/leanprover-community/LeanSearchClient",
31
+ "type": "git",
32
+ "subDir": null,
33
+ "scope": "leanprover-community",
34
+ "rev": "ddf04cf3949fa556442341e87d47f9f6e6074707",
35
+ "name": "LeanSearchClient",
36
+ "manifestFile": "lake-manifest.json",
37
+ "inputRev": "main",
38
+ "inherited": true,
39
+ "configFile": "lakefile.toml"
40
+ },
41
+ {
42
+ "url": "https://github.com/leanprover-community/import-graph",
43
+ "type": "git",
44
+ "subDir": null,
45
+ "scope": "leanprover-community",
46
+ "rev": "e928b72544873815af278d38681b31c0293588e3",
47
+ "name": "importGraph",
48
+ "manifestFile": "lake-manifest.json",
49
+ "inputRev": "main",
50
+ "inherited": true,
51
+ "configFile": "lakefile.toml"
52
+ },
53
+ {
54
+ "url": "https://github.com/leanprover-community/ProofWidgets4",
55
+ "type": "git",
56
+ "subDir": null,
57
+ "scope": "leanprover-community",
58
+ "rev": "106ff4fafc74ef4ac99d81dbf3ab399118f497a5",
59
+ "name": "proofwidgets",
60
+ "manifestFile": "lake-manifest.json",
61
+ "inputRev": "main",
62
+ "inherited": true,
63
+ "configFile": "lakefile.lean"
64
+ },
65
+ {
66
+ "url": "https://github.com/leanprover-community/aesop",
67
+ "type": "git",
68
+ "subDir": null,
69
+ "scope": "leanprover-community",
70
+ "rev": "355695d523e41d0554926416cba2a2b3544fbbc9",
71
+ "name": "aesop",
72
+ "manifestFile": "lake-manifest.json",
73
+ "inputRev": "master",
74
+ "inherited": true,
75
+ "configFile": "lakefile.toml"
76
+ },
77
+ {
78
+ "url": "https://github.com/leanprover-community/quote4",
79
+ "type": "git",
80
+ "subDir": null,
81
+ "scope": "leanprover-community",
82
+ "rev": "6a489d9af5d0c47e5b259e2e8bcdfc1811b5a259",
83
+ "name": "Qq",
84
+ "manifestFile": "lake-manifest.json",
85
+ "inputRev": "master",
86
+ "inherited": true,
87
+ "configFile": "lakefile.toml"
88
+ },
89
+ {
90
+ "url": "https://github.com/leanprover-community/batteries",
91
+ "type": "git",
92
+ "subDir": null,
93
+ "scope": "leanprover-community",
94
+ "rev": "f2effa3d803fda822b1f97b806c47cf2adfbcbc2",
95
+ "name": "batteries",
96
+ "manifestFile": "lake-manifest.json",
97
+ "inputRev": "main",
98
+ "inherited": true,
99
+ "configFile": "lakefile.toml"
100
+ },
101
+ {
102
+ "url": "https://github.com/leanprover/lean4-cli",
103
+ "type": "git",
104
+ "subDir": null,
105
+ "scope": "leanprover",
106
+ "rev": "e92c9f15fdfacc8536f31cfb3b7ad26c3c8cd204",
107
+ "name": "Cli",
108
+ "manifestFile": "lake-manifest.json",
109
+ "inputRev": "v4.34.0",
110
+ "inherited": true,
111
+ "configFile": "lakefile.toml"
112
+ }
113
+ ],
114
+ "name": "openai_math",
115
+ "lakeDir": ".lake"
116
+ }
tasks/atomic-gaussian/environment/lakefile.lean ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Lake
2
+ open Lake DSL
3
+
4
+ -- Mathlib at the commit openai/math pins. Agents write `Submission.lean` and `Submission/**.lean`.
5
+ package openai_math where
6
+ leanOptions := #[⟨`autoImplicit, false⟩]
7
+
8
+ require mathlib from git
9
+ "https://github.com/leanprover-community/mathlib4.git" @ "d13f23b723b8a846827a245b89c10fc7d3f11612"
10
+
11
+ -- `Submission` and every `Submission.*` module it imports.
12
+ lean_lib Submission
tasks/atomic-gaussian/environment/lean_setup.sh ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Builds the image shared by every openai/math task, for both the agent and the separate verifier:
3
+ # - Lean v4.34.1 and Mathlib d13f23b, the versions openai/math pins (Mathlib only, no OAI library)
4
+ # - Comparator, lean4export and landrun, used only by the verifier's grade.py
5
+ # - every challenge statement, at /opt/openai-math/challenges/<Name>.lean
6
+ # - /workspace, a Lake project where the agent writes Submission.lean
7
+ # All revisions are pinned. The openai/math library (the reference proofs) is never installed.
8
+ set -euxo pipefail
9
+ export DEBIAN_FRONTEND=noninteractive
10
+
11
+ LEAN_TOOLCHAIN=leanprover/lean4:v4.34.1
12
+ OPENAI_MATH_REV=adc7f1241b42e322a6451854ab7e4b4c146bf78a
13
+ COMPARATOR_REV=d03acab154d269c06e60e4de7e4cc85deebff94b # "bump toolchain to v4.34.0"; built with v4.34.1
14
+ LANDRUN_REV=811cfff51ceaf3d9843708aa6d22e9b84ccac8b4
15
+ GO_VERSION=1.24.7
16
+
17
+ apt-get update -qq
18
+ apt-get install -y -qq --no-install-recommends git curl ca-certificates build-essential xz-utils \
19
+ zstd python3 procps iproute2 iptables tmux >/dev/null
20
+ rm -rf /var/lib/apt/lists/*
21
+ git config --system --add safe.directory '*'
22
+
23
+ export ELAN_HOME=/opt/elan PATH=/opt/elan/bin:$PATH
24
+ curl -sSfL https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh \
25
+ | sh -s -- -y --default-toolchain "$LEAN_TOOLCHAIN" --no-modify-path
26
+
27
+ # --- Verifier tools, built before Mathlib so the build trees are gone before the big download ---
28
+ curl -sSfL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -C /tmp -xz
29
+ GOBIN=/usr/local/bin GOPATH=/tmp/gopath GOCACHE=/tmp/gocache \
30
+ /tmp/go/bin/go install "github.com/zouuup/landrun/cmd/landrun@${LANDRUN_REV}"
31
+ rm -rf /tmp/go /tmp/gopath /tmp/gocache
32
+
33
+ git clone -q https://github.com/leanprover/comparator.git /tmp/comparator
34
+ (
35
+ cd /tmp/comparator
36
+ git checkout -q "$COMPARATOR_REV"
37
+ # Comparator passes only PATH/HOME/LEAN_ABORT_ON_PANIC into its landrun sandbox. Also pass
38
+ # LEAN_NUM_THREADS: Lean sees every host CPU (64) rather than the sandbox's 4, so without it Lake
39
+ # starts one Mathlib-loaded `lean` per module and an 8 GB sandbox runs out of memory. It bounds
40
+ # parallelism only and does not affect what is checked.
41
+ sed -i 's/envPass := #\["PATH", "HOME", "LEAN_ABORT_ON_PANIC"\]/envPass := #["PATH", "HOME", "LEAN_ABORT_ON_PANIC", "LEAN_NUM_THREADS"]/; s/envPass := #\["PATH", "HOME", "LEAN_PATH", "LEAN_ABORT_ON_PANIC"\]/envPass := #["PATH", "HOME", "LEAN_PATH", "LEAN_ABORT_ON_PANIC", "LEAN_NUM_THREADS"]/' Main.lean
42
+ test "$(grep -c '"LEAN_NUM_THREADS"' Main.lean)" -eq 2
43
+ echo "$LEAN_TOOLCHAIN" > lean-toolchain
44
+ lake build lean4export comparator
45
+ install -m 0755 .lake/build/bin/comparator /usr/local/bin/comparator
46
+ install -m 0755 .lake/packages/lean4export/.lake/build/bin/lean4export /usr/local/bin/lean4export
47
+ )
48
+ rm -rf /tmp/comparator
49
+
50
+ # --- Lean project with Mathlib ---
51
+ # Packages are shallow clones at the manifest revisions, so Lake sees the right HEAD and never fetches.
52
+ mkdir -p /opt/lean-env/.lake/packages
53
+ cd /opt/lean-env
54
+ echo "$LEAN_TOOLCHAIN" > lean-toolchain
55
+ cp /opt/build/lakefile.lean /opt/build/lake-manifest.json .
56
+ python3 - <<'PY'
57
+ import json, subprocess
58
+ for p in json.load(open("lake-manifest.json"))["packages"]:
59
+ d = f".lake/packages/{p['name']}"
60
+ subprocess.run(["git", "init", "-q", d], check=True)
61
+ subprocess.run(["git", "-C", d, "remote", "add", "origin", p["url"]], check=True)
62
+ subprocess.run(["git", "-C", d, "fetch", "-q", "--depth", "1", "origin", p["rev"]], check=True)
63
+ subprocess.run(["git", "-C", d, "checkout", "-q", "FETCH_HEAD"], check=True)
64
+ PY
65
+ # Linking native executables (Comparator above, Mathlib's cache tool here) is the only use of the
66
+ # static libraries, LLVM and gcc; `lean` and `lake build` of a library need none of them. Dropping
67
+ # them before the Mathlib download keeps the build, and the image, under Daytona's 10 GB disk.
68
+ lake exe cache --help >/dev/null 2>&1 || true
69
+ find /opt/elan/toolchains/*/lib -name '*.a' -delete
70
+ rm -f /opt/elan/toolchains/*/lib/libLLVM* /opt/elan/toolchains/*/lib/libclang-cpp*
71
+ apt-get purge -y -qq $(dpkg-query -W -f '${binary:Package}\n' build-essential 'gcc-13*' 'g++-13*' \
72
+ 'cpp-13*' 'libstdc++-13-dev*' 'libgcc-13-dev*' 2>/dev/null) >/dev/null || true
73
+ apt-get autoremove -y -qq >/dev/null || true
74
+ bash /opt/build/fetch_mathlib.sh
75
+ rm -f /opt/lean-env/.lake/packages/mathlib/.lake/build/bin/cache
76
+
77
+ # --- Challenge statements (public; the reference proofs are not fetched) ---
78
+ git init -q /tmp/oai && cd /tmp/oai
79
+ git remote add origin https://github.com/openai/math.git
80
+ git config core.sparseCheckout true
81
+ echo "lean/ComparatorChallenges/" > .git/info/sparse-checkout
82
+ git fetch -q --depth 1 --filter=blob:none origin "$OPENAI_MATH_REV"
83
+ git checkout -q FETCH_HEAD
84
+ mkdir -p /opt/openai-math/challenges
85
+ cp lean/ComparatorChallenges/*.lean /opt/openai-math/challenges/
86
+ cd / && rm -rf /tmp/oai
87
+ install -m 0755 /opt/build/pack_submission.py /opt/openai-math/pack_submission.py
88
+
89
+ # --- Agent workspace and the verifier's unprivileged user ---
90
+ mkdir -p /workspace/.lake
91
+ cp /opt/lean-env/lakefile.lean /opt/lean-env/lake-manifest.json /opt/lean-env/lean-toolchain /workspace/
92
+ ln -s /opt/lean-env/.lake/packages /workspace/.lake/packages
93
+ useradd --uid 2000 --create-home --shell /usr/sbin/nologin grader
94
+ mkdir -p /var/lib/oai-grade && chmod 0711 /var/lib/oai-grade
95
+
96
+ # Smoke test. The first build may rebuild a few dependency modules the cache lacks (they persist in
97
+ # the image); a second build must compile nothing but Submission, or agents would pay for it.
98
+ cd /workspace
99
+ printf 'import Mathlib\n\nexample : (2 : ℕ) + 2 = 4 := by norm_num\n' > Submission.lean
100
+ lake build Submission 2>&1 | grep -E 'Built|error' | grep -v 'Built Submission' | head -20 || true
101
+ echo '-- second build' >> Submission.lean
102
+ lake build Submission 2>&1 | tee /tmp/smoke.log
103
+ if grep 'Built' /tmp/smoke.log | grep -qv 'Built Submission'; then
104
+ echo "the prebuilt Mathlib is incomplete: a second build still compiled dependencies" >&2; exit 1
105
+ fi
106
+ rm -rf Submission.lean .lake/build /tmp/smoke.log
107
+
108
+ # Mathlib's cache tool unpacks files as 0600. The verifier builds as the unprivileged `grader` user,
109
+ # so everything must be world-readable (and stays root-owned, so not writable).
110
+ chmod -R a+rX /opt/elan /opt/lean-env /opt/openai-math
111
+ # Same smoke test as `grader`, in a scratch project like the one grade.py lays out.
112
+ smoke=$(mktemp -d /var/lib/oai-grade/smoke.XXXX)
113
+ cp /opt/lean-env/lakefile.lean /opt/lean-env/lake-manifest.json /opt/lean-env/lean-toolchain "$smoke/"
114
+ mkdir "$smoke/.lake" && ln -s /opt/lean-env/.lake/packages "$smoke/.lake/packages"
115
+ printf 'import Mathlib\n\nexample : (2 : ℕ) + 2 = 4 := by norm_num\n' > "$smoke/Submission.lean"
116
+ chmod 0755 "$smoke" && chown grader "$smoke/.lake"
117
+ (cd "$smoke" && runuser -u grader -- env -i PATH="$(echo /opt/elan/toolchains/*/bin):/usr/bin:/bin" HOME="$smoke" \
118
+ lake build Submission) 2>&1 | tee /tmp/smoke.log
119
+ if grep 'Built' /tmp/smoke.log | grep -qv 'Built Submission' || ! grep -q 'Build completed successfully' /tmp/smoke.log; then
120
+ echo "the grader user cannot build against the prebuilt Mathlib" >&2; exit 1
121
+ fi
122
+ rm -rf "$smoke" /tmp/smoke.log
123
+
124
+ rm -rf /opt/build /root/.cache
125
+ df -h / | tail -1
126
+ du -sh /opt/elan /opt/lean-env
tasks/atomic-gaussian/environment/pack_submission.py ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Pack the agent's proof into one file for the verifier.
3
+
4
+ Harbor runs this as a [[verifier.collect]] hook in the agent's sandbox after the agent finishes.
5
+ It clears /logs/artifacts and writes /logs/artifacts/submission.tar holding only regular
6
+ `Submission.lean` and `Submission/**.lean` files. Symlinks and other entries are skipped, never
7
+ followed, so only one plain file crosses to the verifier sandbox.
8
+
9
+ The agent's sandbox is untrusted, so the verifier re-checks every entry of the archive. This step
10
+ only keeps the transfer small and free of links.
11
+ """
12
+
13
+ from __future__ import annotations
14
+
15
+ import os
16
+ import shutil
17
+ import stat
18
+ import tarfile
19
+ from pathlib import Path
20
+
21
+ WORKSPACE = Path("/workspace")
22
+ OUT_DIR = Path("/logs/artifacts")
23
+ MAX_TOTAL_BYTES = 768 << 20
24
+
25
+
26
+ def clear(directory: Path) -> None:
27
+ directory.mkdir(parents=True, exist_ok=True)
28
+ for entry in directory.iterdir():
29
+ if entry.is_dir() and not entry.is_symlink():
30
+ shutil.rmtree(entry)
31
+ else:
32
+ entry.unlink()
33
+
34
+
35
+ def regular(path: Path) -> bool:
36
+ try:
37
+ return stat.S_ISREG(path.lstat().st_mode)
38
+ except OSError:
39
+ return False
40
+
41
+
42
+ def main() -> None:
43
+ clear(OUT_DIR)
44
+ tmp = OUT_DIR / "submission.tar.part"
45
+ total = 0
46
+ with tarfile.open(tmp, "w", format=tarfile.PAX_FORMAT) as tar:
47
+ root = WORKSPACE / "Submission.lean"
48
+ if regular(root):
49
+ total += root.lstat().st_size
50
+ if total > MAX_TOTAL_BYTES:
51
+ raise SystemExit("submission exceeds the size limit")
52
+ tar.add(root, arcname="Submission.lean", recursive=False)
53
+ tree = WORKSPACE / "Submission"
54
+ if tree.is_dir() and not tree.is_symlink():
55
+ for dirpath, dirnames, filenames in os.walk(tree, followlinks=False):
56
+ dirnames[:] = [d for d in dirnames if not (Path(dirpath) / d).is_symlink()]
57
+ for name in sorted(filenames):
58
+ path = Path(dirpath) / name
59
+ if not name.endswith(".lean") or not regular(path):
60
+ continue
61
+ total += path.lstat().st_size
62
+ if total > MAX_TOTAL_BYTES:
63
+ raise SystemExit("submission exceeds the size limit")
64
+ tar.add(path, arcname=str(path.relative_to(WORKSPACE)), recursive=False)
65
+ tmp.rename(OUT_DIR / "submission.tar")
66
+ print(f"packed {total} bytes")
67
+
68
+
69
+ if __name__ == "__main__":
70
+ main()
tasks/atomic-gaussian/instruction.md ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # openai/math challenge `AtomicGaussian` (family 090)
2
+
3
+ Prove the following result from OpenAI's [openai/math](https://github.com/openai/math) release in
4
+ Lean 4, with a proof the Lean kernel accepts.
5
+
6
+ Context: this statement belongs to family 090 of the release, *Universal optimality of the triangular lattice*
7
+ (Convex and metric geometry). The family as a whole: Proves that the triangular lattice minimizes the lower limit of energy per particle for every nonnegative completely monotone potential of squared distance among locally finite planar configurations of centered-disk density one. It also minimizes unit-background renormalized Riesz energies for $0<s<2$ and Coulomb energy, resolving Sandier–Serfaty and the two-dimensional Brauchart–Hardin–Saff conjecture on the linear term of optimal spherical logarithmic energy.
8
+
9
+ The challenge is `AtomicGaussian`, also at `/opt/openai-math/challenges/AtomicGaussian.lean`:
10
+
11
+ ```lean
12
+ import Mathlib
13
+
14
+ namespace OAI
15
+
16
+ noncomputable section
17
+ open scoped BigOperators FourierTransform SchwartzMap
18
+ open Complex Polynomial
19
+
20
+ namespace AtomicTriangular
21
+
22
+ abbrev Plane := EuclideanSpace ℝ (Fin 2)
23
+
24
+ def b : ℝ := Real.sqrt 3 / 2
25
+
26
+ def triangularPoint (jk : ℤ × ℤ) : Plane :=
27
+ (Real.sqrt b)⁻¹ •
28
+ (EuclideanSpace.single 0 ((jk.1 : ℝ) + (jk.2 : ℝ) / 2) +
29
+ EuclideanSpace.single 1 ((jk.2 : ℝ) * b))
30
+
31
+ def A : Set Plane := Set.range triangularPoint
32
+
33
+ def dualA : Set Plane := {w | ∀ a ∈ A, ∃ n : ℤ, inner ℝ a w = (n : ℝ)}
34
+
35
+ def gaussian (α : ℝ) (x : Plane) : ℝ := Real.exp (-Real.pi * α * ‖x‖ ^ 2)
36
+
37
+ def Radial (f : Plane → ℝ) : Prop := ∀ x y, ‖x‖ = ‖y‖ → f x = f y
38
+
39
+ def realFourier (f : Plane → ℝ) (w : Plane) : ℂ := 𝓕 (fun x => (f x : ℂ)) w
40
+
41
+ end AtomicTriangular
42
+
43
+ namespace AtomicTriangular.Construction
44
+
45
+ def b : ℝ := Real.sqrt 3 / 2
46
+
47
+ def h : ℝ := 17 / 50
48
+
49
+ def H : ℝ := 27 / 50
50
+
51
+ def eta : ℝ := 1 / 5
52
+
53
+ def kappa : ℝ := Real.pi / 36
54
+
55
+ def residues : Finset ℤ := {0,1,3,4,7,9,12,13,16,19,21,25,27,28,31}
56
+
57
+ def residue (a : Fin 15) : ℤ := ![0,1,3,4,7,9,12,13,16,19,21,25,27,28,31] a
58
+
59
+ def Node : Type := {n : ℤ // 0 < n ∧ n % 36 ∈ residues}
60
+
61
+ def FiniteNodes : Finset ℤ := {1,3,4,7,9,12,13,16,19,21}
62
+
63
+ def sineFactor (a : Fin 15) (s : ℂ) : ℂ :=
64
+ 2 * Complex.sin ((kappa : ℂ) * (s - (residue a : ℂ)))
65
+
66
+ def P (s : ℂ) : ℂ := ∏ a : Fin 15, (sineFactor a s)^2
67
+
68
+ def dBasis (n : Node) : ℂ → ℂ := dslope P (n.val : ℂ)
69
+
70
+ def cBasis (n : Node) : ℂ → ℂ := dslope (dBasis n) (n.val : ℂ)
71
+
72
+ def finiteC (a : Fin 15) (s : ℂ) : ℂ :=
73
+ 4 * (kappa : ℂ)^2 * ∏ r ∈ Finset.univ.erase a, (sineFactor r s)^2
74
+
75
+ def finiteD (a : Fin 15) (s : ℂ) : ℂ :=
76
+ 2 * (kappa : ℂ) * sineFactor a s *
77
+ Complex.cos ((kappa : ℂ) * (s - (residue a : ℂ))) *
78
+ ∏ r ∈ Finset.univ.erase a, (sineFactor r s)^2
79
+
80
+ def phase (s : ℂ) : ℂ := Complex.exp ((Real.pi : ℂ) * Complex.I * s / 18)
81
+
82
+ def atomFactor (a : Fin 15) : Polynomial ℂ :=
83
+ -C (phase (residue a)) + C 2 * X - C (phase (-residue a)) * X^2
84
+
85
+ def atomPolynomial : Polynomial ℂ := ∏ a : Fin 15, atomFactor a
86
+
87
+ def cAtomPolynomial (a : Fin 15) : Polynomial ℂ :=
88
+ C (4 * (kappa : ℂ)^2) * ∏ r ∈ Finset.univ.erase a, atomFactor r
89
+
90
+ def dAtomPolynomial (a : Fin 15) : Polynomial ℂ :=
91
+ C (Complex.I * (kappa : ℂ)) *
92
+ (C (phase (residue a)) - C (phase (-residue a)) * X^2) *
93
+ ∏ r ∈ Finset.univ.erase a, atomFactor r
94
+
95
+ def fourierCoeff (j : Fin 31) : ℂ := atomPolynomial.coeff j.val
96
+
97
+ def frequency (j : Fin 31) : ℝ := ((j.val : ℝ)-15)/18
98
+
99
+ def waveDerivative (k : ℕ) (s : ℂ) : ℂ :=
100
+ ∑ j : Fin 31, fourierCoeff j * (I*Real.pi*frequency j)^k *
101
+ exp (I*Real.pi*frequency j*s)
102
+
103
+ def Q (n : ℤ) : ℝ := (waveDerivative 2 n).re / 2
104
+
105
+ def D (n : ℤ) : ℝ := (waveDerivative 3 n).re / (6 * Q n)
106
+
107
+ end AtomicTriangular.Construction
108
+
109
+ namespace AtomicTriangular.FiniteCertificate
110
+ open Construction
111
+
112
+ def cShiftPolynomial (a : Fin 15) : Polynomial ℂ := X * cAtomPolynomial a
113
+
114
+ def cCoefficient (a : Fin 15) (j : Fin 31) : ℂ := (cShiftPolynomial a).coeff j.val
115
+
116
+ def dCoefficient (a : Fin 15) (j : Fin 31) : ℂ := (dAtomPolynomial a).coeff j.val
117
+
118
+ end AtomicTriangular.FiniteCertificate
119
+
120
+ namespace AtomicTriangular.Construction
121
+
122
+ abbrev Plane := EuclideanSpace ℝ (Fin 2)
123
+
124
+ def radial (x : Plane) : ℝ := b*‖x‖^2
125
+
126
+ def waveDen (k t : ℝ) : ℝ := k^2+t^2
127
+
128
+ def Xwave (k t : ℝ) : ℝ := (4/3)/waveDen k t
129
+
130
+ def lambda (k t : ℝ) : ℂ := ((k:ℂ)+I*t)/(b*waveDen k t : ℝ)
131
+
132
+ def zeta (k v t : ℝ) : ℂ := -(t:ℂ)*(Xwave k t:ℂ)+I*(k*Xwave k t-v:ℝ)
133
+
134
+ def transformedWave (k v t : ℝ) (s : ℂ) : ℂ := lambda k t*exp (I*Real.pi*zeta k v t*s)
135
+
136
+ def finiteColumn (col : Fin 23) (j : Fin 31) : ℂ :=
137
+ if hc : col.val<22 then
138
+ if col.val%2=0 then FiniteCertificate.cCoefficient ⟨col.val/2,by omega⟩ j
139
+ else FiniteCertificate.dCoefficient ⟨col.val/2,by omega⟩ j
140
+ else fourierCoeff j
141
+
142
+ def finiteNode (n : Fin 10) : ℤ := residue ⟨n.val+1,by omega⟩
143
+
144
+ def jetMultiplier (k v : ℝ) (n : ℤ) (d : Fin 2) (t : ℝ) : ℂ :=
145
+ (Q n:ℂ)⁻¹*transformedWave k v t n *
146
+ (if d.val=0 then -1 else (D n:ℂ)-I*Real.pi*zeta k v t)
147
+
148
+ def jet (k v : ℝ) (n : ℤ) (d : Fin 2) (S : Fin 31 → ℂ) : ℝ :=
149
+ (∑ j : Fin 31, jetMultiplier k v n d (frequency j)*S j).re
150
+
151
+ def fullJetMatrix : Matrix (Fin 20) (Fin 23) ℝ := fun i col =>
152
+ jet (if col.val=22 then h else H) H
153
+ (finiteNode ⟨i.val/2,by omega⟩) ⟨i.val%2,by omega⟩ (finiteColumn col)
154
+
155
+ def R : Matrix (Fin 20) (Fin 20) ℝ := fun i j => fullJetMatrix i ⟨j.val+2,by omega⟩
156
+
157
+ def R0 : Matrix (Fin 20) (Fin 3) ℝ := fun i j =>
158
+ fullJetMatrix i (if j.val<2 then ⟨j.val,by omega⟩ else 22)
159
+
160
+ abbrev TailNode := {n : Node // n.val ∉ FiniteNodes}
161
+
162
+ structure InputCoefficients where
163
+ C : ℝ
164
+ finiteC : Fin 11 → ℝ
165
+ finiteD : Fin 11 → ℝ
166
+ tailC : TailNode → ℝ
167
+ tailD : TailNode → ℝ
168
+ summable : Summable (fun n => |tailC n|+|tailD n|)
169
+
170
+ def tailInput (a : InputCoefficients) (s : ℂ) : ℂ :=
171
+ (a.C:ℂ)*P s + ∑' n : TailNode, ((a.tailC n:ℂ)*cBasis n.val s+(a.tailD n:ℂ)*dBasis n.val s)
172
+
173
+ def finiteInput (a : InputCoefficients) (s : ℂ) : ℂ :=
174
+ ∑ j : Fin 11, ((a.finiteC j:ℂ)*finiteC ⟨j.val,by omega⟩ s +
175
+ (a.finiteD j:ℂ)*finiteD ⟨j.val,by omega⟩ s)
176
+
177
+ def inputComplex (a : InputCoefficients) (x : Plane) : ℂ :=
178
+ exp (-(Real.pi:ℂ)*h*(radial x:ℂ))*tailInput a (radial x) +
179
+ exp (-(Real.pi:ℂ)*H*(radial x:ℂ))*finiteInput a (radial x)
180
+
181
+ def Z : ℝ := 391/1000
182
+
183
+ def targetCoefficient (n : Fin 10) : ℝ := Q 1 / Q (finiteNode n) * Real.exp (Real.pi*eta*(finiteNode n))
184
+
185
+ def Yf : Matrix (Fin 20) (Fin 8) ℝ := fun i j =>
186
+ if i.val<8 then
187
+ targetCoefficient ⟨i.val/2,by omega⟩ *
188
+ (if i.val%2=0 then (if j.val=i.val then 1 else 0)
189
+ else (if j.val=i.val then -1 else if j.val=i.val-1 then Real.pi*eta-D (finiteNode ⟨i.val/2,by omega⟩) else 0))
190
+ else 0
191
+
192
+ def gamma (side : Fin 2) : Matrix (Fin 3) (Fin 8) ℝ := fun i j =>
193
+ if j.val=1 then (if i.val=0 then 11/25 else if i.val=1 then 0 else if side.val=0 then -(3/500) else 3/500) else 0
194
+
195
+ def Uplus : Matrix (Fin 20) (Fin 8) ℝ :=
196
+ (1-R)⁻¹*(Yf+R0*(gamma 1+gamma 0))
197
+
198
+ def Uminus : Matrix (Fin 20) (Fin 8) ℝ :=
199
+ (1+R)⁻¹*(Yf+R0*(gamma 1-gamma 0))
200
+
201
+ def finiteSolution (side : Fin 2) : Matrix (Fin 20) (Fin 8) ℝ :=
202
+ if side.val=0 then (1/2:ℝ) • (Uplus+Uminus) else (1/2:ℝ) • (Uplus-Uminus)
203
+
204
+ def Acoefficient (side : Fin 2) : Matrix (Fin 23) (Fin 8) ℝ := fun i j =>
205
+ if hi : i.val<2 then gamma side ⟨i.val,by omega⟩ j
206
+ else if h22 : i.val=22 then gamma side 2 j
207
+ else finiteSolution side ⟨i.val-2,by omega⟩ j
208
+
209
+ def gaussianZ (α : ℝ) : ℝ := 1/(Real.pi*(α/b-h))
210
+
211
+ def actualParameter (z : ℝ) : Fin 8 → ℝ :=
212
+ ![z,1,z*Real.exp (-2/z),Real.exp (-2/z),z*Real.exp (-3/z),Real.exp (-3/z),
213
+ z*Real.exp (-6/z),Real.exp (-6/z)]
214
+
215
+ def normalizingDen (z : ℝ) := Q 1*z*Real.exp (1/z)
216
+
217
+ end AtomicTriangular.Construction
218
+
219
+ namespace AtomicTriangular.Construction
220
+
221
+ def finiteCoordinates (a : InputCoefficients) (i : Fin 22) : ℝ :=
222
+ if i.val % 2 = 0 then a.finiteC ⟨i.val / 2, by omega⟩
223
+ else a.finiteD ⟨i.val / 2, by omega⟩
224
+
225
+ def HasAtomicConstruction (α : ℝ) (f : Plane → ℝ) : Prop :=
226
+ IsUnit (1 - R) ∧ IsUnit (1 + R) ∧
227
+ (1 - R) * Uplus = Yf + R0 * (gamma 1 + gamma 0) ∧
228
+ (1 + R) * Uminus = Yf + R0 * (gamma 1 - gamma 0) ∧
229
+ ∃ (a : Fin 2 → InputCoefficients) (u : Fin 2 → Fin 20 → ℝ),
230
+ (∀ side,
231
+ (a side).C = (if side.val = 0 then -(3/500) else 3/500) ∧
232
+ (a side).finiteC 0 = 11/25 ∧ (a side).finiteD 0 = 0 ∧
233
+ ∀ i : Fin 22,
234
+ finiteCoordinates (a side) i =
235
+ (∑ j : Fin 8, Acoefficient side ⟨i.val, by omega⟩ j *
236
+ actualParameter (gaussianZ α) j) +
237
+ (if hi : i.val < 2 then 0 else u side ⟨i.val - 2, by omega⟩)) ∧
238
+ (∀ side,
239
+ (∑ i : Fin 20, |u side i|) < 1/10^5 ∧
240
+ Summable (fun n : TailNode => |(a side).tailC n| + |(a side).tailD n|) ∧
241
+ (∑' n : TailNode, (|(a side).tailC n| + |(a side).tailD n|)) < 3/10^9) ∧
242
+ (∀ x : Plane, (f x : ℂ) =
243
+ (inputComplex (a 0) x + 𝓕 (inputComplex (a 1)) x) /
244
+ (normalizingDen (gaussianZ α) : ℂ))
245
+
246
+ end AtomicTriangular.Construction
247
+
248
+ namespace AtomicTriangular
249
+
250
+ theorem sharp_gaussian_minorants_atomic (α : ℝ) (hα : 0 < α) :
251
+ ∃ f : SchwartzMap Plane ℝ,
252
+ Radial f ∧ (∀ x, f x ≤ gaussian α x) ∧
253
+ (∀ w, (realFourier f w).im = 0 ∧ 0 ≤ (realFourier f w).re) ∧
254
+ (∀ a ∈ A, a ≠ 0 → f a = gaussian α a) ∧
255
+ (∀ w ∈ dualA, w ≠ 0 → realFourier f w = 0) ∧
256
+ (1 ≤ α → Construction.HasAtomicConstruction α f) := by
257
+ sorry
258
+
259
+ end AtomicTriangular
260
+
261
+ end
262
+
263
+ end OAI
264
+ ```
265
+
266
+ ## What to submit
267
+
268
+ Write `/workspace/Submission.lean`. Start from a copy of the challenge:
269
+
270
+ ```bash
271
+ cp /opt/openai-math/challenges/AtomicGaussian.lean /workspace/Submission.lean
272
+ ```
273
+
274
+ then replace every `sorry` with a proof. The file is graded on three things:
275
+
276
+ - **Same statements.** The theorem `OAI.AtomicTriangular.sharp_gaussian_minorants_atomic` must keep exactly the statement shown above: same names,
277
+ namespaces, binders and types. Every definition the statements use must stay exactly as written.
278
+ Change nothing except the proofs.
279
+ - **Standard axioms only.** Proofs may use only `propext`, `Quot.sound` and `Classical.choice`.
280
+ `sorry`, `admit`, new `axiom`s and `native_decide` (it introduces an axiom of its own) are rejected.
281
+ - **Keep the challenge's declarations as they are.** Put new lemmas and instances *after* the
282
+ definitions the statements use, or in a separate `Submission/*.lean` module. A declaration added
283
+ before them can change how they elaborate, and then they no longer match the challenge.
284
+ - **Kernel-checked.** The proofs are re-checked by the Lean kernel, not just the elaborator.
285
+
286
+ Long proofs can be split into modules under `/workspace/Submission/` (module names
287
+ `Submission.Foo`, `Submission.Foo.Bar`) imported from `Submission.lean`. Only `.lean` files at
288
+ those two paths are graded.
289
+
290
+ ## Environment
291
+
292
+ - Lean `v4.34.1` and Mathlib at commit `d13f23b` are installed and prebuilt; `/workspace` is a
293
+ Lake project.
294
+ - The sandbox has 4 CPUs and 8 GB of memory; `LEAN_NUM_THREADS=3` keeps `lake build` to three
295
+ parallel jobs. Check your work with `cd /workspace && lake build Submission`. Add `#print axioms <name>` to see
296
+ which axioms a proof uses.
297
+ - There is no internet access. OpenAI's own proofs are not installed.
298
+
299
+ ## Grading
300
+
301
+ When you finish, `Submission.lean` and `Submission/**.lean` are copied to a fresh machine and
302
+ checked with [Comparator](https://github.com/leanprover/comparator), the Lean FRO's proof checker.
303
+ The reward is 1 if Comparator accepts the proof and 0 otherwise. A partial proof scores 0.
tasks/atomic-gaussian/solution/closure.txt ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ OAI.Analysis.Triangular.Auxiliary.Bernstein
2
+ OAI.Analysis.Triangular.Auxiliary.ExponentialTail
3
+ OAI.Analysis.Triangular.Auxiliary.IntegralBounds
4
+ OAI.Analysis.Triangular.Auxiliary.MatrixNorm
5
+ OAI.Analysis.Triangular.Auxiliary.PolynomialShift
6
+ OAI.Analysis.Triangular.Basic
7
+ OAI.Analysis.Triangular.Certificate.Inverse
8
+ OAI.Analysis.Triangular.Certificate.JetMatrix
9
+ OAI.Analysis.Triangular.Certificate.MatrixInterval
10
+ OAI.Analysis.Triangular.Certificate.Param
11
+ OAI.Analysis.Triangular.Certificate.ParamA
12
+ OAI.Analysis.Triangular.Certificate.ParamActual
13
+ OAI.Analysis.Triangular.Certificate.ParamInterval
14
+ OAI.Analysis.Triangular.Certificate.ParamNorm
15
+ OAI.Analysis.Triangular.Certificate.ParamNormBase
16
+ OAI.Analysis.Triangular.Certificate.ParamRHS
17
+ OAI.Analysis.Triangular.Certificate.ParamU
18
+ OAI.Analysis.Triangular.Certificate.Polytope
19
+ OAI.Analysis.Triangular.Certificate.PolytopeInterval
20
+ OAI.Analysis.Triangular.Certificate.TargetInterval
21
+ OAI.Analysis.Triangular.Certificate.WaveExpData
22
+ OAI.Analysis.Triangular.Certificate.WaveIntervals
23
+ OAI.Analysis.Triangular.Certificate.WaveJetsData
24
+ OAI.Analysis.Triangular.Construction.ActualCorrection
25
+ OAI.Analysis.Triangular.Construction.ActualInput
26
+ OAI.Analysis.Triangular.Construction.ActualInterpolation
27
+ OAI.Analysis.Triangular.Construction.ActualTail
28
+ OAI.Analysis.Triangular.Construction.AtomicCurvature
29
+ OAI.Analysis.Triangular.Construction.BlockOperators
30
+ OAI.Analysis.Triangular.Construction.CoefficientAddition
31
+ OAI.Analysis.Triangular.Construction.ConcreteSchur
32
+ OAI.Analysis.Triangular.Construction.CurvatureAnalytic
33
+ OAI.Analysis.Triangular.Construction.CurvatureBoxes
34
+ OAI.Analysis.Triangular.Construction.CurvatureEnvelope
35
+ OAI.Analysis.Triangular.Construction.CurvatureSums
36
+ OAI.Analysis.Triangular.Construction.DirectCoordinates
37
+ OAI.Analysis.Triangular.Construction.DirectWaveJets
38
+ OAI.Analysis.Triangular.Construction.FarCurvature
39
+ OAI.Analysis.Triangular.Construction.FiniteAssembly
40
+ OAI.Analysis.Triangular.Construction.FiniteCoordinates
41
+ OAI.Analysis.Triangular.Construction.FiniteInterpolation
42
+ OAI.Analysis.Triangular.Construction.FiniteJets
43
+ OAI.Analysis.Triangular.Construction.FinitePairBridge
44
+ OAI.Analysis.Triangular.Construction.FiniteProjection
45
+ OAI.Analysis.Triangular.Construction.FiniteRemainder
46
+ OAI.Analysis.Triangular.Construction.FiniteSystem
47
+ OAI.Analysis.Triangular.Construction.FiniteTargetBridge
48
+ OAI.Analysis.Triangular.Construction.L1Kernel
49
+ OAI.Analysis.Triangular.Construction.L1Matrix
50
+ OAI.Analysis.Triangular.Construction.NodeJets
51
+ OAI.Analysis.Triangular.Construction.Normalization
52
+ OAI.Analysis.Triangular.Construction.NormalizedJets
53
+ OAI.Analysis.Triangular.Construction.PeriodicJets
54
+ OAI.Analysis.Triangular.Construction.Repetition
55
+ OAI.Analysis.Triangular.Construction.RepetitionBound
56
+ OAI.Analysis.Triangular.Construction.RepetitionOperators
57
+ OAI.Analysis.Triangular.Construction.Schur
58
+ OAI.Analysis.Triangular.Construction.SpectralJetBridge
59
+ OAI.Analysis.Triangular.Construction.SpectralProduct
60
+ OAI.Analysis.Triangular.Construction.TailCoordinates
61
+ OAI.Analysis.Triangular.Construction.TailEnumeration
62
+ OAI.Analysis.Triangular.Construction.TailInterpolation
63
+ OAI.Analysis.Triangular.Construction.TailJetVector
64
+ OAI.Analysis.Triangular.Energy.Basic
65
+ OAI.Analysis.Triangular.Energy.Mixtures
66
+ OAI.Analysis.Triangular.Envelope.Analytic
67
+ OAI.Analysis.Triangular.Envelope.Basic
68
+ OAI.Analysis.Triangular.Envelope.EnvelopeBoxes
69
+ OAI.Analysis.Triangular.Envelope.EnvelopeNorm0
70
+ OAI.Analysis.Triangular.Envelope.EnvelopeNorm1
71
+ OAI.Analysis.Triangular.Envelope.EnvelopeNorm2
72
+ OAI.Analysis.Triangular.Envelope.EnvelopeNorms
73
+ OAI.Analysis.Triangular.Envelope.EnvelopePsiB
74
+ OAI.Analysis.Triangular.Envelope.EnvelopePsiC
75
+ OAI.Analysis.Triangular.Envelope.EnvelopePsiD
76
+ OAI.Analysis.Triangular.Envelope.EnvelopeSums
77
+ OAI.Analysis.Triangular.Envelope.EnvelopeSumsBase
78
+ OAI.Analysis.Triangular.Envelope.EnvelopeWaves
79
+ OAI.Analysis.Triangular.Envelope.JetEnvelopeAnalytic
80
+ OAI.Analysis.Triangular.Envelope.KernelBounds
81
+ OAI.Analysis.Triangular.Envelope.TailEnvelopeSeries
82
+ OAI.Analysis.Triangular.Envelope.TargetEnvelope
83
+ OAI.Analysis.Triangular.Lattice.LatticeGeometry
84
+ OAI.Analysis.Triangular.Main
85
+ OAI.Analysis.Triangular.Schwartz.FourierCLM
86
+ OAI.Analysis.Triangular.Schwartz.FourierPair
87
+ OAI.Analysis.Triangular.Schwartz.Gaussian
88
+ OAI.Analysis.Triangular.Schwartz.GaussianPair
89
+ OAI.Analysis.Triangular.Schwartz.InputCLM
90
+ OAI.Analysis.Triangular.Schwartz.Realness
91
+ OAI.Analysis.Triangular.Schwartz.Regularity
92
+ OAI.Analysis.Triangular.Schwartz.SpectralCLM
93
+ OAI.Analysis.Triangular.Schwartz.SpectralEnvelope
94
+ OAI.Analysis.Triangular.Schwartz.TailSpectral
95
+ OAI.Analysis.Triangular.Signs.DeletedAccuracy
96
+ OAI.Analysis.Triangular.Signs.DeletedExponential
97
+ OAI.Analysis.Triangular.Signs.DeletedJets
98
+ OAI.Analysis.Triangular.Signs.DeletedQuotient
99
+ OAI.Analysis.Triangular.Signs.Exceptional
100
+ OAI.Analysis.Triangular.Signs.ExceptionalComparison
101
+ OAI.Analysis.Triangular.Signs.ExceptionalInterval
102
+ OAI.Analysis.Triangular.Signs.ExceptionalSign0
103
+ OAI.Analysis.Triangular.Signs.ExceptionalSign1
104
+ OAI.Analysis.Triangular.Signs.ExceptionalSign2
105
+ OAI.Analysis.Triangular.Signs.ExceptionalSign3
106
+ OAI.Analysis.Triangular.Signs.FarSigns
107
+ OAI.Analysis.Triangular.Signs.GaussianDeleted
108
+ OAI.Analysis.Triangular.Signs.NearSigns
109
+ OAI.Analysis.Triangular.Signs.OrdinaryComparison
110
+ OAI.Analysis.Triangular.Signs.RemainderBoxes
111
+ OAI.Analysis.Triangular.Signs.RemainderData0
112
+ OAI.Analysis.Triangular.Signs.RemainderData1
113
+ OAI.Analysis.Triangular.Signs.RemainderData2
114
+ OAI.Analysis.Triangular.Signs.RemainderData3
115
+ OAI.Analysis.Triangular.Signs.RemainderData4
116
+ OAI.Analysis.Triangular.Signs.RemainderData5
117
+ OAI.Analysis.Triangular.Signs.RemainderData6
118
+ OAI.Analysis.Triangular.Signs.RemainderNorm
119
+ OAI.Analysis.Triangular.Signs.RemainderPre
120
+ OAI.Analysis.Triangular.Signs.RemainderSums0
121
+ OAI.Analysis.Triangular.Signs.RemainderSums1
122
+ OAI.Analysis.Triangular.Signs.RemainderSums2
123
+ OAI.Analysis.Triangular.Signs.RemainderSums3
124
+ OAI.Analysis.Triangular.Signs.RemainderSums4
125
+ OAI.Analysis.Triangular.Signs.RemainderSums5
126
+ OAI.Analysis.Triangular.Signs.RemainderSums6
127
+ OAI.Analysis.Triangular.Signs.SignBase
128
+ OAI.Analysis.Triangular.Signs.Signs00
129
+ OAI.Analysis.Triangular.Signs.Signs01
130
+ OAI.Analysis.Triangular.Signs.Signs02
131
+ OAI.Analysis.Triangular.Signs.Signs03
132
+ OAI.Analysis.Triangular.Signs.Signs04
133
+ OAI.Analysis.Triangular.Signs.Signs05
134
+ OAI.Analysis.Triangular.Signs.Signs06
135
+ OAI.Analysis.Triangular.Signs.Signs10
136
+ OAI.Analysis.Triangular.Signs.Signs11
137
+ OAI.Analysis.Triangular.Signs.Signs12
138
+ OAI.Analysis.Triangular.Signs.Signs13
139
+ OAI.Analysis.Triangular.Signs.Signs14
140
+ OAI.Analysis.Triangular.Signs.Signs15
141
+ OAI.Analysis.Triangular.Signs.Signs16
142
+ OAI.Analysis.Triangular.Signs.SineBarrierBase
143
+ OAI.Analysis.Triangular.Signs.SineGlobal
144
+ OAI.Analysis.Triangular.Signs.SineGrid0
145
+ OAI.Analysis.Triangular.Signs.SineGrid1
146
+ OAI.Analysis.Triangular.Signs.SineGrid2
147
+ OAI.Analysis.Triangular.Signs.SineGridAnalytic
148
+ OAI.Analysis.Triangular.Signs.SineGridChecks
149
+ OAI.Analysis.Triangular.Signs.SineGridCover
150
+ OAI.Analysis.Triangular.Signs.SineGridDefs
151
+ OAI.Analysis.Triangular.Taylor.CoefficientSpectral
152
+ OAI.Analysis.Triangular.Taylor.CurvatureData00
153
+ OAI.Analysis.Triangular.Taylor.CurvatureData01
154
+ OAI.Analysis.Triangular.Taylor.CurvatureData10
155
+ OAI.Analysis.Triangular.Taylor.CurvatureData11
156
+ OAI.Analysis.Triangular.Taylor.FiniteTaylorError
157
+ OAI.Analysis.Triangular.Taylor.FiniteTaylorIdentity
158
+ OAI.Analysis.Triangular.Taylor.Taylor
159
+ OAI.Analysis.Triangular.Taylor.TaylorExp
160
+ OAI.Analysis.Triangular.Taylor.TaylorExp00
161
+ OAI.Analysis.Triangular.Taylor.TaylorExp01
162
+ OAI.Analysis.Triangular.Taylor.TaylorExp10
163
+ OAI.Analysis.Triangular.Taylor.TaylorExp11
164
+ OAI.Analysis.Triangular.Taylor.TaylorPhase
165
+ OAI.Analysis.Triangular.Taylor.TaylorRows00
166
+ OAI.Analysis.Triangular.Taylor.TaylorRows01
167
+ OAI.Analysis.Triangular.Taylor.TaylorRows02
168
+ OAI.Analysis.Triangular.Taylor.TaylorRows03
169
+ OAI.Analysis.Triangular.Taylor.TaylorRows04
170
+ OAI.Analysis.Triangular.Taylor.TaylorRows05
171
+ OAI.Analysis.Triangular.Taylor.TaylorRows06
172
+ OAI.Analysis.Triangular.Taylor.TaylorRows10
173
+ OAI.Analysis.Triangular.Taylor.TaylorRows11
174
+ OAI.Analysis.Triangular.Taylor.TaylorRows12
175
+ OAI.Analysis.Triangular.Taylor.TaylorRows13
176
+ OAI.Analysis.Triangular.Taylor.TaylorRows14
177
+ OAI.Analysis.Triangular.Taylor.TaylorRows15
178
+ OAI.Analysis.Triangular.Taylor.TaylorRows16
179
+ OAI.Analysis.Triangular.Taylor.TaylorRowsBase
180
+ OAI.Analysis.Triangular.Taylor.TaylorSpectrum
181
+ OAI.Analysis.Triangular.Taylor.TaylorWave
182
+ OAI.Analysis.Triangular.Taylor.TaylorWave00
183
+ OAI.Analysis.Triangular.Taylor.TaylorWave000
184
+ OAI.Analysis.Triangular.Taylor.TaylorWave001
185
+ OAI.Analysis.Triangular.Taylor.TaylorWave002
186
+ OAI.Analysis.Triangular.Taylor.TaylorWave003
187
+ OAI.Analysis.Triangular.Taylor.TaylorWave004
188
+ OAI.Analysis.Triangular.Taylor.TaylorWave005
189
+ OAI.Analysis.Triangular.Taylor.TaylorWave006
190
+ OAI.Analysis.Triangular.Taylor.TaylorWave01
191
+ OAI.Analysis.Triangular.Taylor.TaylorWave010
192
+ OAI.Analysis.Triangular.Taylor.TaylorWave011
193
+ OAI.Analysis.Triangular.Taylor.TaylorWave012
194
+ OAI.Analysis.Triangular.Taylor.TaylorWave013
195
+ OAI.Analysis.Triangular.Taylor.TaylorWave014
196
+ OAI.Analysis.Triangular.Taylor.TaylorWave015
197
+ OAI.Analysis.Triangular.Taylor.TaylorWave016
198
+ OAI.Analysis.Triangular.Taylor.TaylorWave10
199
+ OAI.Analysis.Triangular.Taylor.TaylorWave100
200
+ OAI.Analysis.Triangular.Taylor.TaylorWave101
201
+ OAI.Analysis.Triangular.Taylor.TaylorWave102
202
+ OAI.Analysis.Triangular.Taylor.TaylorWave103
203
+ OAI.Analysis.Triangular.Taylor.TaylorWave104
204
+ OAI.Analysis.Triangular.Taylor.TaylorWave105
205
+ OAI.Analysis.Triangular.Taylor.TaylorWave106
206
+ OAI.Analysis.Triangular.Taylor.TaylorWave11
207
+ OAI.Analysis.Triangular.Taylor.TaylorWave110
208
+ OAI.Analysis.Triangular.Taylor.TaylorWave111
209
+ OAI.Analysis.Triangular.Taylor.TaylorWave112
210
+ OAI.Analysis.Triangular.Taylor.TaylorWave113
211
+ OAI.Analysis.Triangular.Taylor.TaylorWave114
212
+ OAI.Analysis.Triangular.Taylor.TaylorWave115
213
+ OAI.Analysis.Triangular.Taylor.TaylorWave116
214
+ OAI.Analysis.Triangular.Taylor.VariationBound
215
+ OAI.Analysis.Triangular.Taylor.WaveFunction
tasks/atomic-gaussian/solution/reference.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Place openai/math's reference proof as a submission (used by the oracle's solve.sh).
3
+
4
+ Standalone: the adapter copies this file into every task's solution/ directory.
5
+
6
+ reference.py <openai-math lean dir> <closure.txt> <solution module> <workspace>
7
+
8
+ Each module in closure.txt (``OAI.A.B``) is copied from ``<lean>/OAI/A/B.lean`` to
9
+ ``<workspace>/Submission/OAI/A/B.lean`` with ``import OAI.X`` rewritten to
10
+ ``import Submission.OAI.X``; ``Submission.lean`` imports the solution module. Declaration names
11
+ are namespaces, not module paths, so the theorems keep the names the challenge expects.
12
+ """
13
+
14
+ from __future__ import annotations
15
+
16
+ import re
17
+ import sys
18
+ from pathlib import Path
19
+
20
+ _IMPORT = re.compile(r"^(\s*(?:public\s+|private\s+)?(?:meta\s+)?import\s+(?:all\s+)?)(OAI(?:\.|\s|$))")
21
+ _HEADER_LINE = re.compile(r"^\s*(?:module\b|prelude\b|--|$)")
22
+
23
+
24
+ def rename_imports(text: str) -> str:
25
+ """Rewrite ``import OAI...`` to ``import Submission.OAI...`` in the import header only."""
26
+ out, in_header, in_comment = [], True, False
27
+ for line in text.splitlines(keepends=True):
28
+ if in_header:
29
+ stripped = line.strip()
30
+ if in_comment:
31
+ in_comment = "-/" not in stripped
32
+ elif stripped.startswith("/-"):
33
+ in_comment = "-/" not in stripped[2:]
34
+ elif _IMPORT.match(line):
35
+ line = _IMPORT.sub(lambda m: m.group(1) + "Submission." + m.group(2), line, count=1)
36
+ elif not _HEADER_LINE.match(line) and not re.match(r"^\s*(?:public\s+|private\s+)?(?:meta\s+)?import\s", line):
37
+ in_header = False
38
+ out.append(line)
39
+ return "".join(out)
40
+
41
+
42
+ def module_path(root: Path, module: str) -> Path:
43
+ return root.joinpath(*module.split(".")).with_suffix(".lean")
44
+
45
+
46
+ def place(lean_dir: Path, modules: list[str], solution_module: str, workspace: Path) -> None:
47
+ for module in modules:
48
+ dst = module_path(workspace / "Submission", module)
49
+ dst.parent.mkdir(parents=True, exist_ok=True)
50
+ dst.write_text(rename_imports(module_path(lean_dir, module).read_text(encoding="utf-8")), encoding="utf-8")
51
+ (workspace / "Submission.lean").write_text(f"import Submission.{solution_module}\n", encoding="utf-8")
52
+
53
+
54
+ if __name__ == "__main__":
55
+ lean_dir, closure_txt, solution_module, workspace = sys.argv[1:5]
56
+ modules = [m.strip() for m in Path(closure_txt).read_text().splitlines() if m.strip()]
57
+ place(Path(lean_dir), modules, solution_module, Path(workspace))
58
+ print(f"placed {len(modules)} reference modules for {solution_module}")
tasks/atomic-gaussian/solution/solve.sh ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Oracle: submit openai/math's own proof of AtomicGaussian, i.e. module OAI.Analysis.Triangular.Main and the
3
+ # 215 OAI modules it imports, placed under Submission/ (see reference.py).
4
+ set -euo pipefail
5
+ if [ -f /solution/reference.tar.gz ]; then
6
+ tar -xzf /solution/reference.tar.gz -C /workspace
7
+ else
8
+ # Fetch only those files at the pinned commit. The task blocks the network while the agent runs,
9
+ # so run the oracle with `harbor run ... --allow-agent-host github.com`.
10
+ tmp=$(mktemp -d)
11
+ git -C "$tmp" init -q
12
+ git -C "$tmp" remote add origin https://github.com/openai/math.git
13
+ git -C "$tmp" config core.sparseCheckout true
14
+ sed -e 's#\.#/#g' -e 's#^#/lean/#' -e 's#$#.lean#' /solution/closure.txt > "$tmp/.git/info/sparse-checkout"
15
+ git -C "$tmp" fetch -q --depth 1 --filter=blob:none origin adc7f1241b42e322a6451854ab7e4b4c146bf78a
16
+ git -C "$tmp" checkout -q FETCH_HEAD
17
+ python3 /solution/reference.py "$tmp/lean" /solution/closure.txt OAI.Analysis.Triangular.Main /workspace
18
+ rm -rf "$tmp"
19
+ fi
20
+ echo "placed the reference proof of AtomicGaussian"
tasks/atomic-gaussian/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+
3
+ [task]
4
+ name = "openai-math/atomic-gaussian"
5
+ version = "1.0.0"
6
+ description = "Prove AtomicGaussian (openai/math family 090: Universal optimality of the triangular lattice) in Lean 4 with Mathlib; graded by Comparator in a separate sandbox."
7
+ keywords = ["lean4", "mathlib", "theorem-proving", "openai-math", "convex-and-metric-geometry"]
8
+
9
+ [metadata]
10
+ source = "https://github.com/openai/math"
11
+ source_commit = "adc7f1241b42e322a6451854ab7e4b4c146bf78a"
12
+ source_license = "Apache-2.0"
13
+ source_notice = "tests/Challenge.lean is lean/ComparatorChallenges/AtomicGaussian.lean from openai/math, (c) OpenAI, unchanged; see NOTICE at the dataset root"
14
+ challenge = "AtomicGaussian"
15
+ family = "090"
16
+ family_title = "Universal optimality of the triangular lattice"
17
+ subject = "Convex and metric geometry"
18
+ theorems = ["OAI.AtomicTriangular.sharp_gaussian_minorants_atomic"]
19
+ definition_holes = []
20
+ fixed_definitions = []
21
+ reference_module = "OAI.Analysis.Triangular.Main"
22
+ reference_modules = 215
23
+ reference_lean_bytes = 8527615
24
+ reference_requires_packages = []
25
+ oracle_result = "accepted"
26
+ oracle_grade_seconds = 10626
27
+ difficulty = "research"
28
+
29
+ [agent]
30
+ timeout_sec = 14400
31
+ network_mode = "no-network"
32
+
33
+ [environment]
34
+ build_timeout_sec = 5400
35
+ cpus = 4
36
+ memory_mb = 8192
37
+ storage_mb = 10240
38
+ workdir = "/workspace"
39
+ # Lean sees all host CPUs rather than the sandbox's 4; this bounds `lake build` to 3 parallel jobs.
40
+ env = { LEAN_NUM_THREADS = "3" }
41
+
42
+ [verifier]
43
+ timeout_sec = 19374
44
+ environment_mode = "separate"
45
+ network_mode = "no-network"
46
+
47
+ [[verifier.collect]]
48
+ command = "python3 /opt/openai-math/pack_submission.py"
49
+ timeout_sec = 300
tasks/atomic-gaussian/tests/Challenge.lean ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ noncomputable section
6
+ open scoped BigOperators FourierTransform SchwartzMap
7
+ open Complex Polynomial
8
+
9
+ namespace AtomicTriangular
10
+
11
+ abbrev Plane := EuclideanSpace ℝ (Fin 2)
12
+
13
+ def b : ℝ := Real.sqrt 3 / 2
14
+
15
+ def triangularPoint (jk : ℤ × ℤ) : Plane :=
16
+ (Real.sqrt b)⁻¹ •
17
+ (EuclideanSpace.single 0 ((jk.1 : ℝ) + (jk.2 : ℝ) / 2) +
18
+ EuclideanSpace.single 1 ((jk.2 : ℝ) * b))
19
+
20
+ def A : Set Plane := Set.range triangularPoint
21
+
22
+ def dualA : Set Plane := {w | ∀ a ∈ A, ∃ n : ℤ, inner ℝ a w = (n : ℝ)}
23
+
24
+ def gaussian (α : ℝ) (x : Plane) : ℝ := Real.exp (-Real.pi * α * ‖x‖ ^ 2)
25
+
26
+ def Radial (f : Plane → ℝ) : Prop := ∀ x y, ‖x‖ = ‖y‖ → f x = f y
27
+
28
+ def realFourier (f : Plane → ℝ) (w : Plane) : ℂ := 𝓕 (fun x => (f x : ℂ)) w
29
+
30
+ end AtomicTriangular
31
+
32
+ namespace AtomicTriangular.Construction
33
+
34
+ def b : ℝ := Real.sqrt 3 / 2
35
+
36
+ def h : ℝ := 17 / 50
37
+
38
+ def H : ℝ := 27 / 50
39
+
40
+ def eta : ℝ := 1 / 5
41
+
42
+ def kappa : ℝ := Real.pi / 36
43
+
44
+ def residues : Finset ℤ := {0,1,3,4,7,9,12,13,16,19,21,25,27,28,31}
45
+
46
+ def residue (a : Fin 15) : ℤ := ![0,1,3,4,7,9,12,13,16,19,21,25,27,28,31] a
47
+
48
+ def Node : Type := {n : ℤ // 0 < n ∧ n % 36 ∈ residues}
49
+
50
+ def FiniteNodes : Finset ℤ := {1,3,4,7,9,12,13,16,19,21}
51
+
52
+ def sineFactor (a : Fin 15) (s : ℂ) : ℂ :=
53
+ 2 * Complex.sin ((kappa : ℂ) * (s - (residue a : ℂ)))
54
+
55
+ def P (s : ℂ) : ℂ := ∏ a : Fin 15, (sineFactor a s)^2
56
+
57
+ def dBasis (n : Node) : ℂ → ℂ := dslope P (n.val : ℂ)
58
+
59
+ def cBasis (n : Node) : ℂ → ℂ := dslope (dBasis n) (n.val : ℂ)
60
+
61
+ def finiteC (a : Fin 15) (s : ℂ) : ℂ :=
62
+ 4 * (kappa : ℂ)^2 * ∏ r ∈ Finset.univ.erase a, (sineFactor r s)^2
63
+
64
+ def finiteD (a : Fin 15) (s : ℂ) : ℂ :=
65
+ 2 * (kappa : ℂ) * sineFactor a s *
66
+ Complex.cos ((kappa : ℂ) * (s - (residue a : ℂ))) *
67
+ ∏ r ∈ Finset.univ.erase a, (sineFactor r s)^2
68
+
69
+ def phase (s : ℂ) : ℂ := Complex.exp ((Real.pi : ℂ) * Complex.I * s / 18)
70
+
71
+ def atomFactor (a : Fin 15) : Polynomial ℂ :=
72
+ -C (phase (residue a)) + C 2 * X - C (phase (-residue a)) * X^2
73
+
74
+ def atomPolynomial : Polynomial ℂ := ∏ a : Fin 15, atomFactor a
75
+
76
+ def cAtomPolynomial (a : Fin 15) : Polynomial ℂ :=
77
+ C (4 * (kappa : ℂ)^2) * ∏ r ∈ Finset.univ.erase a, atomFactor r
78
+
79
+ def dAtomPolynomial (a : Fin 15) : Polynomial ℂ :=
80
+ C (Complex.I * (kappa : ℂ)) *
81
+ (C (phase (residue a)) - C (phase (-residue a)) * X^2) *
82
+ ∏ r ∈ Finset.univ.erase a, atomFactor r
83
+
84
+ def fourierCoeff (j : Fin 31) : ℂ := atomPolynomial.coeff j.val
85
+
86
+ def frequency (j : Fin 31) : ℝ := ((j.val : ℝ)-15)/18
87
+
88
+ def waveDerivative (k : ℕ) (s : ℂ) : ℂ :=
89
+ ∑ j : Fin 31, fourierCoeff j * (I*Real.pi*frequency j)^k *
90
+ exp (I*Real.pi*frequency j*s)
91
+
92
+ def Q (n : ℤ) : ℝ := (waveDerivative 2 n).re / 2
93
+
94
+ def D (n : ℤ) : ℝ := (waveDerivative 3 n).re / (6 * Q n)
95
+
96
+ end AtomicTriangular.Construction
97
+
98
+ namespace AtomicTriangular.FiniteCertificate
99
+ open Construction
100
+
101
+ def cShiftPolynomial (a : Fin 15) : Polynomial ℂ := X * cAtomPolynomial a
102
+
103
+ def cCoefficient (a : Fin 15) (j : Fin 31) : ℂ := (cShiftPolynomial a).coeff j.val
104
+
105
+ def dCoefficient (a : Fin 15) (j : Fin 31) : ℂ := (dAtomPolynomial a).coeff j.val
106
+
107
+ end AtomicTriangular.FiniteCertificate
108
+
109
+ namespace AtomicTriangular.Construction
110
+
111
+ abbrev Plane := EuclideanSpace ℝ (Fin 2)
112
+
113
+ def radial (x : Plane) : ℝ := b*‖x‖^2
114
+
115
+ def waveDen (k t : ℝ) : ℝ := k^2+t^2
116
+
117
+ def Xwave (k t : ℝ) : ℝ := (4/3)/waveDen k t
118
+
119
+ def lambda (k t : ℝ) : ℂ := ((k:ℂ)+I*t)/(b*waveDen k t : ℝ)
120
+
121
+ def zeta (k v t : ℝ) : ℂ := -(t:ℂ)*(Xwave k t:ℂ)+I*(k*Xwave k t-v:ℝ)
122
+
123
+ def transformedWave (k v t : ℝ) (s : ℂ) : ℂ := lambda k t*exp (I*Real.pi*zeta k v t*s)
124
+
125
+ def finiteColumn (col : Fin 23) (j : Fin 31) : ℂ :=
126
+ if hc : col.val<22 then
127
+ if col.val%2=0 then FiniteCertificate.cCoefficient ⟨col.val/2,by omega⟩ j
128
+ else FiniteCertificate.dCoefficient ⟨col.val/2,by omega⟩ j
129
+ else fourierCoeff j
130
+
131
+ def finiteNode (n : Fin 10) : ℤ := residue ⟨n.val+1,by omega⟩
132
+
133
+ def jetMultiplier (k v : ℝ) (n : ℤ) (d : Fin 2) (t : ℝ) : ℂ :=
134
+ (Q n:ℂ)⁻¹*transformedWave k v t n *
135
+ (if d.val=0 then -1 else (D n:ℂ)-I*Real.pi*zeta k v t)
136
+
137
+ def jet (k v : ℝ) (n : ℤ) (d : Fin 2) (S : Fin 31 → ℂ) : ℝ :=
138
+ (∑ j : Fin 31, jetMultiplier k v n d (frequency j)*S j).re
139
+
140
+ def fullJetMatrix : Matrix (Fin 20) (Fin 23) ℝ := fun i col =>
141
+ jet (if col.val=22 then h else H) H
142
+ (finiteNode ⟨i.val/2,by omega⟩) ⟨i.val%2,by omega⟩ (finiteColumn col)
143
+
144
+ def R : Matrix (Fin 20) (Fin 20) ℝ := fun i j => fullJetMatrix i ⟨j.val+2,by omega⟩
145
+
146
+ def R0 : Matrix (Fin 20) (Fin 3) ℝ := fun i j =>
147
+ fullJetMatrix i (if j.val<2 then ⟨j.val,by omega⟩ else 22)
148
+
149
+ abbrev TailNode := {n : Node // n.val ∉ FiniteNodes}
150
+
151
+ structure InputCoefficients where
152
+ C : ℝ
153
+ finiteC : Fin 11 → ℝ
154
+ finiteD : Fin 11 → ℝ
155
+ tailC : TailNode → ���
156
+ tailD : TailNode → ℝ
157
+ summable : Summable (fun n => |tailC n|+|tailD n|)
158
+
159
+ def tailInput (a : InputCoefficients) (s : ℂ) : ℂ :=
160
+ (a.C:ℂ)*P s + ∑' n : TailNode, ((a.tailC n:ℂ)*cBasis n.val s+(a.tailD n:ℂ)*dBasis n.val s)
161
+
162
+ def finiteInput (a : InputCoefficients) (s : ℂ) : ℂ :=
163
+ ∑ j : Fin 11, ((a.finiteC j:ℂ)*finiteC ⟨j.val,by omega⟩ s +
164
+ (a.finiteD j:ℂ)*finiteD ⟨j.val,by omega⟩ s)
165
+
166
+ def inputComplex (a : InputCoefficients) (x : Plane) : ℂ :=
167
+ exp (-(Real.pi:ℂ)*h*(radial x:ℂ))*tailInput a (radial x) +
168
+ exp (-(Real.pi:ℂ)*H*(radial x:ℂ))*finiteInput a (radial x)
169
+
170
+ def Z : ℝ := 391/1000
171
+
172
+ def targetCoefficient (n : Fin 10) : ℝ := Q 1 / Q (finiteNode n) * Real.exp (Real.pi*eta*(finiteNode n))
173
+
174
+ def Yf : Matrix (Fin 20) (Fin 8) ℝ := fun i j =>
175
+ if i.val<8 then
176
+ targetCoefficient ⟨i.val/2,by omega⟩ *
177
+ (if i.val%2=0 then (if j.val=i.val then 1 else 0)
178
+ else (if j.val=i.val then -1 else if j.val=i.val-1 then Real.pi*eta-D (finiteNode ⟨i.val/2,by omega⟩) else 0))
179
+ else 0
180
+
181
+ def gamma (side : Fin 2) : Matrix (Fin 3) (Fin 8) ℝ := fun i j =>
182
+ if j.val=1 then (if i.val=0 then 11/25 else if i.val=1 then 0 else if side.val=0 then -(3/500) else 3/500) else 0
183
+
184
+ def Uplus : Matrix (Fin 20) (Fin 8) ℝ :=
185
+ (1-R)⁻¹*(Yf+R0*(gamma 1+gamma 0))
186
+
187
+ def Uminus : Matrix (Fin 20) (Fin 8) ℝ :=
188
+ (1+R)⁻¹*(Yf+R0*(gamma 1-gamma 0))
189
+
190
+ def finiteSolution (side : Fin 2) : Matrix (Fin 20) (Fin 8) ℝ :=
191
+ if side.val=0 then (1/2:ℝ) • (Uplus+Uminus) else (1/2:ℝ) • (Uplus-Uminus)
192
+
193
+ def Acoefficient (side : Fin 2) : Matrix (Fin 23) (Fin 8) ℝ := fun i j =>
194
+ if hi : i.val<2 then gamma side ⟨i.val,by omega⟩ j
195
+ else if h22 : i.val=22 then gamma side 2 j
196
+ else finiteSolution side ⟨i.val-2,by omega⟩ j
197
+
198
+ def gaussianZ (α : ℝ) : ℝ := 1/(Real.pi*(α/b-h))
199
+
200
+ def actualParameter (z : ℝ) : Fin 8 → ℝ :=
201
+ ![z,1,z*Real.exp (-2/z),Real.exp (-2/z),z*Real.exp (-3/z),Real.exp (-3/z),
202
+ z*Real.exp (-6/z),Real.exp (-6/z)]
203
+
204
+ def normalizingDen (z : ℝ) := Q 1*z*Real.exp (1/z)
205
+
206
+ end AtomicTriangular.Construction
207
+
208
+ namespace AtomicTriangular.Construction
209
+
210
+ def finiteCoordinates (a : InputCoefficients) (i : Fin 22) : ℝ :=
211
+ if i.val % 2 = 0 then a.finiteC ⟨i.val / 2, by omega⟩
212
+ else a.finiteD ⟨i.val / 2, by omega⟩
213
+
214
+ def HasAtomicConstruction (α : ℝ) (f : Plane → ℝ) : Prop :=
215
+ IsUnit (1 - R) ∧ IsUnit (1 + R) ∧
216
+ (1 - R) * Uplus = Yf + R0 * (gamma 1 + gamma 0) ∧
217
+ (1 + R) * Uminus = Yf + R0 * (gamma 1 - gamma 0) ∧
218
+ ∃ (a : Fin 2 → InputCoefficients) (u : Fin 2 → Fin 20 → ℝ),
219
+ (∀ side,
220
+ (a side).C = (if side.val = 0 then -(3/500) else 3/500) ∧
221
+ (a side).finiteC 0 = 11/25 ∧ (a side).finiteD 0 = 0 ∧
222
+ ∀ i : Fin 22,
223
+ finiteCoordinates (a side) i =
224
+ (∑ j : Fin 8, Acoefficient side ⟨i.val, by omega⟩ j *
225
+ actualParameter (gaussianZ α) j) +
226
+ (if hi : i.val < 2 then 0 else u side ⟨i.val - 2, by omega⟩)) ∧
227
+ (∀ side,
228
+ (∑ i : Fin 20, |u side i|) < 1/10^5 ∧
229
+ Summable (fun n : TailNode => |(a side).tailC n| + |(a side).tailD n|) ∧
230
+ (∑' n : TailNode, (|(a side).tailC n| + |(a side).tailD n|)) < 3/10^9) ∧
231
+ (∀ x : Plane, (f x : ℂ) =
232
+ (inputComplex (a 0) x + 𝓕 (inputComplex (a 1)) x) /
233
+ (normalizingDen (gaussianZ α) : ℂ))
234
+
235
+ end AtomicTriangular.Construction
236
+
237
+ namespace AtomicTriangular
238
+
239
+ theorem sharp_gaussian_minorants_atomic (α : ℝ) (hα : 0 < α) :
240
+ ∃ f : SchwartzMap Plane ℝ,
241
+ Radial f ∧ (∀ x, f x ≤ gaussian α x) ∧
242
+ (∀ w, (realFourier f w).im = 0 ∧ 0 ≤ (realFourier f w).re) ∧
243
+ (∀ a ∈ A, a ≠ 0 → f a = gaussian α a) ∧
244
+ (∀ w ∈ dualA, w ≠ 0 → realFourier f w = 0) ∧
245
+ (1 ≤ α → Construction.HasAtomicConstruction α f) := by
246
+ sorry
247
+
248
+ end AtomicTriangular
249
+
250
+ end
251
+
252
+ end OAI
tasks/atomic-gaussian/tests/grade.py ADDED
@@ -0,0 +1,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Grade one openai/math challenge with Comparator.
3
+
4
+ This runs as root in a separate verifier sandbox that never executed agent code. The only input the
5
+ agent controls is /logs/artifacts/submission.tar. Everything else comes from /tests (this task's
6
+ trusted challenge and Comparator config) and from the image.
7
+
8
+ Steps:
9
+ 1. Unpack submission.tar, accepting only regular `Submission.lean` / `Submission/**.lean` files.
10
+ 2. Lay out a fresh Lake project: the trusted lakefile, Challenge.lean from /tests, the submission,
11
+ and the image's prebuilt Mathlib (root-owned, read-only to the grader).
12
+ 3. Run `lake env comparator config.json` as the unprivileged `grader` user, with no network.
13
+ Comparator builds Challenge and Submission inside landrun, checks that every listed theorem
14
+ has exactly the challenge's statement, that only the permitted axioms are used, and replays
15
+ the proof through the Lean kernel.
16
+ 4. Kill everything the grader started, then write the verdict.
17
+
18
+ reward.txt is 1 only when Comparator prints its success line and exits 0. A rejected or
19
+ non-compiling submission scores 0. A broken grading setup (the trusted Challenge fails to build,
20
+ the network block cannot be installed) writes no reward, so Harbor reports an error instead of a
21
+ score.
22
+ """
23
+
24
+ from __future__ import annotations
25
+
26
+ import json
27
+ import os
28
+ import pwd
29
+ import re
30
+ import shutil
31
+ import signal
32
+ import socket
33
+ import stat
34
+ import subprocess
35
+ import sys
36
+ import tarfile
37
+ import tempfile
38
+ import threading
39
+ import time
40
+ from pathlib import Path
41
+
42
+ TESTS = Path("/tests")
43
+ VERIFIER_DIR = Path("/logs/verifier")
44
+ SUBMISSION_TAR = Path("/logs/artifacts/submission.tar")
45
+ LEAN_ENV = Path("/opt/lean-env")
46
+ RUN_ROOT = Path("/var/lib/oai-grade")
47
+ GRADER = "grader"
48
+ SUCCESS_LINE = "Your solution is okay!"
49
+ GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
+ # Lake and Comparator wording when a build process is killed for running out of memory.
52
+ OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
+
54
+ MAX_FILES = 20_000
55
+ MAX_FILE_BYTES = 64 << 20
56
+ MAX_TOTAL_BYTES = 768 << 20
57
+ # Submission.lean, or Submission/A/B.lean where each component is a Lean identifier: it starts with
58
+ # a letter or `_` and continues with letters, digits (subscripts like `₁` included), `_`, `'`, `!`, `?`.
59
+ # Unicode is allowed because Lean identifiers allow it (openai/math has a module named `Kappa₁`).
60
+ _COMPONENT = r"[^\W\d][\w'!?]*"
61
+ MEMBER = re.compile(rf"^Submission(?:/{_COMPONENT})*\.lean$")
62
+ MEMBER_DIR = re.compile(rf"^Submission(?:/{_COMPONENT})*/?$")
63
+
64
+ LAKEFILE = """import Lake
65
+ open Lake DSL
66
+
67
+ package openai_math where
68
+ leanOptions := #[⟨`autoImplicit, false⟩]
69
+
70
+ require mathlib from git
71
+ "https://github.com/leanprover-community/mathlib4.git" @ "d13f23b723b8a846827a245b89c10fc7d3f11612"
72
+
73
+ lean_lib Challenge
74
+
75
+ -- `Submission` and every `Submission.*` module it imports.
76
+ lean_lib Submission
77
+ """
78
+
79
+
80
+ class Rejected(Exception):
81
+ """The submission is invalid: reward 0."""
82
+
83
+
84
+ class GradingError(Exception):
85
+ """The grading setup is broken: no reward, so the trial shows as errored."""
86
+
87
+
88
+ def toolchain_bin() -> Path:
89
+ bins = sorted(Path("/opt/elan/toolchains").glob("*/bin"))
90
+ if len(bins) != 1:
91
+ raise GradingError(f"expected one Lean toolchain, found {bins}")
92
+ return bins[0]
93
+
94
+
95
+ def unpack_submission(dest: Path) -> dict:
96
+ """Copy the submission's .lean files into ``dest``; reject anything else."""
97
+ try:
98
+ st = SUBMISSION_TAR.lstat()
99
+ except FileNotFoundError:
100
+ raise Rejected("no submission: /workspace/Submission.lean was not found after the agent finished")
101
+ if not SUBMISSION_TAR.is_file() or SUBMISSION_TAR.is_symlink() or st.st_size > MAX_TOTAL_BYTES + (64 << 20):
102
+ raise Rejected("submission archive is not a regular file of acceptable size")
103
+
104
+ files, total = [], 0
105
+ try:
106
+ with tarfile.open(SUBMISSION_TAR, "r:") as tar:
107
+ for count, member in enumerate(tar):
108
+ if count > MAX_FILES * 2:
109
+ raise Rejected(f"submission has more than {MAX_FILES} entries")
110
+ name = member.name.removeprefix("./")
111
+ if member.isdir():
112
+ if not MEMBER_DIR.match(name):
113
+ raise Rejected(f"unexpected directory in submission: {name!r}")
114
+ continue
115
+ if not member.isreg():
116
+ raise Rejected(f"only regular .lean files are accepted, got {name!r}")
117
+ if not MEMBER.match(name):
118
+ raise Rejected(f"unexpected file in submission: {name!r} (only Submission.lean and Submission/**.lean)")
119
+ if member.size > MAX_FILE_BYTES:
120
+ raise Rejected(f"{name} is larger than {MAX_FILE_BYTES >> 20} MB")
121
+ total += member.size
122
+ if total > MAX_TOTAL_BYTES or len(files) >= MAX_FILES:
123
+ raise Rejected("submission is too large")
124
+ data = tar.extractfile(member).read(MAX_FILE_BYTES + 1)
125
+ try:
126
+ data.decode("utf-8")
127
+ except UnicodeDecodeError:
128
+ raise Rejected(f"{name} is not valid UTF-8")
129
+ target = dest / name
130
+ if target.exists():
131
+ raise Rejected(f"duplicate entry {name!r}")
132
+ target.parent.mkdir(parents=True, exist_ok=True)
133
+ target.write_bytes(data)
134
+ target.chmod(0o644)
135
+ files.append(name)
136
+ except tarfile.TarError as exc:
137
+ raise Rejected(f"submission archive is unreadable: {exc}")
138
+ if "Submission.lean" not in files:
139
+ raise Rejected("no submission: /workspace/Submission.lean was not found after the agent finished")
140
+ for d in (dest / "Submission",):
141
+ if d.exists():
142
+ for p in [d, *d.rglob("*")]:
143
+ if p.is_dir():
144
+ p.chmod(0o755)
145
+ return {"files": len(files), "bytes": total}
146
+
147
+
148
+ def write_project(run: Path, config: dict) -> None:
149
+ (run / "lakefile.lean").write_text(LAKEFILE)
150
+ shutil.copy(LEAN_ENV / "lake-manifest.json", run / "lake-manifest.json")
151
+ shutil.copy(LEAN_ENV / "lean-toolchain", run / "lean-toolchain")
152
+ shutil.copy(TESTS / "Challenge.lean", run / "Challenge.lean")
153
+ comparator_config = {
154
+ "challenge_module": "Challenge",
155
+ "solution_module": "Submission",
156
+ "theorem_names": config["theorem_names"],
157
+ "definition_names": config["definition_names"],
158
+ "permitted_axioms": config["permitted_axioms"],
159
+ "enable_nanoda": False,
160
+ }
161
+ (run / "config.json").write_text(json.dumps(comparator_config, indent=2))
162
+ lake = run / ".lake"
163
+ lake.mkdir()
164
+ (lake / "packages").symlink_to(LEAN_ENV / ".lake" / "packages")
165
+ for p in run.iterdir():
166
+ if p.name != ".lake":
167
+ os.chmod(p, 0o644 if p.is_file() else 0o755, follow_symlinks=False)
168
+ uid = pwd.getpwnam(GRADER).pw_uid
169
+ os.chown(lake, uid, uid)
170
+ os.chmod(run, 0o755)
171
+
172
+
173
+ def fresh_run(task: dict) -> Path:
174
+ """A new, empty Lake project for one grading attempt."""
175
+ run = Path(tempfile.mkdtemp(prefix="run.", dir=RUN_ROOT))
176
+ write_project(run, task["comparator"])
177
+ return run
178
+
179
+
180
+ def ensure_readable(roots: tuple[str, ...] = ("/opt/elan", str(LEAN_ENV))) -> int:
181
+ """Make the prebuilt toolchain and packages readable by the grader (never writable).
182
+
183
+ The image already does this; this only repairs an image built without it. It must touch
184
+ nothing that is already right: these files live in the image's lower overlay layer, and a
185
+ `chmod` on one copies it whole into the sandbox's writable layer. A blanket `chmod -R` took
186
+ 535 s and used 8.7 GB of the 10 GB working disk. This walk only reads metadata (lstat).
187
+ Returns the number of entries changed.
188
+ """
189
+ changed = 0
190
+ for root in roots:
191
+ for dirpath, dirnames, filenames in os.walk(root, followlinks=False):
192
+ for name in [*dirnames, *filenames]:
193
+ path = os.path.join(dirpath, name)
194
+ st = os.lstat(path)
195
+ if stat.S_ISDIR(st.st_mode):
196
+ want = (st.st_mode | 0o555) & ~0o022
197
+ elif stat.S_ISREG(st.st_mode):
198
+ want = (st.st_mode | 0o444) & ~0o022
199
+ else:
200
+ continue
201
+ if stat.S_IMODE(st.st_mode) != stat.S_IMODE(want):
202
+ os.chmod(path, stat.S_IMODE(want))
203
+ changed += 1
204
+ return changed
205
+
206
+
207
+ def block_grader_network() -> None:
208
+ """Reject every socket the grader user opens, loopback included.
209
+
210
+ landrun already denies TCP to the sandboxed build. This rule also covers the grader's own
211
+ processes outside landrun and services listening inside the sandbox.
212
+ """
213
+ uid = str(pwd.getpwnam(GRADER).pw_uid)
214
+ for tool in ("iptables", "ip6tables"):
215
+ rule = ["OUTPUT", "-m", "owner", "--uid-owner", uid, "-j", "REJECT"]
216
+ if subprocess.run([tool, "-C", *rule], capture_output=True).returncode == 0:
217
+ continue
218
+ res = subprocess.run([tool, "-I", *rule], capture_output=True, text=True)
219
+ if res.returncode != 0:
220
+ raise GradingError(f"cannot install the {tool} rule for {GRADER}: {res.stderr.strip()}")
221
+ probe = subprocess.run(
222
+ ["runuser", "-u", GRADER, "--", sys.executable, "-c",
223
+ "import socket,sys\n"
224
+ "s=socket.socket(); s.settimeout(3)\n"
225
+ "sys.exit(0 if s.connect_ex(('127.0.0.1', 2280)) == 0 else 1)"],
226
+ capture_output=True,
227
+ )
228
+ if probe.returncode == 0:
229
+ raise GradingError("the grader user can still open loopback connections")
230
+
231
+
232
+ def kill_grader() -> None:
233
+ for _ in range(20):
234
+ subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True)
235
+ if subprocess.run(["pgrep", "-u", GRADER], capture_output=True).returncode != 0:
236
+ return
237
+ time.sleep(0.5)
238
+ raise GradingError("could not stop the grader's processes")
239
+
240
+
241
+ def out_of_memory(out: str) -> bool:
242
+ return any(m in out for m in OOM_MARKERS)
243
+
244
+
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
+ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
+ env = {
290
+ "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
291
+ "HOME": str(run),
292
+ "LANG": "C.UTF-8",
293
+ "LEAN_ABORT_ON_PANIC": "1",
294
+ # Lean sees every host CPU, not the sandbox's 4; bound Lake's parallel builds so a large
295
+ # proof fits in 8 GB. Needs the image's Comparator, which passes this into landrun.
296
+ "LEAN_NUM_THREADS": threads,
297
+ }
298
+ cmd = [
299
+ "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
+ "lake", "env", "comparator", "config.json",
301
+ ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
+ return code, stdout + "\n--- stderr ---\n" + stderr
314
+
315
+
316
+ def run_with_timeout(cmd: list[str], cwd: Path, timeout_sec: int, kill_extra=None) -> tuple[int | None, str, str]:
317
+ """Run ``cmd``; on timeout kill its whole process tree and return code None.
318
+
319
+ `timeout(1)` only signals its direct child, so Lean processes started by Lake under landrun
320
+ kept the output pipe open and the grader waited past Harbor's own limit. Here the command
321
+ gets its own session; on timeout its process group is killed, and ``kill_extra`` (every
322
+ process of the grader user) catches anything that left the group.
323
+ """
324
+ proc = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
325
+ text=True, errors="replace", start_new_session=True)
326
+ try:
327
+ stdout, stderr = proc.communicate(timeout=timeout_sec)
328
+ return proc.returncode, stdout, stderr
329
+ except subprocess.TimeoutExpired:
330
+ try:
331
+ os.killpg(proc.pid, signal.SIGKILL)
332
+ except ProcessLookupError:
333
+ pass
334
+ if kill_extra:
335
+ kill_extra()
336
+ stdout, stderr = proc.communicate()
337
+ return None, stdout, stderr
338
+
339
+
340
+ def classify(code: int | None, out: str) -> tuple[int | None, str]:
341
+ """Map Comparator's result to (reward, reason). reward None means a grading error."""
342
+ if code == 0 and SUCCESS_LINE in out:
343
+ return 1, "accepted: statements match, only permitted axioms, kernel replay passed"
344
+ if "Building Submission" not in out:
345
+ # Comparator stopped before it touched the submission: the trusted challenge or the
346
+ # toolchain is broken (or too slow), which says nothing about the agent's proof.
347
+ return None, ("timed out before the submission was built" if code is None
348
+ else "the trusted Challenge failed to build or export")
349
+ if code is None:
350
+ return 0, "timed out while building or checking the submission"
351
+ tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
+ if out_of_memory(out):
355
+ return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
+ return 0, "rejected: " + " | ".join(tail)[-4000:]
357
+
358
+
359
+ def main() -> int:
360
+ VERIFIER_DIR.mkdir(parents=True, exist_ok=True)
361
+ os.chmod(VERIFIER_DIR, 0o755)
362
+ for name in ("reward.txt", "reward.json"):
363
+ (VERIFIER_DIR / name).unlink(missing_ok=True)
364
+
365
+ task = json.loads((TESTS / "task.json").read_text())
366
+ details: dict = {"task": task["challenge"], "started_at": time.time()}
367
+ reward: int | None = None
368
+ log = ""
369
+ try:
370
+ RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
+ deadline = time.time() + int(task["grade_timeout_sec"])
372
+ run = fresh_run(task)
373
+ details["permission_fixes"] = ensure_readable()
374
+ block_grader_network()
375
+ details["submission"] = unpack_submission(run)
376
+ code, out = run_comparator(run, int(deadline - time.time()))
377
+ log = out
378
+ kill_grader()
379
+ if code not in (0, None) and out_of_memory(out) and deadline - time.time() > 60:
380
+ # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
+ # in a fresh directory: the first attempt's .lake was written by the submission's own
382
+ # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
+ run = fresh_run(task)
385
+ unpack_submission(run)
386
+ code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
+ log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
+ kill_grader()
389
+ details["retried_single_thread"] = True
390
+ reward, details["reason"] = classify(code, out)
391
+ details["comparator_exit"] = code
392
+ except Rejected as exc:
393
+ reward, details["reason"] = 0, f"rejected: {exc}"
394
+ except GradingError as exc:
395
+ reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
+ finally:
399
+ try:
400
+ kill_grader()
401
+ except GradingError as exc:
402
+ reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
+ details["reward"] = reward
408
+ details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
+ (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
+ print(json.dumps(details, indent=2))
412
+ if reward is not None:
413
+ (VERIFIER_DIR / "reward.txt").write_text(f"{reward}\n")
414
+ return 0
415
+
416
+
417
+ if __name__ == "__main__":
418
+ sys.exit(main())
tasks/atomic-gaussian/tests/task.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "challenge": "AtomicGaussian",
3
+ "comparator": {
4
+ "theorem_names": [
5
+ "OAI.AtomicTriangular.sharp_gaussian_minorants_atomic"
6
+ ],
7
+ "definition_names": [],
8
+ "permitted_axioms": [
9
+ "propext",
10
+ "Quot.sound",
11
+ "Classical.choice"
12
+ ]
13
+ },
14
+ "grade_timeout_sec": 18474
15
+ }
tasks/atomic-gaussian/tests/test.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Runs in the separate verifier sandbox, which never ran agent code. See grade.py.
3
+ exec python3 /tests/grade.py
tasks/auslander-reiten/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 732
23
  reference_lean_bytes = 2349871
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 2615
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 2349871
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 2177
27
  difficulty = "research"
28
 
29
  [agent]
tasks/auslander-reiten/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/backward-intertwiners/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 23
23
  reference_lean_bytes = 262844
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 823
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 262844
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 337
27
  difficulty = "research"
28
 
29
  [agent]
tasks/backward-intertwiners/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/balanced-box-routing/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 7
23
  reference_lean_bytes = 164970
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 299
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 164970
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 141
27
  difficulty = "research"
28
 
29
  [agent]
tasks/balanced-box-routing/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/balanced-ryser/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 698
23
  reference_lean_bytes = 3897149
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 1733
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 3897149
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 1384
27
  difficulty = "research"
28
 
29
  [agent]
tasks/balanced-ryser/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None:
tasks/balanced-three-stack/task.toml CHANGED
@@ -23,7 +23,7 @@ reference_modules = 60
23
  reference_lean_bytes = 495983
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
- oracle_grade_seconds = 1956
27
  difficulty = "research"
28
 
29
  [agent]
 
23
  reference_lean_bytes = 495983
24
  reference_requires_packages = []
25
  oracle_result = "accepted"
26
+ oracle_grade_seconds = 392
27
  difficulty = "research"
28
 
29
  [agent]
tasks/balanced-three-stack/tests/grade.py CHANGED
@@ -35,6 +35,7 @@ import subprocess
35
  import sys
36
  import tarfile
37
  import tempfile
 
38
  import time
39
  from pathlib import Path
40
 
@@ -46,6 +47,7 @@ RUN_ROOT = Path("/var/lib/oai-grade")
46
  GRADER = "grader"
47
  SUCCESS_LINE = "Your solution is okay!"
48
  GRADE_THREADS = "2"
 
49
  # Lake and Comparator wording when a build process is killed for running out of memory.
50
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
51
 
@@ -240,6 +242,49 @@ def out_of_memory(out: str) -> bool:
240
  return any(m in out for m in OOM_MARKERS)
241
 
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
244
  env = {
245
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
@@ -254,10 +299,17 @@ def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) ->
254
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
255
  "lake", "env", "comparator", "config.json",
256
  ]
257
- code, stdout, stderr = run_with_timeout(
258
- cmd, cwd=run, timeout_sec=timeout_sec,
259
- kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
260
- )
 
 
 
 
 
 
 
261
  return code, stdout + "\n--- stderr ---\n" + stderr
262
 
263
 
@@ -297,6 +349,8 @@ def classify(code: int | None, out: str) -> tuple[int | None, str]:
297
  if code is None:
298
  return 0, "timed out while building or checking the submission"
299
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
 
 
300
  if out_of_memory(out):
301
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
302
  return 0, "rejected: " + " | ".join(tail)[-4000:]
@@ -311,6 +365,7 @@ def main() -> int:
311
  task = json.loads((TESTS / "task.json").read_text())
312
  details: dict = {"task": task["challenge"], "started_at": time.time()}
313
  reward: int | None = None
 
314
  try:
315
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
316
  deadline = time.time() + int(task["grade_timeout_sec"])
@@ -325,26 +380,33 @@ def main() -> int:
325
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
326
  # in a fresh directory: the first attempt's .lake was written by the submission's own
327
  # build and must not be trusted for the challenge.
 
328
  run = fresh_run(task)
329
  unpack_submission(run)
330
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
331
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
332
  kill_grader()
333
  details["retried_single_thread"] = True
334
- (VERIFIER_DIR / "comparator.log").write_text(log)
335
  reward, details["reason"] = classify(code, out)
336
  details["comparator_exit"] = code
337
  except Rejected as exc:
338
  reward, details["reason"] = 0, f"rejected: {exc}"
339
  except GradingError as exc:
340
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
341
  finally:
342
  try:
343
  kill_grader()
344
  except GradingError as exc:
345
  reward, details["reason"] = None, f"grading error: {exc}"
 
 
 
 
346
  details["reward"] = reward
347
  details["finished_at"] = time.time()
 
348
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
349
  print(json.dumps(details, indent=2))
350
  if reward is not None:
 
35
  import sys
36
  import tarfile
37
  import tempfile
38
+ import threading
39
  import time
40
  from pathlib import Path
41
 
 
47
  GRADER = "grader"
48
  SUCCESS_LINE = "Your solution is okay!"
49
  GRADE_THREADS = "2"
50
+ SCRATCH_SWEEP_SEC = 15
51
  # Lake and Comparator wording when a build process is killed for running out of memory.
52
  OOM_MARKERS = ("Lean exited with code 137", "Child exited with 137")
53
 
 
242
  return any(m in out for m in OOM_MARKERS)
243
 
244
 
245
+ def out_of_disk(out: str) -> bool:
246
+ return "no space left on device" in out.lower()
247
+
248
+
249
+ # Run as the grader user by `empty_build_scratch`. argv: the .lake/build/ir directory.
250
+ EMPTY_SCRATCH = r"""
251
+ import os, sys
252
+ for dirpath, _, files in os.walk(sys.argv[1]):
253
+ for name in files:
254
+ if not name.endswith(".setup.json"):
255
+ continue
256
+ base = os.path.join(dirpath, name[:-len(".setup.json")])
257
+ try:
258
+ # Lake writes X.c.hash once Lean, and leanir if the module needs it, are done with X;
259
+ # both read X.setup.json, so it may only be emptied after that.
260
+ if os.stat(base + ".c.hash").st_mtime < os.stat(base + ".setup.json").st_mtime:
261
+ continue
262
+ for path in (base + ".setup.json", base + ".c"):
263
+ if os.path.getsize(path):
264
+ os.truncate(path, 0)
265
+ except OSError:
266
+ pass
267
+ """
268
+
269
+
270
+ def empty_build_scratch(run: Path, stop: threading.Event) -> None:
271
+ """Until ``stop`` is set, empty files Lake leaves in .lake/build/ir that grading never reads.
272
+
273
+ For every module Lake writes a `.setup.json` (its imports with the path of every .olean they
274
+ pull in, about 5.5 MB with Mathlib) and the module compiled to C. Neither is used once the
275
+ module is built, and for proofs of 1,000-2,000 modules they filled the 10 GB disk before the
276
+ build finished. Lake keeps the recorded hashes, so emptied files do not trigger a rebuild.
277
+ This runs as the grader user, so it can touch nothing the build could not.
278
+ """
279
+ ir = str(run / ".lake" / "build" / "ir")
280
+ while not stop.wait(SCRATCH_SWEEP_SEC):
281
+ try:
282
+ subprocess.run(["runuser", "-u", GRADER, "--", sys.executable, "-c", EMPTY_SCRATCH, ir],
283
+ capture_output=True, timeout=600)
284
+ except subprocess.TimeoutExpired:
285
+ pass
286
+
287
+
288
  def run_comparator(run: Path, timeout_sec: int, threads: str = GRADE_THREADS) -> tuple[int | None, str]:
289
  env = {
290
  "PATH": f"{toolchain_bin()}:/usr/local/bin:/usr/bin:/bin",
 
299
  "runuser", "-u", GRADER, "--", "env", "-i", *(f"{k}={v}" for k, v in env.items()),
300
  "lake", "env", "comparator", "config.json",
301
  ]
302
+ stop = threading.Event()
303
+ sweeper = threading.Thread(target=empty_build_scratch, args=(run, stop), daemon=True)
304
+ sweeper.start()
305
+ try:
306
+ code, stdout, stderr = run_with_timeout(
307
+ cmd, cwd=run, timeout_sec=timeout_sec,
308
+ kill_extra=lambda: subprocess.run(["pkill", "-9", "-u", GRADER], capture_output=True),
309
+ )
310
+ finally:
311
+ stop.set()
312
+ sweeper.join()
313
  return code, stdout + "\n--- stderr ---\n" + stderr
314
 
315
 
 
349
  if code is None:
350
  return 0, "timed out while building or checking the submission"
351
  tail = [l for l in out.splitlines() if l.strip() and "has local changes" not in l][-25:]
352
+ if out_of_disk(out):
353
+ return 0, "rejected: the build ran out of disk space (10 GB) | " + " | ".join(tail)[-3000:]
354
  if out_of_memory(out):
355
  return 0, "rejected: the build was killed, most likely out of memory (8 GB) | " + " | ".join(tail)[-3000:]
356
  return 0, "rejected: " + " | ".join(tail)[-4000:]
 
365
  task = json.loads((TESTS / "task.json").read_text())
366
  details: dict = {"task": task["challenge"], "started_at": time.time()}
367
  reward: int | None = None
368
+ log = ""
369
  try:
370
  RUN_ROOT.mkdir(mode=0o711, parents=True, exist_ok=True)
371
  deadline = time.time() + int(task["grade_timeout_sec"])
 
380
  # Two Lean processes in parallel can exceed 8 GB on a heavy module. Retry once with one,
381
  # in a fresh directory: the first attempt's .lake was written by the submission's own
382
  # build and must not be trusted for the challenge.
383
+ shutil.rmtree(run, ignore_errors=True)
384
  run = fresh_run(task)
385
  unpack_submission(run)
386
  code, out = run_comparator(run, int(deadline - time.time()), threads="1")
387
  log += "\n\n=== retried with one Lean process after running out of memory ===\n\n" + out
388
  kill_grader()
389
  details["retried_single_thread"] = True
 
390
  reward, details["reason"] = classify(code, out)
391
  details["comparator_exit"] = code
392
  except Rejected as exc:
393
  reward, details["reason"] = 0, f"rejected: {exc}"
394
  except GradingError as exc:
395
  reward, details["reason"] = None, f"grading error: {exc}"
396
+ except Exception as exc:
397
+ reward, details["reason"] = None, f"grading error: {type(exc).__name__}: {exc}"
398
  finally:
399
  try:
400
  kill_grader()
401
  except GradingError as exc:
402
  reward, details["reason"] = None, f"grading error: {exc}"
403
+ # Free the build before writing anything. A build that filled the disk would otherwise
404
+ # make these writes fail, and with no space left the sandbox cannot report that the
405
+ # verifier exited, so Harbor waits until its own timeout and records no verdict.
406
+ shutil.rmtree(RUN_ROOT, ignore_errors=True)
407
  details["reward"] = reward
408
  details["finished_at"] = time.time()
409
+ (VERIFIER_DIR / "comparator.log").write_text(log)
410
  (VERIFIER_DIR / "grading.json").write_text(json.dumps(details, indent=2))
411
  print(json.dumps(details, indent=2))
412
  if reward is not None: