c59b53cdc4
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 22:55:05 -05:00
06f72bbe2b
fix: only show user-configured platforms in picker
...
Problem: tbl_deep_extend merges user platforms on top of defaults, so
all four default platforms survive even when the user only configures a
subset. The picker then shows platforms the user never intended to use.
Solution: before the deep merge, prune any default platform not present
in the user's platforms table. This preserves per-platform default
filling (the user doesn't have to re-specify every field) while ensuring
only explicitly configured platforms appear.
2026-02-18 17:29:41 -05:00
d496509fce
feat(config): improve config parsing phrasing
2026-01-27 17:33:16 -05:00
383b327442
fix(config): validate scraper names better
2026-01-27 17:32:21 -05:00
3f677137de
fix(config): one of validation
2026-01-27 17:27:15 -05:00
0a1cea9b43
feat: debug
2026-01-27 17:25:03 -05:00
d89a40b21f
feat: update git formatting
2026-01-27 17:18:52 -05:00
Barrett Ruth
e89c2e1cf5
feat(codechef): finalize codechef impl
2025-10-25 01:41:55 -04:00
Barrett Ruth
181fff42de
feat(ui): documentation for :CP edit abilities
2025-10-24 16:35:00 -04:00
Barrett Ruth
4b1b75fd6e
fix(config): padding spacing
2025-10-24 14:44:33 -04:00
Barrett Ruth
f52244c534
better errors
2025-10-24 01:32:48 -04:00
Barrett Ruth
bd30fb626c
feat: start lang refactor
2025-10-24 01:11:19 -04:00
Barrett Ruth
f715075dbe
fix types
2025-10-24 00:34:42 -04:00
Barrett Ruth
249e84eb5a
feat: customization
2025-10-24 00:26:14 -04:00
Barrett Ruth
9ffc285e16
feat: document bdingins
2025-10-23 23:45:05 -04:00
Barrett Ruth
6a6cf2c594
feat: bindings and --debug flag
2025-10-23 23:36:09 -04:00
Barrett Ruth
c312ccbb4d
fix: highlighting
2025-10-23 18:16:36 -04:00
Barrett Ruth
13933fc7fd
feat: clearcol
2025-10-23 12:10:14 -04:00
Barrett Ruth
114187164e
improve some refactors
2025-10-23 11:16:13 -04:00
Barrett Ruth
018d801121
fix: rename run panel to panel
2025-10-23 09:54:55 -04:00
c0e175d84b
feat(config): open url option
2025-10-12 16:19:02 -04:00
b68ecbbe96
rename and simplify things
2025-10-05 11:59:24 -04:00
d2bde9bad8
fix(config): better file org
2025-10-04 19:54:53 -04:00
a76d228e3f
feat(doc): update for new config
2025-10-04 19:04:49 -04:00
aae98a5796
disable scraper disabling
2025-10-04 17:45:49 -04:00
0a320945a0
fix(config): platforms, not contests
2025-10-04 16:29:35 -04:00
3fbbfa9423
normalize scraper behavior
2025-10-04 16:13:04 -04:00
91dbc4560c
fix(ci): unused var
2025-10-02 23:49:45 -04:00
cddd61f061
config hard fail
2025-10-02 23:20:51 -04:00
1974addbd2
fix(lua): bunch of typing
2025-10-02 14:18:26 -04:00
57be0c0044
remove keys
2025-10-02 10:23:01 -04:00
b406c0ce4e
fix: synchronous problem fetch
2025-10-01 12:25:07 -04:00
46cd509747
fix docs and superfluous vim.validate calls
2025-09-30 20:55:29 -04:00
f0fbb15765
fix: default contest config
2025-09-26 09:28:23 -04:00
b41ed5be13
feat: provide default contest config
2025-09-26 09:15:43 -04:00
7efd6404b6
feat: interactive terminal
2025-09-26 08:28:19 -04:00
975e829f78
fix: remove version
2025-09-24 18:28:41 -04:00
9e84d57b8a
feat: context, not config
2025-09-24 18:21:34 -04:00
5a6902633f
refactor: massive file restructure
2025-09-22 19:00:36 -04:00
0851339e63
fix(diff): default to boring view
2025-09-21 17:19:34 -04:00
ff20efca71
feat(diff): third, regular diff mode
2025-09-21 17:18:22 -04:00
0a39a2e6a2
fix(test): proper picking
2025-09-21 15:15:04 -04:00
78fb4f8f4b
feat(cache): cache clearing, updating and resetting
2025-09-21 15:08:55 -04:00
965e47a1df
feat: refactor file structure
2025-09-21 14:29:01 -04:00
e48e70a5f9
fix(config): easier language default per-contest
2025-09-21 14:16:27 -04:00
a33e66680b
feat(picker): picker support
2025-09-21 11:10:54 -04:00
f60f6dd5bb
feat(ansi): better logging and option to disab;e
2025-09-20 14:37:51 -04:00
77aa5dd4c4
fix(cache): use abs path
2025-09-19 23:30:07 -04:00
de232ed96c
Merge branch 'feat/config-validation' into feat/derive
2025-09-19 23:22:33 -04:00
ad3cd32bac
fix(ci): relax extensino validation
2025-09-19 23:22:24 -04:00