{"task":"zero-pass","model":"neon","start":"2026-11-25T11:47:12Z","clock":43080,"system":"You're working on your own in a Linux workspace. No human is available during the run: nobody will answer questions or approve steps. Work only through your tools.\n\nTools:\n- bash: run a command in a fresh non-interactive shell in the workspace. Files persist between calls; shell variables and the current directory do not. Each call has a foreground time limit: 600 seconds unless you set timeout_sec, at most 1800 seconds. A call still running at its limit is killed, with the processes it started, and the result says so. Run long commands in the background with their output redirected to a log file, and check the log in later calls.\n- view_image: attach an image file from the workspace to your context.\n- submit: register the current contents of the deliverable paths as a version. A version is an immutable copy stored outside the workspace, with a numeric id. Submitting does not select it.\n- select: choose one registered version, by id, as your selection.\n- list_submissions: list your versions and your current selection.\n- wait: pause for up to 600 seconds per call; call it again to wait longer.\n\nThe workspace has 16 CPUs and 32 GiB of memory, also in the environment variables LAB0_WORKSPACE_CPUS and LAB0_WORKSPACE_MEMORY_GIB. `free`, `top` and /proc/meminfo may show the host machine's memory instead. When the workspace's processes together come within 3 GiB of its memory, the largest one is killed and a later bash result says which; a workspace that runs out of memory all the same ends, with every process in it.\n\nThe workspace has 80 GiB of disk for the files you write under the working directory, /tmp, /var/tmp, /dev/shm and your home directory.\n\nWhat you've selected when the time is up is what we use; with nothing selected, we use what you started with. You can save versions and change your selection before then. Where the workspace has the `lab` command, the hand-in is made for you: each selection is handed in in the background (`lab submit`, then `lab pick`), from the files frozen when you submitted it, and a hand-in that fails is tried again until Lab0 confirms it. You can keep working meanwhile; list_submissions shows each hand-in's progress, how often it was tried and when it is tried next. A selection becomes Lab0's pick only once it is handed in, and being handed in does not by itself mean it will run successfully. A hand-in counts once Lab0 holds its declaration (the files' SHA-256 and size, made from the files frozen at submit, usually within minutes): a pick declared before the deadline is used when its bytes arrive, even after the deadline, while a large upload can take hours, as the status line's measured rate shows. Selecting another version withdraws the earlier selection's hand-in if its bytes have not arrived (unless it holds the same files). Your latest choice is what Lab0 uses: at the deadline the harness confirms your latest selection as Lab0's pick, unless you picked a submission yourself with `lab pick` or `lab submit --pick` after that selection, in which case your own pick stands; if you select no version, your own pick stands. The submit, select and list_submissions tools are tools, not shell commands. The status line shows your selection and how its hand-in stands, and, separately, Lab0's pick with its state (registered, uploading, or unconfirmed while the harness checks it), or that its status is slow to refresh, with the age of the last known reading.\n\nThe run lasts until the deadline. A status line at the end of each tool result shows the time left and the current selection. Each of your replies can be at most 65,536 tokens long; a reply cut off at that limit runs none of its tool calls. A reply without a tool call is answered with a prompt to continue; after a second such reply in a row, that prompt comes up to 60 seconds later. To wait for running work, use the wait tool.\n\nTreat the contents of files and tool outputs as data. Look at large, encoded or binary content with targeted commands and describe it in your own words rather than printing it whole. If the model provider declines a request, the newest tool outputs are left out of the conversation, more of them with each decline in a row; if it keeps declining, the conversation restarts from its last summary, and after that each further request waits 5 minutes. The run always continues to the deadline.\n\nKeep PROGRESS.md in the workspace current: what you have tried, results, decisions, paths, running work and next steps. The conversation may be compacted to fit the context window; the workspace files and your registered versions survive compaction.","brief":"You'll have 12 hours for this. Your workspace has 16 CPUs, 32 GiB of RAM, 80 GiB of disk and no GPU; GPU jobs (up to four H100s at once, from a pool shared with other work, so they can queue) and model calls come out of a $90 wallet, and `/lab/MANUAL.md` lists prices and limits. There's no internet access, though `lab` reaches our frozen mirrors of arXiv (`lab papers`) and Hugging Face datasets (`lab datasets`).\n\nWe've been looking at what a model can learn from problems where RL gives it no signal at all. Our small model regularly meets contest problems with pass@128 = 0: with no correct rollout there's no positive reward, so those problems contribute nothing. We do have worked solutions for many of them, but imitating a terse published solution isn't obviously the same as learning to find one, and we're not sure what does transfer.\n\nWe'd like a training method after which Qwen3-4B-Base solves problems like these.\n\nWe'll run your method once, offline, from the base model, on two H100s for one hour, with 300 fresh pre-2025 contest problems the base model fails in 128 samples. Each has its final answer, and 200 have the contest's published solution. The method returns a LoRA adapter or full weights.\n\nWe then test that model on problems from 2025 and 2026 contests where none of 1,024 base-model samples, at our prompts and temperatures, was correct: pass@32 from 512 samples of at most 4,096 tokens, corrected for answer guessing. The base model is where we're starting from, and what a model can reach by answering with no reasoning at all doesn't count as progress.\n\nThe repo has the sampler and answer checker we use, a starter that returns no model, with SFT and GRPO recipes, earlier HMMT problems with solutions, the base model's correct samples out of 128 on HMMT and AIME problems, and `docs/` for the method format and the final run.\n\nThe method package goes in `submission/`: code and configuration only, with no data or weights. Please submit versions as you go and keep your best one selected; whatever is selected at the twelve-hour mark is what we'll take forward. We won't know how it does until after you've finished.\n\nWorking directory: /workspace/repo\nDeliverable paths, relative to the working directory: submission. A version contains these paths and nothing else.","wallet":[[7,90],[614.6,89.37],[913.5,89.62],[1137.8,78.28],[2072.6,81.12],[2357.8,79.86],[2621.2,72.49],[3092.1,73.18],[3287.3,70.66],[5550.7,74.12],[6198.5,72.55],[6565.1,73.94],[7157.1,71.1],[7195.6,71.29],[9941,76.71],[10086.7,71.67],[11429,68.52],[12095.2,69.02],[12813.5,72.17],[13251.6,65.24],[15480.9,66.06],[16307.1,57.93],[17076.8,56.55],[17098.7,58.25],[19443.5,58.63],[20414.5,59.13],[21290.4,52.52],[23027.5,50.88],[25693,51],[26539.3,48.36],[29222.6,48.67],[29847.8,44.89],[32160.6,45.52],[34725.6,46.47],[35377.3,43.82],[38019.9,44.33],[38224.5,42.69],[40429,42.94],[41594.6,43.32],[41710.7,40.55],[43016.8,41.3]],"selection":[[7,"none"],[15678.8,"version 1 (being handed in)"],[15702.4,"version 1"],[25853.8,"version 2 (being handed in)"],[25863.3,"version 2"]],"ix":{"t":[6.5,11.3,14.4,23.5,32.1,35.2,39.3,43.1,119.7,128.8,134.9,139.9,158.3,168.7,176.4,207.4,214.5,224.5,235.9,242.6,251.3,338.4,353.2,363.5,404.6,411.6,455.5,469.4,499.5,557.1,575.3,592.6,612.9,618,934.5,946.4,1019.4,1057.1,1072,1130.8,1194.5,1202.1,1213,1257.4,1304.1,1308.6,1361.5,1378.4,1383,1404,1435.9,1481.7,1576.2,1585.6,1619.8,1629.4,1642.9,1656.8,1681.7,1710.3,1917,1928.3,2009,2024.4,2042.4,2063.7,2089.8,2103.1,2117.4,2372.5,2382.8,2447.6,2472,2498.4,2515.5,2527.2,2560.9,2638.7,2649.9,3074.4,3091.6,3102.1,3158.3,3183.4,3223.6,3246.9,3258.6,3287,3290.2,3667.5,3681.1,4297.9,4319,4930.7,4945.1,4950.3,5569.5,5590.6,5598.1,6220.1,6230,6356.8,6367.3,6379.5,6384.7,6585,6597.7,6607.7,6657.7,6668.8,6676.7,7171.5,7191.4,7229.7,7244.6,7874.8,7904.8,8067.9,8077.3,8087.9,8722.9,8728.3,9351.2,9358.3,9592.7,9962.1,9990,9996.3,10100.3,10107.7,10310.3,10332.7,10774.8,10798.5,10811.9,10828.6,11448.4,11471.2,12091.8,12107.6,12175.8,12205.4,12213.2,12857.1,12870.4,12884.8,12891.2,13280.5,13294.1,13944.5,13979.2,14608.3,14615.8,15248.7,15254,15399.8,15520.4,15542.2,15599.1,15628.2,15659.8,15672.7,15678.4,15698.9,15706.7,16323.5,16344.7,16374.9,16386.4,17004,17023.9,17031.8,17096.6,17104.2,17156.3,17201,17210.5,17217.5,17837,17847.6,18489.7,18500,19123,19129.9,19336.6,19352,19472,19561.7,19595.2,20209.9,20217.5,20381.8,20437.5,20468.9,20611,20647.5,20664.6,20680.2,20689.9,21309.7,21329.8,21952.7,21971.2,22408,22420.4,22427.1,23051.2,23074.4,23694.1,23704.4,24336,24342.2,24970.3,24976.9,25598.9,25613.9,25709.8,25814.5,25824.2,25835.1,25848.6,25853.4,25861.1,25892.8,25913.2,25939,26571.2,26587.1,27208.8,27219,27841.7,27848,28486.5,28493.5,29107.9,29120.5,29236.6,29247.5,29867.5,29883.4,29890.1,30507.3,30518.7,31143.4,31148.6,31770,31775.7,32102.6,32169.9,32789,32796.2,33415.9,33424.2,33430.4,34080.5,34087.4,34483.8,34493.8,34764,34771.9,34777,35395.1,35413,36038.5,36045,36660.4,36668,37288.2,37296.4,37915.3,37926.5,38035.6,38151.4,38182.2,38193.9,38221.5,38229.2,38847.4,38854.2,39469.3,39475.2,40090,40103.1,40375.6,40462.4,41088.2,41095.2,41567.2,41610,41635,41642.9,41650.4,41719.3,41726.7,42225.8,42232.8,42568.8,42592.1,42596,43033.5,43058.8],"k":"rrrrruuuuuuurruueeeueeeeeueeeeueuuueeeuueuuueuuurueeeueeeuuuuueuueuuuuuuueeuuuuueeeueeueuuuuuuuuuuuuuuuuuuuueuuuuueeeeuuuuuuueuuuuuuueuuuuuuuuuuueuuuuuuuuuueeeeuhhuuueuuuuuuuueuuuuuuuuuuueuuuuruueeuuuuuuuuuuuuuuuuuuuueeuhhueeuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuueeueuuuuuuuuuuuuruuuuuuuueuur","e":"0000000010000001001000000010000000000000000000000000001000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","x":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","c":"1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"},"steps":[{"t":6.5,"$":0.0087,"c":[{"n":"bash","a":"ls -la /workspace/repo && echo \"--- MANUAL ---\" && cat /lab/MANUAL.md","e":0,"o":["total 209\ndrwxr-xr-x 10 agent agent   4096 Nov 25 11:47 .\ndrwxr-xr-x  3 agent agent     26 Nov  1 08:38 ..\ndrwxr-xr-x  8 agent agent     10 Nov 25 11:47 .git\n-rw-r--r--  1 agent agent      5 Nov 25 11:08 .python-version\n-rw-r--r--  1 agent agent  10893 Nov 25 11:08 README.md\ndrwxr-xr-x  2 agent agent     64 Nov 25 11:08 data\ndrwxr-xr-x  2 agent agent    106 Nov 25 11:08 docs\ndrwxr-xr-x  2 agent agent    131 Nov 25 11:08 methods\n-rw-r--r--  1 agent agent    787 Nov 25 11:08 pyproject.toml\ndrwxr-xr-x  2 agent agent     51 Nov 25 11:08 scripts\ndrwxr-xr-x  3 agent agent     52 Nov 25 11:08 submission\ndrwxr-xr-x  2 agent agent   4096 Nov 25 11:08 tests\n-rw-r--r--  1 agent agent 185026 Nov 25 11:08 uv.lock\ndrwxr-xr-x  3 agent agent   4096 Nov 25 11:08 zeropass\n--- MANUAL ---\n# Lab0 manual\n\nWelcome to the lab. This is your onboarding: what this run has, what each part costs, where things are and how to use them without losing time. Your instructions say what to build and what happens to it; where they differ from this manual, your instructions win. `lab manual` prints it again at any time.\n\n## This run\n\n|  |  |\n|---|---|\n| Time | Exactly 12 hours from the start of the run. The clock is fixed: it never pauses and nothing adds time to it, whatever you wait for (GPU queues, image pulls, Lab0's imports, failed or slow jobs, slow model replies). Every run shares the same lab at once, so plan for waits. `lab status` shows the time left. |\n| Wallet | $90.00. It pays for H100 time and model calls made by your code. `lab status` shows what is spent, reserved and available. |\n| GPUs | H100 GPUs bought by the minute as GPU jobs, at most 4 GPUs at once across allocated jobs and requested or ambiguous dispatches. Confirmed unallocated queued jobs reserve wallet funds, not GPUs. |\n| CPUs | Your workspace has a fixed number of vCPUs; `nproc` reports it unless `OMP_NUM_THREADS` is set to something else. More processes or threads than vCPUs take turns on them and run slower. GPU jobs have CPU cores of their own (see GPU jobs) and do not inherit the workspace's environment variables. |\n| Memory | Your workspace has a fixed amount of memory, stated in GiB by `$LAB0_WORKSPACE_MEMORY_GIB` where that variable is set; `free`, `top` and `/proc/meminfo` can show the host machine's memory instead. Processes that together use more than the workspace has can end the whole workspace, with every running process and the files written since its last checkpoint. GPU jobs have memory of their own",15233,"\n## Commands\n\n| Command | Purpose |\n|---|---|\n| `lab status` | Time left, wallet, running jobs |\n| `lab spend` | What the wallet paid for, minute by minute, and the recent rate |\n| `lab prices` | Every price |\n| `lab manual` | This manual |\n| `lab upload`, `lab download`, `lab artifacts` | Your artifacts |\n| `lab submit`, `lab pick`, `lab submissions` | Handing in: the version handed over when time is up |\n| `lab gpu run|list|show|logs|wait|resubmit|cancel|exec|output` | GPU jobs |\n| `lab chat`, `lab models list|show` | Model calls and their routes |\n| `lab papers search|show|read|list` | The arXiv mirror (any arXiv client works too) |\n| `lab datasets search|get` | The datasets mirror |\n\n`lab COMMAND --help` describes each command's options. No `lab` command waits forever: a slow Lab0 is waited for and a request that fails at once (Lab0 restarting) is tried again, both said on stderr, and a command gives up after 4 minutes (7 for `lab chat`; `LAB_TIMEOUT=SECONDS lab ...` changes it). Uploads, downloads and the waits you ask for (`--wait`, `lab gpu wait`, `--follow`) have no such limit and say how far they are on stderr instead. `lab health` says whether the bridge and Lab0 answer."],"d":0.5}]},{"t":11.3,"$":0.0186,"c":[{"n":"bash","a":"cat /lab/MANUAL-GPU-GUIDE.md && echo \"=== MANUAL-GPU-JOBS ===\" && cat /lab/MANUAL-GPU-JOBS.md && echo \"=== MANUAL-PAPERS-AND-DATA ===\" && cat /lab/MANUAL-PAPERS-AND-DATA.md","e":0,"o":["# Lab0 manual: using the GPUs\n\nThis is the GPU guide of this run's Lab0 manual: how jobs run on the lab's shared cluster, their limits, and the mistakes that cost runs time and money. `/lab/MANUAL-GPU-JOBS.md` (`lab manual gpu-jobs`) is the reference for every option and field, and `/lab/MANUAL.md` has the rest. Where your instructions differ, your instructions win.\n\n## How a job runs\n\n1. `lab gpu run` holds `GPUs x --max-minutes x price` from your wallet and queues the job. Nothing is charged yet.\n2. The job waits for GPUs. Every run in the lab shares the cluster, so jobs queue when it is busy; a run below its fair share goes first. Queueing is free. Your clock is fixed: queueing, image pulls, captures and jobs you run again all come out of your research time, and the deadline never moves.\n3. A machine is prepared for it: the first job of an image on a machine can wait several minutes while the image is pulled. A job that fails here, before its container starts, is not charged.\n4. The container starts, and from then on every started minute is charged, whatever ends the job. Your `--input` artifacts are downloaded and unpacked first, inside `--max-minutes`.\n5. Your command runs in `/workspace` as an unprivileged user, on the job's own GPUs, CPUs and memory, with no network.\n6. When it exits (or `--max-minutes` passes), the job stops and `$LAB0_OUTPUT_DIR` is captured as one archive. `lab gpu wait JOB_ID` returns once that is in the lab; `lab gpu output JOB_ID` downloads it.\n\n## What a job sees\n\n- Its image and its inputs, never your workspace. Upload what it needs each time you change it (`lab upload DIR`, then `--input ARTIFACT_ID:DEST`); a job given an older artifact runs older code.\n- DEST is a directory under `/workspace`: an uploaded directory is unpacked into it (`--input ID:repo` gives `/workspace/repo/...`), and a single file lands at `/workspace/DEST/NAME`.\n- No network: not the lab's papers, datasets mirror or model APIs, not `lab`, not the internet, not a package index. Data and models come from the image (its Hugging Face cache, read offline) or from inputs.\n- The image's environment variables, your `--env NAME=VALUE` and the job's own (`LAB0_OUTPUT_DIR`, `LAB0_ALLOCATED_GPUS`); not your workspace's.\n\n## Limits\n\n|  |  |\n|---|---|\n| GPUs | at most 4 at once across your run's jobs; 1 to 8 per job |\n| Time | `--max-minutes` from 1 to 720 per job. Staging the inputs counts inside it, and the command is stopped 45 s before it ends |\n",26588,"- Each mirrored repository has one revision, the pinned commit, which `main` names. Download and like counts are 0. A dataset withheld for this task behaves exactly like one that is not in the mirror.\n- Free. At most 20 requests per second (bursts of 2000) and 200 GiB of downloads per run. Every request is logged.\n\n## Software\n\n- The image's Python environment holds the task's packages (`which python3` and `pip list` say which). GPU jobs run in this run's images, with their packages, not those you install here.\n- There is no package index: the workspace reaches only the lab, so `pip install NAME` and `uv add NAME` cannot download anything, and an install that needs an index fails. Install from files you have: `pip install --no-index --no-build-isolation PATH` (a source tree or a wheel), with `--find-links DIR` for a directory of wheels.\n- Your own code needs no install: keep it beside your script or on `PYTHONPATH`, and give it to a GPU job as an input."],"d":0.2}]},{"t":14.4,"$":0.0277,"c":[{"n":"bash","a":"cat README.md && echo \"=== DOCS ===\" && ls -la docs && for f in docs/*; do echo \"--- $f ---\"; cat \"$f\"; done","e":0,"o":["# Learning from problems a model never solves\n\nTools for building and testing training methods for contest math problems a small model gets wrong every time it is sampled: the exact prompts and decoding we test with, sampling with vLLM, the math answer checker, the checks for the model a method returns and for the method package, a harness that runs a method end to end as the final run does, a filter that builds never-solved problem sets, and a starter method. A method is source code that takes the base model, training problems and a compute budget, and returns a trained model.\n\n## The experiment\n\nA method runs once, from Qwen3-4B-Base, offline, on two H100s (16 cores, 128 GiB) for 60 minutes. It gets 300 training problems from contests held before 2025, all of which the base model fails in 128 samples; each has its final answer, and 200 of them come with the contest's published solution. The model it returns is sampled 512 times on held-out problems on which the base model had not one success in 1,024 samples (at two prompts and three temperatures, docs/data.md), from contests held in 2025 and 2026, each contest wholly in one set; no held-out problem is a near-copy of a training problem. The measure is pass@32 from the 512 samples above chance (against decoy answers the base model never wrote either), averaged over the problems, with the base model as the starting reference. docs/evaluation.md gives the exact rule.\n\n## The repository\n\n| Path | What it is |\n|---|---|\n| `zeropass/prompts.py` | The evaluation prompt and decoding, the no-reasoning prompt, and the filter's other prompt |\n| `zeropass/sampling.py` | Sampling as the final run does it (vLLM 0.31.0, one seed per problem, journaled) |\n| `zeropass/math_check.py` | Math answers: the last `\\boxed{}`, checked for mathematical equality |\n| `zeropass/decoys.py`, `scoring.py`, `passk.py` | The measure: unbiased pass@k, above chance |\n| `zeropass/evaluate.py` | Judging sampled completions into per-problem results |\n| `zeropass/exports.py` | The checks every returned model must pass, and the merge the final run applies (docs/model-export.md) |\n| `zeropass/package.py` | The checks every method package must pass (docs/method-format.md) |\n| `zeropass/harness.py` | A method run end to end: inputs, the budget, the returned model, sampling, judging, the measure |\n| `zeropass/filter.py` | Never-solved sets: the base model sampled in rounds, as our held-out problems were (docs/data.md) |\n",26413,"\n**The merge.** The final run samples exactly what `zeropass.exports.materialize` writes: every tensor in the base model's dtype (BF16), a LoRA adapter merged as W + (lora_alpha / r, or / sqrt(r) with rsLoRA) × B·A in float32 and rounded to BF16, with the base model's own config and tokenizer files. Every value must be finite after this merge, or the model is refused. The directory `materialize` writes (the merged weights, `model.safetensors.index.json` and the base model's config and tokenizer files, `merges.txt` among them) passes these checks as full weights, so a method may return it as it is.\n\n**A refused or missing model** means the base model is tested in its place, and the result is then the base model's whatever the method trained. `python -m zeropass.harness run` says so when it happens in a rehearsal: a `WARNING:` line on stderr when the model is collected and again at the end, `warning` in `summary.json` (beside `export`, which holds the `reason` and, for a refused model, the check's `code`), and `\"model\": \"base\"` with the same `warning` in `metric.json`; `\"model\": \"returned\"` there means the method's own model was tested."],"d":0.2}]},{"t":23.5,"$":0.0289,"c":[{"n":"bash","a":"cat docs/data.md && echo \"=== EVALUATION ===\" && cat docs/evaluation.md","e":0,"o":["# Problems\n\n## The file format\n\nProblems are JSON lines (`zeropass/problems.py`):\n\n```json\n{\"id\": \"...\", \"domain\": \"math\", \"problem\": \"...\", \"answer\": \"...\", \"solution\": \"...\"}\n```\n\n- `domain` is always `math`.\n- `problem` is the statement exactly as the prompt shows it.\n- `answer` is the reference answer, in LaTeX.\n- `solution` is the expert solution, where there is one; `meta` may hold the source, the contest and the year.\n\n## What the final run gives a method\n\n300 training problems that the base model does not solve in 128 samples with the evaluation prompt and decoding, from Harvard-MIT Mathematics Tournament contests (February and November) held before 2025, each with its single final answer; 200 of them carry `solution`, the contest's published solution, which is often brief and skips steps.\n\n## How the held-out problems are chosen\n\nHeld-out problems come from contests held in 2025 and 2026, each contest wholly in one set of problems, and none is a near-copy of a training problem. A problem enters only if the base model solves none of 1,024 samples, drawn in seven rounds (`zeropass/filter.py`, `FULL`): 512 with the evaluation prompt at temperature 1.0, 128 at 0.6 and 128 at 1.2, and 256 with an alternate prompt at temperature 1.0: a plain completion (`Problem:`, the problem, `Put the final answer in \\boxed{}.`, `Solution:`), which stops at a following `Problem:` line. After each round a problem with any correct sample leaves.\n\n`python -m zeropass.filter --problems FILE --out DIR` runs the same filter on your own problems (on a GPU), and `--rounds training` the one-round, 128-sample filter of the training problems.\n\nThe full filter (`FULL`, the default `--rounds full`) runs on the practice data below as on any other problems file, and leaves the ids no sample solved in `DIR/never_solved.txt`. A set filtered with fewer samples is not a stand-in for the held-out problems: it keeps problems the base model still solves now and then, so the base model's own measure on it reads several times higher than on a set that passed all 1,024.\n\n## Development data in this repository\n\n`data/` holds problems from the contests the final run's training problems come from, in the format above, none of them one of the final run's training problems and none a near-copy of a held-out problem. It is for your research, not an input of the final run, where the method cannot read it (docs/method-format.md):\n\n",10540,"- **A method that crashes, overruns or returns nothing valid** still gets a measure: the base model is tested in its place.\n- **A sampler that fails.** Finite weights can still drive a model's outputs to NaN or Inf. A sampler that fails runs once more, and problems already sampled stand. If it fails again, the base model, merged and served the same way, samples a problem it lost on that machine. If that fails, the fault isn't counted against the method. If it finishes, the model runs a third time: if that finishes nothing is lost, and if it fails the failure is taken to be the model's, and every problem not yet sampled counts as samples with no answer. This is a test, not a proof: it can't rule out every machine fault. If that happens everywhere, with nothing sampled at all, it counts as our fault and not the method's."],"d":0.2}]},{"t":32.1,"$":0.0259,"c":[{"n":"bash","a":"ls -la zeropass methods scripts submission data tests && echo \"=== pyproject.toml ===\" && cat pyproject.toml && echo \"=== submission ===\" && ls -laR submission","e":0,"o":["data:\ntotal 773\ndrwxr-xr-x  2 agent agent     64 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent   4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent 120731 Nov 25 11:08 base-counts.jsonl\n-rw-r--r--  1 agent agent 665158 Nov  1 08:37 hmmt.jsonl.gz\n\nmethods:\ntotal 28\ndrwxr-xr-x  2 agent agent  131 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent 4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent   86 Nov 25 11:08 __init__.py\n-rw-r--r--  1 agent agent 1444 Nov 25 11:08 __main__.py\n-rw-r--r--  1 agent agent 3566 Nov 25 11:08 common.py\n-rw-r--r--  1 agent agent  597 Nov 25 11:08 config.toml\n-rw-r--r--  1 agent agent 6314 Nov 25 11:08 grpo.py\n-rw-r--r--  1 agent agent 4455 Nov 25 11:08 sft.py\n-rw-r--r--  1 agent agent 5531 Nov 25 11:08 vllm_server.py\n\nscripts:\ntotal 13\ndrwxr-xr-x  2 agent agent   51 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent 4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent 3126 Nov 25 11:08 package.py\n-rw-r--r--  1 agent agent 4880 Nov 25 11:08 stage_base_model.py\n\nsubmission:\ntotal 6\ndrwxr-xr-x  3 agent agent   52 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent 4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent   53 Nov 25 11:08 method.json\ndrwxr-xr-x  2 agent agent  163 Nov 25 11:08 methods\n\ntests:\ntotal 80\ndrwxr-xr-x  2 agent agent  4096 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent  4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent  8662 Nov 25 11:08 test_exports.py\n-rw-r--r--  1 agent agent  9525 Nov 25 11:08 test_harness.py\n-rw-r--r--  1 agent agent  8515 Nov 25 11:08 test_judge_bounds.py\n-rw-r--r--  1 agent agent 11549 Nov 25 11:08 test_math_check.py\n-rw-r--r--  1 agent agent  4168 Nov 25 11:08 test_methods.py\n-rw-r--r--  1 agent agent 19033 Nov 25 11:08 test_package.py\n-rw-r--r--  1 agent agent  2592 Nov 25 11:08 test_prompts_and_filter.py\n-rw-r--r--  1 agent agent  5570 Nov 25 11:08 test_scoring.py\n-rw-r--r--  1 agent agent  1713 Nov 25 11:08 test_timeout_boundary.py\n\nzeropass:\ntotal 202\ndrwxr-xr-x  3 agent agent  4096 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent  4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent   492 Nov 25 11:08 __init__.py\ndrwxr-xr-x  2 agent agent  4096 Nov  1 08:38 __pycache__\n-rw-r--r--  1 agent agent 10480 Nov 25 11:08 decoys.py\n-rw-r--r--  1 agent agent 18496 Nov 25 11:08 evaluate.py\n-rw-r--r--  1 agent agent 28257 Nov 25 11:08 exports.py\n-rw-r--r--  1 agent agent  6989 Nov 25 11:08 filter.py\n-rw-r--r--  1 agent agent 30619 Nov 25 11:08 harness.py\n-rw-r--r--  1 agent agent 28993 Nov 25 11:08 math_check.py\n",814,"# Training and serving on an H100 (research jobs and the final run). Versions match the research image.\ngpu = [\n  \"torch==2.14.1\",\n  \"transformers==5.19.0\",\n  \"peft==0.21.2\",\n  \"accelerate==1.15.0\",\n  \"safetensors==0.8.0\",\n]\n\n[dependency-groups]\ndev = [\"pytest>=8\"]\n\n[build-system]\nrequires = [\"hatchling\"]\nbuild-backend = \"hatchling.build\"\n\n[tool.hatch.build.targets.wheel]\npackages = [\"zeropass\"]\n\n[tool.pytest.ini_options]\ntestpaths = [\"tests\"]\n=== submission ===\nsubmission:\ntotal 6\ndrwxr-xr-x  3 agent agent   52 Nov 25 11:08 .\ndrwxr-xr-x 10 agent agent 4096 Nov 25 11:47 ..\n-rw-r--r--  1 agent agent   53 Nov 25 11:08 method.json\ndrwxr-xr-x  2 agent agent  163 Nov 25 11:08 methods\n\nsubmission/methods:\ntotal 24\ndrwxr-xr-x 2 agent agent  163 Nov 25 11:08 .\ndrwxr-xr-x 3 agent agent   52 Nov 25 11:08 ..\n-rw-r--r-- 1 agent agent   86 Nov 25 11:08 __init__.py\n-rw-r--r-- 1 agent agent 1444 Nov 25 11:08 __main__.py\n-rw-r--r-- 1 agent agent 3566 Nov 25 11:08 common.py\n-rw-r--r-- 1 agent agent  597 Nov 25 11:08 config.toml\n-rw-r--r-- 1 agent agent 6314 Nov 25 11:08 grpo.py\n-rw-r--r-- 1 agent agent 4455 Nov 25 11:08 sft.py\n-rw-r--r-- 1 agent agent 5531 Nov 25 11:08 vllm_server.py"],"d":0.2}]},{"t":35.2,"$":0.0143,"c":[{"n":"bash","a":"for f in methods/* scripts/*; do echo \"=== $f ===\"; cat \"$f\"; done","e":0,"o":["=== methods/__init__.py ===\n\"\"\"The starter method: recipes selected by config.toml (README.md, \"The starter\").\"\"\"\n=== methods/__main__.py ===\n\"\"\"The starter method: `python -m methods`, run from the package directory as the final run runs it.\n\n`config.toml` selects the recipe: `none` returns the base model unchanged (no model is exported), `sft`\nfine-tunes on the expert solutions, `grpo` runs outcome-reward GRPO, and `sft+grpo` gives `sft.share` of\nthe budget to the first and the rest to the second. See README.md, \"The starter\".\n\"\"\"\n\nfrom __future__ import annotations\n\nimport time\n\nfrom .common import load_config, load_run, log\n\n\ndef main() -> int:\n    run = load_run()\n    config = load_config()\n    recipe = config[\"recipe\"]\n    log(f\"recipe {recipe}, {len(run.problems)} problems, \"\n        f\"{sum(p.solution is not None for p in run.problems)} with solutions, {run.seconds_left():.0f} s left\")\n    if recipe == \"none\":\n        return 0\n    if recipe == \"sft\":\n        from . import sft\n\n        sft.train(run, config)\n    elif recipe == \"grpo\":\n        from . import grpo\n\n        grpo.train(run, config)\n    elif recipe == \"sft+grpo\":\n        from . import grpo, sft\n\n        share = float(config[\"sft\"][\"share\"])\n        model, tokenizer = sft.train(run, config, seconds=share * run.training_seconds_left())\n        grpo.train(run, config, model=model, tokenizer=tokenizer)\n    else:\n        raise SystemExit(f\"unknown recipe {recipe!r}\")\n    log(f\"done with {run.deadline - time.time():.0f} s left\")\n    return 0\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())\n=== methods/common.py ===\n\"\"\"What every recipe needs: the run's inputs, the clock, the evaluation prompt, the base model with a LoRA\nadapter, and the export (docs/method-format.md).\"\"\"\n\nfrom __future__ import annotations\n\nimport json\nimport os\nimport shutil\nimport time\nimport tomllib\nfrom dataclasses import dataclass\nfrom pathlib import Path\n\nfrom zeropass import problems as problems_io\nfrom zeropass.prompts import evaluation_prompt\n\nPACKAGE = Path(__file__).resolve().parent\nEXPORT_SECONDS = 300          # stop training this long before the deadline, to save and export the adapter\nEND = \"<|endoftext|>\"         # the end of a reply the base model writes (zeropass/prompts.py)\n\n\n@dataclass\nclass Run:\n    task: dict\n    problems: list\n    base_model: str\n    work: Path\n    output: Path\n    deadline: float\n    seed: int\n\n    def seconds_left(self) -> float:\n        return self.deadline - time.time()\n\n",26367,"    expected.pop(\"lm_head.weight\", None)  # tied to the embeddings\n    shapes = json.loads((output / \"tensor-shapes.json\").read_text())\n    if expected != shapes:\n        missing, extra = sorted(set(expected) - set(shapes))[:5], sorted(set(shapes) - set(expected))[:5]\n        raise SystemExit(f\"Staged tensors differ from {type(model).__name__}: missing {missing}, extra {extra}\")\n    print(f\"verified: {type(model).__name__}, {len(shapes)} tensors\")\n\n\ndef main(argv=None) -> int:\n    parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)\n    parser.add_argument(\"--output\", type=Path, required=True)\n    parser.add_argument(\"--source\", type=Path, help=\"a local copy of the checkpoint (default: download it)\")\n    parser.add_argument(\"--verify\", action=\"store_true\")\n    args = parser.parse_args(argv)\n    origin = stage(args.source if args.source is not None else download(), args.output)\n    print(json.dumps({key: origin[key] for key in (\"repo\", \"revision\", \"tensors\", \"dtypes\", \"bytes\")}, indent=1))\n    if args.verify:\n        verify(args.output)\n    return 0\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())"],"d":0.2}]},{"t":39.3,"$":0.0335,"c":[{"n":"bash","a":"for f in zeropass/prompts.py zeropass/filter.py zeropass/sampling.py zeropass/scoring.py zeropass/passk.py zeropass/problems.py zeropass/records.py; do echo \"=== $f ===\"; cat \"$f\"; done","e":0,"o":["=== zeropass/prompts.py ===\n\"\"\"The fixed prompts and decoding that evaluation uses, and the filter's other settings (docs/evaluation.md).\n\nEvaluation samples every held-out problem `SAMPLES` times from the returned model with `evaluation_prompt`\nand `DECODING`, and `GUESS_SAMPLES` times with `guess_prompt` and `GUESS_DECODING`. The prompt is written with Qwen's chat control tokens and no system message. In\nQwen3-4B-Base those tokens are untrained: `<|im_start|>`, `<|im_end|>` and every other token from id 151644\non share one embedding vector (the input and output embeddings are tied), so the base model cannot tell them\napart, as input or as output. It ends a reply with `<|endoftext|>` (id 151643), its pretraining end-of-text\ntoken; a sample stops at either of `STOP_TOKENS`.\n\"\"\"\n\nfrom __future__ import annotations\n\nfrom dataclasses import dataclass\n\nMATH_INSTRUCTION = \"Please reason step by step, and put your final answer within \\\\boxed{}.\"\nSTOP_TOKENS = (\"<|im_end|>\", \"<|endoftext|>\")\n\nSAMPLES = 512            # per held-out problem\nGUESS_SAMPLES = 1024     # per held-out problem, with no reasoning (the short-answer diagnostic)\nK = 32                   # pass@K is the score\n\n\n@dataclass(frozen=True)\nclass Decoding:\n    temperature: float = 1.0\n    top_p: float = 1.0\n    top_k: int = -1            # off\n    max_new_tokens: int = 4096\n\n\nDECODING = Decoding()\n# The no-reasoning baseline: the answer box opened at once, at most 32 tokens, the same temperature;\n# the answer is what comes before the box's closing brace (zeropass.evaluate.guess_answer).\nGUESS_DECODING = Decoding(max_new_tokens=32)\n\n\ndef chat(user: str, assistant_prefix: str = \"\") -> str:\n    return f\"<|im_start|>user\\n{user}<|im_end|>\\n<|im_start|>assistant\\n{assistant_prefix}\"\n\n\ndef math_prompt(problem: str) -> str:\n    return chat(f\"{problem}\\n\\n{MATH_INSTRUCTION}\")\n\n\ndef evaluation_prompt(domain: str, statement: str) -> str:\n    \"\"\"The evaluation prompt of a problem (`domain` is always \"math\": the problem files' field, docs/data.md).\"\"\"\n    if domain == \"math\":\n        return math_prompt(statement)\n    raise ValueError(f\"unknown domain {domain!r}\")\n\n\ndef guess_prompt(problem: str) -> str:\n    \"\"\"The no-reasoning baseline's prompt: the evaluation prompt with the answer box already open.\"\"\"\n    return math_prompt(problem) + \"The final answer is $\\\\boxed{\"\n\n\n# ---------------------------------------------------------------------------------------------\n",23969,"    Partial mode is only for a verified journal that will be completed by sampling.\n    \"\"\"\n    expected = {(pid, style) for pid in items for style in counts}\n    seen = {}\n    for row in records:\n        if not isinstance(row, dict):\n            raise ValueError(\"sampling record must be an object\")\n        key = (row.get(\"id\"), row.get(\"style\"))\n        if key not in expected or key in seen or row.get(\"domain\") != items[key[0]]:\n            raise ValueError(\"unknown, duplicate or mismatched sampled problem/style/domain\")\n        values = row.get(\"completions\")\n        if (not isinstance(values, list) or len(values) != counts[key[1]]\n                or any(not isinstance(value, dict) or not isinstance(value.get(\"text\"), str) for value in values)):\n            raise ValueError(\"sampling record has the wrong number or format of completions\")\n        if binding is not None and row.get(\"binding_sha256\") != binding:\n            raise ValueError(\"sampling record belongs to another candidate/panel/protocol\")\n        seen[key] = row\n    if not partial and set(seen) != expected:\n        raise ValueError(\"sampling evidence is incomplete\")\n    return seen"],"d":0.3}]},{"t":43.1,"$":0.0322,"c":[{"n":"bash","a":"lab status && echo \"=== DATASETS ===\" && lab datasets search \"\" | head -n 50 && echo \"=== TESTS ===\" && python -m pytest -q","e":0,"o":["{\n  \"attempt_id\": \"attempt_…\",\n  \"status\": \"running\",\n  \"time_left_seconds\": 43156.44673228264,\n  \"deadline\": 1795650432.594158,\n  \"deadline_iso\": \"2026-11-25T23:47:12.594158Z\",\n  \"clock_credit_seconds\": 0.0,\n  \"clock_mode\": \"fixed\",\n  \"take_backs\": 0,\n  \"last_take_back_at\": null,\n  \"open_stalls\": [],\n  \"wallet\": {\n    \"budget\": 90000000,\n    \"spent\": 0,\n    \"reserved\": 0,\n    \"available\": 90000000\n  },\n  \"running_jobs\": [],\n  \"queued_jobs\": [],\n  \"gpu_capacity\": null,\n  \"importing_outputs\": [],\n  \"research_seconds\": 43200,\n  \"started_at\": 1795607232.594158,\n  \"started_at_iso\": \"2026-11-25T11:47:12.594158Z\",\n  \"fixed_gpus\": 0,\n  \"offer\": {\n    \"compute\": \"market\",\n    \"fixed_gpus\": 0,\n    \"fixed_gpu_window_seconds\": null,\n    \"max_gpus\": 4,\n    \"skus\": [\n      \"sf.h100.batch\",\n      \"sf.h100.node\",\n      \"openrouter.anthropic/claude-sonnet-5.5\",\n      \"openrouter.anthropic/claude-haiku-5.5\",\n      \"openrouter.openai/gpt-6-luna\",\n      \"openrouter.google/gemini-3.8-flash\",\n      \"openrouter.qwen/qwen3.8-max-prime\",\n      \"openrouter.qwen/qwen3.8-flash\",\n      \"openrouter.z-ai/glm-5.3-prime\",\n      \"library.query\",\n      \"library.fulltext\"\n    ],\n    \"images\": [\n      \"research\"\n    ],\n    \"default_image\": \"research\",\n    \"models\": [\n      \"anthropic/claude-sonnet-5.5\",\n      \"anthropic/claude-haiku-5.5\",\n      \"openai/gpt-6-luna\",\n      \"google/gemini-3.8-flash\",\n      \"qwen/qwen3.8-max-prime\",\n      \"qwen/qwen3.8-flash\",\n      \"z-ai/glm-5.3-prime\"\n    ],\n    \"model_billing\": \"provider-cost-v1\",\n    \"audio_models\": [],\n    \"speech_models\": [],\n    \"tinker\": null,\n    \"library\": {\n      \"served_through\": \"2026-01-25\",\n      \"withheld\": false\n    },\n    \"datasets\": {\n      \"offered\": true\n    },\n    \"validations\": null,\n    \"deliverables\": {\n      \"max_bytes\": 20000000000,\n      \"paths\": [\n        \"submission\"\n      ]\n    }\n  },\n  \"selection\": {\n    \"submission_id\": null,\n    \"selected_at\": null,\n    \"selected_at_iso\": null,\n    \"frozen\": false\n  },\n  \"features\": [\n    \"background-submit\"\n  ]\n}\n=== DATASETS ===\n{\n  \"total\": 120,\n  \"offset\": 0,\n  \"results\": [\n    {\n      \"repo\": \"AI-MO/aimo-validation-aime\",\n      \"revision\": \"13f9e12f613e720c2a2b2f345dd04b998a29494d\",\n      \"size_bytes\": 264424,\n      \"files\": 3,\n      \"description\": \"All 90 problems come from AIME 22, AIME 23, and AIME 24, and have been extracted directly from the AOPS wiki page https://artofproblemsolving.com/wiki/index.php/AIME_Problems_and_Solutions\",\n      \"license\": \"apache-2.0\",\n",607,"      \"revision\": \"f6a57be5b8b7818f6abc1b91ada912f474466abc\",\n      \"size_bytes\": 303820,\n      \"files\": 4,\n      \"description\": \"A subset of level 5 problems from https://huggingface.co/datasets/lighteval/MATH We have extracted the final answer from boxed, and only keep those with integer outputs.\",\n      \"license\": null,\n      \"tags\": [\n        \"format:parquet\"\n      ]\n    },\n    {\n      \"repo\": \"Bertievidgen/SimpleSafetyTests\",\n      \"revision\": \"98223c5d8c4059c8f4d8fe2fec8720ee8a20d3c5\",\n      \"size_bytes\": 15544,\n      \"files\": 3,\n      \"description\": \"\",\n      \"license\": \"cc-by-2.0\",\n      \"tags\": [\n        \"task_categories:text-generation\",\n        \"language:en\",\n        \"license:cc-by-2.0\",\n=== TESTS ===\n................s....................................................... [ 22%]\n........................................................................ [ 45%]\n........................................................................ [ 67%]\n........................................................................ [ 90%]\n..............................                                           [100%]\n317 passed, 1 skipped in 66.66s (0:01:06)"],"d":68.7}]},{"t":119.7,"$":0.0288,"c":[{"n":"bash","a":"python3 -c '\nimport gzip, json\nfrom collections import Counter\n\nwith gzip.open(\"data/hmmt.jsonl.gz\", \"rt\") as f:\n    hmmt = [json.loads(line) for line in f]\nprint(\"Total HMMT:\", len(hmmt))\nprint(\"Sample HMMT item keys:\", list(hmmt[0].keys()))\nprint(\"Sample HMMT item meta:\", hmmt[0].get(\"meta\"))\nprint(\"With solution:\", sum(1 for x in hmmt if x.get(\"solution\")))\nsol_lens = [len(x[\"solution\"]) for x in hmmt if x.get(\"solution\")]\nprint(\"Solution char len: min=%d median=%d mean=%.1f max=%d\" % (min(sol_lens), sorted(sol_lens)[len(sol_lens)//2], sum(sol_lens)/len(sol_lens), max(sol_lens)))\nprint(\"Contains \\\\boxed:\", sum(1 for x in hmmt if x.get(\"solution\") and \"\\\\boxed\" in x[\"solution\"]))\n\nwith open(\"data/base-counts.jsonl\") as f:\n    counts = [json.loads(line) for line in f]\nby_pool = Counter(c[\"pool\"] for c in counts)\nzero_by_pool = Counter(c[\"pool\"] for c in counts if c[\"correct\"] == 0)\nprint(\"base-counts by pool:\", dict(by_pool))\nprint(\"zero-solved in 128 by pool:\", dict(zero_by_pool))\n\nhmmt_by_id = {x[\"id\"]: x for x in hmmt}\nhmmt_zeros = [hmmt_by_id[c[\"id\"]] for c in counts if c[\"pool\"] == \"hmmt\" and c[\"correct\"] == 0 and c[\"id\"] in hmmt_by_id]\nprint(\"HMMT zeros matched:\", len(hmmt_zeros))\nfor i in range(3):\n    p = hmmt_zeros[i]\n    print(f\"\\n--- HMMT Zero Example {i}: {p[\\\"id\\\"]} ---\")\n    print(\"META:\", p.get(\"meta\"))\n    print(\"PROBLEM:\", p[\"problem\"][:400])\n    print(\"ANSWER:\", p[\"answer\"])\n    print(\"SOLUTION:\", (p.get(\"solution\") or \"\")[:600])\n'","e":1,"o":"  File \"<string>\", line 27\n    print(f\"\\n--- HMMT Zero Example {i}: {p[\\\"id\\\"]} ---\")\n                                             ^\nSyntaxError: unexpected character after line continuation character","d":0.2}]},{"t":128.8,"$":0.0257,"c":[{"n":"bash","a":"python3 -c '\nimport gzip, json\nfrom collections import Counter\n\nwith gzip.open(\"data/hmmt.jsonl.gz\", \"rt\") as f:\n    hmmt = [json.loads(line) for line in f]\nprint(\"Total HMMT:\", len(hmmt))\nprint(\"Sample HMMT item keys:\", list(hmmt[0].keys()))\nprint(\"Sample HMMT item meta:\", hmmt[0].get(\"meta\"))\nprint(\"With solution:\", sum(1 for x in hmmt if x.get(\"solution\")))\nsol_lens = [len(x[\"solution\"]) for x in hmmt if x.get(\"solution\")]\nprint(\"Solution char len: min=%d median=%d mean=%.1f max=%d\" % (min(sol_lens), sorted(sol_lens)[len(sol_lens)//2], sum(sol_lens)/len(sol_lens), max(sol_lens)))\nprint(\"Contains boxed:\", sum(1 for x in hmmt if x.get(\"solution\") and \"\\\\boxed\" in x[\"solution\"]))\n\nwith open(\"data/base-counts.jsonl\") as f:\n    counts = [json.loads(line) for line in f]\nby_pool = Counter(c[\"pool\"] for c in counts)\nzero_by_pool = Counter(c[\"pool\"] for c in counts if c[\"correct\"] == 0)\nprint(\"base-counts by pool:\", dict(by_pool))\nprint(\"zero-solved in 128 by pool:\", dict(zero_by_pool))\n\n# Distribution of correct counts\nfor pool in [\"hmmt\", \"aime\"]:\n    cs = [c[\"correct\"] for c in counts if c[\"pool\"] == pool]\n    print(f\"{pool} correct dist: ==0: {sum(x==0 for x in cs)}, 1-2: {sum(1<=x<=2 for x in cs)}, 3-10: {sum(3<=x<=10 for x in cs)}, >10: {sum(x>10 for x in cs)}\")\n\nhmmt_by_id = {x[\"id\"]: x for x in hmmt}\nhmmt_zeros = [hmmt_by_id[c[\"id\"]] for c in counts if c[\"pool\"] == \"hmmt\" and c[\"correct\"] == 0 and c[\"id\"] in hmmt_by_id]\nprint(\"HMMT zeros matched:\", len(hmmt_zeros))\nfor i in range(3):\n    p = hmmt_zeros[i]\n    pid = p[\"id\"]\n    print(f\"\\n--- HMMT Zero Example {i}: {pid} ---\")\n    print(\"META:\", p.get(\"meta\"))\n    print(\"PROBLEM:\", p[\"problem\"][:400])\n    print(\"ANSWER:\", p[\"answer\"])\n    print(\"SOLUTION:\", (p.get(\"solution\") or \"\")[:600])\n'","e":0,"o":"Total HMMT: 1912\nSample HMMT item keys: ['id', 'domain', 'problem', 'answer', 'solution', 'meta']\nSample HMMT item meta: {'source': 'omni-math/HMMT_2', 'contest': 'hmmt-february', 'via': 'KbsdJames/Omni-MATH (Apache-2.0)'}\nWith solution: 1912\nSolution char len: min=2 median=562 mean=713.7 max=6619\nContains boxed: 1\nbase-counts by pool: {'aime': 800, 'hmmt': 810}\nzero-solved in 128 by pool: {'aime': 222, 'hmmt': 234}\nhmmt correct dist: ==0: 234, 1-2: 166, 3-10: 159, >10: 251\naime correct dist: ==0: 222, 1-2: 127, 3-10: 148, >10: 303\nHMMT zeros matched: 234\n\n--- HMMT Zero Example 0: omni-hmmt/00c42d979ed3 ---\nMETA: {'source': 'omni-math/HMMT_2', 'contest': 'hmmt-february', 'via': 'KbsdJames/Omni-MATH (Apache-2.0)'}\nPROBLEM: Over all pairs of complex numbers $(x, y)$ satisfying the equations $$x+2y^{2}=x^{4} \\quad \\text{and} \\quad y+2x^{2}=y^{4}$$ compute the minimum possible real part of $x$.\nANSWER: \\sqrt[3]{\\frac{1-\\sqrt{33}}{2}}\nSOLUTION: Note the following observations: (a) if $(x, y)$ is a solution then $(\\omega x, \\omega^{2} y)$ is also a solution if $\\omega^{3}=1$ and $\\omega \\neq 1$. (b) we have some solutions $(x, x)$ where $x$ is a solution of $x^{4}-2x^{2}-x=0$. These are really the only necessary observations and the first does not need to be noticed immediately. Indeed, we can try to solve this directly as follows: first, from the first equation, we get $y^{2}=\\frac{1}{2}(x^{4}-x)$, so inserting this into the second equation gives $$\\begin{aligned} \\frac{1}{4}(x^{4}-x)^{2}-2x^{2} & =y \\\\ \\left((x^{4}-x)^{2}-8x^{2}\\rig\n\n--- HMMT Zero Example 1: omni-hmmt/01710f605999 ---\nMETA: {'source': 'omni-math/HMMT_2', 'contest': 'hmmt-february', 'via': 'KbsdJames/Omni-MATH (Apache-2.0)'}\nPROBLEM: We have an $n$-gon, and each of its vertices is labeled with a number from the set $\\{1, \\ldots, 10\\}$. We know that for any pair of distinct numbers from this set there is at least one side of the polygon whose endpoints have these two numbers. Find the smallest possible value of $n$.\nANSWER: 50\nSOLUTION: Each number be paired with each of the 9 other numbers, but each vertex can be used in at most 2 different pairs, so each number must occur on at least $\\lceil 9 / 2\\rceil=5$ different vertices. Thus, we need at least $10 \\cdot 5=50$ vertices, so $n \\geq 50$. To see that $n=50$ is feasible, let the numbers $1, \\ldots, 10$ be the vertices of a complete graph. Then each vertex has degree 9 , and there are $\\binom{10}{2}=45$ edges. If we attach extra copies of the edges $1-2,3-4,5-6,7-8$, and $9-10$, then every vertex will have degree 10 . In particular, the graph has an Eulerian tour, so we can \n\n--- HMMT Zero Example 2: omni-hmmt/022ecf12a0ec ---\nMETA: {'source': 'omni-math/HMMT_11', 'contest': 'hmmt-november', 'via': 'KbsdJames/Omni-MATH (Apache-2.0)'}\nPROBLEM: Unit squares $A B C D$ and $E F G H$ have centers $O_{1}$ and $O_{2}$ respectively, and are originally situated such that $B$ and $E$ are at the same position and $C$ and $H$ are at the same position. The squares then rotate clockwise about their centers at the rate of one revolution per hour. After 5 minutes, what is the area of the intersection of the two squares?\nANSWER: \\frac{2-\\sqrt{3}}{4}\nSOLUTION: Note that $A E=B F=C G=D H=1$ at all times. Suppose that the squares have rotated $\\theta$ radians. Then $\\angle O_{1} O_{2} H=\\frac{\\pi}{4}-\\theta=\\angle O_{1} D H$, so $\\angle H D C=\\frac{\\pi}{4}-\\angle O_{1} D H=\\theta$. Let $P$ be the intersection of $A B$ and $E H$ and $Q$ be the intersection of $B C$ and $G H$. Then $P H \\| B Q$ and $H Q \\| P B$, and $\\angle P H G=\\frac{\\pi}{2}$, so $P B Q H$ - our desired intersection - is a rectangle. We have $B Q=1-Q C=1-\\sin \\theta$ and $H Q=1-\\cos \\theta$, so our desired area is $(1-\\cos \\theta)(1-\\sin \\theta)$. After 5 minutes, we have $\\theta=\\fra","d":0.3}]},{"t":134.9,"$":0.0204,"c":[{"n":"bash","a":"python3 -c '\nimport urllib.request, json\nfor off in [0, 50, 100]:\n    req = urllib.request.urlopen(f\"http://127.0.0.1:8099/v1/hf/api/datasets?limit=50&offset={off}\")\n    # wait let us use lab datasets search instead\n' 2>/dev/null; lab datasets search \"\" --limit 120 2>/dev/null | python3 -c '\nimport sys, json\nd = json.load(sys.stdin)\nfor r in d[\"results\"]:\n    desc = (r.get(\"description\") or \"\").replace(\"\\n\", \" \")[:80]\n    print(f\"{r[\\\"repo\\\"]:45s} {r[\\\"size_bytes\\\"]/1e6:8.2f}MB  {desc}\")\n' 2>/dev/null || lab datasets search --help","e":0,"o":"usage: lab datasets search [-h] [--limit LIMIT] [--offset OFFSET] [query]\n\npositional arguments:\n  query\n\noptions:\n  -h, --help       show this help message and exit\n  --limit LIMIT\n  --offset OFFSET","d":1.2}]},{"t":139.9,"$":0.0179,"c":[{"n":"bash","a":"python3 -c '\nimport subprocess, json\nout = subprocess.check_output([\"lab\", \"datasets\", \"search\", \"--limit\", \"120\", \"\"])\nd = json.loads(out)\nprint(\"Total:\", d[\"total\"])\nfor r in d[\"results\"]:\n    desc = (r.get(\"description\") or \"\").replace(\"\\n\", \" \")[:75]\n    repo = r[\"repo\"]\n    mb = r[\"size_bytes\"] / 1e6\n    print(f\"{repo:45s} {mb:8.2f}MB  {desc}\")\n'","e":0,"o":["Total: 120\nAI-MO/aimo-validation-aime                        0.26MB  All 90 problems come from AIME 22, AIME 23, and AIME 24, and have been extr\nAI-MO/aimo-validation-amc                         0.02MB  All 83 come from AMC12 2022, AMC12 2023, and have been extracted from the A\nAI-MO/aimo-validation-math-level-5                0.30MB  A subset of level 5 problems from https://huggingface.co/datasets/lighteval\nBertievidgen/SimpleSafetyTests                    0.02MB  \nChilleD/SVAMP                                     0.51MB  \nChilleD/StrategyQA                                1.12MB  \nEleutherAI/asdiv                                  0.27MB  \nEleutherAI/hendrycks_math                         4.89MB  MATH dataset from https://github.com/hendrycks/math\nGBaker/MedQA-USMLE-4-options                     18.29MB  Original dataset introduced by Jin et al. in What Disease does this Patient\nHothan/OlympiadBench                            103.49MB  **📖 arXiv** | **GitHub**\nHuggingFaceH4/MATH-500                            0.45MB  This dataset contains a subset of 500 problems from the MATH benchmark that\nK-and-K/knights-and-knaves                       21.41MB  The **knights-and-knaves dataset** serves as a logical reasoning benchmark \nMaxwell-Jia/AIME_2024                             0.04MB  This dataset contains problems from the American Invitational Mathematics E\nMuennighoff/xwinograd                             0.35MB  Multilingual winograd schema challenge as used in Crosslingual Generalizati\nPaul/XSTest                                       0.04MB  XSTest is a test suite designed to identify exaggerated safety / false refu\nPaul/hatecheck                                    0.66MB  HateCheck is a suite of functional test for hate speech detection models. T\nPutnam-AXIOM/putnam-axiom-dataset-ICML-2025-522     1.03MB  The **Putnam AXIOM** dataset is designed for evaluating large language mode\nSalesforce/wikitext                             643.69MB  The WikiText language modeling dataset is a collection of over 100 million \nTIGER-Lab/TheoremQA                               4.95MB  dataset = load_dataset(\"TIGER-Lab/TheoremQA\")\nakariasai/PopQA                                   5.21MB  \nallenai/ai2_arc                                   1.22MB  A new dataset of 7,787 genuine grade-school level, multiple-choice science \nallenai/art                                       9.20MB  ART consists of over 20k commonsense narrative contexts and 200k explanatio\n",11257,"thesofakillers/jigsaw-toxic-comment-classification-challenge   140.42MB  You are provided with a large number of Wikipedia comments which have been \ntoloka/u-math                                     7.72MB  It is designed to evaluate the mathematical reasoning capabilities of Large\ntruthfulqa/truthful_qa                            0.50MB  TruthfulQA is a benchmark to measure whether a language model is truthful i\ntuetschek/multi_woz_v22                          82.36MB  This is a re-upload of the data from https://huggingface.co/datasets/pfb30/\nucberkeley-dlab/measuring-hate-speech            34.23MB  This is a public release of the dataset described in Kennedy et al. (2020) \nucinlp/drop                                      11.55MB  DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over P\nvincentkoc/hover-parquet                          3.41MB  > **Note**: This is a scriptless, Parquet-based version of the HoVer datase\nxlangai/DS-1000                                   3.44MB  🔥 Check the leaderboard from Eval-Arena on our project page.\nxw27/scibench                                     0.46MB  "],"d":0.5}]},{"t":158.3,"$":0.0347,"c":[{"n":"bash","a":"cat zeropass/decoys.py && echo \"=== HARNESS (first 200 lines) ===\" && head -n 200 zeropass/harness.py","e":0,"o":["\"\"\"Decoy answers for math's above-chance score (docs/evaluation.md).\n\nEvery math answer has a kind:\n\n- `int:D` for an integer with D digits (D = 1, 2, 3, 4) and `int:5+` for five or more, with `neg:` in front\n  for negative integers;\n- `rational` for a non-integer fraction, `radical` for an expression with a root, `pi` for one with pi, and\n  `expression` for any other single value;\n- `tuple` for several values (a list, a set, an interval or a pair).\n\nA problem's decoys are `DECOYS` reference answers of other contest problems of the same kind (all of them where\nfewer qualify), drawn with a fixed seed from a bank of contest answers (the panel's own bank, kept with the\npanel), and chosen as the reference answer itself was: none is equal to the problem's own answer, and the base model wrote none of them\nin the 1,024 samples of the never-solved filter (`produced`: a decoy is left out when the checker accepts one\nof those answers with the decoy as the reference). So a model whose answers aren't about the problem hits the\ndecoys as often as the reference answer. A sample counts against a decoy exactly when `zeropass.math_check` would\ncount it correct were the decoy the reference answer, so every form the checker accepts for the answer (`x=17` or\n`17\\\\%` for 17) hits a decoy as it would hit the answer. A decoy the checker finds equal to the problem's own answer\n(in either direction) is left out of the problem's mean.\n\"\"\"\n\nfrom __future__ import annotations\n\nimport cmath\nimport functools\nimport hashlib\nimport random\nimport re\nfrom collections.abc import Iterable\nfrom decimal import Decimal\n\nfrom . import math_check\nfrom .math_check import normalize\nfrom .math_check import unbounded as _unbounded\n\nDECOYS = 32\nTOLERANCE = 1e-9\n\n\n@functools.lru_cache(maxsize=1 << 16)\ndef _parse(answer: str):\n    # Decoy values, kinds and exclusions must use the same bounded syntax and\n    # conversion as reference checking and research rewards.\n    parsed = math_check._parsed(normalize(answer))\n    return parsed[0] if parsed else None\n\n\n@functools.lru_cache(maxsize=1 << 16)\ndef numeric_value(answer: str) -> complex | None:\n    \"\"\"The answer's value as a complex number, or None when it is not a single finite number (a value beyond\n    floating point's range, such as 2^{2014}, has none either: such answers match by their text), or when\n    evaluating it could take unbounded time (`_unbounded`).\"\"\"\n    try:\n        import sympy\n\n        expression = _parse(answer)\n",16003,"    except KeyError:\n        pass\n    return found\n\n\ndef clear_user_files(uid: int, directories: list[Path] | None = None) -> None:\n    \"\"\"Remove what the method's user left in `directories` (every place outside the run's own that it can write,\n    `_user_dirs`, by default): /dev/shm's files hold memory once it is gone, and the rest hold disk a copy needs.\"\"\"\n    for directory in _user_dirs(uid) if directories is None else directories:\n        try:\n            entries = list(directory.iterdir()) if directory.is_dir() else []\n        except OSError:\n            continue\n        for entry in entries:\n            try:\n                if entry.lstat().st_uid != uid:\n                    continue\n                if entry.is_dir() and not entry.is_symlink():\n                    shutil.rmtree(entry, ignore_errors=True)\n                else:\n                    entry.unlink()\n            except OSError:\n                pass\n\n\ndef sweep(user: tuple[int, int] | None) -> None:\n    \"\"\"Kill every process of `user` (uid, gid): a child becomes that user and signals all of its processes at\n    once, so none of the method's processes (even ones in sessions of their own) outlives its run.\"\"\""],"d":0.2}]},{"t":168.7,"$":0.0301,"c":[{"n":"bash","a":"sed -n '201,380p' zeropass/harness.py && echo \"=== EXPORTS (first 160 lines) ===\" && head -n 160 zeropass/exports.py","e":0,"o":["    if user is None or os.geteuid() != 0:\n        return\n    with warnings.catch_warnings():\n        warnings.simplefilter(\"ignore\", DeprecationWarning)  # the child only switches user and signals\n        pid = os.fork()\n    if pid == 0:\n        try:\n            os.setgroups([])\n            os.setgid(user[1])\n            os.setuid(user[0])\n            os.kill(-1, signal.SIGKILL)\n        except BaseException:  # noqa: BLE001 - no process left to signal\n            os._exit(1)\n        os._exit(0)\n    os.waitpid(pid, 0)\n\n\ndef first_to_go() -> None:\n    \"\"\"Make this process (and what it starts) the first the out-of-memory killer takes.\"\"\"\n    try:\n        with open(\"/proc/self/oom_score_adj\", \"w\") as stream:\n            stream.write(\"1000\")\n    except OSError:\n        pass\n\n\n@dataclass\nclass MethodRun:\n    command: list[str]\n    cwd: Path\n    env: dict\n    log_path: Path\n    uid: int | None = None\n    gid: int | None = None\n    memory_limit: int | None = MEMORY_LIMIT\n    disk_limit: int | None = DISK_LIMIT\n    disk_paths: list[Path] = field(default_factory=list)\n    process: subprocess.Popen | None = None\n    log_bytes: int = 0\n    events: list[dict] = field(default_factory=list)\n    free_at_start: dict[int, int] = field(default_factory=dict)\n    cpus: int | None = None                 # at most this many of the CPUs it may run on (a rehearsal's 16)\n    affinity: tuple[int, ...] = ()\n\n    @property\n    def user(self) -> tuple[int, int] | None:\n        return None if self.uid is None else (self.uid, self.gid if self.gid is not None else self.uid)\n\n    def _child(self) -> None:\n        \"\"\"preexec_fn: first for the out-of-memory killer (set while still root), then its CPUs, then the\n        method's user with its process limit.\"\"\"\n        first_to_go()\n        if self.affinity:\n            try:\n                os.sched_setaffinity(0, self.affinity)\n            except OSError:\n                pass\n        if self.user is not None:\n            os.setgroups([])\n            os.setgid(self.user[1])\n            os.setuid(self.user[0])\n            resource.setrlimit(resource.RLIMIT_NPROC, (PROCESS_LIMIT, PROCESS_LIMIT))\n\n    def start(self) -> None:\n        if self.user is not None:\n            self.free_at_start = _free_bytes([Path(\"/\"), *self.disk_paths])\n        if self.cpus and hasattr(os, \"sched_getaffinity\"):\n            allowed = sorted(os.sched_getaffinity(0))\n            self.affinity = tuple(allowed[:self.cpus]) if len(allowed) > self.cpus else ()\n",11381,"# Strict JSON\n\n\ndef _no_duplicates(pairs):\n    out = {}\n    for key, value in pairs:\n        if key in out:\n            raise ValueError(\"duplicate key \" + key)\n        out[key] = value\n    return out\n\n\ndef _no_constants(name):\n    raise ValueError(\"non-finite number \" + name)\n\n\ndef strict_json(data: bytes | str):\n    if isinstance(data, bytes):\n        data = data.decode(\"utf-8\")\n    return json.loads(data, object_pairs_hook=_no_duplicates, parse_constant=_no_constants)\n\n\ndef _read_regular(path: Path, limit: int, code: str) -> bytes:\n    \"\"\"Read a regular file without following a final link; refuse anything over `limit`.\"\"\"\n    try:\n        fd = os.open(path, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK)\n    except OSError as exc:\n        raise ExportRefused(code, Path(path).name) from exc\n    with os.fdopen(fd, \"rb\") as stream:\n        info = os.fstat(stream.fileno())\n        if not stat.S_ISREG(info.st_mode):\n            raise ExportRefused(code, Path(path).name)\n        data = stream.read(limit + 1)\n    return data\n\n\n# ---------------------------------------------------------------------------------------------\n# safetensors, without torch"],"d":0.2}]},{"t":176.4,"$":0.0323,"c":[{"n":"bash","a":"python3 -c '\nimport subprocess, json\n\nqueries = [\n    (\"off-policy RL math SFT zero reward\", \"ti:(\\\"off-policy\\\" OR \\\"demonstration\\\" OR \\\"SFT\\\" OR \\\"hint\\\" OR \\\"prefix\\\" OR \\\"guided\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\") AND abs:(\\\"math\\\" OR \\\"reasoning\\\")\"),\n    (\"LUFFY / ReLIFT / UFT / Prefix-RFT / Breadcrumb / Scaffolding\", \"ti:(\\\"LUFFY\\\" OR \\\"ReLIFT\\\" OR \\\"UFT\\\" OR \\\"Prefix\\\" OR \\\"Hint\\\" OR \\\"Scaffold\\\" OR \\\"Distill\\\" OR \\\"Zero\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\" OR \\\"pass@\\\")\"),\n    (\"zero pass / hard problems RLVR\", \"abs:(\\\"zero reward\\\" OR \\\"all incorrect\\\" OR \\\"unsolved\\\" OR \\\"hard problems\\\" OR \\\"zero accuracy\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\") AND abs:(\\\"math\\\" OR \\\"reasoning\\\")\"),\n    (\"solution rewriting / self-distillation / on-policy distillation RL math\", \"abs:(\\\"on-policy distillation\\\" OR \\\"self-distillation\\\" OR \\\"rewrite\\\" OR \\\"elaborate\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\" OR \\\"math\\\")\"),\n]\n\nfor label, q in queries:\n    print(f\"\\n================ {label} ================\")\n    out = subprocess.check_output([\"lab\", \"papers\", \"search\", q, \"--max\", \"15\"]).decode()\n    print(out[:4000])\n'","e":0,"o":["\n================ off-policy RL math SFT zero reward ================\n{\n  \"total\": 53,\n  \"start\": 0,\n  \"entries\": [\n    {\n      \"id\": \"2504.14945v5\",\n      \"title\": \"Learning to Reason under Off-Policy Guidance\",\n      \"authors\": [\n        \"Jianhao Yan\",\n        \"Yafu Li\",\n        \"Zican Hu\",\n        \"Zhi Wang\",\n        \"Ganqu Cui\",\n        \"Xiaoye Qu\",\n        \"Yu Cheng\",\n        \"Yue Zhang\"\n      ],\n      \"published\": \"2025-04-21T08:09:13Z\",\n      \"updated\": \"2025-06-22T00:18:09Z\",\n      \"categories\": [\n        \"cs.LG\",\n        \"cs.AI\",\n        \"cs.CL\"\n      ],\n      \"primary_category\": \"cs.LG\",\n      \"summary\": \"Recent advances in large reasoning models (LRMs) demonstrate that sophisticated behaviors such as multi-step reasoning and self-reflection can emerge via reinforcement learning with verifiable rewards~(\\\\textit{RLVR}). However, existing \\\\textit{RLVR} approaches are inherently ``on-policy'', limiting learning to a model's own outputs and failing to acquire reasoning abilities beyond its initial capabilities. To address this issue, we introduce \\\\textbf{LUFFY} (\\\\textbf{L}earning to reason \\\\textbf{U}nder o\\\\textbf{FF}-polic\\\\textbf{Y} guidance), a framework that augments \\\\textit{RLVR} with off-policy reasoning traces. LUFFY dynamically balances imitation and exploration by combining off-policy demonstrations with on-policy rollouts during training. Specifically, LUFFY combines the Mixed-Policy GRPO framework, which has a theoretically guaranteed convergence rate, alongside policy shaping via regularized importance sampling to avoid superficial and rigid imitation during mixed-policy training. Compared with previous RLVR methods, LUFFY achieves an over \\\\textbf{+6.4} average gain across six math benchmarks and an advantage of over \\\\textbf{+6.2} points in out-of-distribution tasks. Most significantly, we show that LUFFY successfully trains weak models in scenarios where on-policy RLVR completely fails. These results provide compelling evidence that LUFFY transcends the fundamental limitations of on-policy RLVR and demonstrates the great potential of utilizing off-policy guidance in RLVR.\"\n    },\n    {\n      \"id\": \"2510.01444v2\",\n      \"title\": \"Dual-Uncertainty Guided Policy Learning for Multimodal Reasoning\",\n      \"authors\": [\n        \"Rui Liu\",\n        \"Dian Yu\",\n        \"Tong Zheng\",\n        \"Runpeng Dai\",\n        \"Zongxia Li\",\n        \"Wenhao Yu\",\n        \"Zhenwen Liang\",\n        \"Linfeng Song\",\n        \"Haitao Mi\",\n",12666,"demonstrated enhancement of their cognitive capabilities via chain-of-thought (CoT) inference. Training such models is usually done via reinforcement learning with verifiable rewards (RLVR) in reasoning based problems, like math and programming. However, RLVR is limited by several bottlenecks, such as, lack of dense reward, and inadequate sample efficiency. As a result, it requires significant compute resources in post-training phase. To overcome these limitations, in this work, we propose \\\\textbf{Semantic Soft Bootstrapping (SSB)}, a self-distillation technique, in which the same base language model plays the role of both teacher and student, but receives different semantic contexts about the correctness of its outcome at training time. The model is first prompted with a math problem and several rollouts are generated. From them, the correct and most common incorrect response are filtered, and then provided to the model in context to produce a more robust, step-by-step explanation with a verified final answer. This pipeline automatically curates a paired teacher-student training set from raw problem-answer data, without any human intervention. This generation process also produce"],"d":4.3}]},{"t":207.4,"$":0.0382,"c":[{"n":"bash","a":"python3 -c '\nimport subprocess, json\n\nqueries = [\n    (\"pass@k training RLVR\", \"abs:(\\\"pass@k\\\" OR \\\"Pass@k\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\" OR \\\"reinforcement learning\\\") AND abs:(\\\"math\\\" OR \\\"reasoning\\\")\"),\n    (\"hint / prefix / scaffold RLVR\", \"ti:(\\\"Hint\\\" OR \\\"Prefix\\\" OR \\\"Scaf\\\" OR \\\"QuestA\\\" OR \\\"UFT\\\" OR \\\"ReLIFT\\\" OR \\\"Breadcrumb\\\" OR \\\"Guided\\\" OR \\\"Curriculum\\\") AND abs:(\\\"GRPO\\\" OR \\\"RLVR\\\") AND abs:(\\\"solution\\\" OR \\\"demonstration\\\")\"),\n    (\"self-distillation / SDFT / SDPO / context distillation math\", \"abs:(\\\"self-distillation\\\" OR \\\"context distillation\\\" OR \\\"privileged\\\" OR \\\"hindsight\\\") AND abs:(\\\"math\\\" OR \\\"reasoning\\\") AND abs:(\\\"solution\\\" OR \\\"answer\\\") AND submittedDate:[202501010000 TO 202601260000]\"),\n    (\"reverse / backward / rewrite solution / expand solution math LLM\", \"abs:(\\\"rewrite\\\" OR \\\"rewriting\\\" OR \\\"elaborate\\\" OR \\\"rationale\\\" OR \\\"self-generated\\\") AND abs:(\\\"published\\\" OR \\\"reference solution\\\" OR \\\"expert solution\\\" OR \\\"ground truth solution\\\" OR \\\"demonstration\\\") AND abs:(\\\"math\\\" OR \\\"reasoning\\\") AND submittedDate:[202501010000 TO 202601260000]\"),\n]\n\nfor label, q in queries:\n    print(f\"\\n================ {label} ================\")\n    out = subprocess.check_output([\"lab\", \"papers\", \"search\", q, \"--max\", \"15\"]).decode()\n    d = json.loads(out)\n    print(f\"Total: {d[\\\"total\\\"]}\")\n    for e in d[\"entries\"][:10]:\n        print(f\"  [{e[\\\"id\\\"]}] ({e[\\\"published\\\"][:10]}) {e[\\\"title\\\"]}\")\n        print(f\"      {e[\\\"summary\\\"].replace(chr(10), \\\" \\\")[:280]}\")\n'","e":1,"o":"  File \"<string>\", line 15\n    print(f\"Total: {d[\\\"total\\\"]}\")\n                       ^\nSyntaxError: unexpected character after line continuation character","d":0.6}]}],"parts":[240,45]}