## 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.
17 lines
326 B
HTML
17 lines
326 B
HTML
<html>
|
|
<head><title>Arithmetic Sequence</title></head>
|
|
<body>
|
|
<span>CPU Time limit</span><span class="num">2 seconds</span>
|
|
<span>Memory limit</span><span class="num">512 MB</span>
|
|
<table class="sample">
|
|
<pre>3
|
|
1 2 3</pre>
|
|
<pre>YES</pre>
|
|
</table>
|
|
<table class="sample">
|
|
<pre>2
|
|
1 3</pre>
|
|
<pre>NO</pre>
|
|
</table>
|
|
</body>
|
|
</html>
|