Curriculum

Curriculum

Name What Is Out of Scope Before Editing

Scenario

Task: Fix the >= 0 boundary bug in booking.js. Classify each item as In Scope or Out of Scope.

Card3
In scope0
Out of scope0

Try it yourself

Place each action into In Scope or Out of Scope.

Reveal the explanation
  1. Change freeSeats >= 0 to freeSeats > 0 and add the freeSeats = 0 test

    In Scope — directly fixes and verifies the requested bug.

  2. Rename exported function canBook to checkRoomEligibility across 6 files

    Out of Scope — breaks callers and bloats the review diff.

  3. Reformat unrelated CSS and rewrite the README in the same change

    Out of Scope — unrelated edits hide the actual bug fix.

A one-line "Do NOT modify…" note in your brief saves minutes of diff cleanup and protects unrelated passing features.

Review first

Your turn

Write a 2-bullet "Out of scope" list for a task fixing an off-by-one bug in quizScorer.py.

Common mistake Leaving out-of-scope blank so the agent renames functions or changes unrelated files.

Check your work

Do not rename score_quiz; do not modify booking files or test runner config.

Quick check

Why should an agent brief explicitly state what is out of scope?
Show the answer and reasoning

Correct answer To keep the diff small, explainable, and focused solely on the requested behavior

Clear boundaries prevent surprise refactors and make code review fast and reliable.