ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification

Hongwei Li, Yuheng Tang, Shiqi Wang, Wenbo Guo

ELVIA analysis

Independent review pending

The published formal-verification rule conflates the absence of a reported counterexample with proof, and its contract-plausibility test does not establish that the generated contract specifies the requested repair. These are substantive defects in the advertised formal-guarantee component. Static inspection of the pinned release corroborates the status-handling concern. A separate cost-minimum claim conflicts with the paper’s own comparisons. The benchmark success rates are not disproved. Scientific adjudication remains pending.

Problem 1. Negative search criterion cannot support formal correctness

Major
Evidence and reasoning

Problem statement

The paragraph headed Formal Verification, p. 9, was checked in the rendered PDF and extracted text. In `patchpilot/reproduce/formal_verification.py`, lines 193193–196196 recognize an assertion by the substring `AssertionError`. Lines 350350–392392 and 395395–416416 initialize an assertion flag to false and set it only for that substring. They run time-limited `crosshair check` without requesting explicit confirmation of all conditions. The default timeout is 2020 seconds (line 814814). The before/after flags enter the success-shaped condition at line 482.482. This is static source inspection, not author-code execution.

CrossHair’s maintainer and documentation distinguish exhaustive confirmation, unknown results and execution errors [chmaint, chdocs]. A search can stop with unexamined paths and no counterexample. With a pre-patch assertion already established, either empty post-patch output or an import-error string yields a false assertion flag in the release. An unsuccessful import cannot establish a property of the unexecuted function. The independent diagnostic evaluates this Boolean truth table on explicitly constructed strings; these are not claimed to be actual CrossHair runs or outputs from the eleven published cases. The constructed-status calculation is preserved in .

Even if infrastructure errors were discarded manually, an unknown search result would not imply the universal statement in the displayed formula. The current documentation interprets the status semantics; the historical CrossHair version is not pinned by the paper and was not reconstructed.

All integer inputs, True precondition, total deterministic b(x)=xb(x)=x and f(x)=0,f(x)=0, Q:y>=0,0, intended S:y=∣x∣.S:y=\lvert x\rvert. Synthetic status-string checks are not executions.

Proof

The Section 5 rule fails to establish the two implications above. The supported assessment is Major for the advertised formal-guarantee component.

The second gap remains even with a perfect verifier. Consider x∈Z,P(x)≡true,S(x,y)≡y=∣x∣.x\in\mathbb Z,\quad P(x)\equiv\mathrm{true},\quad S(x,y)\equiv y=|x|. Let the buggy function be b(x)=x,b(x)=x, the generated postcondition be Q(x,y)≡y≥0,Q(x,y)\equiv y\geq0, and the candidate patch be f(x)=0.f(x)=0. All functions are deterministic and total, all inputs and outputs have the declared integer type, and the precondition excludes nothing. No branch removal, approximation or external library is involved.

The plausibility gate succeeds because Q(−1,b(−1))Q(-1,b(-1)) is false. The patched contract holds universally because Q(x,0)Q(x,0) is true for every integer. Yet at x=1x=1 the candidate returns 00 instead of 1,1, also damaging previously correct nonnegative-input behavior. Thus both semantic gates in the stated procedure can hold while the intended repair fails. A finite list of checked integers is supplied for reproducibility, but the universal identity 0≥00\geq0 and the counterexample x=1x=1 provide the analytic argument. The finite diagnostic output is .

Nonnegativity is a necessary property of absolute value, not an unrelated assertion. The described plausibility test fails to establish its sufficiency. This example refutes an inference from that test; it does not claim that this contract or patch appeared in a published trial.

□\square

Possible revision

Separate confirmed/refuted/unresolved statuses and validate adequacy; example-level stronger postcondition only.

Problem 2. Minimum-cost comparison false on Table1 values

Minor
Evidence and reasoning

Problem statement

p2 lowest cost among compared leading tools.

Same stated average-cost units; matched Claude-3.5-Sonnet labels on Verified.

Proof

Page 2 claims the lowest cost among leading compared methods, but Table 1 on p. 6 reports $0.990.99 for PatchPilot and $0.780.78 for OpenHands on Verified, both labeled Claude-3.5-Sonnet.

Consequently, 0.99>0.78,(0.99−0.78)/0.78=0.269230769….0.99>0.78,\qquad (0.99-0.78)/0.78=0.269230769\ldots. PatchPilot is about 26.9%26.9\% more expensive in that comparison. On Lite, $0.970.97 exceeds AutoCodeRover’s $0.65,0.65, although those models differ. The matched-model Verified comparison alone refutes the universal minimum claim. Arithmetic output: .

This is a supported Minor comparison defect: the table’s measurements, sub-dollar mean cost and useful accuracy–cost balance remain intact. No underlying API-accounting error is established. The narrower tradeoff claim is supported; actual cost reproduction would require historical usage records.

□\square

Possible revision

Narrow to observed accuracy-cost tradeoff.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

Through extensive experiments on the SWE-bench benchmarks, PatchPilot shows a superior performance than existing open-source methods while maintaining low cost (less than 11$ per instance) and ensuring higher stability.

{'label': 'PMLR 267 / ICML 2025 published proceedings version', 'publisher_publication_date': '2025/10/06', 'pages': '35922-35941', 'landing_url': 'https://proceedings.mlr.press/v267/li25cf.html', 'pdf_url': 'https://raw.githubusercontent.com/mlresearch/v267/main/assets/li25cf/li25cf.pdf', 'accessed_utc': '2026-10-24T14:10:11.379953+00:00'}; Abstract, PDF p. 1

Actual review scope

The recorded inspection concerns these source locations: PDF pp. 2,8-9; formal_verification.py193-196,350-416,482; PDF pp. 2 andTable1p6.

Submit an author revisionContribute a review