await hk.assignments.create({
lesson_id: "lsn_123",
type: "essay",
title: "Explain Lorentz invariance in your own words",
due_at: "2026-06-01T23:59:00Z",
rubric: {
criteria: [
{ name: "clarity", weight: 0.4 },
{ name: "physics accuracy", weight: 0.4 },
{ name: "use of sources", weight: 0.2 },
],
scale: { min: 0, max: 10 },
},
});