Use when the user asks you to calculate, compute, evaluate, or solve a math expression or equation. Triggers on arithmetic, order of operations (PEMDAS), fractions, percentages, exponents, and multi-step math problems.
84
78%
Does it follow best practices?
Impact
94%
1.00xAverage score across 5 eval scenarios
Passed
No known issues
A junior developer on your team has written some documentation examples showing how a simple expression evaluator should behave. Before the documentation goes live, you've been asked to audit it — specifically to check whether the listed expected outputs are correct and to provide corrected answers wherever the documentation is wrong.
The developer seems uncertain about how expressions with sequences of the same type of operation should be handled, and several examples may have errors. Your job is to provide a clear, authoritative worked solution for each expression so the documentation can be corrected.
For each expression below, work through the calculation and produce the correct answer. Write your solutions to audit_report.md.
20 / 4 * 2 — developer claims the answer is 2.518 - 5 + 3 — developer claims the answer is 10100 / 5 / 4 — developer claims the answer is 807 * 2 / 4 * 3 — developer claims the answer is 10.5For each, state whether the developer's claimed answer is correct or incorrect, show the full working, and give the correct answer.
Write your audit to audit_report.md. For each expression, include the full worked solution and a verdict on whether the developer's answer was right or wrong.