mlsanityData to 14 Oct 2026

Play to Grade: Testing Coding Games as Classifying Markov Decision Process

arXiv 2110.14615 ↗First posted 27 Oct 2021cs.AI cs.CY cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Contemporary coding education often presents students with the task of developing programs that have user interaction and complex dynamic systems, such as mouse based games. While pedagogically compelling, there are no contemporary autonomous methods for providing feedback. Notably, interactive programs are impossible to grade by traditional unit tests. In this paper we formalize the challenge of providing feedback to interactive programs as a task of classifying Markov Decision Processes (MDPs). Each student's program fully specifies an MDP where the agent needs to operate and decide, under reasonable generalization, if the dynamics and reward model of the input MDP should be categorized as correct or broken. We demonstrate that by designing a cooperative objective between an agent and an autoregressive model, we can use the agent to sample differential trajectories from the input MDP that allows a classifier to determine membership: Play to Grade. Our method enables an automatic feedback system for interactive code assignments. We release a dataset of 711,274 anonymized student submissions to a single assignment with hand-coded bug labels to support future research.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 19 of its 51 references that are in the map. First posted on arXiv 27 Oct 2021.

Builds on

19 of 51 references.

References · 19

  1. 2013Auto-Encoding Variational Bayescited by 4,053
  2. 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,194
  3. 2016Pixel Recurrent Neural Networkscited by 816
  4. 2018Diversity is All You Need: Learning Skills without a Reward Functioncited by 752
  5. 2015Deep Knowledge Tracingcited by 332
  6. 2019Go-Explore: a New Approach for Hard-Exploration Problemscited by 212
  7. 2015Variational Information Maximisation for Intrinsically Motivated Reinforcement Learningcited by 144
  8. 2017Trial without Error: Towards Safe Reinforcement Learning via Human Interventioncited by 103
  9. 2020Plannable Approximations to MDP Homomorphisms: Equivariance under Actionscited by 61
  10. 2019Learning Human Objectives by Evaluating Hypothetical Behaviorcited by 41
  11. 2021Improving Playtesting Coverage via Curiosity Driven Reinforcement Learning Agentscited by 28
  12. 2015Learning Program Embeddings to Propagate Feedback on Student Codecited by 19
7 more
  1. 2018Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inferencecited by 16
  2. 2016Automated Correction for Syntax Errors in Programming Assignments using Recurrent Neural Networkscited by 13
  3. 2017The Continuous Hint Factory - Providing Hints in Vast and Sparsely Populated Edit Distance Spacescited by 12
  4. 2019Automated Essay Scoring based on Two-Stage Learningcited by 12
  5. 2019Improving Safety in Reinforcement Learning Using Model-Based Architectures and Human Interventioncited by 8
  6. 2018Taking the Scenic Route: Automatic Exploration for Videogamescited by 6
  7. 2019Reliable Deep Grade Prediction with Uncertainty Estimationcited by 3

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 0; 2024: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026CA2: Code-Aware Agent for Automated Game Testing
  2. 2026GameLogicBench: Evaluating Coding Agents on Runtime Game Logic with Tick-Level State Assertions
  3. 2026A Dataset for Modeling Iterative Problem-Solving
  4. 2019Automated Video Game Testing Using Synthetic and Human-Like Agents
  5. 2026Agent psychometrics: Task-level performance prediction in agentic coding benchmarks
  6. 2026SWE-Together: Evaluating Coding Agents in Interactive User Sessions
  7. 2026Agent trajectories as programs: fingerprinting and programming coding-agent behavior
  8. 2026GUI Agents for Continual Game Generation