TY - CPAPER TI - Diagnosing Algorithms by Abduction from Manual Simulation AU - Bayerkuhnlein, Moritz AU - Wolter, Diedrich PY - 2025 T2 - Proceedings of the Second Work shop on Artificial Intelligence for Artificial Intelligence Education (AI4AI Learning 2024) SP - 49-58 PB - University of Bamberg Press CY - Bamberg SN - 978-3-98989-054-1 DO - 10.20378/irb-108887 UR - https://fis.uni-bamberg.de/handle/uniba/108887 LA - eng AB - Taking a conceptual idea and turning it into a precise algorithm is at the heart of computational thinking. However, novice programmers often struggle when their code does not behave as they intended. This paper identifies problems in pseudocode algorithms based on deviations from observations that could be gathered during manual simulations by the programmer. By applying model-based diagnosis to the faulty pseudocode, informed by manual simulation, we locate errors and suggest fixes. The diagnosis results in the identification of a specific location in the algorithm and provides an output description for the faulty part that matches the programmer's intent during the manual simulation, thus aiding in debugging. KW - - ER -