GameSWE: Evaluating Coding Agents in Live Game Runtimes

Hui Shen, Zhihan Liu, Xingzhi Li, Sihan Xu, Yifei Zuo, Wenhao Chai, Jisen Li, Zhuoran Yin and 65 others

University of Michigan · Touchstone AI · Northwestern University · Princeton University · UIUC · Carnegie Mellon University

Published November 29, 2026 · on the feed December 3, 2026 · ▲ 14 · arXiv 2611.39516

Code & softwareAgents3D, worlds & games Full code arXiv ↗Hugging Face ↗

The abstract

Coding agents are increasingly evaluated on repository-level tasks, where a change is judged by the repository's own tests. Yet much software runs inside a live host program, where correctness depends on runtime state, lifecycle events, and third-party components loaded alongside it. We introduce GameSWE, a benchmark of 150 repair and construction tasks built from open-source mods for 12 popular games across five programming languages. Each submission is compiled, loaded into the real game or its dedicated server together with the pinned third-party mods it depends on, and judged by fail-to-pass and pass-to-pass tests executed in the live runtime, without mocks or LLM judges. Across seven frontier and open-weight models, the best agent resolves 69.0% of tasks while three models remain at or below 25.0%, and even the best agent's per-game rate ranges from 40.0% to 93.3%. Our analysis shows that 70.0% of unresolved attempts end with the agent submitting its work as complete, and in at least 31.0% the agent reports that its own checks pass, yet the submission fails in the runtime, with failures concentrated at the boundary between code and host: interfaces the ecosystem does not provide, host conventions beyond the code, and logic not connected to the game's lifecycle. GameSWE provides a reproducible testbed for coding agents whose code must work where it runs.

The Brief

2:31

A short podcast summary of the paper. Written and voiced by AI.

Transcript

GameSWE. Evaluating Coding Agents in Live Game Runtimes. By Hui Shen and seventy-two others, from the University of Michigan, Touchstone AI, and twenty other institutions. Published on the twenty-ninth of November.

Coding agents are increasingly judged on repository-level tasks, where a change passes or fails by the repository's own tests. A great deal of software, though, does not live on its own. It runs inside a live host program, and whether it is correct depends on things a repository's tests never see: the runtime state, lifecycle events, and third-party components loaded alongside it. A change can pass every test in its repository and still fail the moment the host loads it. Benchmarks scored by repository tests alone cannot see that kind of failure, because the host is not part of what they run.

GameSWE measures whether an agent's code works where it actually runs. Its setting is game modding. The benchmark holds one hundred and fifty tasks, some repairing existing code and some constructing new features, drawn from open-source mods for twelve popular games and spanning five programming languages.

Every submission is compiled and then loaded into the real game, or into its dedicated server, together with the pinned third-party mods it depends on. It is judged by fail-to-pass and pass-to-pass tests executed inside that live runtime. There are no mocks, and no LLM judges. Nothing about the host is simulated or stubbed out, and no model is asked whether the code looks right. Because the pinned mods are loaded too, the code meets the same neighbours it would meet in real use, and the verdict comes from the running game rather than from anyone's opinion of the code.

Seven frontier and open-weight models were tested. The best agent resolves sixty-nine percent of the tasks, while three models stay at or below twenty-five percent. Even for the best agent, the success rate swings widely from game to game, from forty percent up to ninety-three point three percent. So the spread between models is wide, and the spread across games for a single model is wide as well.

The failures have a telling pattern. Seventy percent of unresolved attempts end with the agent submitting its work as complete. In at least thirty-one percent, the agent reports that its own checks pass, and yet the submission fails in the runtime. The failures concentrate at the boundary between code and host. They involve interfaces the ecosystem does not provide, host conventions that lie beyond the code itself, and logic that is never connected to the game's lifecycle.

An agent confident in its own checks, failing where the code meets the host, is precisely the case that tests confined to the repository cannot catch. GameSWE offers a reproducible testbed for that case: coding agents whose code has to work where it runs.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.