面向自主调试能力培养的自适应教学智能体设计与应用
Design and Application of an Adaptive Teaching Agent for Cultivating Autonomous Debugging Ability
摘要: 生成式人工智能为高校代码实践教学提供了即时反馈与个性化支持,但“答案即得”式交互也可能使学生绕过错误分析、假设推理与运行验证,弱化自主调试训练。针对代码实践教学中“不会读报错、不会定位原因、依赖现成答案”等问题,本文以OBE理念为指导,构建面向自主调试能力培养的自适应教学智能体。该框架以学生当前认知状态和调试任务状态为双重依据,设计L0~L4分级支架、支架动态增加与撤除、修改后验证和条件式反思等机制,形成教学闭环。本文采用框架构建与典型情境验证相结合的方式,对不同学生状态和不同复杂度代码调试任务进行测试。测试结果显示,智能体能够依据学生已有判断动态调节支持强度,并通过证据获取、假设更新和运行验证组织调试过程。本文提出的教学智能体设计框架,可为生成式人工智能背景下的个性化实践支持、过程性评价与学生主体性保护提供参考。
Abstract: Generative artificial intelligence provides immediate feedback and personalized support for code-based practical teaching in higher education. However, “answer-on-demand” interactions may also allow students to bypass error analysis, hypothesis formulation, and runtime verification, thereby weakening opportunities to develop independent debugging skills. To address common problems in code practice, such as difficulty in interpreting error messages, locating causes, and over-reliance on ready-made answers, this study develops an adaptive teaching agent for cultivating autonomous debugging ability under the guidance of Outcome-Based Education (OBE). Taking students’ current cognitive states and debugging task states as dual inputs, the framework incorporates L0~L4 graded scaffolding, dynamic scaffold addition and fading, post-modification verification, and conditional reflection to form a closed-loop teaching process. A combination of framework construction and typical-scenario validation was adopted to test the agent across different learner states and debugging tasks of varying complexity. The results show that the agent can dynamically adjust the level of support according to students’ existing judgments and organize the debugging process through evidence collection, hypothesis updating, and runtime verification. The design framework of the teaching agent proposed in this paper can provide references for personalized practice support, process evaluation and the preservation of student agency under the background of generative artificial intelligence.
文章引用:孙欣琪, 蓝勤兰. 面向自主调试能力培养的自适应教学智能体设计与应用[J]. 创新教育研究, 2026, 14(11): 357-365. https://doi.org/10.12677/ces.2026.1411897

参考文献

[1] 卢宇, 余京蕾, 陈鹏鹤. 基于大模型的教学智能体构建与应用研究[J]. 中国电化教育, 2024(7): 99-108.
[2] 王华军. OBE理念下《线性代数》的教学改革[J]. 创新教育研究, 2024, 12(3): 182-187.
[3] 王凤蕊. 面向应用型人才实践能力培养的混合式课程教学评价体系研究与实践——以《教育技术研究方法》课程为例[J]. 创新教育研究, 2026, 14(9): 676-682.
[4] 张桂英. 人工智能背景下人工智能导论课程教学优化的思考[J]. 创新教育研究, 2025, 13(11): 88-94.
[5] 崔文升, 李宏博, 李欣, 刘彰基. 生成式人工智能赋能师范院校程序设计课程教学模式构建研究[J]. 创新教育研究, 2026, 14(8): 180-187.
[6] Pădurean, V.A., Riegel, K., Gotovos, A., Mahapatra, J., Ghosh, A., Denny, P., et al. (2026) When AI Is Wrong on Purpose: How Students Respond to Buggy GenAI Code. Proceedings of the 2026 ACM Conference on International Computing Education Research, Vol. 1, 172-188.
https://doi.org/10.1145/3765964.3811667
[7] Denny, P., Prather, J., Becker, B.A., Finnie-Ansley, J., Hellas, A., Leinonen, J., et al. (2024) Computing Education in the Era of Generative AI. Communications of the ACM, 67, 56-67.
https://doi.org/10.1145/3624720
[8] Becker, B.A., Denny, P., Finnie-Ansley, J., Luxton-Reilly, A., Prather, J. and Santos, E.A. (2023) Programming Is Hard—Or at Least It Used to Be: Educational Opportunities and Challenges of AI Code Generation. Proceedings of the 54th ACM Technical Symposium on Computer Science Education, Vol. 1, 500-506.
https://doi.org/10.1145/3545945.3569759
[9] 由从哲, 邱骏达, 汤嘉立. 程序设计课程思政的实践探索与路径构建——以C语言程序设计课程为例[J]. 创新教育研究, 2025, 13(10): 506-513.
[10] Anand, M.V., Boyer, D.M. and Sabuncu, A.C. (2026) Turning Chatbot Conversations into Learning Analytics for Troubleshooting in an Undergraduate Engineering Lab. 2026 ASEE Annual Conference & Exposition, Charlotte, 21 June-31 July 2026.
https://doi.org/10.18260/1-2--61099