Your prompt passed once, so you shipped it. It has three different answers.
Here is a bug that will never show up in your test run:
data = json.loads(llm(prompt)) # worked when I tried it
total = data["total"]
You wrote the prompt, ran it once, got back tidy JSON, parsed i
jaytank.hashnode.dev8 min read