cs.CLFeb 23, 2026

CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problems

Authors: Wanyong Feng, Alexander Scarlatos, Ruochen Sun, Andrew Lan

Organizations: University of Massachusetts Amherst · Independent Researcher

Abstract

Existing Computerized Adaptive Testing (CAT) frameworks typically select questions based on the predicted likelihood that the student will answer correctly. This design ignores information contained in students' open-ended responses, especially in domains such as programming education, where code structures and bugs contain rich information on student knowledge. In this work, we propose Code GENerative CAT (CodeGENCAT), a generative CAT framework that selects questions using predicted student code responses. First, we develop a Generative Item Response Theory (GIRT) model that generates code responses conditioned on estimated student knowledge, trained with supervised fine-tuning followed by direct preference optimization for knowledge-response alignment. Second, we introduce three question-selection algorithms that measure uncertainty, coding style diversity, and information from predicted student code responses. Experiments on two real-world programming education datasets show that CodeGENCAT outperforms all CAT baselines, achieving an AUC improvement of up to 4.32% over the strongest baseline in the early stages of adaptive testing.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AgentCAT: Simulating Computerized Adaptive Testing via Multi-Agent Large Language Models

    Jun 20, 2026Weiyuan Zhou, Haiping Ma, Xiaoshan Yu +3Multi-Agent LLM SystemsEducational Assessment

  2. ACE-TA: An Agentic Teaching Assistant for Grounded Q&A, Quiz Generation, and Code Tutoring

    Feb 20, 2026Himanshu Tripathi, Charlottee Crowell, Kaley Newlin +3Intelligent Tutoring SystemsGenerative AI in Education

  3. CODE-GEN: A Human-in-the-Loop RAG-Based Agentic AI System for Multiple-Choice Question Generation

    Apr 5, 2026Xiaojing Duan, Frederick Nwanganga, Chaoli WangGenerative AI in EducationHuman-in-the-Loop AI