- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper proposes RuleRefine, an automatic framework for refining coding rules used by AI coding agents, such as AGENTS.md files or system-level coding instructions. RuleRefine maintain a pool of candidate rules, iteratively mutate them using an LLM-powered mutator, evaluate each variant with a judge module based on functional correctness, code length, and generation cost, and retain the best-performing candidates. To make the search more efficient, the paper introduces a strategic mutation-allocation method that gives more mutation budget to candidates with high variance or performance close to the current best. As for the evaluation, RuleRefine across multiple coding-agent frameworks, backbone models, and benchmarks, and report that it generally preserves or slightly improves pass rate while reducing code length and token usage compared with manual rules, no-rule settings, and prompt-optimization baselines.
Strengths and weaknesses
Pros:
- The paper studies a timely and practically relevant problem: automatically improving coding rules for AI coding agents.
- The proposed RuleRefine pipeline is simple, intuitive, and clearly explained.
- The results show consistent reductions in code length and token usage while generally preserving pass rate.
Cons:
- The technical novelty is limited; the method is largely a black-box mutation-and-selection loop similar to existing prompt optimization or evolutionary search methods.
- The main empirical gains are mostly in shorter generated code, while correctness improvements are often small or comparable to baselines.
- The claim about reducing generation cost is not fully convincing, since generation time sometimes increases and the offline refinement cost is not clearly accounted for.
- The evaluation uses relatively small sampled test sets, and the baselines may not be fully budget-matched or sufficiently strong.
Questions
- How reliable are the conclusions given the limited and sampled evaluation protocol? The paper often evaluates on 100 sampled examples per benchmark, including only a subset of SWE-Bench Lite. With small samples and stochastic agent behavior, small pass-rate differences may not be meaningful.
- What is the main algorithmic advantage of the proposed mutation-allocation strategy over simpler search methods? The OCBA-inspired strategy is reasonable, but the paper should better isolate its contribution. The current ablation compares even and proportional allocation, but it would be useful to report whether the improvement is statistically meaningful and whether similar gains could be obtained with simpler alternatives such as random search with the same budget or best-first mutation.
- Is optimizing for shorter code a valid objective, or does it introduce hidden degradation not captured by pass rate? The paper treats shorter code as a proxy for better efficiency and lower cost, but shorter code can also be less readable, less maintainable, less robust to edge cases, and harder to debug. Pass rate on benchmark tests may not capture these failures.
Limitations
- the paper does not sufficiently discuss the full optimization cost of RuleRefine. Since the method requires many rounds of mutation, agent execution, and evaluation, the offline refinement cost may be substantial.
- The method treats code length as a central proxy for efficiency, but shorter code can reduce readability, maintainability, robustness, and debuggability. This is important for coding agents intended for real software engineering workflows, where concise benchmark-passing code is not always preferable.
Paper formatting concerns
N/A
Meta-review
The paper proposes an automatic code rule refinement framework for AI coding agents. Specifically, it utilizes an iterative framework with mutating and selecting the best-performing rules. The paper studies an important and interesting problem, and the paper is well-written. However, the proposed method mainly shows improvement in code length but doesn't show other more important improvements. Also, the paper lacks details on qualitative analysis, where the improved rules need to be carefully examined, including failure analysis. The evaluation uses relatively small sampled test sets. The rebuttals solve some concerns pointed out by reviewers by adding qualitative analysis, rephrasing contributions, etc. The paper studies an interesting and important questions and the paper could be a good add-up if these revisions have been included.