paper-with-me

Papers

Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages

2026-06-09 · Aman Sharma, Sushrut Thorat, Paras Chopra arxiv

LLM-based coding agents are usually evaluated in familiar software settings: mainstream languages, common libraries, and public repositories. These benchmarks remain important, but they can hide how agents behave when the language itself is unfamiliar. We evaluate six contemporary coding agents on four esoteric programming languages using a sequential setup with file editing, local execution, and hidden-test grading. Our protocol exposes capability differences between these agents that mainstream coding and agentic benchmarks such as SWE-Bench Verified and Terminal-Bench 2.0 compress into much narrower bands. We observe that the strongest agents, Claude Opus 4.6 and GPT-5.4 xhigh, often avoid writing the target language directly. On Brainfuck and Befunge-98, they write Python programs that generate target-language code and debug those generators locally. Forbidding this metaprogramming strategy causes large performance drops. Text guidance distilled from this strategy does not materially improve weaker agents. In contrast, Opus-derived Python helper code for building generators, with no solved benchmark programs or hidden-test answers, sharply improves Sonnet 4.6 and GPT-5.4 mini on the same problems, while Haiku 4.5 remains low. More interpreter calls and output tokens improve stronger agents but leave weaker agents near their original performance, indicating that these resources amplify useful strategies rather than create them. Together, these results show that strong coding agents adapt to unfamiliar languages by using tools, feedback, and workspace state to build a working model of the target language. Metaprogramming is the clearest case, but the broader gap is constructing and debugging a strategy that works under the target language's rules.

📄 PDF Abstract BibTeX arXiv:2606.10933

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Benchmarking LLM Code Generation for Audio Programming with Visual Dataflow Languages

2024-09-01 · William Zhang, Maria Leon, Ryan Xu, Adrian Cardenas 외

Node-based programming languages are increasingly popular in media arts coding domains. These languages are designed to be accessible to users with limited coding experience, allowing them to achieve creative output with…

BenchmarkingCode Generation

Predicting Decisions of AI Agents from Limited Interaction through Text-Tabular Modeling

2026-05-12 · Eilam Shapira, Moshe Tennenholtz, Roi Reichart arxiv

AI agents negotiate and transact in natural language with unfamiliar counterparts: a buyer bot facing an unknown seller, or a procurement assistant negotiating with a supplier. In such interactions, the counterpart's LLM…

General Agent Evaluation

2026-02-26 · Elron Bandel, Asaf Yehudai, Lilach Eden, Yehoshua Sagron 외 arxiv

General-purpose agents perform tasks in unfamiliar environments without domain-specific manual customization. Yet no study has systematically measured how agent architecture shapes performance across heterogeneous protoc…

SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions

2026-06-29 · Mohit Raghavendra, Anisha Gunjal, Aakash Sabharwal, Yunzhong He hf

We introduce SWE-Interact, a new testbed for evaluating coding agents on multi-turn, interactive, user-driven software engineering tasks. Existing frontier SWE benchmarks typically provide complete requirements upfront a…

FrontierSmith: Synthesizing Open-Ended Coding Problems at Scale

2026-05-14 · Runyuan He, Qiuyang Mang, Shang Zhou, Kaiyuan Liu 외 arxiv

Many real-world coding challenges are open-ended and admit no known optimal solution. Yet, recent progress in LLM coding has focused on well-defined tasks such as feature implementation, bug fixing, and competitive progr…