Data-Driven Hint Generation in Vast Solution Spaces: a Self-Improving Python Programming Tutor
Open accessThe DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
To provide personalized help to students who are working on code-writing problems, we introduce a data-driven tutoring system, ITAP (Intelligent Teaching Assistant for Programming). ITAP uses state abstraction, path construction, and state reification to automatically generate personalized hints for students, even when given states that have not occurred in the data before. We provide a detailed description of the system’s implementation and perform a technical evaluation on a small set of data to determine the effectiveness of the component algorithms and ITAP’s potential for self-improvement. The results show that ITAP is capable of producing hints for almost any given state after being given only a single reference solution, and that it can improve its performance by collecting data over time.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Anderson, J. R., Boyle, C. F., & Reiser, B. J. (1985) · Science · doi:10.1126/science.228.4698.456 · Cited by 3,119
The Behavior of Tutoring Systems
VanLehn, K. (2006) · International Journal of Artificial Intelligence in Education · doi:10.3233/irg-2006-16(3)02 · Cited by 749
Skill Acquisition and the LISP Tutor
Anderson, J. R., Conrad, F. G., & Corbett, A. T. (1989) · Cognitive Science · doi:10.1207/s15516709cog1304_1 · Cited by 386
Automated feedback generation for introductory programming assignments
Singh, R., Gulwani, S., & Solar-Lezama, A. (2013) · Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2491956.2462195 · Cited by 383
Corbett, A. T., & Anderson, J. R. (2001) · Proceedings of the SIGCHI Conference on Human Factors in Computing Systems · doi:10.1145/365024.365111 · Cited by 280 · cited 1×
“…personalized feedback such as next-step hints is an integral and highly beneficial aspect of intelligent tutoring system design, as was originally demonstrated with the Lisp tutor, which showed that greater control over feedback options led to more efficient learning (Corbett and Anderson 2001).”
Background37 Million Compilations: Investigating Novice Programming Mistakes in Large-Scale Student Data
Altadmri, A., & Brown, N. C. C. (2015) · Proceedings of the 46th ACM Technical Symposium on Computer Science Education · doi:10.1145/2676723.2677258 · Cited by 261
Corbett, A. T., Koedinger, K. R., & Anderson, J. R. (1997) · Handbook of Human-Computer Interaction · doi:10.1016/b978-044481862-1.50103-5 · Cited by 210
Self-citationToward Automatic Hint Generation for Logic Proof Tutoring Using Historical Student Data
Barnes, T. M., & Stamper, J. C. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-69132-7_41 · Cited by 147
Autonomously Generating Hints by Inferring Problem Solving Policies
Piech, C., Sahami, M., Huang, J., & Guibas, L. (2015) · Proceedings of the Second (2015) ACM Conference on Learning @ Scale · doi:10.1145/2724660.2724668 · Cited by 138
A Response-Time Model for Bottom-Out Hints as Worked Examples
Shih, B., Koedinger, K., & Scheines, R. (2010) · Chapman & Hall/CRC Data Mining and Knowledge Discovery Series · doi:10.1201/b10274-17 · Cited by 123
Self-citation
Cited by
Students’ Misconceptions and Other Difficulties in Introductory Programming: A Literature Review
Qian, Y., & Lehman, J. (2018) · ACM Transactions on Computing Education · doi:10.1145/3077618 · Cited by 529
Introductory programming: a systematic literature review
Luxton-Reilly, A., Simon, Albluwi, I., Becker, B. A., Giannakos, M., Kumar, A. N., Ott, L., Paterson, J., Scott, M. J., Sheard, J., et al. (2018) · Proceedings Companion of the 23rd Annual ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3293881.3295779 · Cited by 485
Hinojo-Lucena, F.-J., Aznar-Díaz, I., Cáceres-Reche, M.-P., & Romero-Rodríguez, J.-M. (2019) · Education Sciences · doi:10.3390/educsci9010051 · Cited by 400
“Artificial intelligence applied to higher education is a reality, since it is currently experimented, and beneficial results are being obtained [5,8,10,12,14].”
BackgroundA systematic literature review of automated feedback generation for programming exercises
Keuning, H., Jeuring, J., & Heeren, B. (2019) · ACM Transactions on Computing Education · doi:10.1145/3231711 · Cited by 370
“ITAP [149] Imp/OO 3 Web-CAT [48, 49] Multi 3”
Novice Programmers and Introductory Programming
Robins, A. V. (2019) · The Cambridge Handbook of Computing Education Research · doi:10.1017/9781108654555.013 · Cited by 175
Intelligent tutoring systems for programming education: a systematic review
Crow, T., Luxton-Reilly, A., & Wuensche, B. (2018) · Proceedings of the 20th Australasian Computing Education Conference · doi:10.1145/3160489.3160492 · Cited by 166
“…Scope Tutor [12] Pascal Feedback ILMDA [25] Java Navigation AtoL [29] Java Navigation CIMEL ITS [17] Java Feedback, Navigation CPP-Tutor [18] C++ Feedback, Navigation J-LATTE [7] Java Feedback ChiQat [1] Un-specified Feedback Ask-Elle [6] Haskell Feedback ITAP [24] Python Feedback programming.”
BackgroundAzcona, D., Hsiao, I.-H., & Smeaton, A. F. (2019) · User Modeling and User-Adapted Interaction · doi:10.1007/s11257-019-09234-7 · Cited by 114
Automated clustering and program repair for introductory programming assignments
Gulwani, S., Radiček, I., & Zuleger, F. (2018) · ACM SIGPLAN Notices · doi:10.1145/3296979.3192387 · Cited by 82
Yang, T.-C., Hsu, Y.-C., & Wu, J.-Y. (2025) · Interactive Learning Environments · doi:10.1080/10494820.2025.2450659 · Cited by 80
“Moreover, chatbots can serve as substitute teachers, assisting students in their learning journey outside of limited classroom hours through conversational interactions, such as checking code and explaining program concepts (Rivers & Koedinger, 2017; Topal et al., 2021).”
Factors Influencing Students' Help-Seeking Behavior while Programming with Human and Computer Tutors
Price, T. W., Liu, Z., Cateté, V., & Barnes, T. (2017) · Proceedings of the 2017 ACM Conference on International Computing Education Research · doi:10.1145/3105726.3106179 · Cited by 61
Qian, Y., & Lehman, J. D. (2019) · Sage Open · doi:10.1177/2158244019885136 · Cited by 42
“The first type of feedback system uses artificial intelligence (AI) techniques to analyze students’ programs and generate personalized feedback for students (Barnes & Stamper, 2010; Rivers & Koedinger, 2017; Xu & Chee, 2003).”
BackgroundTowards Giving Timely Formative Feedback and Hints to Novice Programmers
Jeuring, J., Keuning, H., Marwan, S., Bouvier, D., Izu, C., Kiesler, N., Lehtinen, T., Lohr, D., Peterson, A., & Sarsa, S. (2022) · Proceedings of the 2022 Working Group Reports on Innovation and Technology in Computer Science Education · doi:10.1145/3571785.3574124 · Cited by 40
“The ITAP dataset (‘ICER - All Attempts - All Steps - ITAP Goal’), available on DataShop, contains sequences of steps of students programming in the ITAP learning environment for programming in Python [56].”
BackgroundMethodInfluentialA Survey of Automated Programming Hint Generation: The HINTS Framework
McBroom, J., Koprinska, I., & Yacef, K. (2022) · ACM Computing Surveys · doi:10.1145/3469885 · Cited by 39
“The set of features can also be searched until some correctness test is passed as in [48, 6, 1, 11], or a model of correct features can be used to narrow them down as in [46, 4, 45, 47]”
BackgroundMethodInfluentialSocratic Questioning of Novice Debuggers: A Benchmark Dataset and Preliminary Evaluations
Al-Hossami, E., Bunescu, R., Teehan, R., Powell, L., Mahajan, K., & Dorodchi, M. (2023) · Proceedings of the 18th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2023) · doi:10.18653/v1/2023.bea-1.57 · Cited by 23
“…common bugs and scaling up instructor feedback to the common bugs (Lee et al., 2018), extracting patterns from peer data (Iii et al., 2014; Lazar et al., 2017), and generating custom solution paths (Rivers and Koedinger, 2017) which typically generalize to unseen code states within an exercise.”
BackgroundLee, H.-Y., Chen, P.-H., Lin, C.-J., Huang, Y.-M., & Wu, T.-T. (2025) · Education and Information Technologies · doi:10.1007/s10639-025-13733-z · Cited by 21
“Traditional ITS frequently prioritize identifying and correcting specific syntax or semantic errors rather than encouraging students to reflect deeply on their problem-solving processes and conceptual understanding (Rivers & Koedinger, 2017).”
Al-Shanfari, L., Abdullah, S., Fstnassi, T., & Al-Kharusi, S. (2023) · International Journal of Membrane Science and Technology · doi:10.15379/ijmst.v10i2.1395 · Cited by 16
“ITS shows its effectiveness when helping learners learn a particular subject, such as programming [6], math [7] or grammar [8], where it enhances students’ learning outcomes.”
BackgroundUtilizing programming traces to explore and model the dimensions of novices' code‐writing skill
Zhang, Y., Paquette, L., Pinto, J. D., & Fan, A. X. (2023) · Computer Applications in Engineering Education · doi:10.1002/cae.22622 · Cited by 14
“Examples are the number of added, deleted, and modified lines [9], the bag of word differences [9], and the edit distance between the abstract syntax trees (AST) of the two programs [50].”
BackgroundMethodZhu, M., & Zhang, K. (2025) · Technology, Knowledge and Learning · doi:10.1007/s10758-025-09859-1 · Cited by 13
Comparative study between automatic hint generation approaches in Intelligent Programming Tutors
MAHDAOUI, M., NOUH, S., ALAOUI, M. S. E., & SADIQ, M. (2022) · Procedia Computer Science · doi:10.1016/j.procs.2021.12.259 · Cited by 8
Non-restricted Access to Model Solutions: A Good Idea?
Nygren, H., Leinonen, J., & Hellas, A. (2019) · Proceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3304221.3319768 · Cited by 7
“may suggest the next meaningful step, provide guidelines on how to proceed, or show source code to the student [3, 5, 19].”
BackgroundComputing Education Research Today
Fincher, S. A., Tenenberg, J., Dorn, B., Hundhausen, C., McCartney, R., & Murphy, L. (2019) · The Cambridge Handbook of Computing Education Research · doi:10.1017/9781108654555.003 · Cited by 7
Metadata
- Authors
- Rivers, K., & Koedinger, K. R.
- Venue
- International Journal of Artificial Intelligence in Education
- Published
- 2015-10-22
- Volume
- 27
- Issue
- 1
- Pages
- 37-64
- ISSN
- 1560-4292 (ISSN-L)
- 1560-4306
- OpenAlex
- W2246775628
- Cited by
- 258
- References
- 31
- FWCI
- 17.83
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.