Correctness
The fictional smoke test exports two records with the documented column order and preserves an empty field.
This is an illustrative review of a fictional pull request. The reviewer checks a useful path, records an unverified failure path, and leaves an out-of-scope criterion unrated.
The fictional smoke test exports two records with the documented column order and preserves an empty field.
The sample diff includes a happy-path test. I found no test for quotes, commas, or line breaks within a cell, so I left coverage unrated.
The proposed change shares the report’s column definitions and puts escaping in one function. This keeps the web and export views from drifting.
The change exposes an export route. The sample does not include its access-control configuration or an authorization test.
The fictional change adds no schema migration, background job, or infrastructure dependency.
| Criterion | Needs work | Meets expectations | Strong |
|---|---|---|---|
| Correctness | The change breaks an expected path or leaves a known edge case unhandled. | The expected path and relevant edge cases behave as specified.Evidence | Behavior is demonstrated across normal, boundary, and failure paths. |
| TestsEvidence missing | Changed 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. |
| Maintainability | Responsibilities, 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.Evidence |
| Security and privacyEvidence missing | The 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 impactNot applicable | Rollout, 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. |