← LLM & RAG Fundamentals / 37
mediumNewAnthropicOpenAI

Our expense assistant sometimes adds up line items wrong. Why does a model that writes code fail at sums, and what do you change?

Try it in the practice workspaceDraft your answer before comparing it with the rubric.

Language models predict tokens rather than calculate. Let the model extract numbers and let code do the maths, then check the result against the printed total.

Updated Nov 2026 · Original practice questions with worked answers and teaching rubrics. Our editorial policy explains the sources, review process and limits.

Language models predict tokens rather than calculate. Let the model extract numbers and let code do the maths, then check the result against the printed total.

This reference answer is in Premium. Free signup opens other answers.

9 answers per topic instead of 5, and your progress kept · no cardor unlock all 420 remaining answers
UP NEXT ON YOUR JOURNEY
NOTES & DISCUSSION · 0

No comments yet. How would you have answered?