Can you fill in the missing line?
Try a completion, then change the retrieval method to see which code it would bring into the prompt.
Source
Suggestion versus reference
Raw model continuation
Original teaching examples with scripted suggestions. The page does not run a model.
What retrieval changes
AIRCoder ranks repository snippets using three kinds of evidence.
Seminar experiment
See counts and calls
Measured RRF policy latency
Repoformer route replay
The first author’s public Repoformer-1B reproduction scores whether to retrieve. Its choices are applied to recorded StarCoder2-3B completions. Timing covers warm GPU prefill and final-token logits.
Published results
Accuracy and retrieval latency reported by Shi, Gao, and Gao in the AIRCoder paper.
Swapping in DraCo dependency extraction
Code exact match with StarCoder2-3B
Only the dependency extractor changes. Table 4
Time spent on retrieval
Mean seconds per query
AIRCoder spent 0.320 s per query on dependency extraction. Table 7
Explore all Table 4 ablations
The DraCo rows use its static dependency extractor inside AIRCoder. Code EM is exact match, ES is edit similarity, and ID metrics score identifiers.
Papers
- AIRCoderShi, Gao & Gao · ACL 2026Adaptive fusion of retrieval signals
- DraCoCheng, Wu & Hu · ACL 2024Repository dependency context from static analysis
- RepoformerWu et al. · ICML 2024Selective retrieval for code completion
- RepoCoderZhang et al. · EMNLP 2023Iterative retrieval and generation