{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2608-02985","title":"Temporal Leakage in LLM Backtesting: Measurement, Validation, and Adjusted Scores","arxiv_id":"2608.02985","date":"2026-08-04","proceeding":null,"authors":["Zeyu Zhang","Bradly C. Stadie"],"abstract":"The standard check for contamination in LLM backtests is simple: compare scores before and after the training cutoff. We show this check is uninformative. Four flagship models fail it on questions they cannot have memorized: every scored question resolved after their cutoffs. The reason is structural. Models legitimately know more about times near their cutoff, so recency mimics leakage, and we prove no passive backtest can separate the two from genuine skill. Measurement, not just detection, requires information from outside the backtest. We supply it in two forms. A known cutoff identifies leakage at the boundary; a matched clean control identifies it globally and yields a leakage-adjusted score. We also derive where leakage hides: it concentrates on outcomes that surprised the crowd and were well covered in training, and partial memorization is disproportionately rewarded. We validate the estimators against ground truth by planting leakage in twin models, where they recover the injected dose and return null on clean questions. Deployed on frontier models, they detect one cutoff-localized signature and, at the audit's power floor, clear five models whose apparent advantages were recency alone. Backtests need not be discarded; they need one defensible reference.","url_abs":"https://arxiv.org/abs/2608.02985","url_pdf":"https://arxiv.org/pdf/2608.02985","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2608.02985","atlas_url":"https://app.syntology.ai/?focus=2608.02985","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.02985"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting","reach":null}],"summary":{"ran":14,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":17,"ran":14,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":17,"samples":[{"code_sha256_prefix":"6f0a7e956609fde1","entry":"acc","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M2_hubble/run_m2.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M2_hubble/run_m2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6f0a7e956609fde1"}},{"code_sha256_prefix":"4a04490fb1529503","entry":"aggregate_pair","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M2_hubble/run_m2.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M2_hubble/run_m2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4a04490fb1529503"}},{"code_sha256_prefix":"48f96a288e7e5fe9","entry":"apply_temp","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M1_synthetic/run_m1.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M1_synthetic/run_m1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"48f96a288e7e5fe9"}},{"code_sha256_prefix":"7e0a915552eecb64","entry":"arrays","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M6_prc_matched/run_prc_matched.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M6_prc_matched/run_prc_matched.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7e0a915552eecb64"}},{"code_sha256_prefix":"1378cd2c918d4d23","entry":"balanced_sample","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M6_prc_matched/run_prc_matched.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M6_prc_matched/run_prc_matched.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1378cd2c918d4d23"}},{"code_sha256_prefix":"910d9c9fffd478dd","entry":"boot_ci","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_analyze.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_analyze.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"910d9c9fffd478dd"}},{"code_sha256_prefix":"7cef7b2e6746c967","entry":"boot_jump","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_anchor.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_anchor.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7cef7b2e6746c967"}},{"code_sha256_prefix":"cbb0aedcb1fe9956","entry":"boot_mean_ci","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/m3/analyze_m3.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/m3/analyze_m3.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cbb0aedcb1fe9956"}},{"code_sha256_prefix":"542e547779f47c9d","entry":"diff_series","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_analyze.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_analyze.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"542e547779f47c9d"}},{"code_sha256_prefix":"0b93e135c173eec7","entry":"fit_temp","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M1_synthetic/run_m1.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M1_synthetic/run_m1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b93e135c173eec7"}},{"code_sha256_prefix":"951bf59917eff623","entry":"flatten_questions","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M6_prc_matched/run_prc_matched.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M6_prc_matched/run_prc_matched.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"951bf59917eff623"}},{"code_sha256_prefix":"49f00b7007ebbecd","entry":"gen","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M1_synthetic/run_m1.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M1_synthetic/run_m1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49f00b7007ebbecd"}},{"code_sha256_prefix":"e71dc1c07622e3e8","entry":"jump","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_analyze.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_analyze.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e71dc1c07622e3e8"}},{"code_sha256_prefix":"c9dd93f2dbe4000b","entry":"realtime_for","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_anchor.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_anchor.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c9dd93f2dbe4000b"}},{"code_sha256_prefix":"86b26baef05d2fef","entry":"analyze_pair","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"M2_hubble/run_m2.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/M2_hubble/run_m2.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"86b26baef05d2fef"}},{"code_sha256_prefix":"fe673f273cadb4c8","entry":"load_realtime","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m4f_anchor.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m4f_anchor.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fe673f273cadb4c8"}},{"code_sha256_prefix":"e8953612915e4873","entry":"profile_distance","repo":"ZeyuZhang1901/Temporal-Leakage-Backtesting","repo_kind":"found_in_text","path":"redesign/analysis/m5_analyze.py","file_url":"https://github.com/ZeyuZhang1901/Temporal-Leakage-Backtesting/blob/HEAD/redesign/analysis/m5_analyze.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e8953612915e4873"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}