Rubrics
Code reviewPreset

Pull request review

Review a change before merge. Check the diff, test behavior where feasible, and cite file or line links for material findings.

CriterionNeeds workMeets expectationsStrong
CorrectnessThe change breaks an expected path or leaves a known edge case unhandled.The expected path and relevant edge cases behave as specified.Behavior is demonstrated across normal, boundary, and failure paths.
TestsChanged behavior has no useful regression coverage or relevant checks fail.Tests cover the change’s primary behavior and pass.Targeted regression tests exercise important failure paths and would catch the original bug.
MaintainabilityResponsibilities, names, or control flow make the change difficult to understand or modify.The change follows local conventions and has clear responsibilities.The change removes duplication or clarifies an existing boundary while preserving behavior.
Security and privacyThe change introduces a credible trust boundary, access control, or data handling issue.Relevant access, validation, and data handling rules are preserved.The change makes a sensitive boundary easier to reason about and verifies its protections.
Operational impactRollout, migration, or failure behavior risks service disruption without a recovery path.Rollout and failure behavior are acceptable and documented where needed.Compatibility, failure recovery, and observability are demonstrated for the rollout.

Correctness

Needs work
The change breaks an expected path or leaves a known edge case unhandled.
Meets expectations
The expected path and relevant edge cases behave as specified.
Strong
Behavior is demonstrated across normal, boundary, and failure paths.

Tests

Needs work
Changed behavior has no useful regression coverage or relevant checks fail.
Meets expectations
Tests cover the change’s primary behavior and pass.
Strong
Targeted regression tests exercise important failure paths and would catch the original bug.

Maintainability

Needs work
Responsibilities, names, or control flow make the change difficult to understand or modify.
Meets expectations
The change follows local conventions and has clear responsibilities.
Strong
The change removes duplication or clarifies an existing boundary while preserving behavior.

Security and privacy

Needs work
The change introduces a credible trust boundary, access control, or data handling issue.
Meets expectations
Relevant access, validation, and data handling rules are preserved.
Strong
The change makes a sensitive boundary easier to reason about and verifies its protections.

Operational impact

Needs work
Rollout, migration, or failure behavior risks service disruption without a recovery path.
Meets expectations
Rollout and failure behavior are acceptable and documented where needed.
Strong
Compatibility, failure recovery, and observability are demonstrated for the rollout.

Published reviews