PulseAugur
EN
LIVE 15:55:37

Code completer's ghost text feature fails eval due to self-prediction gap

A developer has created a code completion tool called pycomplete that utilizes a transformer model blended with n-gram models and a cache. While the tool's next-token prediction accuracy is 54.6%, its performance on generating "ghost text" (multi-token continuations) drops significantly to 7%, or one correct completion in fourteen attempts. This discrepancy arises because the evaluation metrics are trained on human-written code, whereas the ghost text feature relies on the model predicting its own generated output, leading to a performance cliff when evaluated on this different distribution. AI

IMPACT Highlights a critical gap in evaluating AI code generation models, suggesting current metrics may not capture real-world performance for features like ghost text completion.

RANK_REASON The item describes a specific software tool and its performance evaluation, not a general industry trend or release.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Code completer's ghost text feature fails eval due to self-prediction gap

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Seth Wheeler ·

    What a Code Completer's Eval Never Measures: Ghost Text

    <p><code>pycomplete</code> is a code completer I built out of a research repo's own findings, and it works. Index numpy and it reports this, on 24 files it has never seen:<br /> </p> <div class="highlight js-code-highlight"> <pre class="highlight plaintext"><code>indexed 441 file…