Checks and diagnostics¶
Inspect files from the command line¶
Write a store with Store.to_jsonl() and label definitions with
Taxonomy.to_json(), then run:
uv run storecheck static store.jsonl --taxonomy taxonomy.json --json report.json
uv run storecheck static store.jsonl --taxonomy taxonomy.json --fail-on WARN
uv run storecheck diff baseline.jsonl candidate.jsonl
static exits 0 when findings stay below the selected threshold, 1 when findings
reach it, and 2 for invalid input. Warnings do not fail the default gate. Omitting
the taxonomy therefore does not make the command fail, but leaves label validity
unchecked. diff prints additions, removals, and edits; differences alone do not
produce a failing exit status. Influence checks use the Python API. There is no
web interface.
What the checks establish¶
Layer |
Available checks |
Interpretation |
|---|---|---|
Static |
Schema, taxonomy validity, exact and near duplicates, staleness, identifier patterns, neighborhood purity, scope/label counts |
Finds review candidates. Similarity and balance do not establish prediction quality. Embedding checks can invoke an embedder. |
Dynamic |
Regression, row influence, coverage, unused rows, majority-correct evidence |
Measures outcomes or retrieval on the supplied queries. A finite sample does not establish behavior on all future traffic. |
Mutation |
Label flips, redundancy, region removal, label shuffling, custom mutations |
Tests caller-declared expectations. A default mutation need not damage every classifier. |
The release-review API combines Pipeline, Store or Snapshot, EvalSet,
and Objective. Query carries runtime inputs and Prediction records the
application output. Stores retain immutable rows. Store versions cover
serialized content, including provenance and embeddings; row order is preserved
for retrieval and included in retrieval cache identity. JSONL imports preserve
missing creation times as unknown; the age check reports those rows separately.
Text edits discard stale
embeddings. Generated vectors record the embedder identity and are recomputed
when that identity changes. External vectors without an identity remain the
caller’s responsibility.
Custom retrievers implement
retrieve(query, store, k=None, *, scope=None) -> list[Row]. Custom deciders
implement decide(query, examples) -> str; CallableDecider wraps a function.
These separate retriever/decider interfaces serve the lower-level Evaluator
and row diagnostics. That evaluator memoizes deterministic decisions and must
be recreated when configuration changes. The primary compare_stores() API
uses the whole application callable and performs every paired call.