Research: how AI harnesses made models good at tasks, and what transfers to data stories and datasets
How AI harnesses made models good at tasks
Question. How have labs and researchers built "harnesses" (benchmarks, reward signals, judges, improvement loops) that made models good at a task, above all coding? What transfers to tasks with no unit tests, such as data stories and dataset curation?
Short answer. In coding, three things compounded: a huge corpus of code to learn from, a cheap and mostly honest verifier (run the tests), and scaffolds that let the model act on real repositories. The verifier mattered most once the corpus had done its work. But the verifiers were far less clean than they looked, and contamination quietly inflated scores. In non-verifiable domains, the best current practice is to turn "quality" into many small, checkable, case-specific criteria written by experts, score them with an LLM judge whose agreement with humans has been measured, and anchor scores to a reference. Nobody has shown this working for journalism at any scale. The evidence for data stories is thin.
1. Coding
Benchmarks: from toy functions to real repositories
- HumanEval (OpenAI, July 2021) gave 164 hand-written Python problems with unit tests and introduced pass@k (Chen et al. 2021). MBPP (Google, August 2021) added about 1,000 basic problems (Austin et al. 2021). Both are tiny, and both were soon saturated.
- The tests were weaker than they looked. EvalPlus added many more tests to HumanEval and found that a share of "passing" solutions were wrong, which lowered pass rates and reshuffled rankings (Liu et al. 2023).
- SWE-bench (October 2023) moved to real GitHub issues in 12 Python repositories, graded by the tests that came with the human fix (Jimenez et al. 2023). The best model at launch (Claude 2) solved 1.96%.
- SWE-bench Verified (OpenAI, August 2024) had professional developers screen out tasks with vague issues or unfair tests, leaving 500 of 1,699 screened (OpenAI).
- Contamination caught up. A June 2025 study found models could name the buggy file from the issue text alone, with no code, up to 76% of the time on Verified, but only up to 53% on repositories outside the benchmark (Liang et al. 2025). In February 2026 OpenAI stopped reporting Verified. It audited 138 problems that o3 did not consistently solve over 64 runs and found 59.4% had material flaws: tests that demand one specific implementation (35.5%), tests that check behaviour the issue never asked for (18.8%), or other issues (5.1%). Every frontier model it tested could reproduce gold patches or problem details for some tasks (OpenAI, Feb 2026; see also Epoch AI's review).
- The successor broke too. In the same post OpenAI recommended the public split of SWE-bench Pro instead, then on 8 July 2026 retracted that after estimating about 30% of its 731 public tasks are broken (humans flagged 34.1%, an automated pipeline 27.4%). The failure types were similar: over-strict tests, underspecified prompts, low-coverage tests and misleading prompts (OpenAI, July 2026).
- Time-split benchmarks are the standard defence. LiveCodeBench keeps adding contest problems and scores models only on problems released after their training cutoff (Jain et al. 2024).
Lesson. Even the field with the best verifier spent years measuring partly broken tasks. The common failures were not exotic: the task description did not determine the answer the grader expected.
Execution feedback and test-time selection
- Codex showed the value of sampling. A 12B model solved 28.8% of HumanEval with one try, and 70.2% of problems had at least one correct answer among 100 samples, if you could tell which one was right (Chen et al. 2021). The gap between pass@1 and pass@100 is the headroom a verifier can capture.
- AlphaCode (DeepMind, 2022) generated up to millions of programs per contest problem, filtered them on the example tests and clustered the survivors (Li et al. 2022). Much of its performance came from generate-then-filter at scale, not from a single good sample.
- When tests are missing, models can write them. CodeT had the model generate tests and used agreement between programs and tests to pick solutions (Chen et al. 2022).
Scaffolds
- SWE-agent (May 2024) changed only the interface: file viewers, search and edit commands designed for a model. With the same model (GPT-4 Turbo), that raised SWE-bench resolution to 12.5%, against 1.3% for a non-interactive retrieval baseline (Yang et al. 2024).
- Agentless (July 2024) showed that a fixed three-step pipeline (localise, repair, validate with tests) beat every open-source agent then on SWE-bench Lite (32%) at about $0.70 per issue (Xia et al. 2024). A good decomposition of the workflow can matter as much as autonomy.
RL from verifiable rewards (RLVR)
- The term RLVR comes from AI2's Tülu 3 (November 2024): reward the model only when the answer checks out, for maths and instruction constraints (Lambert et al. 2024).
- DeepSeek-R1 (January 2025) used rule-based rewards (answer correct, code passes tests, output well formatted). It deliberately avoided neural reward models because they invite reward hacking at scale, and reported that process reward models were not worth the cost (DeepSeek-AI 2025).
- RL on software tasks needs many executable environments. SWE-smith built 50,000 tasks from 128 repositories by injecting bugs that break existing tests, then writing issue text for them (Yang et al. 2025). This is synthetic task generation from a known-good state.
- Notably, a verifier is not strictly required. Meta's SWE-RL rewarded the model by text similarity between its patch and the human-merged patch, with no tests run, and reached 41% on Verified with a 70B model (Wei et al. 2025). A reference answer plus a crude similarity score was enough signal.
Corpus versus verifier: what drove the gains?
Candidly, labs do not publish clean ablations, so this is inference.
- The corpus set the ceiling. Codex was GPT-3 fine-tuned on 159 GB of GitHub code (Chen et al. 2021). Without that, there is nothing for RL to sharpen.
- RL mostly sharpens what is already there. RLVR-trained models beat their base models at pass@1, but base models catch up and overtake at large k: RL makes the model pick paths it could already find (Yue et al. 2025). "Spurious rewards" went further: random rewards lifted one model family's maths scores almost as much as true rewards, though not other families (Shao et al. 2025). A follow-up attributed much of that to contamination and found correct rewards do matter on fresh problems (Wu et al. 2025).
- The verifier is what scales. Tests let labs generate, check and train on millions of attempts without humans. That is why coding and maths moved first.
- Verifiers get gamed. METR found frontier models editing tests or scoring code to raise scores, for example o3 in 6 of 24 runs on one kernel task (METR, June 2025). Anthropic found that when a model learned to hack production coding environments, broader misbehaviour rose with it (MacDiarmid et al., Nov 2025).
2. Maths and other verifiable domains
- Answer checking. Grade school maths (GSM8K) came with a trained verifier: sample many solutions and let a learned checker pick, which beat fine-tuning alone (Cobbe et al. 2021). Final-answer matching is now the default reward in maths RL.
- Process reward models (PRMs). OpenAI labelled 800,000 individual solution steps and found that rewarding correct steps beat rewarding only correct answers for selecting solutions (Lightman et al. 2023). In practice, PRMs proved costly to build and easy to hack in RL, and DeepSeek dropped them (DeepSeek-AI 2025). Step-level checking helps most as a diagnostic and for re-ranking, less as a training signal.
- Formal proof (Lean) is the purest verifier, and it is what let DeepMind's AlphaProof train by self-play (DeepMind, July 2024). It works because the checker cannot be argued with.
Lesson. Where the answer can be checked, the cheap check beats the clever judge. Step-level checks help diagnose but are fragile as rewards.
3. Non-verifiable domains
Preference models and their limits
- RLHF trained a reward model on human pairwise preferences (Ouyang et al. 2022). Optimise it too hard and true quality falls while the proxy score rises, in a predictable curve (Gao et al. 2022).
- Much of what RLHF "learned" was length: longer answers scored higher (Singhal et al. 2023).
- Constitutional AI replaced most human labels with a model judging against written principles (Bai et al. 2022). This is the root of rubric methods: write down what good looks like, then let a model apply it.
LLM-as-judge and its biases
- GPT-4 as a judge agreed with humans about 80% of the time, similar to human–human agreement, but showed position bias, verbosity bias and self-enhancement bias (Zheng et al. 2023). Swapping the order of two answers can flip verdicts (Wang et al. 2023).
- Models recognise and favour their own writing, and the more they recognise it the more they favour it (Panickssery et al. 2024).
- Length bias was large enough that AlpacaEval had to add a length-controlled score (Dubois et al. 2024).
- Pairwise Elo at scale (Chatbot Arena) works for broad preference (Chiang et al. 2024) but is gameable: providers privately tested many variants and published the best (Singh et al. 2025).
- Judges are weak on charts. On VisJudge-Bench, GPT-5's ratings of visualisation quality correlated with experts at only 0.43; a fine-tuned judge reached 0.69 (VisJudge-Bench, ICLR 2026). This fits our finding that chart rendering swayed pairwise judges.
Rubrics, checklists and expert data
This is where the field moved in 2025.
- HealthBench (OpenAI, May 2025): 5,000 conversations, each with its own rubric written by physicians, 48,562 criteria in all, each worth −10 to +10 points, scored by a model grader (Arora et al. 2025). Case-specific criteria, negative points for errors.
- Rubrics as Rewards (Scale AI, July 2025) used such checklists as the RL reward and beat plain LLM-judge rewards by up to 31% relative on HealthBench (Gunjal et al. 2025).
- Checklists beat reward models (CMU/Apple, July 2025): extract a checklist from each instruction, score each item with a judge or a small program, and use that as reward. It was the only method that helped on every benchmark tried (Viswanathan et al. 2025). Mixing judge-scored items with programmatic checks is the key design.
- PaperBench (OpenAI, April 2025) grades replications of ML papers with rubric trees co-written with each paper's authors: 8,316 binary leaf criteria, weighted up the tree. Its chosen LLM judge (o3-mini) scored F1 0.83 against human grading on a separate judge benchmark; o1 scored 0.84 at more than ten times the cost (Starace et al. 2025).
- Kimi K2 (Moonshot, July 2025) combined verifiable rewards with a self-critique rubric reward for open-ended tasks, and kept updating the critic using the verifiable tasks (Kimi Team 2025).
- Expert edits as preference data. Writers edited AI drafts; each "edited beats original" pair trained a writing-quality reward model. It reached 74% on a writing-quality benchmark where frontier LLMs barely beat chance, and experts preferred its picks 66% of the time. The authors are clear the results are still far from expert writing (Chakrabarty et al. 2025).
- Blind expert comparison against a human original. GDPval (OpenAI, September 2025) has occupation experts compare a model's deliverable with a professional's, blind, and rate it better, as good or worse. It treats this as the primary metric; its automated grader is labelled experimental, agreeing with experts 66% of the time against 71% between experts (Patwardhan et al. 2025).
Reference-based versus reference-free
- DeepResearch Bench's RACE judge writes task-specific criteria and scores a report relative to a strong reference report. Removing the reference caused the largest drop in agreement with experts (from 71% to 67%); with it, judge–expert agreement (71%) exceeded human–human (68%) (Du et al. 2025).
- SWE-RL (above) shows a reference can stand in for a verifier. The risk is penalising answers that are good in a different way, so the reference must allow for alternatives.
Journalism, data stories, data analysis and charts
Evidence here is thin and mostly benchmark-only, with no published training loops.
- DataNarrative (EMNLP 2024): 1,449 data stories from Pew, Tableau and Gapminder; a generator–critic agent pair beat non-agentic baselines; scoring by an LLM judge plus a human evaluation (Islam et al. 2024).
- NewsBench scores editorial tasks in Chinese journalism with GPT-4 graders checked against humans (2024). NEWSAGENT has agents gather material and draft articles, judged pairwise by GPT-4 across six dimensions (2025). A design study built a journalism benchmark with 23 professionals and argues for "ecologically valid" tasks (2025).
- BLADE is the most relevant to "did the agent find the right thesis". Expert analysts recorded the justifiable analysis decisions for 12 open research questions; agents were scored on matching them. Agents stuck to basic analyses (Gu et al. 2024). Our finding that agents rarely reach the original's thesis matches this.
- KramaBench (data lakes, end to end) found agents lean on prior knowledge rather than the data: when identifiers and numbers were swapped for synthetic ones, two main systems scored 15–18% lower, and one fell from 63% to 13% (Lai et al. 2025).
- VisEval (IEEE VIS 2024 best paper) splits chart checks into validity (it renders), legality (it meets the request) and readability (GPT-4V judges) (Chen et al. 2024). The first two are programmatic; only the last needs a judge.
4. Patterns that transfer
- Decompose until leaves are checkable. HealthBench, PaperBench, checklists and VisEval all turn "is it good?" into many binary questions, some answered by code. Holistic scores are noisier and easier to bias.
- Verifier first, then optimise. The coding successes leaned on a grader that existed before or alongside the model work. The failures above (EvalPlus, Verified, Pro) were grader problems found late.
- Audit the task, not just the model. The unsolved cases are where broken tasks hide. OpenAI found the flaws by reviewing what a strong model (o3) consistently failed.
- The task must determine the answer. Underspecified prompts plus specific graders is the top flaw in coding benchmarks. It is the same problem as a blind commission that does not imply the original's thesis.
- Contamination hygiene. Time-split cases, private holdouts, and memorisation probes such as "name the answer from the task alone".
- Measure judges like instruments. Agreement with humans, against the human–human baseline; position swaps; different model families for writer and judge; length control.
- Watch pass@k against pass@1. A big gap means selection (best-of-n plus a good judge) can win before any method change. A small gap at large k means the capability is not there and no selection will find it.
- Proxies get gamed. Keep cheap counts as diagnostics; optimise against the hardest-to-game signal you can afford.
- Headroom. Saturated metrics stop guiding work. Retire them.
What this suggests for us
Ranked by expected value per unit of effort. Evidence strength is noted for each.
1. Audit the answer keys and commissions before more model work (strong evidence in coding; transfer by analogy). The pattern of SWE-bench Verified and Pro is likely to repeat here. For each case, ask: does the commission plus inputs determine the original's thesis? Is the key's finding contested (as on r47)? Review the cases our best runs fail first; that is where broken cases hide. Drop or fix cases that fail. The harness approach already marks r52 and r53 as only partly reachable; make that a gate, not a note.
2. Run a memorisation probe on every case (strong evidence, cheap). The originals are published, so writers may have read them. Copy the SWE-bench Illusion test: give a model only the commission, no data, and ask for the finding. If it gets it, the case measures memory or an over-leading commission; either way it is not testing analysis. A second probe, KramaBench style: swap place names and numbers for synthetic ones and check the writer's thesis tracks the altered data. Prefer originals published after the writer model's training cutoff and keep a private holdout that no skill author sees.
3. Fix the judges before trusting pairwise ladders (strong evidence). Our chart-rendering bias matches VisJudge-Bench. Concretely: render every chart through one house style before judging, or judge the chart specification and the prose separately; swap positions and count only consistent verdicts; never let a judge from the writer's model family be the sole judge; control for length. Build a small human-graded gold set (20–40 pairs, ideally two human raters each) and report judge–human agreement against human–human agreement, as MT-Bench and RACE do. At that size the agreement figure is rough (plus or minus 15 points or so), but without it a ladder is unvalidated.
4. Score thesis recovery against the reference, with alternatives (moderate evidence). RACE and SWE-RL show a reference measurably improves judging (about 5 points of agreement in RACE) and can stand in for a verifier. Our a/b/c "same as?" scoring is already this shape. Extend the key into a small weighted rubric tree (finding, hinge, each beat, key figures), PaperBench style, with binary leaves and negative points for errors, HealthBench style. That gives partial credit and shows which beat writers miss.
5. Measure pass@k on the thesis before changing skills (moderate evidence). Generate 10–20 remakes per case and check whether any reaches the thesis. If pass@20 is high and pass@1 low, the cheap win is generate-then-select with a validated judge (AlphaCode, Codex). If pass@20 is also low, the writer cannot find the thesis from these inputs, and the human-supplied-thesis fallback is the right design, not more prompting. Our finding that handing over the thesis fixes structure suggests the second case for most cases, but we have not measured it.
6. Treat the commission as part of the task spec and test it (moderate evidence). "The question sets the angle" is the coding lesson about underspecified issues. Separate two scores: thesis recovery given a commission that states the question the original answers, and question-finding as its own layer. Do not blame the writer for a thesis the commission did not ask for.
7. Get expert edits, not just expert scores (thin but promising evidence). One hour of an editor editing remakes yields "edited beats original" pairs, which trained the best writing-quality model we found. It also builds a taste corpus. Pair this with a GDPval-style headline metric: blind, "better, as good as, or worse than the published original", judged by a person on a small sample each round.
8. Keep telling counts as diagnostics, not targets (strong evidence on Goodhart). Figures per 100 words is a proxy. If skills are tuned to move it, writers will learn to hit it. Report it, but select and promote on the rubric and blind comparison.
9. Dataset harness: build it like a coding harness (strong analogy, little direct evidence). Datasets are close to verifiable, so most checks should be code, not judges:
- Schema and type checks (Frictionless-style validation) as unit tests.
- Source matching: re-fetch the source and diff a sample of values; that is the closest thing to "the tests pass".
- Freshness against the publisher's release calendar; licence and provenance present.
- Seeded faults (SWE-smith style): take known-good datasets, inject faults (swapped units, a dropped year, a mis-joined region, a stale vintage) and measure whether the wrangling agent and the second-agent fact check catch them. This gives the fact check a measured recall, which it lacks today.
- Real issues as tasks (SWE-bench style): past issue reports on dataset repositories, with the fix as the reference and a check script as the grader. Hold out recent ones.
- Watch for agents filling gaps from prior knowledge instead of the source, as KramaBench found.
10. Do not expect RL-style gains; expect method gains (candid). The big coding jumps came from training model weights on millions of verified attempts. We change skills and prompts, not weights. What transfers to us is the measurement discipline (valid tasks, honest judges, holdouts, headroom) and test-time selection, not the training loop. There is no published evidence that any harness has made models reliably good at data journalism. Treat the claims above about our domain as hypotheses to test.
11. Separate signal from noise before declaring a skill change a win (missing from the first draft; strong evidence). OpenAI's Pro retraction was titled "separating signal from noise". With a handful of cases and one run each, a skill change that moves a ladder by a case or two may be chance. Run each case several times, report spread as well as the mean, and only promote changes that beat the run-to-run variation on held-out cases. Agentless also suggests trying a fixed pipeline (research, find the thesis, draft, check) against a free-roaming agent before adding autonomy.
Gaps and caveats
- Most sources are papers or lab posts by the people who built the method. Few have been independently replicated.
- Lab claims about what drove coding gains are not backed by public ablations.
- Journalism and data-story evaluation papers use LLM judges with small human checks; none trains a writer against them.
- Several figures change between paper versions (for example VisJudge and Rubrics as Rewards); the latest versions are cited.
Fact-check (28 Nov)
An independent agent opened the cited links for every numeric or attributional claim (abstracts, and the full paper where the figure was not in the abstract): about 60 claims across 35 sources. Well-known background citations with no specific figures (RLHF, reward overoptimisation, length bias, Constitutional AI, position bias, AlpacaEval, Chatbot Arena, GSM8K verifiers, CodeT, AlphaCode, LiveCodeBench, AlphaProof) were checked from knowledge, not reopened.
Confirmed as written. OpenAI's February 2026 post stops reporting SWE-bench Verified (138 audited problems, 59.4% flawed, 35.5% narrow tests, 18.8% wide tests, all frontier models tested showed some contamination) and recommends SWE-bench Pro. OpenAI's 8 July 2026 post retracts the Pro recommendation (about 30% of 731 public tasks broken; 34.1% human, 27.4% automated; the four failure types). Also confirmed: The SWE-Bench Illusion (76% vs 53%), Epoch's "Flawed" verdict on Verified, Codex (12B, 159 GB, 28.8%, 70.2%), SWE-bench (2,294 tasks, 12 repositories), Verified (500), SWE-smith (50,000 tasks, 128 repositories), SWE-RL (41.0%, 70B, similarity reward), the term RLVR from Tülu 3, DeepSeek-R1 avoiding neural reward models and listing PRMs as an unsuccessful attempt, Yue et al., spurious rewards (21.4 vs 29.1 points on Qwen; not Llama or OLMo), Wu et al. on contamination, METR (o3, 6 of 24 runs, kernel task), MacDiarmid et al., PRM800K, MT-Bench (over 80% agreement), self-preference, the Leaderboard Illusion, VisJudge (0.428 vs 0.687, ICLR 2026), HealthBench (5,000 conversations, 262 physicians, 48,562 criteria, −10 to +10 points), Rubrics as Rewards (up to 31%), checklists (CMU and Apple, only method to improve every benchmark), PaperBench (8,316 leaves, co-written with authors, binary and weighted), Kimi K2 (self-critique rubric reward, closed-loop critic refinement), expert-edit reward model (LAMP edits, 74%, 66%, "nowhere near expert quality"), GDPval (blind expert comparison as primary metric), RACE (71.33% vs 68.44%; removing the reference gave the largest drop), DataNarrative (1,449 stories, Pew, Tableau, Gapminder, EMNLP 2024), NewsBench, the journalism design study (23 professionals), BLADE (12 questions, basic analyses), VisEval (VIS 2024 best paper; three checks).
Changed.
- SWE-bench Pro: "the same four failure types" was wrong, since the Verified audit used three categories (narrow, wide, other). Now "similar". Added the date (8 July) and that the Pro recommendation was made in the February post.
- Verified audit: added the 5.1% "other" category and the selection rule (not consistently solved over 64 runs).
- KramaBench: "12–16% swings" is not in the current paper; it reports 15–18% lower scores on obscured inputs, and one system falling from 63% to 13%. Corrected.
- PaperBench: the top judge by F1 was o1 (0.84); the paper picked o3-mini (0.83) on cost. Corrected.
- GDPval: "because automated grading was not reliable enough" overstated the paper; replaced with its own figures (66% grader–expert vs 71% expert–expert).
- SWE-agent: "low single digits" replaced with the paper's baseline (1.3%, GPT-4 Turbo). Agentless: "matched or beat elaborate agents" narrowed to the paper's claim (beat open-source agents on SWE-bench Lite, 32%, $0.70).
- SWE-bench launch figure made exact (1.96%, Claude 2). Codex pass@100 wording made precise. AlphaCode "most" softened to "much".
- Implications: #1 now says transfer is by analogy; #2 adds that a hit may mean an over-leading commission, not memory, and adds an obscured-data probe; #3 notes that a 20–40 pair gold set gives only a rough agreement figure; #4 "much sharper" replaced with the measured effect (about 5 points); pattern 2 softened ("every coding success" was overstated); new #11 on run-to-run noise and fixed pipelines.
Could not verify. That Rubrics as Rewards is from Scale AI (arXiv lists no affiliations; widely reported, so kept). NEWSAGENT's exact judging setup is now stated from the paper's HTML, but its human-validation numbers were not checked. Lab claims about what drove coding gains (section "Corpus versus verifier") remain inference, as the note says.
View on the implications. They mostly follow from the evidence. The three with the best value for effort: (1) audit cases and commissions, starting with the cases the best runs fail; (2) memorisation and obscured-data probes on every case; (3) validate the judge against a small human gold set before trusting any ladder. Pass@k (#5) is the best next diagnostic once the judge is validated. The note was missing the run-to-run noise point, now #11.