<style>app-root:not(.is-live) { visibility: visible; }</style> Skip to content

From a question to a verdict.

Assay is built from seven pieces, each resting on the one before. Follow the red line from a file of prompts to an answer you can stand behind.

  1. 1Dataset
  2. 2Test
  3. 3Test set
  4. 4Test plan
  5. 5Run
  6. 6Batch
  7. 7Verdict

Dataset

Where tests come from.

Rows of prompts, the answers you expect and, if you have them, answers your application already gave. Imported from a .jsonl file. Optional: a test can be written by hand.

PromptExpectedRecorded answer
Is there a discount code for spring?Gives the spring codeYes: use SPRING20 at checkout.
How do I reset my password?Links to the reset pageNone
Can I return a sale item?Yes, within 30 daysSale items can be returned within 30 days.
Example rows

Test

A question, what a good answer says, and the checks that decide it.

Made from a dataset row or by hand, and always editable. Each check is a fixed rule, a text-similarity score or an LLM acting as judge.

Test
Promo code format
Input
Is there a discount code for spring?
Contains
SPRING
Regex match
[A-Z]+[0-9]{2}
An example test with two checks

Test set

A baseline that holds still.

Adding a test copies it in. From then on the copy is its own: once the set has run, it’s frozen, so every later run measures exactly the same thing.

Promotions

  • Promo code formatFrozen
  • Spring sale datesFrozen
  • Free shipping thresholdFrozen
  • Sale returnsFrozen
An example set of four copies, after its first run

Test plan

A campaign of test sets.

Running a plan runs every entry of every set linked to it. A plan links sets; it doesn’t own them, so you can change what it links at any time.

Release check

  • Promotions4 entries
  • Account help6 entries
  • Tone of voice5 entries
An example plan linking three sets

Run

One test, a set or a plan, run once.

A live run uses what’s there today. A replay re-runs exactly what a past run used, as it was then. Every run keeps the answer its checks judged.

  • GreenEvery check was met.
  • AmberSome checks were met, some weren’t.
  • RedNo check was met.
  • Not RanNothing could be checked at all.
How a run can end

Batch

The same thing, run many times as one.

Run with statistics: Assay shows the cost first, then runs a fixed number of times, or in waves that stop as soon as every check has its answer.

29 runs, 29 calls to your application, no judge calls

An example batch of the test above

Verdict

An answer per check, in words.

The runs leave a range the real pass rate can be in. Passed when the whole range clears your goal, Failed when it’s below, Inconclusive when the goal falls inside it.

Passed

Failed

Inconclusive

Three example ranges against the same goal

Four things worth knowing.

Frozen once it runs.
A test set’s copies freeze the moment they run, and never unfreeze. A past result always matches what was tested.
Plans link sets; they don’t own them.
Link or unlink sets at any time. A live run uses today’s links; a replay reuses exactly what a past run touched.
One check that can’t run doesn’t sink the run.
It counts as not met, so the run usually lands Amber. Not Ran means nothing could be checked at all.
Two runs of one test can differ.
Without a recorded answer, every run asks your application again, and its live reply is what gets scored.

Every verdict leads back to the question it answers.

From a verdict, open its batch; from the batch, every run; from a run, the answer it judged and the test exactly as it ran.