🧠 AI Ed Wiki

Analyzes how students specify intended behavior in natural language to AI code tools (Copilot) across multiple years, deriving a taxonomy of code-generation specifications expressed through comments. As AI tools shift emphasis from writing code to specifying behavior, the study documents what students actually ask of these systems.

Situates in LLM-assisted Programming ITS and Student Experience within CS Education and Higher Ed, extending Reshaping CS Education GenAI by characterizing the new 'specification' literacy. It informs AI Literacy for coding and the design of tools that scaffold rather than replace student reasoning.

Key Findings

  • Analyzing a four-year dataset of undergraduate programming submissions and reflections from tasks in which students wrote comments to guide code generation and refined solutions using test-case feedback, the study introduces a taxonomy spanning three dimensions: comment type, code expression level, and code construct.
  • Students mostly wrote natural-language What comments — describing intended behavior — while shifting toward How comments for more procedural constructs.
  • Students focused more on verifying generated code than on repeatedly rewriting their comments, indicating a verification-oriented workflow in AI-assisted programming.
  • Using automated classification, the study examined how the taxonomy dimensions varied across attempts and how students described the process in their reflections.
  • The findings characterize the new "specification" literacy emerging as AI tools shift emphasis from writing code to specifying behavior in natural language.
  • Study Design & Method

    The study draws on multi-year data from undergraduate programming courses in which AI code tools such as GitHub Copilot were integrated into tasks: students wrote comments as specifications, the tools generated code, and students refined solutions based on test-case feedback. A three-dimensional taxonomy — comment type, code expression level, and code construct — was applied via automated classification to trace how specification behavior changed across attempts. Student reflections provided qualitative context on how learners experienced the process of directing code generation.

    Implications for AI in Education

    As AI code tools become integrated into programming environments, the emphasis of student work shifts from code writing to specification, and the study documents what students actually ask of these systems. For CS Education, the prevalence of What comments and the shift to How comments on procedural constructs suggest that learners benefit from explicit instruction in writing precise specifications — a form of AI Literacy for programming. The finding that students concentrated on verification suggests that tools and curricula should scaffold the verification of generated code, treating comments and tests as the interface between student intent and AI output, in line with the broader rethinking of Reshaping CS Education GenAI.

    Connected Concepts

  • LLM
  • Student Experience
  • CS Education
  • Higher Ed
  • AI Literacy
  • Connected Articles

  • Programming ITS
  • Reshaping CS Education GenAI
  • Citation

    Nasser Giacaman, Valerio Terragni, Paul Denny, Viraj Kumar (2026). Commenting with Copilot: A Taxonomy and Multi-Year Analysis of Student Code-Generation Specifications. arXiv:2607.10674. arXiv preprint.