Historical task source. The Eve task board holds current task state.
Phase 113 completion evidence#
Audited on 2026-07-12 against TODOS/phase-113.md and the current source tree.
All 50 numbered requirements are checked, implemented by public exports from
their owning libraries, and covered by focused automated verification. The audit
treated the checklist marks as claims to prove, not as completion evidence on
their own.
| Requirement group | Public implementation evidence | Primary automated evidence |
|---|---|---|
| 113.1 optimization | libs/kalika/optimization/src: linear and semidefinite programming, DCP, nonlinear/global solvers, SDPB transport, variational discretization, Ritz optimization, and constrained least-squares exports |
complete optimization suite: 11 files, 127 tests; the phase regression inventory enforces at least 60 explicit cases |
| 113.2 automatic differentiation | libs/kalika/autodiff-core/src and libs/kalika/autodiff/src: dual arithmetic, reverse tape, ODE/PDE adjoints, CAS adjoint evaluation, and numerical compatibility report |
autodiff-core: 14 tests; autodiff: 7 files, 118 tests; the phase regression inventory enforces at least 80 explicit cases and exercises a 121-parameter reverse computation |
| 113.3 measure theory | libs/kalika/measure-theory/src: measure spaces, integration theorem checkers, and ergodic theory |
3 files, 20 tests |
| 113.4 approximation theory | libs/kalika/approximation/src: Remez/L2 polynomial approximation, Pade/multipoint/AAA rational approximation, and Chebyshev function technology |
3 files, 21 tests |
| 113.5 algebraic combinatorics | libs/kalika/algebraic-combinatorics/src: matroids, posets, general-dimensional Ehrhart counting, and matroid Kazhdan-Lusztig/Z-polynomials |
4 files, 26 tests |
| 113.6 verified computation | libs/kalika/numerical/src/verified-computation.ts, taylor-models.ts, and libs/kalika/optimization/src/verified-global-optimization.ts |
complete numerical suite: 19 files, 186 tests; the phase regression inventory enforces at least 30 explicit verified-computation cases |
| 113.7 tool interfaces | cosmology interfaces in libs/kalika/cosmology/src; BLHA2, OpenLoops, Collier, CheckMATE, SModelS, and HiggsBounds/HiggsSignals in libs/kalika/hep-phenomenology/src; Gmsh and computational geometry in libs/kalika/numerical/src; D-modules in libs/kalika/algebraic-geometry/src |
cosmology: 10 files, 80 tests; six HEP interface specs: 32 tests; D-module interface: 5 tests; Gmsh and geometry are included in the 186-test numerical gate |
| 113.8 mathematical logic | libs/kalika/formal-verification/src/model-theory.ts and computability-theory.ts |
2 files, 17 tests |
| 113.9 platform quality | phase-specific cross-module, performance, adversarial, final-report, and browser accessibility gates | cross-module: 55 tests; benchmark/adversarial/report: 20 tests; Chromium accessibility: 3 end-to-end tests covering axe/Pa11y, ARIA math snapshots, focus, and keyboard-only workflows |
| 113.10 minimum test inventories | the four phase-113-*-regression.spec.ts suites in optimization, autodiff, numerical, and cosmology |
each suite asserts its required minimum (60, 80, 30, and 15 respectively) before driving the public implementations |
Verification record#
The following resource-conservative gates passed on 2026-07-12:
- complete Vitest suites for optimization, autodiff-core, autodiff, measure theory, approximation, algebraic combinatorics, cosmology, and numerical, each run independently with one worker
- focused Vitest gates for all Phase 113 HEP interfaces, the D-module interface, model/computability theory, cross-module integration, performance benchmarks, adversarial testing, and the final benchmark report
- TypeScript compilation with
--noEmitfor all phase-owning libraries - ESLint across all phase-owning source roots
- the dedicated Chromium Playwright accessibility gate: 3/3 passed, including WCAG 2.1 AA automation, mathematical screen-reader ARIA snapshots, visible focus checks, and keyboard-only operation across every major workbench control family
git diff --check
External scientific executables are intentionally verified through injectable
subprocess/shared-library runners and native-format parser fixtures, so the
interfaces remain deterministic without requiring CLASS, CAMB, Cobaya, SDPB,
OpenLoops, Collier, CheckMATE, SModelS, HiggsBounds/HiggsSignals, Gmsh,
Macaulay2, or SINGULAR to be installed on the test host. Native VoiceOver and
NVDA execution is not locally actionable on Linux; the platform-bound manual
release checks remain explicitly documented in
apps/kalika/web/ACCESSIBILITY_AUDIT.md.
Repository searches found no unchecked entry in TODOS/phase-113.md and no
TODO, FIXME, HACK, or unimplemented marker in the direct Phase 113
implementation modules. Explicit domain restrictions throw descriptive errors
rather than silently producing unsupported results.