SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.13670 · 2024

AntiLeakBench: Preventing Data Contamination by Automatically Constructing Benchmarks with Updated Real-World Knowledge

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 9 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.13670.json · badge: /api/ran/2412.13670.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
bobxwu/antileak-bench canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
add_handlers Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/logger.py
pointer only (licence: NONE) · get_code("89e47e37719a8928")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_chat Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/LLMs/LLM.py
pointer only (licence: NONE) · get_code("79f2a98626bab3df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_exist Ran
ran, violated the contract we drafted
bobxwu/antileak-bench/building/build_singlehop.py
pointer only (licence: NONE) · get_code("008d42c071b99ed5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_valid_wikipedia Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/building/build_singlehop.py
pointer only (licence: NONE) · get_code("97086a8793aa00e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chunk_as_size Ran
ran on a synthesized input
bobxwu/antileak-bench/utils/model_utils.py
pointer only (licence: NONE) · get_code("44e0f29827445b11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chunks_by_num Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/model_utils.py
pointer only (licence: NONE) · get_code("0346247a69a8ec7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flatten_list Ran
ran, honoured the contract we drafted
bobxwu/antileak-bench/utils/model_utils.py
pointer only (licence: NONE) · get_code("b3ab014d4fe57f44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_logger Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/logger.py
pointer only (licence: NONE) · get_code("8fde7564d5daa655")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_yaml Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/file_utils.py
pointer only (licence: NONE) · get_code("7adbb30495f4e96b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

restructure_as_namespace Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/file_utils.py
pointer only (licence: NONE) · get_code("596bc848edd49b55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_contexts Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/building/build_singlehop.py
pointer only (licence: NONE) · get_code("a440c42570f58eaf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

update_args Ran
ran; our contract draft was wrong, not the code
bobxwu/antileak-bench/utils/file_utils.py
pointer only (licence: NONE) · get_code("3bd2859ac20c2950")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, bobxwu/antileak-bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Data contamination hinders fair LLM evaluation by introducing test data into newer models' training sets. Existing studies solve this challenge by updating benchmarks with newly collected data. However, they fail to guarantee contamination-free evaluation as the newly collected data may contain pre-existing knowledge, and their benchmark updates rely on intensive human labor. To address these issues, we in this paper propose AntiLeak-Bench, an automated anti-leakage benchmarking framework. Instead of simply using newly collected data, we construct samples with explicitly new knowledge absent from LLMs' training sets, which thus ensures strictly contamination-free evaluation. We further design a fully automated workflow to build and update our benchmark without human labor. This significantly reduces the cost of benchmark maintenance to accommodate emerging LLMs. Through extensive experiments, we highlight that data contamination likely exists before LLMs' cutoff time and demonstrate AntiLeak-Bench effectively overcomes this challenge.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.13670")
get_code_for_paper("2412.13670")
have("2412.13670")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.13670.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.13670.svg)](https://syntology.ai/paper/2412.13670)

Connect an agent — have() is free.