SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.05654 · 2024

DomainRAG: A Chinese Benchmark for Evaluating Domain-specific Retrieval-Augmented Generation

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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 12 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/2406.05654.json · badge: /api/ran/2406.05654.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
ShootingWong/DomainRAG canonical (classifier label)
classifier basis: census
12 ran · 0 no recorded run
FunctionStatusWhere it lives
collator Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/tasks/Datasets.py
pointer only (licence: NONE) · get_code("bda36ad0c44dbd74")
How it ran

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

em Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py
pointer only (licence: NONE) · get_code("abd810c2287f2f36")
How it ran

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

em_strict Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py
pointer only (licence: NONE) · get_code("1b33d678e1809cd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ShootingWong/DomainRAG 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_answer Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/models/llm_models.py
pointer only (licence: NONE) · get_code("0569ac90f9042b0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ShootingWong/DomainRAG 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_answer Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py
pointer only (licence: NONE) · get_code("ad0fc83e3ddfae96")
How it ran

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

gpt_generate_str Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/models/llm_models.py
pointer only (licence: NONE) · get_code("91292e0608245752")
How it ran

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

gpt_generate_str Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py
pointer only (licence: NONE) · get_code("2e867288439d6ac9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ShootingWong/DomainRAG 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_jsonl Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/models/main_retrieval.py
pointer only (licence: NONE) · get_code("82caf5acc631d96f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ShootingWong/DomainRAG 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_answer Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/Evaluator.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("6205dd62c2627dde")
How it ran

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

remove_space Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/tasks/Datasets.py
pointer only (licence: NONE) · get_code("a0b7c401fe27624d")
How it ran

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

runProcess_gpt Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/models/llm_models.py
pointer only (licence: NONE) · get_code("14fd7d0254bdc425")
How it ran

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

runProcess_gpt Ran
ran; our contract draft was wrong, not the code
ShootingWong/DomainRAG/BCM/evaluation/prediction_results/gpt_eval.py
pointer only (licence: NONE) · get_code("950491e7e95875bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ShootingWong/DomainRAG 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 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 8 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.

FunctionAlso present inEarliest-datedOthers named
normalize_answer 11 other papers
3 dated earlier, 3 the same month, 5 later
2308.07922 (2023-08)
RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Models
2403.04797 (2024-03)
Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding
2403.15268 (2024-03)
Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering
and 8 more not named here
collator 9 other papers
7 dated earlier, 2 later
1909.08593 (2019-09)
Fine-Tuning Language Models from Human Preferences
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
2304.08177 (2023-04)
Efficient and Effective Text Encoding for Chinese LLaMA and Alpaca
and 6 more not named here

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

Retrieval-Augmented Generation (RAG) offers a promising solution to address various limitations of Large Language Models (LLMs), such as hallucination and difficulties in keeping up with real-time updates. This approach is particularly critical in expert and domain-specific applications where LLMs struggle to cover expert knowledge. Therefore, evaluating RAG models in such scenarios is crucial, yet current studies often rely on general knowledge sources like Wikipedia to assess the models' abilities in solving common-sense problems. In this paper, we evaluated LLMs by RAG settings in a domain-specific context, college enrollment. We identified six required abilities for RAG models, including the ability in conversational RAG, analyzing structural information, faithfulness to external knowledge, denoising, solving time-sensitive problems, and understanding multi-document interactions. Each ability has an associated dataset with shared corpora to evaluate the RAG models' performance. We evaluated popular LLMs such as Llama, Baichuan, ChatGLM, and GPT models. Experimental results indicate that existing closed-book LLMs struggle with domain-specific questions, highlighting the need for RAG models to solve expert problems. Moreover, there is room for RAG models to improve their abilities in comprehending conversational history, analyzing structural information, denoising, processing multi-document interactions, and faithfulness in expert knowledge. We expect future studies could solve these problems better.

For agents

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

get_harvested_code_for_paper("2406.05654")
get_code_for_paper("2406.05654")
have("2406.05654")

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

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

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

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

Connect an agent — have() is free.