Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages
Update NeurIPS 2026 submission P4Ev2InDix: 14 notes
@openreview[bot] · 2026-11-24 15:50 UTC · 7531196c478e ·
reviews/openreview/p4ev2indix/notes/0viqnvzwov.json added
+++ b/reviews/openreview/p4ev2indix/notes/0viqnvzwov.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "0VIqnvZWov",+ "replyTo": "yolBOlKMMq",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the careful follow-up and for recognising how the new experiments strengthen the paper. We appreciate that both concerns led to concrete additions: the APL evaluation extends the result beyond esolangs, while the behavioural audit gives a more precise account of where weaker agents fail.\n\nWe will also note the different ordering in the no-execution APL condition, particularly GPT-5.4 mini outperforming Sonnet and Opus, and avoid over-interpreting it. As you note, the main causal result concerns the within-agent gains from execution and required generator construction.\n\nThank you again for the constructive review and for updating your confidence in light of the new evidence."+ },+ "createdAt": "2026-08-03T03:29:16.714Z",+ "modifiedAt": "2026-11-19T17:04:50.523Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=0VIqnvZWov",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/bsxb9ygezu.json added
+++ b/reviews/openreview/p4ev2indix/notes/bsxb9ygezu.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "BsxB9YgeZu",+ "replyTo": "y38KopJDMn",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank you for a detailed and technically precise review. We have restructured our related work and broader impacts around the pointer to Gu, Liang, Ma and Li on the Matthew Effect of AI Programming Assistants. One point of scope, which we will state in the paper: metaprogramming is the clearest mechanism we manipulate causally, not the complete explanation of adaptation across languages. We take the points in order.\n\n**W2. \"The related-work and broader-impact sections should explicitly cite and discuss the Matthew Effect of AI Programming Assistants.\"**\n\nWe agree, and will cite Gu et al. prominently in both sections. Their result is the population-level statement of the pressure our protocol applies, that the success rate of LLM-generated code rises with the popularity of the language or framework. Our setting sits at the extreme tail of their curve, with the frequency ratios in Appendix G running from about ten to the minus five for Brainfuck to ten to the minus seven for Shakespeare, relative to Python.\n\nWe are in alignment with Gu et al. and take one step past them. They establish the effect at population scale. We hold the task fixed, push the popularity axis to its extreme, and ask what the agent does about it. Two results follow.\n\nFirst, the effect is larger than a per-language average can show, because its size depends on which agent you ask.\n\n| Benchmark | Weakest of the six | Strongest of the six | Spread |\n|---|---|---|---|\n| Our four low-popularity targets | 11% | 100% | 88 points |\n| SWE-Bench Verified | 73.4% | 80.0% | 6.6 points |\n\nAveraging over models yields one support level per language, when in practice it runs from near zero to near ceiling depending on the agent. Gu et al. establish the asymmetry; our data say it is itself agent-dependent.\n\nSecond, some frontier agents partly compensate for a thin target ecosystem rather than simply suffering it, and we can name how. We do not claim they overcome the Matthew Effect in general, only that they compensate on the interfaces we measure. They borrow a popular language to write an unpopular one. Rather than write the rare target directly, Opus 4.6 and GPT-5.4 xhigh write a program in a common host that prints it, then debug that program, where their knowledge is strong. Closing the route is expensive.\n\n| Agent, Brainfuck | Free to metaprogram | Metaprogramming forbidden | Cost |\n|---|---|---|---|\n| Opus 4.6 | 64 | 27 | **-37** |\n| GPT-5.4 xhigh | 79 | 29 | **-50** |\n\nOur cross-host experiment shows the route is not Python-specific, since JavaScript and Rust generators recover most of the gain.\n\nWe think this is a fruitful result for the line Gu et al. open, and in broader impacts it cuts both ways. A thin ecosystem is not a hard ceiling for capable agents, since it can be worked around by treating the rare language as compiler output. But doing so deepens the dependence on the popular host. The rare language survives only as generated output, while new code, tooling and idioms accumulate on the host side. That is the same effect one level up, and our data give it a mechanism rather than a correlation.\n\nWhat remains of the gap sits with the mid-tier and smaller agents, which is what Table 4 shows. The deeper problems Gu et al. raise, about framework choice and how AI assistance reshapes software evolution, are the natural next target once this language-level question is settled, and we intend to go there.\n\n**W1 / Q1. \"Per-cell total API cost and approximate wall-clock time for a full 80-problem session.\"**\n\nFair request, and we report it. We instrumented the API-level logs for the Claude-family cells, where the wrapper records per-call token usage including extended thinking. Costs use contemporaneous list prices.\n\n| Cell | Finalized | Output | Cache read | Cost at list | Active | Elapsed |\n|---|---|---|---|---|---|---|\n| Opus 4.6, Befunge-98 | 77 of 80 | 2.46M | 93.5M | about $374 | 8.9h | 34.0h |\n| Opus 4.6, Brainfuck | 75 of 80 | 2.54M | 61.1M | about $331 | 6.9h | 34.0h |\n| Sonnet 4.6, Befunge-98 | 67 of 80 | 3.84M | 86.8M | about $97 | 9.4h | 60.7h |\n| Haiku 4.5, Befunge-98 | 79 of 80 | 0.30M | 36.6M | about $6 | 1.3h | 15.5h |\n\nOutput includes extended thinking. The input side is dominated by cache reads, shown here, with cache writes of 0.7M to 3.7M per cell folded into the cost. Elapsed is wall-clock from launch to final submission, and active sums transcript gaps under five minutes. The finalized column states how many of the 80 problems each session closed, and we do not extrapolate these figures to full-session totals.\n\nThe sessions run unattended, so elapsed is not operator time and the gap between the two columns is idle. We attach these as worked examples of the instrumentation, and the appendix will carry the full set with input, output and reasoning tokens separated."+ },+ "createdAt": "2026-07-28T22:39:21.277Z",+ "modifiedAt": "2026-11-19T17:04:50.837Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=BsxB9YgeZu",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/cvo36wsezw.json added
+++ b/reviews/openreview/p4ev2indix/notes/cvo36wsezw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "CVo36WsEzW",+ "replyTo": "BsxB9YgeZu",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "**W3. \"A single persistent session in fixed forward order means early problems may bootstrap later ones.\"**\n\nOn the order itself, it is the order EsoLang-Bench defines. The dataset is four difficulty tiers of twenty problems, easy then medium, hard and extra-hard, traversed in that sequence, and every run we report uses it, across all agents, languages, ablation arms and repeats. The choice is held constant, so the between-agent comparison does not depend on it. Solved counts per tier, out of 20 each:\n\n| Cell | Easy | Medium | Hard | Extra-hard |\n|---|---|---|---|---|\n| Opus 4.6, Brainfuck | 20 | 15 | 18 | 5 |\n| Sonnet 4.6, Befunge-98 | 20 | 19 | 18 | 7 |\n| Haiku 4.5, Befunge-98 | 4 | 0 | 0 | 0 |\n| Kimi K2.5, Whitespace | 13 | 9 | 0 | 0 |\n| Sonnet 4.6, Brainfuck, +Lib warm start | 20 | 18 | 19 | 7 |\n\nThe extra-hard tier is never stronger than the easy tier in any completed cell, even though the accumulated library is largest by then, so tier difficulty dominates any bootstrapping.\n\nThe last row is a second check. +Lib is a warm start at problem one handing over exactly the machinery a session would otherwise accumulate, and it reproduces the cold-start profile rather than lifting it.\n\nOn order sensitivity we ran matched fixed-order and shuffled-order sessions on Befunge-98 for four agents. Both arms are fresh sessions under otherwise identical settings, with tier composition unchanged so only position varies.\n\n| Agent, Befunge-98 | Fixed tier order | Shuffled order | Delta |\n|---|---|---|---|\n| Opus 4.6 | 62 | 62 | 0 |\n| GPT-5.4 xhigh | 76 | 76 | 0 |\n| Sonnet 4.6 | 64 | 64 | 0 |\n| GPT-5.4 mini | 11 | 13 | +2 |\n\nTotal scores are insensitive to ordering. Three of the four land on the same total and the fourth moves by two problems, which is within the session-to-session variation we see on repeat runs.\n\nOn per-problem cold start, the protocol deliberately lets agents accumulate notes, tests and reusable code within a session, and that accumulation is the process being measured. Metaprogramming emerges reactively, for Opus 4.6 on Brainfuck at E04 after a 1,884-byte hand-written attempt fails, the trajectory you cite in your third strength. Resetting the workspace after every problem would remove that process and charge every agent the same discovery cost eighty times.\n\n**Limitations 1, 2 and 3.**\n\nWe ran the experiment that tests the first two limitations. APL is a non-esoteric, production-used, low-resource language, run on the same 80 problems and the same harness under its own interpreter. Five of the six agents were run on it; Kimi K2.5 was not. Solved out of 80:\n\n| Protocol | Haiku 4.5 | Sonnet 4.6 | Opus 4.6 | mini | xhigh |\n|---|---|---|---|---|---|\n| Zero-shot, no execution | 4 | 9 | 10 | 26 | 51 |\n| Full agentic loop | 12 | 64 | 68 | 42 | 66 |\n\nThe first limitation, that esolang success is not direct evidence about production interfaces, is answered by those two rows. With no execution these agents sit far below what they reach on the same problems in Python, and the loop recovers most of that deficit for the stronger models, Sonnet from 9 to 64 and Opus from 10 to 68. That is our central claim holding outside the esolang setting.\n\nThe second limitation asks about languages with richer ecosystems, better debuggers or more readable syntax. APL is that case, since it runs under a real interpreter that reports errors at the line, and the result above holds there anyway. We also checked whether metaprogramming itself carries over, by requiring every file to be emitted by a host-language generator:\n\n| Agent, APL | Control | Required to metaprogram | Gain |\n|---|---|---|---|\n| Haiku 4.5 | 12 | 17 | **+5** |\n| GPT-5.4 mini | 42 | 57 | **+15** |\n| GPT-5.4 xhigh | 66 | 78 | **+12** |\n| Sonnet 4.6 | 64 | 79 | **+15** |\n| Opus 4.6 | 68 | 80 | **+12** |\n\nIt pays for every agent and takes the strongest to 78 and 80 out of 80. So writing a low-resource language through a popular host raises performance on a real language and not only on the esolangs, which is the general form of the result we will claim.\n\nYour third limitation, that we do not analyse how metaprogramming-heavy success reshapes toolchain dependence, is exactly the argument we make above. Routing round a thin ecosystem concentrates the work on the popular host, so the rare language survives as generated output while the tooling and idioms grow elsewhere. We will develop that in broader impacts.\n\n**Changes to the paper**\n\n1. Gu et al. cited in related work and broader impacts, with the host-language knock-on stated as our contribution to that line.\n2. Cost and latency table reported, with the caveats above.\n3. New scope section reporting APL, with the benchmark and the metaprogramming ablation released.\n4. Shuffled-order results reported alongside the tier profiles.\n\nThe Matthew Effect framing improved the paper, and we hope the observation that some agents compensate by routing through a popular host is useful for that line of work as well as ours."+ },+ "createdAt": "2026-07-28T22:42:16.962Z",+ "modifiedAt": "2026-11-19T17:04:51.041Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=CVo36WsEzW",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/ewfr1kfk1p.json added
+++ b/reviews/openreview/p4ev2indix/notes/ewfr1kfk1p.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ewFR1KfK1P",+ "replyTo": "h3YAGiwi8p",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 1Qfu",+ "content": {+ "comment": "I read the response. I want to acknowledge where it helps and then flag what remains.\n\n**On W2:** Which property actually decides where metaprogramming helps is still not clearly identified — the authors themselves leave it as a conjecture (the \"naming of state\" idea). This only rules out my conjecture (length and fragility) as the cause when metraprogramming fails. \n\n**On my main question:** In addition, I asked if the +Lib gain can separate (a) lacking the implementation machinery from (b) lacking exposure to the target-language affordances, because the library gives both at the same time. But, the response runs no new experiment for this. It admits the point (\"the library supplies both at once, so this is evidence rather than a clean separation\") and then uses the same +Text/+Lib numbers to answer a different question: prose vs code, and which agents can run it. But using +Text as a proxy for (b) alone is also confounded, because the gap can be \"description vs code\" instead of \"exposure vs ability.\" So the core question is still open.\n\n**On presentation**: I also have to say the presentation is very bad, in both the paper and the rebuttal. I read them myself, and they are genuinely hard to follow. The rebuttal is a clear example: the Shakespeare/APL argument is a double dissociation, but the prediction is never stated, it jumps between the two languages and only says \"opposite to your account\" at the end, so the reader has to build the logic alone. The +Text table puts solved counts next to generator file counts (105 is a file count, not a score) with no label. I had to reconstruct too many of these points by myself. If a rebuttal written for reviewers is this hard to read, the paper reads the same way.\n\nGiven the above, I find it difficult to change my score."+ },+ "createdAt": "2026-08-02T07:54:22.988Z",+ "modifiedAt": "2026-11-19T17:04:50.580Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=ewFR1KfK1P",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/h3yagiwi8p.json added
+++ b/reviews/openreview/p4ev2indix/notes/h3yagiwi8p.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "h3YAGiwi8p",+ "replyTo": "sVtrpYXsQj",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the review and for the prior-work pointers, which sharpened the framing. With the discussion window closing in a few days we wanted to check in, since we have not heard back and would like to know whether our response addresses your concerns.\n\nOn novelty, Zhang et al., Voyager and CodeAct each supply the strategy by design, whereas our question is which deployed agents reach for it unprompted, and we show that supplying it to an agent that did not is largely ineffective. On the unfamiliarity confound, Shakespeare and APL form a double dissociation that points the opposite way to a length-and-fragility account. On +Lib, the experiment is a distillation result rather than a tool baseline, since the same strategy transfers only as executable code and only to models that can put it to work.\n\nWe would welcome the chance to discuss any of these while the window is open, and if they resolve the issues you raised we hope you will reconsider the score."+ },+ "createdAt": "2026-08-01T22:56:31.568Z",+ "modifiedAt": "2026-11-19T17:04:50.605Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=h3YAGiwi8p",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/jc7wu4bvju.json added
+++ b/reviews/openreview/p4ev2indix/notes/jc7wu4bvju.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "jc7wu4BvJu",+ "replyTo": "ewFR1KfK1P",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for clarifying the remaining concerns. We agree on two limits. First, the present experiments do not identify a single language property that determines when agents will discover or benefit from metaprogramming; “naming of state” remains a hypothesis. Second, +Lib does not isolate which component of executable scaffolding drives the gain: it provides both working implementation machinery and a more precise executable encoding of the target-language affordances. We will state both points directly and simplify the presentation by clearly separating scores, artifact counts, interventions, and conclusions.\n\nThese unresolved mechanisms do not, however, exhaust the paper’s contribution. The paper introduces a controlled agentic evaluation with the same tasks, hidden tests, execution loop, workspace structure, and benchmark-facing interface across six deployed agents from multiple providers and wrappers. This methodology exposes large capability differences that mainstream coding benchmarks largely compress. It also supports several direct findings: strong agents sometimes select metaprogramming without prompting; removing it causes large performance losses on Brainfuck and Befunge-98; explicitly describing the strategy makes weaker agents write generators without materially improving their scores; and executable scaffolding transfers strongly to some agents but not others.\nThe +Lib result is therefore narrower than a clean decomposition of affordance knowledge and implementation ability, but it is not merely “tools help.” +Text shows that the high-level strategy can be communicated, yet this is insufficient for successful implementation. +Lib then shows that access to the same executable scaffold is also insufficient: Sonnet and GPT-5.4 mini improve sharply, while Haiku remains near floor. The remaining question — whether this difference reflects affordance extraction, implementation, iterative debugging, or their interaction — is made concrete and experimentally tractable by the observed dissociation.\n\nThe APL results provide a preliminary external-validity check rather than a complete theory: execution produces large gains on an existing non-esoteric language, and required generator construction improves all five tested agents. This shows that the broader adaptation result and the usefulness of generator-based construction are not confined to the original esolangs, while also showing that metaprogramming is not the only form adaptation can take.\n\nA full causal taxonomy of language properties and a factorial separation of executable affordances, implementation scaffolding, and debugging ability would be a substantially broader follow-up. The present study is valuable precisely because it reveals these dissociations and makes those questions pertinent and testable. We believe the controlled methodology, causal ablations, unusual behavioural findings, and preliminary generalization together constitute a rigorous and substantive empirical contribution. We therefore respectfully ask you to reconsider whether the remaining mechanistic questions warrant the paper’s current overall reject assessment."+ },+ "createdAt": "2026-08-03T03:32:11.146Z",+ "modifiedAt": "2026-11-19T17:04:50.685Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=jc7wu4BvJu",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/lrqm9l38pf.json added
+++ b/reviews/openreview/p4ev2indix/notes/lrqm9l38pf.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "LrQM9L38pF",+ "replyTo": "Y8HQfy9RWT",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Haiku 4.5 on Befunge-98 is the clearest instance. It spent 232 of its 240 permitted submissions, wrote 232 separately hand-edited Befunge files, and never once wrote a program that emits Befunge. Every solve sits in the easy tier, zero across medium, hard and extra-hard. We see for Brainfuck, Befunge-98 esoteric languages only Opus 4.6, GPT 5.4-xhigh are able to discover the meta programming strategy unprompted while rest of the other agents fail to discover that and hence they lack in performance.\n\nMode two, the strategy is discovered and cannot be executed. Kimi K2.5 on Whitespace wrote 290 Python programs to emit Whitespace and solved 25 of 80. On Shakespeare it wrote 8 and solved 2. Kimi is not strategy-blind. It reaches for the right abstraction and cannot keep a generator correct across revisions.\n\nA second part of the audit shows how the two kinds of agent spend their budget.\n\n| Agent and language | Interpreter runs per problem | Submissions per problem | Output tokens |\n|---|---|---|---|\n| Opus 4.6, Brainfuck | 9.2 | 0.85 | 2.54M |\n| Opus 4.6, Befunge-98 | 12.8 | 0.82 | 2.46M |\n| Haiku 4.5, Befunge-98 | 1.5 | 2.90 | 0.30M |\n\nAll three ran the same forward traversal of all 80 problems under the same submission cap. The strong agent tests locally about ten times per problem and spends under one graded submission. The weak agent spends nearly its whole submission budget and emits an eighth of the output tokens, using the graded channel as its debugger instead of the interpreter. This is the same separation our interpreter-call and output-token ablations already show in the paper, stated per agent rather than as a curve.\n\nThe +Lib condition sharpens it, since all three agents receive identical files.\n\n| Agent, Brainfuck +Lib | Interpreter runs per problem | Solved |\n|---|---|---|\n| GPT-5.4 mini | 19.1 | 53 |\n| Sonnet 4.6 | 16.9 | 64 |\n| Haiku 4.5 | 0.7 | 7 |\n\nHanded the same machinery, Sonnet and mini run it seventeen to nineteen times per problem and solve 64 and 53. Haiku runs it less than once and solves 7. It also wrote 17 generators of its own on top of the library, so the failure is not unwillingness to engage. It does not execute what it writes.\n\nThe two modes call for different interventions, which is what makes the distinction actionable. Discovery failures are plausibly addressable by a strategy prior in the prompt or in post-training. Execution failures are not, and our text-versus-library asymmetry is the same result one level up.\n\n**Changes to the paper**\n\n1. New scope section reporting APL with the metaprogramming ablation, benchmark and ablation released.\n2. Appendix C restructured around the two failure modes, with the full audit across six agents and four languages.\n3. The budget-allocation table promoted from a passing remark to a reported result, since it is the measurable form of the shallow local iteration currently described only in words.\n\nWe appreciate your review, and both questions turned out to have measurable answers."+ },+ "createdAt": "2026-07-28T23:33:06.911Z",+ "modifiedAt": "2026-11-19T17:04:50.754Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=LrQM9L38pF",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/oiscc0o7g6.json added
+++ b/reviews/openreview/p4ev2indix/notes/oiscc0o7g6.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "oISCc0O7G6",+ "replyTo": "LrQM9L38pF",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you again for the positive assessment. With the discussion window closing in a few days we wanted to check in, since we have not heard back and would like to make sure our response answered what you raised.\n\nWe ran the two experiments you asked for. APL, a production-used low-resource language, on the same 80 problems and harness, which extends the result outside esolangs. And a full behavioural audit of the weaker agents that separates two distinct failure modes, never discovering the strategy versus discovering it and being unable to execute it, with the budget numbers behind each.\n\nIf those answer your questions we would be grateful if you could confirm it, and we are happy to run anything further while the discussion is open."+ },+ "createdAt": "2026-08-01T22:54:52.092Z",+ "modifiedAt": "2026-11-19T17:04:50.699Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=oISCc0O7G6",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/rl8ixfm96w.json modified
+++ b/reviews/openreview/p4ev2indix/notes/rl8ixfm96w.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair P2x2","content": {- "metareview": "The reviewers generally find this to be a carefully executed empirical study addressing an interesting question about how coding agents adapt to unfamiliar programming interfaces. They particularly appreciate the experimental design, the behavioral analyses, and the use of targeted interventions to support the paper’s central findings. The discussion centers primarily on the interpretation and generality of the observed behaviors. The rebuttal should therefore focus on clarifying the scope of the conclusions and strengthening the positioning of the work.\n\nPositive aspects noted by the reviewers\n\n* Well-designed evaluation protocol that exposes capability differences not visible on mainstream coding benchmarks.\n* Careful causal analysis demonstrating the importance of metaprogramming through targeted interventions.\n* Insightful strategy-transfer experiments showing that executable scaffolds transfer more effectively than textual guidance.\n* Clear experimental methodology with generally well-motivated analyses and discussion.\n\nPrimary issues to address during rebuttal\n\n* Clarify the extent to which the findings generalize beyond esoteric programming languages to more realistic unfamiliar programming interfaces.\n* Better position the contribution relative to prior work on metaprogramming and related coding-agent techniques, and clarify what is genuinely novel.\n* Expand the behavioral analysis of lower-performing agents to better explain the observed capability differences and failure modes.\n* Discuss additional practical considerations raised by the reviewers, including deployment cost, session ordering effects, and other factors affecting real-world applicability."+ "metareview": "The reviewers generally find this to be a carefully executed empirical study addressing an interesting question about how coding agents adapt to unfamiliar programming interfaces. They particularly appreciate the experimental design, the behavioral analyses, and the use of targeted interventions to support the paper’s central findings. The discussion centers primarily on the interpretation and generality of the observed behaviors. The rebuttal should therefore focus on clarifying the scope of the conclusions and strengthening the positioning of the work.\n\nPositive aspects noted by the reviewers\n\n* Well-designed evaluation protocol that exposes capability differences not visible on mainstream coding benchmarks.\n* Careful causal analysis demonstrating the importance of metaprogramming through targeted interventions.\n* Insightful strategy-transfer experiments showing that executable scaffolds transfer more effectively than textual guidance.\n* Clear experimental methodology with generally well-motivated analyses and discussion.\n\nPrimary issues to address during rebuttal\n\n* Clarify the extent to which the findings generalize beyond esoteric programming languages to more realistic unfamiliar programming interfaces.\n* Better position the contribution relative to prior work on metaprogramming and related coding-agent techniques, and clarify what is genuinely novel.\n* Expand the behavioral analysis of lower-performing agents to better explain the observed capability differences and failure modes.\n* Discuss additional practical considerations raised by the reviewers, including deployment cost, session ordering effects, and other factors affecting real-world applicability.",+ "final_justification": "I have read the authors’ rebuttal and the subsequent reviewer discussion. The rebuttal substantially addressed the main concerns in the initial meta-review. Two reviewers found the new evidence convincing and maintained or increased their positive scores, while one reviewer remained negative.\n\nI considered this post-rebuttal discussion in reaching my decision. Overall, I recommend acceptance, as the remaining concerns are important limitations but do not undermine the paper’s core contribution."},"createdAt": "2026-07-17T09:54:49.151Z",- "modifiedAt": "2026-11-18T15:22:11.583Z",+ "modifiedAt": "2026-11-19T05:01:19.446Z","url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=rL8ixFm96W","license": "CC-BY-4.0"}
reviews/openreview/p4ev2indix/notes/svtrpyxsqj.json added
+++ b/reviews/openreview/p4ev2indix/notes/svtrpyxsqj.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "sVtrpYXsQj",+ "replyTo": "UEVTl5diaW",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Its programs are barely a third the size of Shakespeare's and its interpreter reports errors at the line, so requiring metaprogramming should buy almost nothing. It is worth 5 to 15 problems to every agent, and takes the strongest to 78 and 80 out of 80.\n\nSo length and authoring difficulty do not track where metaprogramming pays. Across the two cases that test them, they point the wrong way.\n\nWriting a low-resource language through a popular host raises performance on real languages as well as esolangs, and that is the general form we will claim. APL also adds a fifth language, which speaks to the count you raise.\n\nWhat we can offer instead is a conjecture, and only that, about where agents reach for the strategy unprompted rather than where it pays. Brainfuck is both where they reach for it and where removing it costs most, and it is also the target that denies names to program state. A tape cell is reachable only by moving a pointer from wherever it sits, so the layout lives in the author's head and one mis-step corrupts everything after it with no local symptom, and a generator supplies the names the language withholds. We have no intervention that tests this, so it goes in the paper as a conjecture with the experiment that would settle it.\n\n**Q. \"What does the +Lib result establish beyond the expected fact that providing a relevant tool helps?\"**\n\nHanding an agent a working tool and watching it improve would be unsurprising. That is not the experiment. The library is generator primitives lifted from a stronger agent's own sessions, so +Lib asks which weaker models can absorb another model's strategy, and in what form. Both answers are selective.\n\nThe form matters. As prose, in +Text, the strategy barely moves anyone. As executable code it transforms the mid-tier agents.\n\nThe recipient matters more, and this is where your (a) and (b) come apart. All three receive byte-identical library files, verified by checksum, and identical prompts, so exposure is equalised by construction. What differs is what they do with them.\n\n| Agent, Brainfuck | Base | Interpreter runs per problem with the library | Solved with the library |\n|---|---|---|---|\n| GPT-5.4 mini | 5 | 19.1 | 53 |\n| Sonnet 4.6 | 12 | 16.9 | 64 |\n| Haiku 4.5 | 4 | 0.7 | 7 |\n\nSonnet 4.6 and GPT-5.4 mini run the library against the interpreter seventeen to nineteen times per problem. Haiku 4.5 runs it less than once, having written 17 generators of its own on top of it, so this is not unwillingness to engage. It does not execute what it writes. If (b) were binding, equalising exposure should have equalised outcomes. It did not. And +Text gives the affordance knowledge while withholding the implementation, which is (b) alone, and is worth almost nothing.\n\nThe library supplies both at once, so this is evidence rather than a clean separation. We also checked the gains are not re-runs of the library's generators: three of Haiku's seven Brainfuck solves are byte-identical to what one prints, so its real gain there is zero. On Befunge-98 nothing is a copy: Sonnet 64 to 78, mini 11 to 64, Haiku stays at 4.\n\nYour affordance framing is right and we adopt it. Khetarpal et al. argue that an agent pursuing a language-conditioned task builds a partial world model of the affordances tied to that intent, which the library externalises.\n\nSo the result is a rule about distillation, not tools. A strategy distilled from a strong agent's traces transfers only as executable code, and only to models that can put that code to work. Base score does not predict which: GPT-5.4 mini starts at 5 of 80 and Haiku 4.5 at 4, yet given the same library mini reaches 53 and Haiku 7. What separates them is holding a loop together over many turns, writing, running, reading the failure, revising which relates to long horizon problem solving of the agents as well.\n\nThis also sharpens the relation to prior work. Telling a model to metaprogram, as Zhang et al. do, changes what our weaker agents do and not what they score. Supplying working machinery, closer to Voyager and CodeAct, works only for models that can extend and debug it.\n\n**Changes to the paper**\n\n1. Section 5 restructured around the difference between invoking the strategy and being told to, crediting Zhang et al., Voyager and CodeAct, with +Lib reframed as a distillation result after Khetarpal et al.\n2. Section 3.3 presents naming of state as a conjecture with the experiment that would test it, and names long-horizon consistency as a candidate second mechanism. APL and the ablation released.\n\nThe broader point is that we do not claim to have discovered metaprogramming. This is a systematic measurement of capability differences between deployed agents, in which metaprogramming emerged unprompted as one axis of separation. We show it is unevenly distributed, only partly transferable, and that routing a low-resource target through a popular host raises performance on real languages as well as esoteric ones."+ },+ "createdAt": "2026-07-28T22:20:35.448Z",+ "modifiedAt": "2026-11-19T17:04:50.835Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=sVtrpYXsQj",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/uevtl5diaw.json added
+++ b/reviews/openreview/p4ev2indix/notes/uevtl5diaw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "UEVTl5diaW",+ "replyTo": "hnti8amK9Q",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank you for these pointers. Zhang et al., Voyager and CodeAct are the right grounding for why metaprogramming should be expected to help, and we will cite all three prominently. We adopt your affordance framing as well. One point of scope, which we will state in the paper: metaprogramming is the clearest mechanism we manipulate causally, not the complete explanation of adaptation across languages.\n\n**W1. \"The central phenomenon has been reported before... the paper's main framing is therefore incremental.\"**\n\nIn all three the strategy is supplied by the experimenter. Zhang et al. compare two imposed strategies and tell the model which to use, Voyager builds the skill library in as an architecture, CodeAct fixes executable Python as the action space. Each establishes that metaprogramming helps when supplied, which we treat as settled.\n\nOur question sits before theirs. We did not set out to study metaprogramming but to measure how frontier agents handle an unfamiliar executable interface, and it turned out to be one of the things separating them. Under a fixed prompt with no hint, which agents reach for it unaided?\n\n| Agent, Brainfuck | Base score | Generators, unprompted | +Text score | Generators under +Text |\n|---|---|---|---|---|\n| Opus 4.6 | 64 | 64 | - | - |\n| GPT-5.4 xhigh | 79 | 79 | - | - |\n| Sonnet 4.6 | 12 | 0 | 12 | 105 |\n| GPT-5.4 mini | 5 | 0 | 8 | 20 |\n| Haiku 4.5 | 4 | 0 | 3 | 15 |\n| Kimi K2.5 | 4 | 0 | 4 | 35 |\n\n+Text is the prior-work manipulation delivered as a prompt, so the last two columns are one condition, scored and then audited for behavior. A dash marks a cell we did not need, there being no reason to instruct an agent that already metaprograms.\n\nTwo things follow, neither visible in work that supplies the strategy. The first is that the strongest agents invoke it with no cue. Nothing in the prompt mentions generators, and Opus 4.6 arrives at it at E04, right after a 1,884-byte hand-written attempt fails. Discovery is not fixed per agent either. Sonnet 4.6 writes no generators on Brainfuck and solves 12, then writes them on Befunge-98 under the same protocol and solves 64.\n\nThe second is that supplying it to the others does not make them equivalent. They comply, in volume, and do not improve. Prior work sees gains from an imposed strategy where our weaker agents see none from the same one.\n\nHow they acquired it is an open question we cannot settle from behavior alone. What we can say is that it is present in some agents and absent in others, that instruction does not transfer it, and that prior work tells us it is worth having. We do not present metaprogramming as a technique we introduce, and will make that unmistakable.\n\n**W2. \"Unfamiliarity and authoring fragility remain confounded, so the broad claim is hard to generalize.\"**\n\nYou are right that unfamiliarity alone cannot explain the pattern, since all four targets are unfamiliar and the effect appears on only some. But the split is not two for and two against. What the four show:\n\n| Language | Forbidding metaprogramming | What it tells us |\n|---|---|---|\n| Brainfuck | Opus 64 to 27, xhigh 79 to 29 | large causal effect |\n| Befunge-98 | Opus 77 to 28 | large causal effect |\n| Whitespace | Opus 80 to 80 | at ceiling in both arms, cannot testify |\n| Shakespeare | Opus 72 to 67 | causal effect but not as large as Brainfuck, Befunge-98 |\n\nShakespeare is the case that matters. It carries our largest per-language spread, 2.5 to 100 percent, while forbidding metaprogramming costs Opus five problems, so something else separates agents there. We have not measured this directly, but our reading is that Shakespeare asks whether an agent can hold a long, heavily constrained output together, which is a different thing from building an abstraction.\n\nSo we took your explanation and tested it on a language outside the original four. APL is terse and its interpreter reports errors at the line, so if length and authoring difficulty were what mattered, metaprogramming should buy little there. Forbidding it would be a null by construction, since nobody uses it on APL, so we required every file to come from a generator instead.\n\n| Agent, APL | Control | Required to metaprogram | Gain |\n|---|---|---|---|\n| Haiku 4.5 | 12 | 17 | **+5** |\n| GPT-5.4 mini | 42 | 57 | **+15** |\n| GPT-5.4 xhigh | 66 | 78 | **+12** |\n| Sonnet 4.6 | 64 | 79 | **+15** |\n| Opus 4.6 | 68 | 80 | **+12** |\n\nPut the two cases side by side and they point the opposite way to your account.\n\nShakespeare is the long, convention-heavy one. Its programs have the largest median size of the four, five times Brainfuck's, and every variable is a character who has to be on stage before it can be assigned. If length and authoring difficulty were what mattered, forbidding metaprogramming there should cost more than anywhere else in the benchmark. It costs Opus five problem out of 80.\n\nAPL is the opposite kind of target."+ },+ "createdAt": "2026-07-28T22:20:09.450Z",+ "modifiedAt": "2026-11-19T17:04:51.020Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=UEVTl5diaW",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/y8hqfy9rwt.json added
+++ b/reviews/openreview/p4ev2indix/notes/y8hqfy9rwt.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Y8HQfy9RWT",+ "replyTo": "413q1uhEWA",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank you for a careful reading. One point of scope first, which we will state in the paper: metaprogramming is the clearest mechanism we manipulate causally, not the complete explanation of how agents adapt across languages. Both questions ask for measurements, and we answer both below.\n\n**W1 / Q1. \"The practical implications would be much stronger if at least one realistic low-resource language were evaluated.\"**\n\nWe agree, and we ran it. APL is a non-esoteric, production-used, low-resource language, a real array language under its own interpreter, run on the same 80 problem statements, the same six hidden tests, the same harness and the same isolated workspaces. We also ran a condition with no execution at all.\n\nSolved out of 80. Every cell is a complete, fully graded session.\n\n| Protocol | Haiku 4.5 | Sonnet 4.6 | Opus 4.6 | mini | xhigh |\n|---|---|---|---|---|---|\n| Zero-shot, no execution | 4 | 9 | 10 | 26 | 51 |\n| Full agentic loop | 12 | 64 | 68 | 42 | 66 |\n\nThree points follow.\n\nFirst, APL is a genuinely low-ecosystem target and not a soft one. With no execution every agent scores poorly, frontier and weak alike, on problems where the same agents are near ceiling in Python. We do not read that row as isolating unfamiliarity, since it also reflects task difficulty, model priors and the absence of any feedback, but the contrast with Python on identical problems is large.\n\nSecond, the agents do not know APL any better at the end of a session than at the start. They have found out how it behaves by running it, and that is what the difference between the two APL rows measures. One example shows the kind of thing being learned. GNU APL accepts a branch label only inside a defined function, and the Claude models place labels at the top level of a script, where they fail. The documentation does not say this and no amount of prior knowledge supplies it, but a single execution reveals it. Recovering from errors of that kind is what the loop buys, and it is the paper's claim holding on a real language.\n\nThird, we can see how they learn it. They test the language in small pieces, running a snippet to see what comes back before committing to a solution. GPT-5.4 xhigh did this on 79 of the 83 occasions it ran anything outside the harness, and GPT-5.4 mini left eleven small test files behind, each named after the feature it was checking. On Brainfuck agents build a compiler to get the language under control. On APL they run experiments instead. The habit is the same and only the tool changes.\n\nThe capability therefore transfers to a realistic low-resource language, and the form it takes is set by the target.\n\nWe also checked whether metaprogramming itself carries over, by rerunning the same 80 problems with one change, that every file had to be emitted by a host-language generator. Requiring metaprogramming and observing gains is the manipulation Zhang et al. already ran, and we do not offer it as new, but it settles whether the strategy is worth anything on a real language:\n\n| Language | Agent | Without metaprogramming | With metaprogramming | Gain |\n|---|---|---|---|---|\n| Brainfuck | Opus 4.6 | 27 | 64 | **+37** |\n| Brainfuck | GPT-5.4 xhigh | 29 | 79 | **+50** |\n| APL | Haiku 4.5 | 12 | 17 | **+5** |\n| APL | GPT-5.4 mini | 42 | 57 | **+15** |\n| APL | GPT-5.4 xhigh | 66 | 78 | **+12** |\n| APL | Sonnet 4.6 | 64 | 79 | **+15** |\n| APL | Opus 4.6 | 68 | 80 | **+12** |\n\nIt pays on a real language too, and takes the strongest agents to 78 and 80 out of 80.\n\nThe remaining constraints are structural. Proprietary DSLs cannot be released, so results on them are unreproducible, and an invented DSL forfeits the realism being asked for. Lean, Coq and Dafny need a different protocol, since correctness there is discharged by the same tool the agent uses. TPU kernels need accelerator hardware in the grading loop.\n\n**W2 / Q2. \"Whether Haiku and Kimi attempt metaprogramming at all and fail to execute it, or whether they never discover the strategy in the first place.\"**\n\nWe ran the audit. Coding every session by the artifacts it leaves and by how it spends its budget, two failure modes separate cleanly, and they call for different remedies.\n\nMode one, the strategy is never discovered. These agents author the target language directly for the entire session.\n\n| Agent and language | Solved / 80 | Files of target-language source | Python programs written to emit it |\n|---|---|---|---|\n| Haiku 4.5, Befunge-98 | 4 | 232 | 0 |\n| Sonnet 4.6, Brainfuck | 12 | 25 | 0 |\n| Kimi K2.5, Brainfuck | 4 | 74 | 0 |\n| GPT-5.4 mini, Brainfuck | 5 | 134 | 0 |\n| Opus 4.6, Brainfuck (reference) | 64 | 105 | 67 |"+ },+ "createdAt": "2026-07-28T23:30:41.738Z",+ "modifiedAt": "2026-11-19T17:04:50.781Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=Y8HQfy9RWT",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/yolbolkmmq.json added
+++ b/reviews/openreview/p4ev2indix/notes/yolbolkmmq.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "yolBOlKMMq",+ "replyTo": "oISCc0O7G6",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer sJPt",+ "content": {+ "title": "Rebuttal Response",+ "comment": "Thank you for the thorough rebuttal. Running two new full experiments rather than reanalyzing existing data is helpful, and both results strengthen the paper.\n\nThe APL experiment addresses my main concern about generalization beyond esolangs. Using the same 80 problems, same hidden tests, and same harness on a real, low-resource language makes the comparison clean, and the metaprogramming ablation replicating on APL (with gains across all five agents) shows the effect is not an artifact of esolang syntax quirks. I noticed the zero-shot row shows GPT-5.4 mini and xhigh scoring higher than Sonnet 4.6 and Opus 4.6, which is a bit surprising given the ordering elsewhere in the paper, but this does not affect the core causal claim, which rests on the full agentic loop rather than the zero-shot condition. I'd suggest a brief mention of this in the final version simply so readers do not stumble on it.\n\nThe failure mode audit is the stronger of the two additions. Coding sessions by concrete artifacts (target-language files versus host-language generator files written) is a much more rigorous way to separate \"never discovered the strategy\" from \"discovered it but could not execute it\" than the qualitative trace descriptions in the original submission. The +Lib condition is particularly convincing here. Haiku writing 17 of its own generators while running the provided library less than once per problem on average is strong evidence that the bottleneck is execution rather than unwillingness or lack of strategic awareness. The budget allocation table (interpreter runs, submissions, output tokens) makes this concrete and measurable rather than descriptive.\n\nBoth weaknesses I raised were given direct empirical answers rather than argued around. I am keeping my positive rating at 5 (Accept), and raising my confidence from 3 to 4, since the new experiments resolve the two main gaps in evidence I had going into the review."+ },+ "createdAt": "2026-08-02T17:54:48.875Z",+ "modifiedAt": "2026-11-19T17:04:50.552Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=yolBOlKMMq",+ "license": "CC-BY-4.0"+}
reviews/openreview/p4ev2indix/notes/yxhoyuwppm.json added
+++ b/reviews/openreview/p4ev2indix/notes/yxhoyuwppm.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "YxHoyUwpPm",+ "replyTo": "CVo36WsEzW",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the detailed review. With the discussion window closing in a few days we wanted to check in, since we have not heard back and would like to confirm our response answered the points you raised.\n\nWe addressed all three points. The Matthew Effect of AI Programming Assistants is now central to related work and broader impacts, and we push one step past it by showing the low-ecosystem disadvantage is itself agent-dependent and that some agents compensate by routing through a popular host. We report per-cell cost and wall-clock time. And we ran matched fixed-order and shuffled-order sessions on Befunge-98, where three of four agents land on the same total and the fourth moves by two.\n\nIf these resolve the weaknesses you raised we would be glad if you would consider that in your score, and we are available for any further questions during the discussion."+ },+ "createdAt": "2026-08-01T22:56:15.088Z",+ "modifiedAt": "2026-11-19T17:04:50.648Z",+ "url": "https://openreview.net/forum?id=P4Ev2InDix¬eId=YxHoyUwpPm",+ "license": "CC-BY-4.0"+}