Eliciting and Mitigating Specification Satisficing in Coding Agents
Ruixin Wang, Tianyi Zhang
Key points
From the paper's conclusion- We call this specification satisficing.
Abstract
Coding agents often fail to meet all requirements in the task description. In some of these failures, the agent considers an implementation choice that meets a requirement, but later decides to commit to another one that does not meet the requirement for a reason it finds acceptable. We call this specification satisficing. It is challenging to identify and mitigate specification satisficing because the agent accepts such choices for its own reasons, and existing self-correction methods are biased toward them. We propose SatisFix, which guides a coding agent to report these choices and their reasons, and then check each choice against the task description. We evaluate SatisFix on DeepSWE and SWE-bench Pro with five LLMs as backbones and two different agent frameworks, and compare it with three self-correction methods. SatisFix improves the pass@1 of the base agent by an average of 5.09% on DeepSWE and 7.06% on the hard subset of SWE-bench Pro. On DeepSWE, it outperforms the best baseline by 3.98%. Our ablation study shows that both steps of SatisFix contribute to the improvement.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- WiseSpec: Requirements-Driven Agents for Code GenerationarXiv · 2026
- SWE-VERIFIER: Selective Verification for Cost-Efficient Coding AgentsarXiv · 2026
- Spec-Driven PBT: Deriving Semantic Invariants from Code Specifications for Agentic Property-based TestingarXiv · 2026
- Are LLM-Generated Formal Specifications Faithful to Their Requirements? A Study on Bimodal Formal Specification GenerationarXiv · 2026
- How Specification Explicitness Shapes Failure in LLM-Generated CodearXiv · 2026
- AgentSWE: Can Coding Agents Build the Agent You Actually Want?arXiv · 2026