PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification
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
MajorEvidence 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 – recognize an assertion by the substring `AssertionError`. Lines – and – 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 seconds (line ). The before/after flags enter the success-shaped condition at line 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 and Q:y>= intended 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 Let the buggy function be the generated postcondition be and the candidate patch be 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 is false. The patched contract holds universally because is true for every integer. Yet at the candidate returns instead of 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 and the counterexample 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.
Possible revision
Separate confirmed/refuted/unresolved statuses and validate adequacy; example-level stronger postcondition only.
Problem 2. Minimum-cost comparison false on Table1 values
MinorEvidence 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 $ for PatchPilot and $ for OpenHands on Verified, both labeled Claude-3.5-Sonnet.
Consequently, PatchPilot is about more expensive in that comparison. On Lite, $ exceeds AutoCodeRover’s $ 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.
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 $ 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.