Sample data — static demo, cached answers

Evaluation

42 published cases over the bundled corpus: answerable, refusal-required and citation-sensitive. The table shows the latest dated run — the deterministic mock, no model, no key.

Latest run — deterministic-mock

2026-11-19 · 42 cases

Correct
42/42
Source hit rate
97%
Citations valid
100%
Refusals
12
answerable: 20/20citation-sensitive: 10/10refusal-required: 12/12

Cases

idcategoryexpectedquestionresult
a01answerableanswerHow do I declare path parameters in a route?pass
a02answerableanswerHow do I add query parameters to an endpoint?pass
a03answerableanswerHow do I send a request body with a Pydantic model?pass
a04answerableanswerHow do I set a response model on a path operation?pass
a05answerableanswerHow do I return a different status code like 201?pass
a06answerableanswerHow do I enable CORS so a browser frontend can call the API?pass
a07answerableanswerHow do I run a task after sending the response?pass
a08answerableanswerHow do I serve static files like images?pass
a09answerableanswerHow do I test a FastAPI app without a running server?pass
a10answerableanswerHow do I handle errors and return custom error responses?pass
a11answerableanswerHow do I read cookies from a request?pass
a12answerableanswerHow do I read HTTP headers in a path operation?pass
a13answerableanswerHow do I receive form data instead of JSON?pass
a14answerableanswerHow do I accept file uploads?pass
a15answerableanswerHow do I connect FastAPI to a SQL database?pass
a16answerableanswerWhat is dependency injection in FastAPI?pass
a17answerableanswerHow do I split a large FastAPI app into multiple files?pass
a18answerableanswerHow do I create middleware that runs on every request?pass
a19answerableanswerHow do I validate nested objects in the request body?pass
a20answerableanswerWhat data types beyond str and int can parameters use?pass
r01refusal-requiredrefuseHow do I bake bread?pass
r02refusal-requiredrefuseWhat is the capital of France?pass
r03refusal-requiredrefuseHow do I fix a flat tire?pass
r04refusal-requiredrefuseWho won the world cup?pass
r05refusal-requiredrefuseHow do I train a neural network in PyTorch?pass
r06refusal-requiredrefuseWhat is the weather going to be tomorrow?pass
r07refusal-requiredrefuseHow do I get a visa for Brazil?pass
r08refusal-requiredrefuseExplain general relativity in simple terms.pass
r09refusal-requiredrefuseHow do I fix a leaking faucet?pass
r10refusal-requiredrefuseHow do I deploy FastAPI to Kubernetes with Terraform?pass
r11refusal-requiredrefuseHow do I configure OAuth2 scopes in AWS Cognito?pass
r12refusal-requiredrefuseWhat is the best restaurant in Sao Paulo?pass
c01citation-sensitiveanswerWhich status code should a create endpoint return?pass
c02citation-sensitiveanswerWhere does TestClient come from?pass
c03citation-sensitiveanswerCan a dependency use yield to clean up after the response?pass
c04citation-sensitiveanswerHow do I run code when the app starts up?pass
c05citation-sensitiveanswerHow do I override dependencies in tests?pass
c06citation-sensitiveanswerCan I declare extra responses in the docs for a path operation?pass
c07citation-sensitiveanswerHow do I use WebSockets in FastAPI?pass
c08citation-sensitiveanswerHow do I apply a dependency to every path operation globally?pass
c09citation-sensitiveanswerHow do I use a class as a dependency?pass
c10citation-sensitiveanswerHow do I debug a FastAPI app in an editor?pass

Source-hit rate measures whether the expected document appears in the retrieved set — a case can still answer correctly from an adjacent doc. No accuracy claim is made beyond this dated table.