代码是我的吗?当AI智能体编写规格说明和代码时学生的所有权
Is This Code Mine? Student Ownership When AI Agents Write the Spec and the Code
Gustavo Pinto, Enne Rebeca Silva de Freitas, Danilo Monteiro Ribeiro
AI 速读 基于摘要
在AI智能体编写大部分规格和代码的课程作业中,学生虽自认拥有想法却难以解释或修改代码,且自报贡献与提交记录不符,因此教学评估应关注学生能指定、审查和解释的内容而非交付物。
cs.SE
查看原文摘要
Software engineering courses are starting to ask students to build entire systems with AI coding agents, but little is known about what students actually do with them and whether they still own what they deliver. If the agent writes both the code and the decisions behind it, the artifacts we grade no longer show what students learned. We studied an assignment in which 18 pairs of students built applications with agents under Spec-Driven Development, combining the mined history of their repositories, the prompts they recorded, and a survey of 33 students. The agents wrote 69\% of the specifications meant to keep students in control, sometimes from a prompt of a few words. Students locate their ownership in the ideas, crediting themselves with half of them but a fifth of the code, yet most could not explain that code to a colleague or modify it without the agent, and what they report having written is unrelated to what their own commits declare. The three teams that met the 100,000-line target did so with generated code the application never uses, in one case proposed by the agent itself, and one team rewrote its history to backdate its specifications. Teaching with agents should therefore assess what students specify, review, and can explain, rather than what they ship, and enforce the engineering process with tools rather than trusting it to students or agents.