How to Build a Golden Dataset for Repeatable AI Evaluations
A golden dataset is a curated, versioned set of inputs with reviewed expected outputs or explicit pass criteria, used as the fixed reference you run before every…
EXPLORE THE TOPIC
Methods for testing AI outputs, protecting privacy, and documenting responsible use.
24 published articlesA golden dataset is a curated, versioned set of inputs with reviewed expected outputs or explicit pass criteria, used as the fixed reference you run before every…
Build a small, versioned set of real questions paired with the chunk IDs that should answer them, run only the retriever against it, and gate recall@k and…
LLM integrations cannot be tested with exact string assertions, because the same input can produce different wording on every call. The workable approach is layered: mock the…
A review rubric converts subjective approval into two machine-readable outputs: a score per quality axis and a named rejection reason when a draft fails. This guide explains…
Hallucinations are best handled as two linked tasks: measuring them with a labelled evaluation set, and reducing them with grounded retrieval plus an output guardrail. This guide…
A local AI runtime such as Ollama, LM Studio, or llama.cpp usually ships with no authentication and a plain-HTTP listener bound to localhost. WordPress should never talk…
A hallucination evaluation for a local model needs three things: questions whose answers you have verified, a cold run with no tools or retrieval, and a grading…
AI-generated WordPress content cannot be regression-tested with exact-match assertions, because correct output varies between runs. The practical replacement is an eval: a scored check that runs a…
A fixed test suite replaces impressions with a comparable number: freeze the tasks, the harness, the runtime, and the scoring rule, then run the same suite repeatedly.…
Adding human review before publication means inserting an explicit approval state between generation and publishing, binding that approval to a specific version of the content, and letting…
An AI citation supports a claim only when the cited source, read in context, actually states that claim. This guide explains how to resolve citations, compare claims…
Raising a local model's context window from 2K to 32K changed generation speed by essentially nothing in a published llama.cpp sweep, but added about 1.7 GB of…