cp.nvim/lua/cp/runner
Barrett Ruth e685a8089f feat: add epsilon tolerance for floating-point output comparison
Problem: output comparison used exact string equality after whitespace
normalisation, causing correct solutions to fail on problems where
floating-point answers are accepted within a tolerance (e.g. 1e-6).

Solution: add an optional ui.panel.epsilon config value. When set,
actual and expected output are compared token-by-token: numeric tokens
are compared with math.abs(a - b) <= epsilon, non-numeric tokens fall
back to exact string equality. Per-problem epsilon can also be stored
in the cache and takes precedence over the global default.
2026-02-26 23:00:35 -05:00
..
execute.lua feat: add debug logging to python env, scraper, and runner 2026-02-18 17:40:06 -05:00
run.lua feat: add epsilon tolerance for floating-point output comparison 2026-02-26 23:00:35 -05:00
run_render.lua feat(highlight): use default highlights 2026-01-27 14:27:41 -05:00