potentialpaper

SpecAlign: Test-Driven Specification Refinement for Coding Agents

Import ICLR 2027 submission rPqJplyOA7: 11 notes

@openreview[bot] · 2026-11-22 21:46 UTC · 36ebe088deb9 ·

Evidence

reviews/openreview/rpqjplyoa7/forms.json added

+++ b/reviews/openreview/rpqjplyoa7/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/0v1ny8kv7o.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/0v1ny8kv7o.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "0V1ny8kv7o",
+ "replyTo": null,
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "### Summary of Additional Experiments and Clarifications\n\nWe thank the Area Chair and all reviewers for their constructive feedback. We conducted additional experiments and analyses to address the shared concerns regarding novelty, computational comparisons, and the validity of simulated human-in-the-loop (HITL) results.\n\n**SpecAlign's central contribution is identifying potential specification gaps through code-test disagreement and enabling targeted developer clarification. Our simulated HITL experiments provide evidence that targeted specification refinement can substantially improve issue resolution when the original specification is incomplete.**\n\nOur main additional findings are:\n\n1. **Additional baselines:** We evaluated repeated sampling with test-based and LLM-based selection, along with iterative code repair. These achieve 58.4–59.0% resolution, only marginally improving upon the original 58.1% baseline, compared to 59.5% for automated SpecAlign. This suggests that additional code generation, selection, or repair alone provides limited gains when the original specification remains unchanged. SpecAlign instead identifies potential specification gaps and enables targeted clarification.\n2. **Expanded leakage analysis:** We extended our analysis to include both gold code and gold test patches. Among 341 instances with no detected leakage across any existing specification version, final resolution improves from 52.5% to 74.2% (+21.7 percentage points). These substantial gains persist under stricter leakage criteria, supporting the potential value of identifying specification gaps and refining them through targeted clarification, which is the central objective of SpecAlign.\n\n3. **Localized refinement ablation:** On 300 instances, unrestricted editing achieves higher final-patch resolution (80.7% vs. 76.7%) but also increases detected solution leakage (40% vs. 32%). This highlights the tradeoff between unrestricted rewriting and targeted refinement.\n\nTogether, these findings support specification-gap identification as a complementary direction to conventional code generation and patch selection, highlighting the value of targeted clarification when the original specification is incomplete.\n\nWe will incorporate the additional baselines, updated leakage analysis (Table 2), highlighting ablation, and associated limitations into the revised paper. Detailed results and discussions are provided in our individual responses to Reviewers **6hQx, yeW8, and uV1F**."
+ },
+ "createdAt": "2026-11-13T19:31:30.709Z",
+ "modifiedAt": "2026-11-13T19:31:30.709Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=0V1ny8kv7o",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/acgopgxw3d.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/acgopgxw3d.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "AcgOpgXw3D",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer uV1F",
+ "content": {
+ "paper_summary": "SpecAlign refines issue specifications using disagreements between independently generated code and tests. Experiments show small automated gains and larger improvements with a simulated developer given access to gold patches.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "The task is relevant in practice, and localized modifications provide a good user interface for developer input. The evaluation includes two model types and different programming languages, as well as helpful ablation studies and analyses of specification modifications.",
+ "critical_weaknesses": "- Gains from automation are marginal: merely 10 to 12 more resolved tasks in 731. SpecAlign can create up to three patches, but comparisons to repeated sampling or code fixing with comparable budgets are not available.\n- The simulated developer has access to gold patches, but leakage analysis does not take into account the information derived from the gold test suite. Thus, \"None\" does not exclude any gains from the privileged information.\n- Oracle feedback diminishes code-test alignment while increasing task resolution. Word counts offer insufficient proof of reduced effort from the developer.\n\n------------------------\nThanks the authors for their reply and explanations. I tend to maintain my score.",
+ "questions_for_authors": "1. Do the gains hold against repeated sampling with test-based selection and code repair under equal budgets? Please report confidence intervals.\n2. How do leakage conclusions change when gold-test-derived information is included?\n3. Does localized refinement outperform direct rewriting with the same oracle information and edit budget?\n4. Why does oracle feedback reduce agreement while improving resolution?",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-21T09:55:27.720Z",
+ "modifiedAt": "2026-11-17T12:50:08.970Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=AcgOpgXw3D",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/cxb5k68olq.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/cxb5k68olq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "cxb5K68OLQ",
+ "replyTo": "AcgOpgXw3D",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "**Response [1/2]**\n\nWe thank the reviewer for the constructive feedback and for recognizing the importance of specification refinement. We conducted additional experiments and analyses to address the reviewer's concerns:\n\n- **Additional baselines:** Evaluate repeated sampling with test-based and LLM-based selection, along with iterative code repair.\n- **Expanded leakage analysis:** Include solution leakage from both gold code and gold test patches.\n- **New no-leakage result:** Among 341 instances with no detected leakage across any existing specification version, final resolution improves from 52.5% to 74.2% (+21.7 percentage points).\n- **Localized refinement ablation:** Compare simulated HITL with and without SpecAlign's highlighting on 300 instances.\n\n### 1. Repeated Sampling and Computational Comparison\n\nTo address the reviewer's concern, we evaluated three independent coding-agent runs, repeated sampling with patch selection, and iterative code repair. Across the three independent runs, the mean resolution rate was 58.19% (95% CI: 57.33%–59.04%), indicating limited variation in baseline performance.\n\n| Approach | Resolved | Resolution (%) |\n|---|---:|---:|\n| Independent run 1 | 425/731 | 58.1 |\n| Independent run 2 | 428/731 | 58.5 |\n| Independent run 3 | 423/731 | 57.9 |\n| Repeated sampling + test-based selection | 430/731 | 58.8 |\n| Repeated sampling + LLM-based selection | 431/731 | 59.0 |\n| Iterative code repair | 427/731 | 58.4 |\n| Automated SpecAlign | 435/731 | 59.5 |\n| SpecAlign + simulated HITL (final-patch selection) | 571/731 | 78.1 |\n| HITL, no detected leakage at s₂ | 257/367 | 70.0 |\n| HITL, no detected leakage at s₃ | 336/431 | 78.0 |\n| **HITL, no detected leakage in any existing version (final)** | **253/341** | **74.2** |\n\n*The no-leakage HITL results use different subsets. Simulated HITL uses privileged oracle information and is not directly comparable to the automated baselines.*\n\nIterative code repair uses the original specification, generated code and tests, and execution logs to repair code for up to three attempts without changing the specification. While the automated baselines achieve similar resolution rates, they cannot directly correct missing requirements. SpecAlign instead identifies potential specification gaps for targeted clarification before regenerating code and tests. The HITL results illustrate this opportunity, although they do not isolate gap identification from oracle-provided information.\n\nRegarding computational cost, SpecAlign requires approximately 2.4 coding-agent iterations on average, compared to three runs for repeated sampling. However, this does not guarantee equal monetary costs, since SpecAlign also requires test generation, execution, and specification refinement.\n\n### 2. Leakage Analysis Including Gold-Test Information\n\nWe extended our three-LLM leakage analysis to include both gold code and gold test patches. The proportion of instances classified as having no detected leakage decreases from 72.5% to 67.6% at s₂ and from 94.0% to 89.0% at s₃. Gold-test-only leakage accounts for 7.2% and 3.7%, respectively.\n\n| No-leakage group | n | Initial s₁ (%) | After refinement (%) | Change (pp) |\n|---|---:|---:|---:|---:|\n| None at s₂, evaluated at s₂ | 367 | 52.6 | 70.0 | +17.4 |\n| None at s₃, evaluated at s₃ | 431 | 51.5 | 78.0 | +26.5 |\n| **None in every existing version, evaluated at final** | **341** | **52.5** | **74.2** | **+21.7** |\n\nEven with a stricter leakage judge, the HITL experiments demonstrate substantial gains, suggesting that they are indeed enabled by pinpointing specification gaps (which is the main objective of our paper). We will include the updated Table 2, presented in our response to Reviewer yeW8 (Q2), in the revised paper.\n\n### 3. Localized Refinement vs. Direct Rewriting\n\nWe conducted an additional experiment on 300 instances. Both settings used the same execution logs and oracle information. Without highlighting, the simulated developer was not shown SpecAlign's identified gaps and could edit any part of the specification.\n\n| Metric | With Highlights | Without Highlights |\n|---|---:|---:|\n| Test-based selection | 187/300 (62.3%) | 191/300 (63.7%) |\n| Final-patch selection | 230/300 (76.7%) | 242/300 (80.7%) |\n| Detected solution leakage at s₂ | 96/300 (32.0%) | 120/300 (40.0%) |\n\n*Detected leakage includes minor, moderate, and severe leakage from either gold code or gold test patches.*\n\n**Unrestricted editing achieves higher final-patch resolution (80.7% vs. 76.7%) but also increases detected leakage (40% vs. 32%).** Thus, localized refinement reduces detected leakage while highlighting specific gaps for developer review. This experiment combines highlighting and editing restrictions and does not directly compare against rewriting the original issue under an identical edit budget."
+ },
+ "createdAt": "2026-11-13T19:36:26.500Z",
+ "modifiedAt": "2026-11-14T04:39:43.742Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=cxb5K68OLQ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/dfymdvbxpp.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/dfymdvbxpp.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "dFymdVbXPp",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer yeW8",
+ "content": {
+ "paper_summary": "This paper introduces SpecAlign, which refines a repository issue description when independently generated code and reproduction tests disagree. An LLM rewrites only the parts of the issue it thinks cause the disagreement, and the loop repeats up to three times. The paper also adds a simulated developer, an LLM with access to the gold code and test patches, who further edits the rewritten parts.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "1/ Using code-test disagreement to point a developer to specific parts of an issue is a reasonable idea for repository-level tasks, and the paper evaluates it across four languages on SWE-Bench Pro.",
+ "critical_weaknesses": "1/ The contribution of the automatic workflow is unclear. Localized spec refinement driven by test failures is already done in VeriSpecGen [1]. ClarifyGPT [2] already detects ambiguous requirements from inconsistent generated code and then refines the requirement. Selecting patches with generated reproduction tests is standard in SWE agents such as Agentless [3]. The paper doesn't explain what is new beyond applying these to issue descriptions.\nThe gain is also small: 58.1% to 59.5% with Claude and 45.6% to 47.2% with GPT (the 2.4-3.6% in the abstract is relative). When the code from the latest version of the issue is used instead (final-patch selection), the gain almost disappears (59.1% and 45.7%). So the gain seems to come from picking among three attempts, not from the refined issue.\nDisagreement can also come from a code bug or a bad test, but the method always resolves it by editing the issue. This can add wrong assumptions.\n\n2/ The HITL gains may come from leaking the answer rather than from SpecAlign. The simulated developer is an LLM that sees the gold code and gold tests, and SWE-Bench Pro evaluates with tests from the gold test patch. So its edits can tell the coding agent what the hidden tests check. The paper reports gains even on instances labeled as no leakage, but the leakage check ignores information taken from the gold tests, and the labeling models only see the gold code. The paper even presents an edit that copies a constant from the golden patch (\"must be '2.14' — this is a literal constant in the golden patch\") as an example of a clarification (Fig. 6). There is also no baseline where the same LLM edits the original issue directly, without SpecAlign's highlights. Without it, we can't tell whether the gain comes from SpecAlign or from the gold patches. \n\n[1] Intent-aligned Formal Specification Synthesis via Traceable Refinement. Ye et al.\n\n[2] ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarification. Mu et al.\n\n[3] Agentless: Demystifying LLM-based Software Engineering Agents. Xia et al.",
+ "questions_for_authors": "1/ Can authors explain the methodological difference from [1,2,3] beyond the setting?\n\n2/ Can authors report HITL results where the simulated developer edits the original issue without SpecAlign's highlights? This would show whether the improvement comes from SpecAlign or just from the gold patches. Can the leakage analysis also cover information from the gold test patch?",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 2
+ },
+ "createdAt": "2026-10-22T04:46:47.549Z",
+ "modifiedAt": "2026-11-06T12:36:04.785Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=dFymdVbXPp",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/e5qlw5qk8y.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/e5qlw5qk8y.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "E5Qlw5qK8Y",
+ "replyTo": "x2k56UXAER",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 6hQx",
+ "content": {
+ "comment": "Thank you for your response. \n\nI do not think the HITL results should be bolded, as they include gold patches in the simulated workflow, even when no leakage is detected. \n\nI understand that perhaps the best-of-3 is not compute matched (do you have compute/API measures for the different methods?) but a 0.5–0.7% improvement over them is quite small."
+ },
+ "createdAt": "2026-11-18T23:27:05.107Z",
+ "modifiedAt": "2026-11-18T23:27:05.107Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=E5Qlw5qK8Y",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/gakesmfwsb.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/gakesmfwsb.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "GAKeSMfWsb",
+ "replyTo": "dFymdVbXPp",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "**Response [1/2]**\n\nWe thank the reviewer for the constructive feedback. We conducted additional experiments and analyses to address the reviewer's concerns:\n\n- **Additional baselines:** Evaluate repeated sampling with test-based and LLM-based selection, along with iterative code repair.\n- **Expanded leakage analysis:** Include solution leakage from both gold code and gold test patches.\n- **New no-leakage result:** Among 341 instances with no detected leakage across any existing specification version, final resolution improves from 52.5% to 74.2% (+21.7 percentage points).\n- **Localized refinement ablation:** Compare simulated HITL with and without SpecAlign's highlighting on 300 instances.\n\n### 1. Novelty and Automatic SpecAlign\n\nThe main goal of SpecAlign is to identify specification gaps and enable focused developer clarification, rather than simply select better code patches.\n\n**VeriSpecGen** focuses on generating and refining formal specifications in Lean. In contrast, SpecAlign works directly with natural-language issue descriptions and uses disagreements between independently generated code and tests to identify potential specification gaps.\n\n**ClarifyGPT** detects ambiguous requirements by comparing generated programs and requesting user clarification, mainly for function-level code generation. SpecAlign instead addresses repository-level issues, where function signatures and implementation details may be missing or ambiguous, and uses code-test disagreement to identify specific regions for refinement.\n\n**Agentless** uses generated tests to validate and select code patches for repository-level issues. While SpecAlign also uses test-based selection, its main contribution is identifying specification gaps that may require clarification, rather than only selecting better patches.\n\n**Automatic Gains and Patch Selection:** We agree that SpecAlign's automatic improvements are modest. To investigate whether they come mainly from patch selection, we evaluated repeated sampling and iterative code repair.\n\n| Approach | Resolved | Resolution (%) |\n|---|---:|---:|\n| Independent run 1 | 425/731 | 58.1 |\n| Independent run 2 | 428/731 | 58.5 |\n| Independent run 3 | 423/731 | 57.9 |\n| Repeated sampling + test-based selection | 430/731 | 58.8 |\n| Repeated sampling + LLM-based selection | 431/731 | 59.0 |\n| Iterative code repair | 427/731 | 58.4 |\n| Automated SpecAlign | 435/731 | 59.5 |\n| SpecAlign + simulated HITL (final-patch selection) | 571/731 | 78.1 |\n| HITL, no detected leakage at s₂ | 257/367 | 70.0 |\n| HITL, no detected leakage at s₃ | 336/431 | 78.0 |\n| **HITL, no detected leakage in any existing version (final)** | **253/341** | **74.2** |\n\n*The no-leakage HITL results use different subsets. Simulated HITL uses privileged oracle information and is not directly comparable to the automated baselines.*\n\nAlthough the automated baselines achieve similar resolution rates, they keep the original specification fixed and cannot directly address missing or ambiguous requirements. SpecAlign instead identifies potential gaps for targeted clarification before regenerating code and tests. The HITL results illustrate the value of this approach, although they do not isolate gap identification from oracle-provided information.\n\n### 2. HITL and Solution Leakage\n\n**Leakage Analysis Including Gold-Test Information:** We extended our three-LLM leakage analysis to include both gold code and gold test patches, with a stricter evaluation of instances showing no detected leakage across any version.\n\n| Leakage group | n | Group share (%) | Initial s₁ (%) | After refinement (%) | Change (pp) |\n|---|---:|---:|---:|---:|---:|\n| s₂: None | 367 | 67.6 | 52.6 | 70.0 | +17.4 |\n| s₂: Minor | 29 | 5.3 | 72.4 | 69.0 | -3.4 |\n| s₂: Moderate | 86 | 15.8 | 48.8 | 82.6 | +33.7 |\n| s₂: Severe | 61 | 11.2 | 49.2 | 88.5 | +39.3 |\n| s₃: None | 431 | 89.0 | 51.5 | 78.0 | +26.5 |\n| s₃: Minor | 17 | 3.5 | 64.7 | 47.1 | -17.6 |\n| s₃: Moderate | 28 | 5.8 | 50.0 | 78.6 | +28.6 |\n| s₃: Severe | 8 | 1.7 | 50.0 | 87.5 | +37.5 |\n| **Final: None in every existing version** | **341** | **—** | **52.5** | **74.2** | **+21.7** |\n\n*Leakage analysis covers 543 instances at s₂ and 484 at s₃. The final row includes 341 instances with no detected leakage across all versions. Changes are in percentage points.*\n\nIncluding gold-test information reduces the proportion classified as having no detected leakage from 72.5% to 67.6% at s₂ and from 94.0% to 89.0% at s₃. Gold-test-only leakage accounts for 7.2% and 3.7%, respectively. Importantly, the stricter 341-instance group still improves by 21.7 percentage points, suggesting that detected solution leakage alone cannot explain the HITL gains. However, LLM-based judgments cannot rule out all oracle influence."
+ },
+ "createdAt": "2026-11-13T19:34:03.695Z",
+ "modifiedAt": "2026-11-13T19:34:03.695Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=GAKeSMfWsb",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/mmivi9ewjh.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/mmivi9ewjh.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "mMIvI9EwJH",
+ "replyTo": "WJNWLza4tn",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer yeW8",
+ "content": {
+ "comment": "Thank you for the response and the new experiments. My main concerns remain. Automated SpecAlign is only 4 instances above repeated sampling with LLM selectio, so the automatic gain is not clearly separated from patch selection. Also HITL without highlights resolves more instances, which can suggest HITL **gains** come from the oracle information or leakage rather than from SpecAlign. I will maintain my score."
+ },
+ "createdAt": "2026-11-18T22:38:46.064Z",
+ "modifiedAt": "2026-11-18T22:38:46.064Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=mMIvI9EwJH",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/n4mvfvzscy.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/n4mvfvzscy.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "n4MvfvZscY",
+ "replyTo": "cxb5K68OLQ",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "**Response [2/2]**\n\n### 4. Why Does Oracle Feedback Reduce Agreement While Improving Resolution?\n\nOne possible explanation is that generated code and tests can agree on the same incorrect interpretation of an incomplete specification. Such agreement does not guarantee correctness. HITL provides additional information that may correct these assumptions, reducing code-test agreement while improving actual issue resolution. Therefore, lower agreement does not necessarily indicate lower correctness, and code-test agreement alone is an imperfect measure of success. We will clarify this interpretation in the revised paper."
+ },
+ "createdAt": "2026-11-13T19:37:11.372Z",
+ "modifiedAt": "2026-11-13T19:37:11.372Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=n4MvfvZscY",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/wjnwlza4tn.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/wjnwlza4tn.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "WJNWLza4tn",
+ "replyTo": "GAKeSMfWsb",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "**Response [2/2]**\n\n**HITL Without SpecAlign's Highlighting:** We also conducted an experiment on 300 instances. Both settings used the same execution logs and oracle information. In the unrestricted setting, the simulated developer was not shown the highlighted specification gaps and could edit any part of the specification.\n\n| Metric | With Highlights | Without Highlights |\n|---|---:|---:|\n| Test-based selection | 187/300 (62.3%) | 191/300 (63.7%) |\n| Final-patch selection | 230/300 (76.7%) | 242/300 (80.7%) |\n| Detected solution leakage at s₂ | 96/300 (32.0%) | 120/300 (40.0%) |\n\n*Detected solution leakage includes minor, moderate, and severe leakage from either gold code or gold test patches.*\n\nWithout highlighting, final-patch resolution improves from 76.7% to 80.7%, but detected solution leakage also increases from 32% to 40%. This shows a tradeoff: unrestricted editing achieves higher resolution, while localized refinement reduces detected leakage and enables focused clarification. However, this experiment combines the effects of highlighting and editing restrictions and does not directly compare against rewriting the original issue under an identical edit budget."
+ },
+ "createdAt": "2026-11-13T19:34:42.301Z",
+ "modifiedAt": "2026-11-13T19:34:42.301Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=WJNWLza4tn",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/x2k56uxaer.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/x2k56uxaer.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "x2k56UXAER",
+ "replyTo": "xMPyBtzd8s",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the constructive feedback. We conducted additional experiments and analyses to address the reviewer's concerns:\n\n- **Additional baselines:** Evaluate three independent coding-agent runs, repeated sampling with test-based and LLM-based selection, and iterative code repair.\n- **Expanded leakage analysis:** Include solution leakage from both gold code and gold test patches.\n- **New no-leakage result:** Among 341 instances with no detected leakage across any existing specification version, final resolution improves from 52.5% to 74.2% (+21.7 percentage points).\n\n### 1. Novelty\n\nThe main goal of SpecAlign is to identify specification gaps and enable focused developer clarification, rather than simply improve automated issue resolution. We agree that CodeT and AgentCoder also use generated code and tests, but they mainly focus on single-function code generation benchmarks such as HumanEval and MBPP, where function signatures are typically provided. In contrast, SpecAlign addresses repository-level issues, where function signatures and other implementation details may be missing or ambiguous. While CodeT uses tests to select code candidates and AgentCoder uses test feedback to repair code, SpecAlign uses code-test disagreement to identify potential specification gaps and highlight specific regions for refinement.\n\n**SpecAlign's contribution is not simply combining code and test generation, but using their disagreement to identify specification gaps and create opportunities for targeted developer intervention.**\n\n### 2. Additional Baselines and Computational Comparison\n\nWe thank the reviewer for this suggestion. We conducted three independent mini-SWE-agent runs on the original specification without refinement. The runs resolved 425, 428, and 423 instances, respectively. We then evaluated test-based and LLM-based patch selection, along with an iterative code-repair baseline suggested by Reviewer uV1F.\n\n| Approach | Resolved | Resolution (%) |\n|---|---:|---:|\n| Independent run 1 | 425/731 | 58.1 |\n| Independent run 2 | 428/731 | 58.5 |\n| Independent run 3 | 423/731 | 57.9 |\n| Repeated sampling + test-based selection | 430/731 | 58.8 |\n| Repeated sampling + LLM-based selection | 431/731 | 59.0 |\n| Iterative code repair | 427/731 | 58.4 |\n| Automated SpecAlign | 435/731 | 59.5 |\n| SpecAlign + simulated HITL (final-patch selection) | 571/731 | 78.1 |\n| HITL, no detected leakage at s₂ | 257/367 | 70.0 |\n| HITL, no detected leakage at s₃ | 336/431 | 78.0 |\n| **HITL, no detected leakage in any existing version (final)** | **253/341** | **74.2** |\n\n*The no-leakage HITL results are evaluated on different subsets (n=367 at s₂, n=431 at s₃, and n=341 at the final stage). Leakage analysis includes both gold code and gold test patches. Simulated HITL uses privileged oracle information and is not directly comparable to automated baselines.*\n\nFor iterative code repair, the agent receives the original specification, generated code and test patches, and execution logs. It repairs code for up to three attempts while keeping the original specification fixed.\n\nThese findings highlight an important distinction between the approaches. Repeated sampling and iterative code repair keep the original specification fixed and therefore cannot directly correct missing or ambiguous requirements. In contrast, SpecAlign uses code-test disagreement to identify potential specification gaps and highlight regions for refinement. This creates an opportunity for developers to provide missing information or clarify requirements before independently regenerating code and tests. **Thus, SpecAlign's main value is not simply improving automated resolution, but enabling focused correction of specification gaps that coding agents may not reliably resolve on their own.**\n\nRegarding computational cost, SpecAlign requires approximately 2.4 coding-agent iterations on average, compared to three complete runs for repeated sampling. However, matching the number of coding-agent iterations does not guarantee equal monetary costs, since SpecAlign also includes test generation, execution, and specification refinement. We will clarify this distinction and include the additional experiments in the revised paper.\n\n### 3. Additional Suggestions\n\n**HITL Without Gold Patches:** Removing both gold code and gold test patches removes the oracle information available to the simulated developer. This makes the setting similar to our fully automated workflow, although a real developer could still provide useful clarification based on their own knowledge. We will clarify this limitation.\n\n**Absolute Improvements:** We agree and will report improvements in absolute percentage points rather than relative percentages."
+ },
+ "createdAt": "2026-11-13T19:32:19.105Z",
+ "modifiedAt": "2026-11-13T19:32:19.105Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=x2k56UXAER",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/notes/xmpybtzd8s.json added

+++ b/reviews/openreview/rpqjplyoa7/notes/xmpybtzd8s.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "xMPyBtzd8s",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 6hQx",
+ "content": {
+ "paper_summary": "SpecAlign is a proposed framework for solving SWE-bench -type tasks which (1) generates a code patch, (2) independently generates test cases, (3) runs the test cases on the patch, (4) if the test cases fail, use this feedback to selectively update the spec (e.g. issue) with new text placed in `<new> ... </new>` tags. Optionally, a simulated human in the loop can be added to this framework to give feedback on and refine the spec further.\n\nThis framework is implemented with Opus 4.6 or GPT 5.4 using the mini-SWE-agent harness. It is evaluated on SWE-bench PRO and 200 instances from SWE-rebench that were created after Opus 4.6's cutoff date in order to be contamination free. The approach costs improves performance by 1-2%, from 58.1% to 59.5% on SWE-bench PRO and from 51.0% to 53.0% on the selected SWE-rebench instances. \n\nThe HITL approach further improves performance, although this improvement can be attributed at least in part due to solution leakage, which the authors study in section 4.4. \n\nThe authors analyze the size of spec edits made by this framework, analyze the type of feedback provided by a simulated HITL, and conduct ablations of different components in their system including the inclusion of regression tests and inclusion of the gold test and code patches to the HITL.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 1,
+ "critical_strengths": "The proposed method is fairly principled and reasonable way to improve performance of LLM's on SWE-bench style tasks.\nThe inclusion of the contamination free benchmark, new tasks from SWE-rebench, is a great inclusion for the paper.",
+ "critical_weaknesses": "First, the approach is not very novel: generating tests and code in parallel and using their agreement has been done before (CodeT, Chen et al 2023), AgentCoder (Huang et al, 2023) and others. Using tests and code disagreement to refine the specification may not have been done before, but it is a pretty small change to existing workflows. I would think of it more as one small part of an agentic engineering set up, and less of a scientifically interesting, principled approach that is worth writing in an ICLR paper.\n\nSecond, performance improvement is extremely modest (1-2% improvement). A proper baseline of \"instead of spending extra effort on the harness, spend longer creating the patch\" is not included as a baseline. As Opus 5.5 pointed out to me, \"The gain may come from selection, not spec refinement. There’s no best-of-k baseline at matched cost\".",
+ "questions_for_authors": "Would it be possible to see a baseline where the same total spending is used for mini-SWE-agent and SpecAlign? Right now, if I understand correctly, SpecAlign gets around 3x the compute that the baseline gets. A particularly informative baseline suggested in collaboration with Opus 5.5 would be to run mini-SWE-agent up to 3 times on the original spec s₁, as independent samples. \n\nOther suggestions:\n- Provide an ablation which shows HITL without gold patch of both test and code patch? \n- I suggest improvements are reported in absolute percentage points instead of relative percentage points. Relative is confusing.",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-22T19:22:51.201Z",
+ "modifiedAt": "2026-11-06T12:36:03.480Z",
+ "url": "https://openreview.net/forum?id=rPqJplyOA7&noteId=xMPyBtzd8s",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/rpqjplyoa7/submission.json added

+++ b/reviews/openreview/rpqjplyoa7/submission.json
@@ -0,0 +1,17 @@
+{
+ "schema": "submission/1",
+ "id": "rPqJplyOA7",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 48619,
+ "keywords": [
+ "Specification alignment",
+ "Software engineering agents",
+ "Reproduction test"
+ ],
+ "url": "https://openreview.net/forum?id=rPqJplyOA7",
+ "license": "CC-BY-4.0"
+}

versions/v_36mvmjkg.json modified

+++ b/versions/v_36mvmjkg.json
@@ -1,7 +1,20 @@
{
+ "date": "2026-09-18",
"kind": "submitted",
"label": "ICLR 2027 (under review)",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 48619,
+ "url": "https://openreview.net/forum?id=rPqJplyOA7",
+ "reviews": "openreview/rpqjplyoa7",
+ "evidence": [
+ "https://openreview.net/forum?id=rPqJplyOA7"
+ ]
+ }
+ ],
"url": "https://openreview.net/forum?id=rPqJplyOA7",
"pdf": {
"source": "https://openreview.net/forum?id=rPqJplyOA7",
"license": "CC-BY-4.0"