550 B
550 B
BACKLOG-eval
Build backlog
- D1 arithmetic —
evaluate()correct for +/-/*//, precedence, parens, unary minus - D2 division — true division;
EvalErroron zero; not bareZeroDivisionError - D3 result type — whole floats → int; non-whole → float; rule documented in evaluator.py
- D4 CLI —
calc.pyat work root; stdout+exit-0 on success; stderr+exit-1 on error; no traceback - D5 tests — 24 new tests in
calc/test_evaluator.py; 68 total pass; prior suite unaffected
Adversary findings
(none yet)