AINewsnow

Claude Code Rounded Money Wrong in 5 of 10 Runs. An 11-Line CLAUDE.md Fixed It.

This story is from 2026-10-11. It is preserved in the archive; the latest stories are on the live feed.

Refund 50% of a 1,005-cent invoice. The billing code I gave the agent rounds half up, so the answer is 503. Running in Claude Code, Sonnet 5.5 returned 502 in 2 of 5 runs. Haiku 5.5 returned 502 in 3 of 5. Every one of those runs ended with a tidy summary saying it had rounded with round_money . Tw…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-10-11 14:40 · DEV Community — AI
    Claude Code Rounded Money Wrong in 5 of 10 Runs. An 11-Line CLAUDE.md Fixed It.

More stories

  1. An Anthropic AI model sent a false homicide tip to Philadelphia police — TechCrunch AI
  2. Philadelphia police receive false homicide tip from Anthropic AI model — The Hill Technology
  3. Anthropic bans users from ‘needless abusive or cruel behavior’ towards Claude — The Guardian AI
  4. Claude launches Dashboards and Motion in beta — TestingCatalog AI News
  5. Fired OpenAI safety researchers dispute misconduct claims, warn of chilling effect — TechCrunch AI
  6. Anthropic’s Quest to Give A.I. Morals — Hard Fork (NYT)
  7. Google Cloud introduces the Gemini agent. — r/Bard
  8. Anthropic, Google and Mistral Unveil Their Latest AI Models: What’s New and Why It Matters — CNET AI

Get the daily brief of stories like this at 6:30 every morning →