Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Researchers Introduce CAPA: A Benchmark for Personalized Ambiguity Adaptation in Coding Assistants

AI By Crimson AI Hugging Face Papers 3 August 2026 · 00:00 37 views
Share: X Telegram

A new benchmark, CAPA, evaluates how well coding assistants adapt to recurring, user-specific ambiguities across sessions, aiming to reduce clarification requests and improve code alignment with user intent.

Hugging Face Researchers Introduce CAPA: A Benchmark for Personalized Ambiguity Adaptation in Coding Assistants

Key points

AI-powered coding assistants are increasingly turning informal user requests into working software, but these requests often contain ambiguities that repeat in user-specific ways across tasks and sessions. Current disambiguation methods typically handle each ambiguous request in isolation, often by asking for more clarification. However, whether a user's resolved session history can serve as memory for resolving similar ambiguities in new sessions has been largely unexplored.

To address this gap, researchers from Hugging Face introduce CAPA (Cross-session Personalized Ambiguity Adaptation), a new benchmark that formalizes the task of personalized ambiguity adaptation. Given a user's previously resolved coding sessions and a new ambiguous request, an assistant should identify the recurring ambiguity pattern, produce the intended executable solution, and minimize clarification. CAPA characterizes personalized coding ambiguity through six mechanisms and injects these into unambiguous executable tasks using a controlled three-stage generation pipeline.

The benchmark comprises 600 coding sessions across 60 balanced user–ambiguity cells, including 300 held-out evaluation sessions. The researchers evaluated 12 recent LLMs under both no-history and same-user-history conditions, measuring executable success, first-turn success, and turns-to-completion. They also analyzed task difficulty, user identity, and memory-based history use, and proposed a lightweight inference-time method called same-user history gating.

This work lays a foundation for developing long-term coding assistants that better align generated code with user intent while reducing repeated clarification. The paper is available on Hugging Face and has sparked discussion about the practical challenges of building durable memory layers and handling preference drift over time.

FeatureDetails
Benchmark NameCAPA
Total Coding Sessions600
User–Ambiguity Cells60
Held-out Evaluation Sessions300
Models Evaluated12 LLMs
Evaluation ConditionsNo-history, Same-user-history
MetricsExecutable success, First-turn success, Turns-to-completion
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

16
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

17
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

18