Optional toolkit — 25-point checklist and focused glossary
Completion requirements
View
Optional: This reference extends the course to roughly 60–75 minutes. You may go directly to the knowledge check after the comment exercise.
25-point review checklist
Correctness and logic
- Does the change solve the stated problem?
- Does every branch match the interface contract?
- Are boundary values correct?
- Are errors controlled and meaningful?
- Do tests prove the material outcomes?
Code quality and scope
- Is the change focused and free of unrelated scope?
- Are names clear in this codebase’s context?
- Are responsibilities appropriately separated?
- Is complexity justified by the problem?
- Would another maintainer understand the decision?
Security and data
- Are authentication and authorization both established?
- Is untrusted input validated at the boundary?
- Does data access use safe parameterization?
- Are credentials and identifying data minimized?
- Are critical invariants enforced authoritatively?
Failure, concurrency, and operations
- What happens with missing, empty, duplicate, or malformed input?
- Can two requests race between a check and a write?
- Are partial failures and resource cleanup handled?
- Is logging useful without exposing secrets?
- Does the change meet known performance needs without speculative optimization?
Evidence and communication
- Does each material requirement have observable evidence?
- Do tests cover rejection paths and boundaries?
- Is each finding classified clearly?
- Does each comment state location, observation, evidence, impact, and request?
- Does the review state what was and was not inspected?
Focused glossary
- Atomic change
- A focused change that can be reviewed and verified as one coherent unit.
- Authentication
- Establishing who a caller is.
- Authorization
- Deciding whether that caller may perform a specific action.
- Boundary condition
- An input at the edge of an allowed range, such as empty, zero, full capacity, or maximum length.
- Check-then-write race
- Two operations both pass a check before either completes the protected state change.
- Contract
- The explicit behavior, constraints, and outcomes the change must satisfy.
- Deterministic test
- A test that gives the same result from the same controlled conditions.
- Edge case
- An unusual but credible condition that may reveal incorrect behavior.
- Invariant
- A condition that must remain true across every valid state transition.
- Parameterized query
- Data access that sends query structure separately from input values.
- Regression
- A previously working behavior broken by a later change.
- Scope creep
- Unrelated requirements or changes added beyond the agreed task.
- TOCTOU
- Time-of-check to time-of-use: a race caused when state changes between a check and its later use.
- Uniqueness constraint
- An authoritative data rule preventing duplicate values for a defined key.
- Review boundary
- The code and evidence actually inspected, beyond which the reviewer makes no unsupported claim.
Optional reflection prompts
- How would you review an unfamiliar framework without pretending expertise?
- Which findings must block a deadline-driven release, and which can become follow-up work?
- How would you explain the same risk to an engineer and to a product owner?
Answer from the fictional case or your own non-confidential experience. Do not adopt a supplied personal story as if it were yours.