6 of 6 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; 5 failures of our instrument; 0 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2402.13532.json · badge: /api/ran/2402.13532.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 |
|---|---|---|
| ruyue0001/backdoor_dpr | canonical (classifier label) classifier basis: census |
6 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| dot_product_scores | Ran ran; our contract draft was wrong, not the code |
ruyue0001/backdoor_dpr/DPR/dpr/models/biencoder.py pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/dpr, is pointer only (licence: NOASSERTION) · get_code("928414780ee23e45") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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. |
| calculate_accuracy | Ran ran, honoured the contract we drafted |
ruyue0001/backdoor_dpr/DPR/evaluate.py pointer only (licence: NONE) · get_code("d81f993d8b104783") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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_loss | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
ruyue0001/backdoor_dpr/DPR/dpr/models/reader.py pointer only (licence: NONE) · get_code("1df81ea9d2da7b70") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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. |
| cosine_scores | Ran ran; our contract draft was wrong, not the code |
ruyue0001/backdoor_dpr/DPR/dpr/models/biencoder.py pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/dpr, is pointer only (licence: NOASSERTION) · get_code("4c7d079ed8d8dd58") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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_encoder_params_state_from_cfg | Ran ran; our contract draft was wrong, not the code |
ruyue0001/backdoor_dpr/DPR/dpr/options.py pointer only (licence: NONE) · get_code("70967062c0b97377") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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. |
| setup_cfg_gpu | Ran ran; our contract draft was wrong, not the code |
ruyue0001/backdoor_dpr/DPR/dpr/options.py pointer only (licence: NONE) · get_code("5964d1c902593444") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ruyue0001/backdoor_dpr 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. |
Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| cosine_scores | 7 other papers 3 dated earlier, 3 later, 1 same year, order not determinable |
1911.03868 (2019-11) Knowledge Guided Text Retrieval and Reading for Open Domain Question Answering |
2106.05346 (2021-06) End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answering 2205.09843 (2022-05) Table Retrieval May Not Necessitate Table-specific Model Design and 4 more not named here |
| dot_product_scores | 7 other papers 3 dated earlier, 3 later, 1 same year, order not determinable |
1911.03868 (2019-11) Knowledge Guided Text Retrieval and Reading for Open Domain Question Answering |
2106.05346 (2021-06) End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answering 2205.09843 (2022-05) Table Retrieval May Not Necessitate Table-specific Model Design and 4 more not named here |
| compute_loss | 5 other papers 3 dated earlier, 1 later, 1 same year, order not determinable |
2109.04014 (2021-09) Weakly-Supervised Visual-Retriever-Reader for Knowledge-based Question Answering |
2110.03611 (2021-10) Adversarial Retriever-Ranker for dense text retrieval 2205.09843 (2022-05) Table Retrieval May Not Necessitate Table-specific Model Design and 2 more not named here |
| get_encoder_params_state_from_cfg | 1 other paper 1 dated earlier |
2205.09843 (2022-05) Table Retrieval May Not Necessitate Table-specific Model Design |
|
| setup_cfg_gpu | 1 other paper 1 dated earlier |
2205.09843 (2022-05) Table Retrieval May Not Necessitate Table-specific Model Design |
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.
Dense retrieval systems have been widely used in various NLP applications. However, their vulnerabilities to potential attacks have been underexplored. This paper investigates a novel attack scenario where the attackers aim to mislead the retrieval system into retrieving the attacker-specified contents. Those contents, injected into the retrieval corpus by attackers, can include harmful text like hate speech or spam. Unlike prior methods that rely on model weights and generate conspicuous, unnatural outputs, we propose a covert backdoor attack triggered by grammar errors. Our approach ensures that the attacked models can function normally for standard queries while covertly triggering the retrieval of the attacker's contents in response to minor linguistic mistakes. Specifically, dense retrievers are trained with contrastive loss and hard negative sampling. Surprisingly, our findings demonstrate that contrastive loss is notably sensitive to grammatical errors, and hard negative sampling can exacerbate susceptibility to backdoor attacks. Our proposed method achieves a high attack success rate with a minimal corpus poisoning rate of only 0.048\%, while preserving normal retrieval performance. This indicates that the method has negligible impact on user experience for error-free queries. Furthermore, evaluations across three real-world defense strategies reveal that the malicious passages embedded within the corpus remain highly resistant to detection and filtering, underscoring the robustness and subtlety of the proposed attack \footnote{Codes of this work are available at https://github.com/ruyue0001/Backdoor_DPR.}.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2402.13532")
get_code_for_paper("2402.13532")
have("2402.13532")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2402.13532.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2402.13532)
Connect an agent — have() is free.