pith:KOOOY6EI
When Retrieval Hurts Code Completion: A Diagnostic Study of Stale Repository Context
Stale repository context actively biases code models toward generating outdated helper references.
arxiv:2605.14478 v1 · 2026-05-14 · cs.SE · cs.AI · cs.CL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{KOOOY6EIT5TYMEWJAVZE4RXDL3}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
Under neutralized prompts, stale-only retrieval induces stale helper references on 15/17 Qwen2.5-Coder-7B-Instruct samples and 13/17 gpt-4.1-mini samples, corresponding to 88.2 and 76.5 percentage-point increases over current-only retrieval.
The curated 17-sample set of production-helper signature changes from five Python repositories is representative of typical real-world code completion scenarios and that the prompts successfully neutralize information about commit freshness.
Stale repository context in code RAG actively induces models to produce obsolete helper references, raising stale outputs by 76-88 percentage points over current-only retrieval in a 17-sample diagnostic study.
References
Formal links
Receipt and verification
| First computed | 2026-05-17T23:39:06.577950Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
539cec78889f678612c905724e46e35ed6a2ac54bc41089a901355b0958d47c6
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/KOOOY6EIT5TYMEWJAVZE4RXDL3 \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 539cec78889f678612c905724e46e35ed6a2ac54bc41089a901355b0958d47c6
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "1464a870e7d605fb38c5b9105a1aad2e71bff0904458d47766ff1896f6d526bc",
"cross_cats_sorted": [
"cs.AI",
"cs.CL"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.SE",
"submitted_at": "2026-05-14T07:18:30Z",
"title_canon_sha256": "4553a21d20eaa7c48991bf3a32b1010e027864b515607e39a4b2725a9729fd08"
},
"schema_version": "1.0",
"source": {
"id": "2605.14478",
"kind": "arxiv",
"version": 1
}
}