Fan Yang, Raymond Li, Jingcheng Niu, Jiaojiao Han, Kai Wei, Xi Zhu
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 1 has no contract verdict; 10 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/2604.15771.json · badge: /api/ran/2604.15771.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 |
|---|---|---|
| weikai202/SkillRAG | canonical (classifier label) classifier basis: census |
12 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| exp_rag_cmd | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/quick_check_qwen_skillrag_demo.py pointer only (licence: NONE) · get_code("e17a54f7dd2bcdcd") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| expected_post_ckpt_paths | Ran ran on a synthesized input |
weikai202/SkillRAG/check_prober_ckpt.py pointer only (licence: NONE) · get_code("765f888c312c867e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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_records_from_pt | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/analyze_hiddenstate_clusters.py pointer only (licence: NONE) · get_code("9844757f9ddf19d9") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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_paths | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/balance_train_dataset.py pointer only (licence: NONE) · get_code("b27aad01e7b1c863") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| icl_prompt | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/prompts.py pointer only (licence: NONE) · get_code("45731b6d2e1ad2c1") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| inst_prompt | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/prompts.py pointer only (licence: NONE) · get_code("1a9e85bfc61def74") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| inverse_weighted_average | Ran ran, honoured the contract we drafted |
weikai202/SkillRAG/exp_clf_performance.py pointer only (licence: NONE) · get_code("8a1753b44a62ff2c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| latest_output | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/quick_check_qwen_skillrag_demo.py pointer only (licence: NONE) · get_code("b2c5969b88f135be") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| missing_ckpts | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/quick_check_qwen_skillrag_demo.py pointer only (licence: NONE) · get_code("0a9de72267d6e5c8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| pool_hidden_state | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/analyze_hiddenstate_clusters.py pointer only (licence: NONE) · get_code("cc69f1884f281fda") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| prompt | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/prompts.py pointer only (licence: NONE) · get_code("49900ee8e993d110") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| summarize_file | Ran ran; our contract draft was wrong, not the code |
weikai202/SkillRAG/collect_build_metrics.py pointer only (licence: NONE) · get_code("1e27e3eabf19e60e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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. |
| collect_metrics | Not yet run unverified (harvested, no recorded run) |
weikai202/SkillRAG/collect_build_metrics.py pointer only (licence: NONE) · get_code("dd17eaa0063424a5") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, weikai202/SkillRAG 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 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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Retrieval-Augmented Generation (RAG) grounds large language models in external knowledge by querying document collections at inference time. While adaptive retrieval has improved efficiency, existing approaches treat post-retrieval failure as a retry signal rather than a diagnostic one, leaving the structural causes of query-evidence misalignment unaddressed. Most persistent retrieval failures stem not from missing evidence but from a mismatch between the query and the evidence space. We propose Skill-RAG, a failureaware RAG framework that couples a lightweight hidden-state probe with a prompt-based skill router. The probe gates retrieval at two pipeline stages. On detecting a failure, the skill router diagnoses the cause and selects one of four corrective skills: query rewriting, question decomposition, evidence focusing, or an exit skill for truly irreducible cases. Across opendomain QA and complex reasoning benchmarks, Skill-RAG improves accuracy on hard cases that persist after multi-turn retrieval, with the largest gains on out-of-distribution datasets. Representation-space analyses show that the four skills occupy structured, separable regions of the failure state space, confirming that query-evidence misalignment is typed rather than monolithic. Our code is available at:https://github.com/weikai202/SkillRAG.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2604.15771")
get_code_for_paper("2604.15771")
have("2604.15771")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2604.15771.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2604.15771)
Connect an agent — have() is free.