Prove the fix and write it down
REGRESSION CHECKS AND BUG REPORTS
A fix is convincing when it removes the failure and preserves the cases that already worked. For the gate, that means checking one ticket, exactly two, and more than two.
01. Repeat the original sequence from the same starting state. Use the real input at least once. A direct script run can skip the very event or button that caused the problem.
02. Check the cases immediately on either side. Restart a fresh session if startup matters. If you changed saved state, repeat the same test after loading. If the problem was device-specific, run the corrected build on that device.
03. Remove temporary debug messages or reduce them to the ones that explain genuine failures. Clear diagnostic breakpoints and confirm the game can finish the sequence again.
A bug report someone else can act on#
| Where | PCA3D 0.86.3.4, Linux editor preview. gate_check, triggered by the Use gate button. |
|---|---|
| Steps and actual result | Put exactly 2 tickets in the shared counter. Press Use gate once. Output says Gate stays closed. With 3 tickets, it says Gate opens. |
| Expected result | The fare is 2. The gate should admit a player holding 2 or more. |
| Cause and verification | The condition used >. Changed it to >=. At ticket counts 1, 2 and 3, the corrected routine returned false, true and true. Pressing the button at 2 logged Gate opens. |
For an unresolved bug, leave the cause open. Attach the smallest relevant screenshot or log excerpt and include anything that makes it stop happening. “Only after loading slot 3” can be the most important sentence in the report.
