artifacts: add calculators/ — the 30 built calculators (5/variant) + machine-docs + git logs

This commit is contained in:
2026-06-16 15:39:42 +00:00
parent 64bc360fc0
commit bb85aa9f11
728 changed files with 34148 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# STATUS — Phase eval
## DONE
All DoD gates Adversary-verified PASS. Phase eval is complete. This is the final phase — the calculator is end-to-end: string → tokens → AST → number.
| Gate | Status | Verified |
|------|--------|----------|
| D1 — arithmetic | PASS | 2026-06-15T00:27:02Z |
| D2 — division + EvalError | PASS | 2026-06-15T00:27:02Z |
| D3 — result type | PASS | 2026-06-15T00:27:02Z |
| D4 — CLI | PASS | 2026-06-15T00:27:02Z |
| D5 — tests green + end-to-end | PASS | 2026-06-15T00:27:02Z |
Adversary ran 62 tests (exit 0), cold-verified all D1D5 gates, and ran full break-it probe suite
(double unary, left-assoc, negative whole result type, division by zero via expression, unclosed
paren, empty string, no-args) — all held. No defects found.
## Artifacts
- `calc/evaluator.py``EvalError`, `evaluate()`
- `calc/test_evaluator.py` — 17 unittest tests (D1D3 coverage, type assertions)
- `calc.py` — top-level CLI (D4 + end-to-end check)