SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.19532 · 2026

EvidenceRL: Reinforcing Evidence Consistency for Trustworthy Language Models

Yuxing Lu, May Wang, Micky Nnamdi, Benoit Marteau, J Ben Tamo

arXiv · PDF · Open in the Atlas

Code that ran

19 of 24 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; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 16 failures of our instrument; 5 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/2603.19532.json · badge: /api/ran/2603.19532.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
Wizaaard/EvidenceRL canonical (classifier label)
classifier basis: census
19 ran · 5 no recorded run
FunctionStatusWhere it lives
bootstrap_ci Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/paper_metrics.py
pointer only (licence: NONE) · get_code("f24bdeccaef4e732")
How it ran

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

bootstrap_ci Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/paper_metrics_barexam.py
pointer only (licence: NONE) · get_code("3ee03322d6a1ef5c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_pairwise_match_matrix Ran
ran on a synthesized input
Wizaaard/EvidenceRL/compute_evidencerl_metrics_vllm_enhanced.py
pointer only (licence: NONE) · get_code("97394df7ba9413c0")
How it ran

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

classify_case Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/paper_metrics_barexam.py
pointer only (licence: NONE) · get_code("2dc1911eec8d8e27")
How it ran

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

classify_diagnosis Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/paper_metrics.py
pointer only (licence: NONE) · get_code("676fb63821942cb3")
How it ran

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

compute_aggregate_metrics Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/compute_evidencerl_metrics_vllm.py
pointer only (licence: NONE) · get_code("41d6ea1aca121cea")
How it ran

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

compute_precision_recall_at_k Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/compute_evidencerl_metrics.py
pointer only (licence: NONE) · get_code("cf1535de381ffd97")
How it ran

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

compute_precision_recall_at_k Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/compute_evidencerl_metrics_vllm_enhanced.py
pointer only (licence: NONE) · get_code("494edebfa96549dc")
How it ran

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

compute_reward_at_k Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/compute_evidencerl_metrics.py
pointer only (licence: NONE) · get_code("1c521a1a7379ada3")
How it ran

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

compute_reward_at_k Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/compute_evidencerl_metrics_vllm_enhanced.py
pointer only (licence: NONE) · get_code("ca46f3c759bc9316")
How it ran

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

compute_taxonomy Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/paper_metrics_barexam.py
pointer only (licence: NONE) · get_code("8e18216315d8d90c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_diagnosis_data Ran
ran, honoured the contract we drafted
Wizaaard/EvidenceRL/plot_reasoning_vs_grounding.py
pointer only (licence: NONE) · get_code("6d9a6eec15441660")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_patient_grounding Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/plot_patient_movement.py
pointer only (licence: NONE) · get_code("3cfc592462c22203")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_per_diagnosis Ran
ran, honoured the contract we drafted
Wizaaard/EvidenceRL/plot_accuracy_vs_grounding.py
pointer only (licence: NONE) · get_code("798f67aa246648f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_per_patient_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Wizaaard/EvidenceRL/paper_metrics.py
pointer only (licence: NONE) · get_code("12bd484052a4252a")
How it ran

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

find_metrics_file Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/plot_accuracy_vs_grounding.py
pointer only (licence: NONE) · get_code("e122c556aafe7b09")
How it ran

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

find_metrics_file Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/plot_reasoning_vs_grounding.py
pointer only (licence: NONE) · get_code("77f3e0e8f70dae62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_file Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/plot_accuracy_vs_grounding.py
pointer only (licence: NONE) · get_code("b815bf26e194b0d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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_metrics_file Ran
ran; our contract draft was wrong, not the code
Wizaaard/EvidenceRL/plot_reasoning_vs_grounding.py
pointer only (licence: NONE) · get_code("2d5aed935e9e0f45")
How it ran

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

compute_grounding Not yet run
unverified (harvested, no recorded run)
Wizaaard/EvidenceRL/compute_barexam_metrics.py
pointer only (licence: NONE) · get_code("e6caa63af4ef9966")
How it ran

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

compute_patient_metrics_batch Not yet run
unverified (harvested, no recorded run)
Wizaaard/EvidenceRL/compute_evidencerl_metrics.py
pointer only (licence: NONE) · get_code("b58e9b553c59cc75")
How it ran

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

llm_extract_batch Not yet run
unverified (harvested, no recorded run)
Wizaaard/EvidenceRL/run_barexam_vllm.py
pointer only (licence: NONE) · get_code("e5e010338e098c7a")
How it ran

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

load_model_data Not yet run
unverified (harvested, no recorded run)
Wizaaard/EvidenceRL/plot_barexam_grounding_scatter.py
pointer only (licence: NONE) · get_code("eb326c2f64c4533a")
How it ran

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

load_model_data Not yet run
unverified (harvested, no recorded run)
Wizaaard/EvidenceRL/plot_medical_grounding_scatter.py
pointer only (licence: NONE) · get_code("563545db8b004590")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wizaaard/EvidenceRL 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 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 22 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 22 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

Large Language Models (LLMs) are fluent but prone to hallucinations, producing answers that appear plausible yet are unsupported by available evidence. This failure is especially problematic in high-stakes domains where decisions must be justified by verifiable information. We introduce Evi-denceRL, a reinforcement learning framework that enforces evidence adherence during training. EvidenceRL scores candidate responses for grounding (entailment with retrieved evidence and context) and correctness (agreement with reference answers) and optimizes the generator using Group Relative Policy Optimization (GRPO). We evaluate across two high-stakes domains, cardiac diagnosis and legal reasoning, where EvidenceRL consistently improves evidence grounding and faithfulness without sacrificing task accuracy. On cardiac diagnosis, F1@3 increases from 37.0 to 54.5 on Llama-3.2-3B while grounding (G max @3) rises from 47.6 to 78.2; hallucinations drop nearly 5× and evidence-supported diagnoses increase from 31.8% to 61.6%. On legal reasoning, EvidenceRL raises Faithfulness from 32.8% to 67.6% on Llama-3.1-8B, demonstrating consistent behavioral change across domains. Our code is open-sourced at https: //github.com/Wizaaard/EvidenceRL.git.

For agents

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

get_harvested_code_for_paper("2603.19532")
get_code_for_paper("2603.19532")
have("2603.19532")

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

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

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

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

Connect an agent — have() is free.