CA2: Code-Aware Agent for Automated Game Testing

Valliappan Chidambaram Adaikkappan, Vincent Martineau, Joshua Romoff, David Meger
5/13/2026
cs.SEcs.LG
rl

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{adaikkappan2026ca,
  title  = {CA2: Code-Aware Agent for Automated Game Testing},
  author = {Valliappan Chidambaram Adaikkappan and Vincent Martineau and Joshua Romoff and David Meger},
  year   = {2026},
  eprint = {2605.13918},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.13918v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.13918.svg)](https://codeofpaper.com/paper/2605.13918)

Discussion