Acquiring and Verifying Repository Norms for Coding Agents
Kaifeng He, Xiaojun Zhang, Zhenxi Chen, Christoph Treude, Mingwei Liu
Key points
From the paper's conclusion- We introduce RepoNorm to acquire explicit and implicit repository norms independently of coding tasks.
Abstract
Changes produced by coding agents can pass functional tests while leaving repository contribution requirements unmet. Following repository-specific norms requires identifying guidance dispersed across repository sources and interpreting its conditions and exceptions. Retrieval and documentation approaches supply general context, but agents must still determine which norms apply. We introduce RepoNorm to acquire explicit and implicit repository norms independently of coding tasks. It checks norm content and applicability using repository evidence, consults Git history when needed, and delivers norm packages to existing coding agents. Our evaluation uses three coding models and 121 tasks from RepoNormBench. Against the baseline with no additional generated guidance (Raw), relative improvements are 7.42-10.77% for Overall Norm Compliance Rate (NCR), 31.64-45.44% for Contribution NCR, and 11.34-17.69% for Prompt-omitted NCR. All three coding models also obtain higher values on these NCR measures with RepoNorm than with CodeWiki documentation. Functional success rates show observed gains of 5.79-9.09 percentage points over Raw; the paired comparisons do not reach the significance threshold. Sampled precision is 86% with RepoNorm's default configuration.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What Open-Source Projects Tell Their Coding Agents: A Census of AGENTS.md and CLAUDE.mdarXiv · 2026
- CodeReviewBench: An Automated Benchmark for Evaluating the Software FactoryarXiv · 2026
- Repository-Grounded Rubrics for Execution-Free Evaluation of Coding AgentsarXiv · 2026
- GHAgentCI: A Dataset of Coding-Agent Invocations in CI Workflow HistoriesarXiv · 2026
- VeeReview: Measuring Build-Verify Pairs in Agent-Authored Pull Requests from a V-Model PerspectivearXiv · 2026
- Testing with Coding Agents: A Large-Scale Comparison of Agent-Supported and Human-Authored Pull RequestsarXiv · 2026