arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24447cs.SE
收藏

超越AI委托:安全编码教育中生产性挣扎与评价性判断的提示模式框架

Beyond AI Delegation: A Prompt Pattern Framework for Productive Struggle and Evaluative Judgement in Secure Coding Education

University of Applied Sciences St. Pölten(圣珀尔滕应用科技大学)

Philipp Haindl, Oliver Eigner, Peter Kieseberg

AI总结:

本文通过设计科学研究,从计算机科学文献中综合并调整了九种提示工程模式,映射到生产性挣扎和评价性判断两个教学构念,为安全编码课程设计了一个框架,使教师能够精细控制学生与AI的互动,保留学生的推理角色。

摘要:

大型语言模型使学生容易将写作、分析和问题解决委托给自动化系统,从而绕过了产生持久理解所需的努力参与。我们引入了一个实用框架,帮助教育者在课程中保留GenAI,同时不消除使其有价值的认知需求。我们应用设计科学研究(DSR)从计算机科学文献的现有目录中综合并调整了九种提示工程模式的分类法,映射到两个教学构念:生产性挣扎和评价性判断。一个使用DELTA框架构建的高级安全编码模块的课程设计展示了该工件的适用性。九种提示模式,每种映射到特定的教学功能,使教师能够精细控制学生如何与AI互动。安全编码设计展示了三种模式(翻转互动、替代方法和认知验证器)如何支撑漏洞发现和修复,同时让学生保持在推理角色中。该框架提供了一种可复制的方法来设计增强AI的学习体验,保留学生的推理能力,并为未来在真实课程环境中的实证评估建立了结构化基础。

英文摘要:

Large language models make it easy for students to delegate writing, analysis, and problem-solving to automated systems, bypassing the effortful engagement that produces lasting understanding. We introduce a practical framework that helps educators keep GenAI in the course without removing the cognitive demands that make it worthwhile. We apply Design Science Research (DSR) to synthesise and adapt a taxonomy of nine prompt engineering patterns from established catalogs in the computer science literature, mapped to two pedagogical constructs: Productive Struggle and Evaluative Judgement. A course design for an Advanced Secure Coding module, structured using the DELTA framework, demonstrates the artifact's applicability. Nine prompt patterns, each mapped to a specific pedagogical function, give instructors fine-grained control over how students interact with AI. The secure coding design shows how three patterns (Flipped Interaction, Alternative Approaches, and Cognitive Verifier) scaffold vulnerability discovery and remediation while keeping students in the reasoning role. The framework provides a replicable approach to designing AI-augmented learning experiences that preserve student reasoning, and establishes a structured basis for future empirical evaluation in live course settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑