{"id":"71ac1e3a-4df2-4c3a-b133-7f98ddcc1db8","arxiv_id":"2611.06863","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":3,"one_line_summary":"Template-based feedback improves retry recovery over resampling in simulated robot manipulation, but fixed task guidance and mismatched feedback perform equally well, and static guidance from the first attempt matches compiled feedback.","lead":"This paper tests whether failure-specific feedback in code-as-policy robot agents beats simply retrying and resampling with the same budget, using fixed templates instead of learned critiques. The main finding is that guidance matters, but matching the coarse failure label to the current failure does not measurably improve recovery beyond other useful instructions.","discovery_kind":"extension","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The reusable-guidance attribution is not yet established: the Different-Label control can still supply the same actionable instruction as the matched label, and the reported CIs leave room for label matching to contribute a meaningful share of the +17.1 pp effect.","rationale":"The main Compiled-versus-Resample effect is robust and well supported, and the authors are transparent about limitations. My concern targets the causal attribution, which is the paper's central contribution. To claim reusable guidance rather than failure matching drives recovery, the controls must actually remove failure-specific information and must be precise enough to rule out a meaningful label-specific contribution. The Different-Label control may fail the first requirement because labels in the taxonomy map to overlapping instruction content; the confidence intervals fail the second in the formal sense, although the point estimates are reassuring. The Fixed Task Template result is cleaner conceptually but is exploratory and development-selected. These issues do not overturn the paper; they do mean the attribution should remain conditional, exactly as the reader judged. I partially agree with the reader's weakest_assumption: we identify related but distinct weaknesses in the label-matching comparison rather than only labeler accuracy or template selection.","tokens_in":16191,"tokens_out":11767,"duration_ms":90335,"concrete_test":"From the logged experiment artifacts, compute the instruction-level overlap between the Different-Label feedback actually rendered for each of the 627 records and the Compiled template for the true label: for each episode, record whether any MUST/NEVER line is shared, and compute the Jaccard similarity over instruction lines. If overlap is high (e.g., more than half of episodes share at least one decisive instruction), the Different-Label control is not a valid label-mismatch test and the claim that label matching adds nothing is unsubstantiated; the paper would then need a control selecting templates whose instruction content is disjoint from the true label's template, or a pre-specified non-inferiority bound, to support the attribution.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The central claim is that the recovery advantage of template-based feedback comes from reusable task guidance rather than from matching the failure label. This attribution rests mostly on two null comparisons: Different-Label Feedback and Fixed Task Template each recover 86.1% versus 85.3% for Compiled, with paired CIs of [−6.3,+4.8] and [−6.7,+5.2]. Those intervals are not equivalence bounds: a label-specific contribution of about 5–6 pp, roughly a third of the +17.1 pp effect, remains possible. More importantly, the Different-Label control may not remove failure-specific content. The 14-label taxonomy contains clusters whose templates share the same actionable MUST/NEVER lines: missing_grasp, failed_grasp, and grasp_without_goto all prescribe centre-grasp, while object_not_lifted, released_after_lift, and bad_placement all prescribe lifting and placing via place_on. Appendix B.3 says all 627 selected records had a different label, but it does not report whether the selected template shared instructions with the true label's template. If most selected records were drawn from the same instruction cluster, the comparison tests the label name rather than the content of the feedback, and the observed null does not support the 'no benefit from matching' interpretation. The Fixed Task Template comparison, which would be a cleaner test of fixed guidance, is explicitly exploratory and was selected on the 40-failure development set. The authors qualify their language with 'no detected benefit' and 'may be driven,' but the abstract and discussion advance the reusable-guidance interpretation more strongly than the controls justify.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper studies, in simulated robot manipulation, what makes a retry succeed for a code-as-policy agent after its first program fails. On 252 stored initial failures from Qwen2.5-Coder-7B across lifting and stacking, the authors compare fresh regeneration with template feedback selected by a rule-based failure label (Compiled), resampling without feedback, feedback taken from other episodes (Different-Label and Other-Episode controls), a fixed per-task template, a static guided prompt used from the first attempt, and previous-program editing, always resetting the scene and hiding the failed program in regeneration conditions. Compiled recovers 85.3% within five retries versus 68.3% for Resample (+17.1 pp, 95% CI [+9.9,+24.2]); the advantage persists under fixed token budgets and across seven eligible 3B/7B generalization settings (+18.1 pp, CI [+13.3,+22.9]). Different-Label Feedback and Fixed Task Template each recover 86.1%, with paired CIs of [−6.3,+4.8] and [−6.7,+5.2] against Compiled, from which the paper concludes that there is no detected benefit from matching the coarse failure label and that reusable task guidance explains the gain. In a separate prespecified study on 700 fresh scenes, Static-from-Start raises initial success from 19.3% to 36.9% and overall success to 92.4% with the fewest tokens per solved episode, while Compiled underperforms Resample on nut insertion (−15.0 pp, CI [−27.5,−2.5]), an outcome attributed to an incompatible center-grasp template.","tokens_in":16534,"tokens_out":21262,"duration_ms":146049,"significance":"If the headline result holds, the paper makes a solid methodological contribution to evaluating self-repair in embodied code agents: concise template feedback beats resampling by +17.1 pp with a tight confidence interval, measured on identical failure episodes with paired-bootstrap CIs, McNemar tests with Holm correction, a cluster-bootstrap sensitivity analysis, and matched token budgets. The paper is unusually transparent: all feedback templates (Appendix D), all prompt variants (B.4), the retry algorithm, eligibility rules, and the seeding limitation (A.3) are disclosed, and the claims are carefully hedged ('no detected benefit', 'do not establish equivalence', 'remains unresolved'). The prespecified Static-from-Start study on separate scenes and the nut-insertion negative result are genuine strengths. The weak link is the attribution: the conclusion that reusable task guidance, rather than failure-label matching, explains the gain rests on null comparisons whose intervals still admit label-specific contributions of roughly a third of the headline effect, and on a Different-Label control that may not vary the actionable instruction content.","major_comments":[{"comment":"The Different-Label Feedback control guarantees a different label name but not different instruction content, and the reusable-guidance attribution depends on content being varied. Appendix D shows that the taxonomy clusters by actionable instructions: missing_grasp, failed_grasp, and grasp_without_goto all prescribe the same centre-grasp MUST line, while object_not_lifted, released_after_lift, and bad_placement share the same lift/place hints. Appendix B.3 reports that all 627 selected records had a different label, but it does not report how often a selected template shared its actionable lines with the true label's template. If most selections came from the same instruction cluster, the −0.8 pp contrast (CI [−6.3,+4.8]) tests label-name matching only, and the Section 5 claim that reusable task guidance explains the recovery advantage would rest on the Fixed Task Template comparison, which the paper itself marks exploratory (A.3); the Static-from-Start study mitigates but does not remove this gap, since it changes guidance and instruction together (C.2). Please report the instruction-content overlap between true and selected labels, and ideally rerun the control with selection restricted to a disjoint instruction cluster; otherwise the Section 5 and Abstract attribution should be softened.","section":"§3.3, App. B.3, App. D","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The summary claims in the Abstract ('no detected benefit from matching the coarse failure label') and Section 5 ('reusable task guidance explains the recovery advantage... in the tested tasks') are stronger than what the supporting comparisons establish. The paired CIs in Table 2, [−6.3,+4.8] and [−6.7,+5.2], allow a label-matching or dynamic-feedback contribution of roughly 5–6 pp, about a third of the +17.1 pp headline effect; the Fixed Task Template comparison is explicitly exploratory; and there is no reported power or equivalence analysis for the null contrasts. The paper notes in §4.2 that the intervals do not establish equivalence, but this caveat does not carry into the abstract-level framing. Please state the minimum detectable difference for the paired n=252 design (or an equivalence bound), and add a sentence in the Abstract or Discussion making explicit that label-specific contributions of up to roughly 5–6 pp are not excluded by these data.","section":"§4.2, §5, Table 2","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The seven-setting generalization estimate (+18.1 pp) was obtained with the historical generation instruction, which refers to a repair plan even when none is present (Appendix B.4); since the paper introduces the neutral instruction precisely because that wording is confounded, Section 4.5 should state this explicitly and frame the primary neutral-instruction evaluation as the unconfounded estimate.","section":"§4.5, Table A1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Please clarify which software build and reset-seeding behavior underlie the primary neutral-instruction evaluation; the current text attributes the placement-sampler seeding limitation to the earliest core comparisons and the rebuilt software to the subsequent original-instruction evaluation, leaving the retry-layout matching of the main numbers unspecified.","section":"Appendix A.3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The Static Prior condition is defined but no results for it appear in the main text or appendices; please either report its outcomes or remove the row.","section":"Table A2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The Direct+Compiled row asks whether editing improves recovery and reports a positive Δ of +63.9 pp, but since Δ is Compiled minus the comparator, a positive value means editing reduces recovery; please rephrase the question so the sign convention is unambiguous.","section":"Table 2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The nut-insertion result (n=40) and the temperature-0.2 pose-shift anomaly (90% CI) should state their sample sizes and confidence level in the main text, since the main text currently reports them without these calibration details.","section":"§4.5, App. C.3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The cluster-bootstrap sensitivity analysis is reported only for the Compiled–Resample contrast; please apply it to the Different-Label and Fixed Task Template contrasts as well, since those comparisons carry the attribution.","section":"§4.2, App. A.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Please report which failure label was selected as the Fixed Task Template for each task from the development set, so readers can assess how much the exploratory Fixed Task Template comparison depends on development selection.","section":"App. B.3, App. D","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Two things to know. First, the headline result is measured, not fitted: on 252 paired failures in simulated manipulation, template feedback recovers 85.3% within five retries versus 68.3% for resampling (+17.1 pp, CI [+9.9,+24.2]), and the advantage survives fixed token budgets and a cluster bootstrap. Second, the interpretation attached to that result — reusable task guidance, not failure-specific feedback, drives the gain — is plausible but not established, and the paper's own controls are the reason.\n\nWhat's actually good. This transfers the Olausson-style matched-sampling comparison to embodied code execution with real discipline: paired episodes, fresh programs after each reset, matched retry and token budgets, McNemar with Holm correction, and a prespecified Static-from-Start study on separate scenes. The nut-insertion reversal (Compiled 15 pp worse when the center-grasp instruction conflicts with the required rim grasp) is the kind of negative result that supports the guidance-causation story. The authors disclose their confounds — editing changes two things at once, the CIs do not establish equivalence, Fixed Task Template was dev-selected — and mostly write \"no detected benefit\" rather than \"no effect.\"\n\nThe soft spots. The one the paper does not fully surface is the Different-Label control. In the Appendix D templates, the three grasp labels share the same centre-grasp MUST line, and the lift/place labels all route through the same lift-and-place_on behavior. Appendix B.3 confirms all 627 selected records carried a different label but never reports how many shared actionable instruction content with the true label. If most selections came from the same instruction cluster, the control tests the label name, not whether the feedback's content is specific to the current failure. The paper's \"reusable guidance\" conclusion survives that reading; the implied claim that label matching contributes nothing is softer than it looks. Relatedly, labels were audited only on scripted faults — noisy labels on natural failures would push a real matching benefit toward null. And the CIs for both null comparisons are wide enough to hide a 5–6 pp effect, roughly a third of the headline gain; the authors say this themselves.\n\nMy read: the central measured contrast is credible, the method recommendation (always include resampling and static guidance as baselines in self-repair evaluations) is right, and the attribution needs one more turn — an audit of instruction overlap in the Different-Label selections and a fixed-template comparison not chosen on development data, ideally with code shipped.\n\nFor whom: anyone evaluating retry loops or self-repair in code-as-policy agents. This deserves a serious referee; I would send it to review with a request focused on the control-content analysis.","headline":"A credible measured result — template feedback beats resampling by 17 pp under matched budgets — attached to an attribution (reusable guidance, not label matching) that the controls support only loosely, since the Different-Label control shares instruction content with matched labels.","tokens_in":17140,"tokens_out":8509,"duration_ms":73429},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Retry success in robot code agents comes from reusable task hints, not failure-specific feedback.","keywords":["code-as-policy agents","self-repair","execution feedback","retry success","template-based feedback","resampling baseline","test-time evaluation","robot manipulation"],"falsifier":"Run the Compiled-versus-Different-Label comparison on tasks with a finer failure taxonomy, with labels assigned by human experts and audited on natural failures, where different labels demand genuinely different corrective instructions: if label-matched feedback then beats mismatched feedback by an amount outside the current confidence interval ($[-6.3,+4.8]$ percentage points), the claim that matching the coarse label is useless is overturned. A second, independent check holds the generation instruction constant and gives the identical static guidance text before any failure occurs; if its success rate then falls to the resampling level, the Static-from-Start advantage came from the instruction change rather than from reusable guidance.","tokens_in":17586,"feed_emoji":"🤖","tokens_out":13096,"duration_ms":86424,"temperature":0.7,"pith_summary":"This paper tries to settle what actually makes a code-writing robot recover when it retries after a failed program: the failure-specific feedback it receives, the reusable task guidance bundled into that feedback, or simply the extra chance to generate another program. In a simulated manipulation setting, the authors run a reset-and-retry loop in which a fixed lookup table converts a coarse failure label into a short MUST/NEVER instruction, and they can swap that feedback for another episode's feedback, a fixed per-task template, or no feedback at all while holding every other retry detail fixed. On the same 252 initial failures, label-matched feedback recovered 85.3% within five retries versus 68.3% for plain resampling, but both mismatched-label feedback and a fixed template recovered 86.1%, with confidence intervals crossing zero against the matched condition. The paper concludes that reusable task guidance, not matching the current failure's label, drives the recovery gain, and that evaluations of robot self-repair should include resampling, mismatched feedback, and static guidance as baselines. If true, this means much of the machinery of adaptive self-repair—failure classifiers, critique models, per-episode feedback—may be replaceable by a short, task-compatible instruction written once.","feed_headline":"Robot retry gains come from task hints, not failure feedback","feed_subtitle":"Mismatched and label-matched feedback recover equally many failures, so a static task hint may be all a robot needs.","key_machinery":"The load-bearing mechanism is a template lookup inside a reset-and-retry loop. After each failed execution, a rule-based labeler assigns one of 14 failure labels, and a fixed table maps the label plus API variant to a short diagnosis with MUST/NEVER instruction lines (for example, 'MUST: grasp at the object's CENTRE...' for a failed grasp). Because feedback is a lookup rather than a model call, the authors can substitute its source while leaving the scene reset, retry cap, and generation prompt structure unchanged: the current episode's labels (Compiled), another episode's labels (Different-Label Feedback), one fixed per-task template (Fixed Task Template), or no feedback at all (Resample). This substitution structure is what separates the contributions of additional sampling, reusable task guidance, and failure-label matching. Fresh regeneration always hides the previous program, so editing and reflection are varied separately and are reported as far weaker.","core_discovery":"On 252 stored initial failures in simulated cube-lifting and stacking with a frozen Qwen2.5-Coder-7B, allowing five fresh-program retries after each scene reset, the paper reports that template-based feedback matched to a rule-based failure label (Compiled) recovers 85.3% of failures, compared with 68.3% for resampling with no feedback ($+17.1$ percentage points; 95% CI $[+9.9,+24.2]$). The advantage persists under fixed total-token budgets. The central controls replace the matched feedback with feedback drawn from other episodes carrying a different failure label, and with one fixed per-task template chosen from development data: both recover 86.1%, statistically indistinguishable from Compiled. The authors therefore claim that the recovery advantage of template-based feedback is not attributable to matching the coarse failure label and appears to come from reusable task guidance. A companion study finds that a fixed guided prompt used from the first attempt reaches an observed overall success rate similar to Compiled's (92.4% versus 89.6% within six executions) while using fewer tokens per solved episode. The paper also reports a reversal: on nut insertion, where the task requires a rim grasp, the center-grasp instruction inside the pick-and-place template lowered recovery to 82.5% versus 97.5% for resampling, showing that task-incompatible guidance actively hurts.","pith_inferences":["If reusable guidance is the active ingredient, the practical implication for deployed robot agents is to invest in task-level instructions written before deployment rather than failure-diagnosis pipelines; the Static-from-Start result points this way, but because it changes the generation instruction along with the guidance, the size of that effect remains an open quantity a follow-up could isolat","The nut-insertion reversal suggests a testable general principle: feedback templates are interventions with possible negative side effects, and average recovery hides the cases where guidance misleads; a systematic survey of tasks whose required manipulation contradicts a default grasp instruction would map when static guidance helps versus harms.","The null result on label matching is bounded to a coarse 14-label taxonomy; a finer taxonomy in which distinct labels demand genuinely different corrective instructions could still reveal a benefit, so the claim that failure-specific feedback adds nothing is best read as a statement about coarse categories rather than feedback in general."],"forward_implications":["A self-repair benchmark that compares adaptive feedback only against itself will overstate what failure information buys: resampling at the same retry budget recovers 68.3% of the same 252 failures, so the feedback-content gain is 17.1 percentage points, not the full 85.3%.","In the tested setting, matching the failure label appears to add nothing beyond the guidance it carries: a fixed per-task template recovers 86.1% against 85.3% for label-matched feedback, so the classifier-and-lookup machinery of adaptive feedback buys no detectable recovery.","Static guidance given before any failure reaches an observed overall success rate similar to post-failure feedback (92.4% versus 89.6% within six executions, not significant after multiplicity correction) and uses the fewest tokens per solved episode, so guidance may help before a failure happens at all.","Template guidance is not universally safe: on nut insertion the center-grasp instruction conflicts with the required rim grasp and recovery drops 15.0 percentage points below resampling, so evaluations must check task compatibility of guidance.","Editing the failed program is a much weaker repair strategy here: Direct+Compiled recovers 21.4% of failures against 85.3% for fresh regeneration with the same feedback, and model-written reflection recovered below resampling in earlier comparisons."],"supporting_citations":[{"why":"Defines the code-as-policy paradigm that the paper evaluates: robot tasks as generated Python programs.","marker":"[1]"},{"why":"Supplies the critique-driven reflection loop that the Reflection condition implements and that the paper compares against template-based feedback.","marker":"[2]"},{"why":"Antecedent that conditions code generation on the previous program and its execution results; the editing conditions vary this exposure.","marker":"[4]"},{"why":"Provides the matched-compute critique of self-repair on code benchmarks that motivates comparing feedback methods against resampling at equal retry and token budgets.","marker":"[11]"},{"why":"Supports the framing that external feedback, not self-critique, is what helps; the paper tests which external content matters in robot code repair.","marker":"[12]"},{"why":"Supplies the robosuite simulation framework and Panda arm used for the manipulation evaluations.","marker":"[23]"},{"why":"Provides the MuJoCo physics engine on which the simulated scenes run.","marker":"[24]"},{"why":"Supplies the frozen Qwen2.5-Coder models whose generated programs are evaluated.","marker":"[25]"}],"fun_headline_variants":["Robot retry success comes from task hints, not failure labels","Failure feedback no better than static hints for robot code repair","Task-specific guidance, not failure labels, drives robot retry gains","Incompatible task hints can hurt robot self-repair retries","Static task guidance matches failure feedback for robot retries"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The load-bearing assumption is that the control conditions isolate the information being tested: the failure labels come from a rule-based labeler that was never audited on natural failures, the fixed templates were selected on a 40-failure development set with post hoc eligibility filtering, and the condition-neutral prompt must be genuinely comparable across conditions, so if any of these carry accidental task-specific content the conclusion that failure-specific feedback adds nothing could be an artifact of the chosen tasks, labels, and prompt texts.","fun_headline_variants_meta":{"raw":{"variants":["Robot retry success comes from task hints, not failure labels","Failure feedback no better than static hints for robot code repair","Task-specific guidance, not failure labels, drives robot retry gains","Incompatible task hints can hurt robot self-repair retries","Static task guidance matches failure feedback for robot retries"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000105,"raw_usage":{"cost":0.0001049412,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0001049412,"upstream_inference_prompt_cost":3.54172e-05,"upstream_inference_completions_cost":6.9524e-05},"total_tokens":1512,"prompt_tokens":1130,"completion_tokens":382,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":926,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":308}},"tokens_in":1130,"tokens_out":382,"cost_source":"openrouter_usage","duration_ms":5279,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":308,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-11-05T07:09:23.696886+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Run the Compiled-versus-Different-Label comparison on tasks with a finer failure taxonomy, with labels assigned by human experts and audited on natural failures, where different labels demand genuinely different corrective instructions: if label-matched feedback then beats mismatched feedback by an amount outside the current confidence interval ($[-6.3,+4.8]$ percentage points), the claim that matching the coarse label is useless is overturned. A second, independent check holds the generation instruction constant and gives the identical static guidance text before any failure occurs; if its success rate then falls to the resampling level, the Static-from-Start advantage came from the instruction change rather than from reusable guidance.","supporting_citations":[{"cited_title":"Code as Policies: Language Model Programs for Embodied Control","cited_arxiv_id":"2209.07753","evidence_quote":"Defines the code-as-policy paradigm that the paper evaluates: robot tasks as generated Python programs."},{"cited_title":"Reflexion: language agents with verbal reinforcement learning , url =","cited_arxiv_id":null,"evidence_quote":"Supplies the critique-driven reflection loop that the Reflection condition implements and that the paper compares against template-based feedback."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Antecedent that conditions code generation on the previous program and its execution results; the editing conditions vary this exposure."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Provides the matched-compute critique of self-repair on code benchmarks that motivates comparing feedback methods against resampling at equal retry and token budgets."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Supports the framing that external feedback, not self-critique, is what helps; the paper tests which external content matters in robot code repair."},{"cited_title":"robosuite: A Modular Simulation Framework and Benchmark for Robot Learning","cited_arxiv_id":"2009.12293","evidence_quote":"Supplies the robosuite simulation framework and Panda arm used for the manipulation evaluations."},{"cited_title":"MuJoCo: A physics engine for model-based control","cited_arxiv_id":null,"evidence_quote":"Provides the MuJoCo physics engine on which the simulated scenes run."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}