highnet-rag

Sheet 4 ·Is every line tested?

Every line and every branch of the API, the eval runner and this website runs under a test, and CI rejects a change that drops below 100%. Comments that hide code from the count are not allowed. The numbers below are the committed test run; CI runs the tests again on every change and fails if they no longer match.

Tests
117 Python · 133 web
Rule
100% of lines and branches
Checked
by CI on every push, against a fresh run

The API

The FastAPI app, every pipeline stage, the providers, the storage and the recorder. Tests swap Claude and Voyage for fakes, so no test calls a paid API.

api/src/highnet_rag · measured by pytest + coverage.py

Lines100%1,681 of 1,681
Branches100%280 of 280

The eval runner

The golden sets, the runner and its judge, tested the same way with fake models.

evals/src/highnet_rag_evals · measured by pytest + coverage.py

Lines100%550 of 550
Branches100%52 of 52

This website

Every page, component and helper, rendered in a simulated browser. Generated files (trace types, code excerpts) and stylesheets are not counted.

web · measured by Vitest + V8

Lines100%1,169 of 1,169
Branches100%1,005 of 1,005