Commit graph

11 commits

Author SHA1 Message Date
Barrett Ruth
8465e70772
test: add offline fixture coverage for Kattis and USACO (#342)
## Problem

Kattis and USACO had zero offline test coverage — no fixtures, no
conftest
routers, and no entries in the test matrix. The `precision` field and
error
paths were also unverified across all platforms.

## Solution

Add HTML fixtures for both platforms and wire up `httpx.AsyncClient.get`
routers in `conftest.py` following the existing CSES/CodeChef pattern.
Extend the test matrix from 12 to 23 parametrized cases. Add a dedicated
test for the Kattis contest-vs-slug fallback path (verifying
`contest_url`
and `standings_url`), three parametrized metadata error cases, and a
targeted assertion that `extract_precision` returns a non-`None` float
for
problems with floating-point tolerance hints.

Closes #281.
2026-03-06 16:49:49 -05:00
f805251762 some misc fixes 2025-12-07 16:09:17 -06:00
Barrett Ruth
161c4cc113 fix(ci): format fixutres 2025-10-25 02:01:48 -04:00
Barrett Ruth
e89c2e1cf5 feat(codechef): finalize codechef impl 2025-10-25 01:41:55 -04:00
Barrett Ruth
fa3de99222 fix(test): relocate fixtures 2025-10-25 00:37:19 -04:00
Barrett Ruth
8ba2a598fe fix(tests): refactor fixture directory 2025-10-25 00:34:32 -04:00
Barrett Ruth
2fda5a74ca feat: codechef 2025-10-25 00:26:33 -04:00
Barrett Ruth
00fe1abcf1 fix(ci): format 2025-10-23 22:12:23 -04:00
Barrett Ruth
d4b88be44b fix formatting 2025-10-23 22:11:02 -04:00
4fac6c8019 feat(tests): fixtures 2025-10-05 23:06:38 -04:00
c509102b37 feat(tests): basic tests 2025-10-05 21:58:43 -04:00