Skip to content
Align your AI

The problem space · Evals · Data leakage

Align your AI Evals against data leakage

When a test's answers reach a model before or during the test, its score measures memory instead of skill.

Evals
the tests that score it
Data leakage
private data going where it should not
Evals 7/15Data leakage 10/15The whole map

Ways it goes wrong

Leakage can happen during a test or long before it. SWE-bench's agents found the fixes inside the very repository they were tested in1. In the math study, accuracy fell by up to 8% on the new problems, and models more likely to reproduce the old benchmark's examples tended to show bigger gaps2. Many frontier models showed little sign of this2.

  • 2025

    SWE-bench and future commits

    Coding agents taking the SWE-bench test used git to read the project's later history, where the real fixes were.

    Source: github.com/SWE-bench/SWE-bench/issues/465

  • 2024

    Math scores on a fresh test

    Researchers wrote new grade-school math problems in the style of a popular benchmark and found that several model families scored lower on the new set than on the old one.

    Source: arxiv.org/abs/2405.00332

What people do about it

SWE-bench's maintainers rebuilt their test images without the later history and closed the issue1. The math researchers held their new set back from public release so it could not leak into training data2.

  • Strip answers from test environments

    Removes version history, caches and later files from the environments agents are tested in.

  • Keep a held-out test out of reach

    Scores models on questions that have never been posted online and that the agent cannot read.

  • Read traces, not only scores

    Reviews how an agent reached its answer, not only whether the answer passed.

Where we touch it

No study of ours covers this pair yet.

Sources

  1. SWE-bench, issue 465 on GitHub, “Repo State Loopholes During Agentic Evaluation”. https://github.com/SWE-bench/SWE-bench/issues/465. Accessed 2026-10-23. ↩ ↩2

  2. Zhang et al., “A Careful Examination of Large Language Model Performance on Grade School Arithmetic”, arXiv 2405.00332. https://arxiv.org/abs/2405.00332. Accessed 2026-10-23. ↩ ↩2 ↩3