SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.17230 · 2026

CaseFacts: A Benchmark for Legal Fact-Checking and Precedent Retrieval

Chengkai Li, Jacob Devasier, Akshith Reddy Putta

arXiv · PDF · Open in the Atlas

Code that ran

12 of 13 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, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2601.17230.json · badge: /api/ran/2601.17230.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
idirlab/CaseFacts canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
FunctionStatusWhere it lives
create_jsonl_dataset Ran
ran, honoured the contract we drafted
idirlab/CaseFacts/data_gen/generate_synthetic_claims_justice.py
pointer only (licence: NONE) · get_code("2235bbbb5d02eb4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

create_openai_message Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/data_gen/generate_synthetic_claims_justice.py
pointer only (licence: NONE) · get_code("5842246dee526129")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

create_openai_message Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/check_claims_contradiction.py
pointer only (licence: NONE) · get_code("3ed4bbfa4d632447")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

extract_fields Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/data_gen/create_supreme_court_dataset.py
pointer only (licence: NONE) · get_code("ad8229d7e352a4b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

extract_json Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/check_claims_contradiction.py
pointer only (licence: NONE) · get_code("6278226e597fa860")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

extract_json Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/check_diff_case_contradiction.py
pointer only (licence: NONE) · get_code("678ae97e3c9c6232")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

extract_json_claims Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/data_gen/process_batch.py
pointer only (licence: NONE) · get_code("52ed7ab04a4c6f0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

extract_prompt_text Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/data_gen/process_batch.py
pointer only (licence: NONE) · get_code("4c2f9d840a98bb29")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

load_bills Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/evaluate_claimlens_models.py
pointer only (licence: NONE) · get_code("0b0d278f194c8ec2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

load_claims Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/evaluate_claimlens_models.py
pointer only (licence: NONE) · get_code("dec0cab7bb9d0ea6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

load_prompts Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/experiments/batch_inference_moe.py
pointer only (licence: NONE) · get_code("824e0abf76e43ed8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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.

normalize_response Ran
ran; our contract draft was wrong, not the code
idirlab/CaseFacts/data_gen/process_batch.py
pointer only (licence: NONE) · get_code("6797f7dffdc90a5c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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_embeddings Not yet run
unverified (harvested, no recorded run)
idirlab/CaseFacts/experiments/check_similarity.py
pointer only (licence: NONE) · get_code("a5a629d94ddef395")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, idirlab/CaseFacts 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. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 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 13 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-23.

Repositories linked to this paper

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

Abstract

Automated Fact-Checking has largely focused on verifying general knowledge against static corpora, overlooking high-stakes domains like law where truth is evolving and technically complex. We introduce CaseFacts, a benchmark for verifying colloquial legal claims against U.S. Supreme Court precedents. Unlike existing resources that map formal texts to formal texts, CaseFacts challenges systems to bridge the semantic gap between layperson assertions and technical jurisprudence while accounting for temporal validity. The dataset consists of 6,294 claims categorized as SUP-PORTED, REFUTED, or OVERRULED. We construct this benchmark using a multi-stage pipeline that leverages Large Language Models (LLMs) to synthesize claims from expert case summaries, employing a novel semantic similarity heuristic to efficiently identify and verify complex legal overrulings. Experiments with state-of-the-art LLMs reveal that the task remains challenging; notably, augmenting models with unrestricted web search degrades performance compared to closed-book baselines due to the retrieval of noisy, non-authoritative precedents. We release CaseFacts 1 to spur research into legal fact verification systems.

For agents

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

get_harvested_code_for_paper("2601.17230")
get_code_for_paper("2601.17230")
have("2601.17230")

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

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

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

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

Connect an agent — have() is free.