Philip Treleaven, Zekun Wu, Cristian Munoz, Emre Kazim, Adriano Koshiyama, Mengfei Liang, Archish Arun, Jonathan Lutch
4 of 5 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 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/2409.11353.json · badge: /api/ran/2409.11353.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.
| Repository | Role | Ran |
|---|---|---|
| holistic-ai/THaMES | canonical (classifier label) classifier basis: census |
3 ran · 1 no recorded run |
| holistic-ai/thames | canonical (classifier label) classifier basis: classifier_2025 |
1 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| format_data_halueval | Ran ran; our contract draft was wrong, not the code |
holistic-ai/THaMES/src/evaluate_refactored.py pointer only (licence: NONE) · get_code("60c847a782edcf21") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, holistic-ai/THaMES 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. |
| format_data_ragas | Ran ran; our contract draft was wrong, not the code |
holistic-ai/THaMES/src/evaluate_refactored.py pointer only (licence: NONE) · get_code("29b6a414d54b583b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, holistic-ai/THaMES 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_document_sources | Ran ran; our contract draft was wrong, not the code |
holistic-ai/thames/src/pipeline.py pointer only (licence: NONE) · get_code("3eddd67d596cd171") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, holistic-ai/thames 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_and_prepare_data | Ran ran; our contract draft was wrong, not the code |
holistic-ai/THaMES/src/finetune.py pointer only (licence: NONE) · get_code("c96f67232998b5cf") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, holistic-ai/THaMES 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. |
| evaluate_llm_hallucination | Not yet run unverified (harvested, no recorded run) |
holistic-ai/THaMES/src/finetune.py pointer only (licence: NONE) · get_code("2a1f99ef4bed8fc6") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, holistic-ai/THaMES 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. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Hallucination, the generation of factually incorrect and confabulated content, is a rising issue in the realm of Large Language Models (LLMs). While hallucination detection and mitigation methods exist, they are largely isolated and often inadequate for domain-specific use cases. There is no standardized pipeline combining the necessary components of domain-pertinent dataset generation, hallucination detection benchmarking, and mitigation strategies into one tool. This paper proposes the THaMES framework and library 3 -a Tool for Hallucination Mitigations and EvaluationS. THaMES is an end-to-end solution that evaluates and mitigates hallucinations in LLMs through automated testset generation, multifaceted benchmarking techniques, and flexible mitigation strategies. The THaMES framework is capable of automating testset generation from any corpus of information while achieving high data quality and diversity, maintaining cost-effectiveness through batch processing, weighted sampling, counterfactual validation, and the usage of complex question types. THaMES can also evaluate a model's capability to identify hallucinations and generate less hallucinated outputs across multiple types of evaluation tasks, including text generation and binary classification. The framework also applies optimal hallucination mitigation strategies tailored to different models and knowledge bases. THaMES contains a variety of hallucination mitigation strategies, including In-Context Learning (ICL), Retrieval Augmented Generation (RAG), and Parameter-Efficient Fine-tuning (PEFT). Evaluating a variety of state-of-theart LLMs using a knowledge base consisting of academic papers, political news articles, and Wikipedia articles, we find that commercial models such as GPT-4o benefit more from RAG strategies than ICL, and that while open weight models such as Llama-3.1-8B-Instruct and Mistral-Nemo also show improvements with RAG mitigations, they benefit more from the reasoning provided by ICL. In an experiment with open weight model Llama-3.1-8B-Instruct, the PEFT mitigation significantly improved over the base model in aspects of both evaluation tasks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2409.11353")
get_code_for_paper("2409.11353")
have("2409.11353")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2409.11353.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2409.11353)
Connect an agent — have() is free.