Перейти к содержимому

I Built a Django Inventory Management System with AI (and Caught Its 4 Mistakes)

howITwork

0:00 / 0:00

I Built a Django Inventory Management System with AI (and Caught Its 4 Mistakes)

78 просмотров · 7 дн. назад
howITwork
8 подписчиков
78 просмотров · 7 дн. назад
I asked an AI coding assistant to build an inventory management system for an office IT store in Python and Django: stock in and out across three locations, reorder alerts and a dashboard with charts. It worked quickly, but it also made four mistakes, and one of them made stock go UP every time something was issued. Here is the finished app, the code that matters, every mistake, and the checklist I now use for reviewing AI-written code. Try the live demo (sample data, resets every night): https://howitwork.net/demo/inventory/ Written guide with the code: https://howitwork.net/guides/django-i... Chapters 0:00 Intro 0:28 The finished app 1:45 What I asked the AI for 2:19 The data model 2:59 How stock is calculated 3:25 Quick check: where stock comes from 3:47 The rule that protects stock 4:10 How the dashboard gets its numbers 4:35 Mistakes 1 to 3 5:17 Mistake 4: stock went up 5:52 Quick check: bulk_create 6:13 The test that catches it 6:43 Run the tests 7:05 Put it online for free 7:48 Make a public demo safe 8:18 Quick check: free hosting 8:44 My review checklist 9:11 Try it yourself Free tools (no upload, no sign-up): https://howitwork.net #Django #Python #AICoding Voice: synthetic narration. Music and sound effects: original. Script reviewed by an IT manager.