Introduction
Coding agents are often judged by whether a proposed change passes a repository’s tests. That measure can miss a harder requirement: software must also work inside the program that hosts it. For game mods, success may depend on runtime state, lifecycle events, host-specific conventions, and other mods loaded alongside the code. GameSWE is designed to test that gap by evaluating submissions in live game environments rather than relying only on local checks.
Key findings
- A benchmark built from real mod ecosystems. GameSWE includes 150 repair and construction tasks based on open-source mods for 12 popular games, spanning five programming languages.
- Testing takes place in the host runtime. Each submission is compiled and loaded into the real game or its dedicated server together with the pinned third-party mods it requires. Evaluation uses fail-to-pass and pass-to-pass tests, without mocks or LLM judges.
- Results vary substantially across agents and games. Among seven frontier and open-weight models, the top agent resolves 69.0% of tasks. Three models remain at or below 25.0%. Even the leading agent’s success rate ranges from 40.0% to 93.3% across individual games.
- Agent confidence is not a reliable proxy for execution. Of unresolved attempts, 70.0% end with the agent submitting its work as complete. In at least 31.0% of unresolved attempts, agents report that their own checks pass, yet the submission fails in the live runtime.
The reported failures cluster around the interface between a code change and its host. An agent may rely on an interface the ecosystem does not provide, overlook conventions that are not evident from the code alone, or write logic that never connects to the game’s lifecycle. These are integration failures: a patch can appear plausible, and may even pass the checks an agent chooses to run, without behaving correctly once the game loads it and its relevant events occur.
Why it matters—and what it does not show
GameSWE broadens the question asked by coding-agent evaluations. Instead of measuring only whether a repository change satisfies tests in isolation, it checks whether the change survives compilation, dependency loading, and execution in its intended host. That makes the benchmark useful for studying a class of engineering work where correctness depends on context outside the edited files. It also offers a reproducible way to investigate where agents’ assumptions about APIs, host conventions, or lifecycle wiring break down.
The results should be read within the benchmark’s scope: its task set, games, languages, and seven evaluated models. They do not establish how agents perform across all software engineering work. The wide spread in per-game rates also cautions against treating a single aggregate score as a complete picture. Still, the findings point to a practical evaluation principle: for software that runs inside a larger system, agents need to be tested where that software actually runs, and their own reports of success should not substitute for runtime evidence.
Source: Hugging Face Daily Papers
Comments
Checking sign-in status...
Loading comments...