Debugging a Python shop library with AI
Z-Coder
I hid 5 bugs and 1 slow function in a small Python shop library and asked MiniMax M3.1 Flash to find and fix them. One prompt, no hints. They're easy to miss: the project's own 6 tests all pass, and each bug only shows on a specific input. DURATION later, my hidden tests passed 6 of 6, and it found a 7th I never planted. → Pages dropping their last item → Median wrong on even lists → Tags leaking between items → End date excluded → Tax truncated, 399 instead of 400 → Duplicate check from 23.8s to 0.01s It also changed behavior I didn't ask for, so I'd read the diff before merging. Unlimited M3.1 Flash for MiniMax Code subscribers until Oct 25. 50% off the first M Plan month until Oct 31. #adView original post