CoToan: Executable Rules and a Representation Contract for Reproducible Game AI Evaluation
Organizations: College of Engineering and Computer Science, VinUniversity, Hanoi, Vietnam
Abstract
Game AI results are comparable only when different implementations expose the same decision problem. Yet seemingly minor representation choices can silently change that problem by altering action probabilities or collapsing states with different outcomes. We study this issue through CoToan, an executable specification and representation contract for Vietnamese Mathematical Chess connecting the Game Description Language (GDL) with OpenSpiel. The game provides a useful case because a single capture may have multiple arithmetic justifications, while outcomes can depend on scoring rules and a finite playing horizon. CoToan therefore represents actions by their state transitions rather than by arithmetic witnesses, and treats time and victory configuration as part of task identity. Cross-representation tests show agreement in legal actions, successor states, and terminal outcomes across hundreds of sampled and constructed positions, complemented by exhaustive checks of all 32 operator masks and 512 opposing-material subsets. Controlled diagnostics further show that uniform witness-level sampling alters endpoint-action probabilities, while omitting remaining time or victory settings can merge states with different terminal behavior. These results show that action semantics, time, and victory configuration are not merely implementation details. They are part of the experimental task itself and must be represented explicitly for reproducible game AI.
Figures & tables
| Operation | Distance from support | Guard |
|---|---|---|
| Addition | Always | |
| Subtraction | ||
| Multiplication | Always | |
| Division | ||
| Remainder |
| Check | Scope | Result |
|---|---|---|
| Unit tests | 41 tests | Passed |
| Independent move predicate | 600 positions; 59707 legal-action instances | No mismatch |
| Symmetry and snapshots | 600 positions | No mismatch |
| GDL legality and outcomes | 70 positions | No mismatch |
| GDL successor facts | 66 transitions | No mismatch |
| Arithmetic facts | 90 value pairs | No mismatch |
AI Agent Evaluation
AI agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently across interactive settings.
See all 521 papers