Idea · Aug 4, 2026

Contract-First LLM Feedback for CS2: Extending Pedagogical-Framework-Constrained Automated Assessment Beyond Functional CS1

Adapts FEEDBOT's key insight — using a structured pedagogical framework to constrain LLM feedback to appropriately limited, actionable hints — from functional CS1 (the Design Recipe) to imperative CS2 C++ courses using a contract-first framework (preconditions, postconditions, class invariants, test stubs).

What it would do

FEEDBOT (ITiCSE 2025) demonstrated that an LLM constrained by the Design Recipe's sequential steps can provide limited, actionable formative feedback that improves student performance without revealing solutions. The critical generalizability question is whether this framework-constrained approach transfers to other pedagogical contexts. This research proposes applying the FEEDBOT principle to CS2 C++ data-structures courses (e.g., CSS 342/343) by substituting Contract-First Design — requiring students to specify preconditions, postconditions, class invariants, and test stubs before implementation — as the constraining framework. Just as FEEDBOT identifies the first incomplete Design Recipe step, the proposed system identifies the first missing or inadequate contract element, giving students a specific, bounded pointer without disclosing the implementation. The study connects directly to existing automated-feedback infrastructure (Jolly Feedback) and prior solution-free hint work (SIGCSE 2021), and requires no new IRB approval for the initial log-analysis and system-construction phases.

More in Assessment & Grading

Anchor-and-Extension: Recovering Community Learning in LLM-Personalized CS1 Assignments

Propose and evaluate an 'anchor-and-extension' assignment model that pairs a shared canonical problem (enabling peer discussion and instructor planning) with an LLM-generated personalized extension problem per student, testing whether this hybrid recovers the community-learning benefits that pure personalization eliminates.

Assessment & GradingResearch directionResearchAug 7, 2026

All 132 ideas in Assessment & Grading →