Find and fix a bug

Reproduce the bug, then verify the fix.

Review with evidence and counterexamples

A finding needs a defect, location and reproduction. A read-only review cannot claim test execution. Verify the new revision after a fix and keep unknowns explicit.

A repair report needs a reproduced fault and a check after repair.

Review the repaired version

A finding needs a location, reproduction and impact. “Long function” alone does not prove a defect. Rerun the check on the repaired version.

A repair report should name the fault and the check after repair.

Practice

Fix case- and accent-insensitive search.

Reproduce may in failing to find T01. Edit only findTickets in model.mjs for case/accent-insensitive substring search, including đ/d; trim query and preserve order/seed. Run search, then build/access tests.

Check your work

Before/after reproduction evidence is recorded.

Search and earlier checks still pass.

References