Python invoice repair with regression checks by Jasper AddymanPython invoice repair with regression checks by Jasper Addyman

Python invoice repair with regression checks

Portfolio project
Jasper Addyman
Original studio demonstration using fictional invoices. A blank discount caused the original Python invoice script to fail. I reproduced the crash, corrected the handling of blank and whitespace-only discounts, and checked that valid discounts still worked. The corrected script produced the expected GBP 235.25 total across three sample invoices. The demo includes sample input, corrected source, repeatable regression checks and malformed-data checks, with clear instructions for running it.
AI-assisted studio walkthrough using fictional invoices. The regression checks were run locally.

0 likes · 1 view · Nov 10, 2026

Python invoice crash reproduced and fixed, with the expected total and repeatable regression checks.

Tags