My Code Weapon: Adaptive Problem Recommendation and Knowledge Retention Scheduling in AI-assisted Programming Education
Open Access
- 28 June 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 550-554
Abstract
Learning competitive programming and advanced data structures presents a significant challenge for students due to the high cognitive load and the need for long-term concept retention. Traditional online judge platforms provide a static, one-size-fits-all experience that fails to adapt to individual student skill levels or address the exploration-exploitation tradeoff inherent in learning. In this paper, we introduce MyCodeWeapon, a novel learning platform that provides a personalized and adaptive educational environment for competitive programming. MyCodeWeapon integrates three algorithmic components: (1) a dynamic difficulty calibration model using an Elo rating system with an adaptive K-factor to jointly estimate student ability and problem difficulty; (2) a contextual multi-armed bandit based on Thompson Sampling for adaptive problem recommendation that balances exploration of new topics with exploitation of existing skills; and (3) a spaced repetition scheduler inspired by the FSRS algorithm to promote long-term concept retention. We describe the architecture of the MyCodeWeapon platform---built on Next.js, Supabase, and Judge0---and report a pilot study showing that the adaptive group achieved higher post-test scores, attempted more problems, and demonstrated greater learning efficiency. This work aims to demonstrate a more effective and engaging paradigm for scaling programming education.Keywords
Funding Information
- Singapore Ministry of Education Academic Research Fund (MOE-T2EP20224-0009) (MOE-T2EP20224-0009)
- NTU Startup Fund (-)
This publication has 13 references indexed in Scilit:
- Future-Proofing Programmers: Optimal knowledge tracing for artificial intelligence-assisted personalized education [Special Issue on Artificial Intelligence for Education: A Signal Processing Perspective]IEEE Signal Processing Magazine, 2026
- From Code Generation to Software Testing: AI Copilot With Context-Based Retrieval-Augmented GenerationIEEE Software, 2025
- Aligning Crowd-Sourced Human Feedback for Reinforcement Learning on Code Generation by Large Language ModelsIEEE Transactions on Big Data, 2024
- Knowledge Tracing: A SurveyACM Computing Surveys, 2023
- A Stochastic Shortest Path Algorithm for Optimizing Spaced Repetition Scheduling2022
- Combining Difficulty Ranking with Multi-Armed Bandits to Sequence Educational Content2018
- A Survey on Online Judge Systems and Their ApplicationsACM Computing Surveys, 2018
- Applications of the Elo rating system in adaptive educational systemsComputers & Education, 2016
- One hundred years of forgetting: A quantitative description of retention.Psychological Review, 1996
- The role of deliberate practice in the acquisition of expert performance.Psychological Review, 1993