diffing-instructor-vs-student-solution

Compares reference and student solutions to generate step-by-step grading feedback.

2|Updated May 23, 2026
One-click install
npx skills add https://github.com/rocklambros/rcs --skill diffing-instructor-vs-student-solution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffing-instructor-vs-student-solution
Source: https://github.com/rocklambros/rcs/tree/main/skills/teaching/diffing-instructor-vs-student-solution
Command: npx skills add https://github.com/rocklambros/rcs --skill diffing-instructor-vs-student-solution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps instructors and TAs turn a reference solution and a student attempt into actionable formative feedback instead of a vague right-or-wrong judgment. It is designed for multi-step work where the real question is which principle broke, not just whether the final answer matched.

Core Features & Use Cases

  • Compares the reference and student work step by step and classifies each step into one of four categories: right-answer-wrong-reasoning, wrong-answer-right-reasoning-with-one-misstep, legitimate alternate path, or uncorrelated mechanical error.
  • Recognizes cascade errors so one early mistake is not mistaken for many separate failures.
  • Distinguishes valid alternate solution paths from coincidental matches and writes feedback in student-facing language that names the underlying principle.
  • Use it when grading problem sets, reviewing a student revision, or diagnosing why an automated grader rejected an otherwise plausible attempt.

Quick Start

Compare the attached reference solution and student attempt for the problem, then produce a step-by-step diff with cascade notes, alternate-path checks, concise student-facing feedback, and a short summary of conceptual gaps and mechanical errors.

Frequently Asked Questions about diffing-instructor-vs-student-solution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I grade student work by comparing it to a reference solution step by step?

Grading student work step by step requires comparing a reference solution against a student attempt to produce a diff. This process classifies each step into categories like right-answer-wrong-reasoning or legitimate alternate path to identify exactly which principle broke.

How does cascade analysis work when grading multi-step problem sets?

Cascade analysis identifies when one early mistake causes multiple subsequent errors in a student attempt. This prevents the grading diff from mistakenly counting a single conceptual gap as many separate mechanical failures throughout the problem set.

Can I detect valid alternate solution paths when reviewing student revisions?

Yes, alternate-path detection distinguishes legitimate solution paths from coincidental matches. It evaluates student revisions against a canonical reference to ensure the underlying principles align correctly rather than arriving at the right answer through flawed reasoning.

Does this approach separate conceptual gaps from mechanical errors in formative feedback?

Yes, generating formative feedback separates conceptual gaps from mechanical errors. The grading diff produces concise student-facing language that names the broken principle, turning a simple right-or-wrong judgment into actionable revision guidance.

What is the best way to diagnose why an automated grader rejected a plausible student attempt?

Diagnosing automated grader rejections requires comparing the rejected attempt against a canonical reference solution. The diff investigates the wrong answer by checking for uncorrelated mechanical errors or alternate paths the automated system failed to recognize.