← Back to case explorer
Public caseprogramming-off-by-one-001

Array Indexing

Help the student inspect an off-by-one array error rather than treating the crash as random.

Tutor-visible context

Student context

Overconfident Incorrect

Current student message

“The array has length 3, so accessing item[3] should be the last item. Why does it fail?”

Problem context

The language uses zero-based indexing.

Learning objective

Help the student inspect an off-by-one array error rather than treating the crash as random.

Context window

Conversation history

No prior conversation. This case starts with the current student message.

Public boundary

What this page does not expose

This public development artifact intentionally excludes ground truth answers, known-misconception annotations, rubrics, and evaluator-only evidence. A future hidden challenge dataset must use the same fail-closed serialization boundary.