mlsanityData to 14 Oct 2026

CA2: Code-Aware Agent for Automated Game Testing

arXiv 2605.13918 ↗First posted 13 May 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Automated game testing is important for verifying game functionality, but it remains a costly and time-consuming process. Manual testing often misses edge cases, and current automated methods struggle to provide full code coverage. Prior work has explored reinforcement learning (RL) for game testing, but without leveraging internal code signals such as the call stack. We present Code Aware Agent (CA2), which uses call stack information to learn effective testing strategies. The agent receives the current function call trace along with the game state and learns to reach specific target functions. We instrument two types of environments, 1) State-based and 2) Image-based, with support for efficient call stack extraction. Through experimental evaluation, we find that CA2 achieves consistent improvement over the non-code aware baselines, which does not leverage call stack information. Our results show that incorporating code signals like the call stack enables more effective and targeted game testing.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 33 references that are in the map. First posted on arXiv 13 May 2026.

Builds on

26 of 33 references.

References · 26

  1. 2016Layer Normalizationcited by 5,669
  2. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  3. 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
  4. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  5. 2016OpenAI Gymcited by 1,736
  6. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  7. 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,293
  8. 2023Mastering Diverse Domains through World Modelscited by 1,253
  9. 2021A Minimalist Approach to Offline Reinforcement Learningcited by 899
  10. 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 610
  11. 2022Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videoscited by 345
  12. 2019Learning Latent Plans from Playcited by 316
14 more
  1. 2021Benchmarking the Spectrum of Agent Capabilitiescited by 200
  2. 2023STEVE-1: A Generative Model for Text-to-Behavior in Minecraftcited by 97
  3. 2024Scaling Instructable Agents Across Many Simulated Worldscited by 71
  4. 2024CivRealm: A Learning and Reasoning Odyssey in Civilization for Decision-Making Agentscited by 42
  5. 2021Augmenting Automated Game Testing with Deep Reinforcement Learningcited by 38
  6. 2021Improving Playtesting Coverage via Curiosity Driven Reinforcement Learning Agentscited by 28
  7. 2021A Survey of Video Game Testingcited by 18
  8. 2023Technical Challenges of Deploying Reinforcement Learning Agents for Game Testing in AAA Gamescited by 12
  9. 2022Automated Play-Testing Through RL Based Human-Like Play-Styles Generationcited by 11
  10. 2021GLIB: Towards Automated Test Oracle for Graphically-Rich Applicationscited by 9
  11. 2022Inspector: Pixel-Based Automated Game Testing via Exploration, Detection, and Investigationcited by 7
  12. 2025Leveraging LLM Agents for Automated Video Game Testingcited by 5
  13. 2021Godot Reinforcement Learning Agentscited by 4
  14. 2024Robust Imitation Learning for Automated Game Testingcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Synergizing Code Coverage and Gameplay Intent: Coverage-Aware Game Playtesting with LLM-Guided Reinforcement Learning
  2. 2019Automated Video Game Testing Using Synthetic and Human-Like Agents
  3. 2026A2Z GameSpec-Bench: How Faithfully Can Coding Agents Generate Games from Game Design Specifications?
  4. 2026GameLogicBench: Evaluating Coding Agents on Runtime Game Logic with Tick-Level State Assertions
  5. 2025Learning Game-Playing Agents with Generative Code Optimization
  6. 2022Towards Informed Design and Validation Assistance in Computer Games Using Imitation Learning
  7. 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation
  8. 2024Requirement-Based Testing: Enhancing Reinforcement Learning with Game Theory