AI4CA Seminar · TU Darmstadt Read the report PDF

AIRCoder paired evaluation

When Does Repository Search Help Code Completion?

Ho Anh Minh, Ivan Smirnov, Maryana Smirnova, Vladislav Veselov

At a glance

    Case Inspector

    Compare three recorded StarCoder2-3B completions at the same cursor. Each retrieval panel shows one excerpt from the actual prompt.

    Cases were selected after scoring to show how context can help or hurt.

    Results

    Paired quality and calls

    Swipe or scroll the table horizontally to compare both benchmarks.

    Gains (+) and losses (−) are out of 192 tasks per benchmark, compared with Always Qwen-RRF. Learned Fusion (DraCo) is paired with Learned Fusion (Qwen).

    The last row reports published Code EM for AIRCoder’s learned ranker with Qwen and with a DraCo substitution. Shi et al. used their own splits and weights. AIRCoder, Table 4

    Warm end-to-end latency

    Swipe or scroll the table horizontally to compare both benchmarks.

    Reproducibility

    The same task IDs, generator, and scoring rules apply across each paired comparison.

    Study design and validity checks

    Shared controls

    All paired runs use StarCoder2-3B with greedy decoding. Retrieval ranks up to eight signals across text, dependency, and structure. The generator receives up to 1,000 tokens from the visible prefix. The retriever uses syntax-aware chunks of up to 800 tokens and an 8,000-token prompt budget. It excludes the current file as a retrieval source.

    Code EM cleans and joins the required number of generated lines, then trims to the reference character length. Strict EM compares complete generated target lines. Both metrics measure text agreement.

    Retrieval decisions

    Prefix-Gated Qwen-RRF reads the last four nonempty, non-comment lines. A recently used alias from a relative or non-standard-library import keeps retrieval on. Otherwise, a skip requires a local cue on the final visible line.

    Local cues are return, raise, yield, assert, self, cls, True, False, None, brackets, braces, quotes, or a digit.

    Public release audit

    The release lacks the realized Table 4 splits, oracle candidate labels, and trained weights. Its public RRF path uses seven features and omits the dense structural signal. The example driver uses 1,000-token chunks.

    Our Learned Fusion policies use a smaller, independently fitted ranker for each benchmark. Static-First RRF tries DraCo first and calls Qwen3-8B if no indexed dependency resolves. Pinned AIRCoder release README

    Scope and sensitivity

    Warm timing uses sequential requests with weights loaded and indexes built. The Repoformer-gated results are an offline replay of route choices over recorded completions. The report contains the repository-cluster intervals and sourcing details. Seminar report

    Primary sources