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

Assay, cast by CupelWorks

Step out into the future of testing

It passed.
Once.

With Assay you can run a test on your AI application as many times as you choose, and it tells you in plain words whether it really passes.

1 of 1 run passed

An example batch: one passing run proves little. After 28 of 28 passing runs the verdict is still Inconclusive. The 29th passing run makes it Passed: the test passes at least 9 times in 10, 95% sure.

Example: the test “Promo code format”, run with statistics.

How to read a verdict

Passed 29 of 29 runs: it passes at least 9 times in 10 (95% sure).

The verdict
Passed, Failed, or Inconclusive: not enough runs yet, and a bigger batch would settle it.
What Assay saw
Every run of the test, each one kept with its answer and its checks.
Your goal
How often the test has to pass. You set it; Assay works out how many runs it takes.
How sure
Wrong at most 1 time in 20. No jargon: the sentence is the result.

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

Test
Promo code format
Input
Is there a discount code for spring?
Answer
Yes: use SPRING20 at checkout.
Check
Contains SPRINGMet
Check
Regex match [A-Z]+[0-9]{2}Met
Run
Green: every check was met
An example test, run once
The three kinds of checks
Fixed rulesWhether the answer has what it must have.
  • Contains
  • Regex
  • JSON schema
  • Length limits
Text similarityHow close the answer is to the one you expected.
  • ROUGE
  • BLEU
  • METEOR
  • BERTScore
  • Cosine similarity
An LLM as judgeWhat a second model makes of the answer.
  • Correctness
  • Relevance
  • Bias
  • Toxicity
  • Hallucination

Each run ends Green, Amber or Red by how its checks went, or Not Ran when it couldn’t run at all.

You see what a batch costs before anything runs.

Assay works out how many runs it takes to reach your goal and counts the calls each one makes. Or let it run until there’s an answer: it runs in waves and stops as soon as every check has one.

Runs
29 × 1 test
Calls to your application
29
Calls to the judge
None
An example estimate for the test above. Its checks are fixed rules, so no judge is called.

Change the prompt. Then ask: did it get better?

Run a batch before the change and one after. Assay compares the two check by check, and says what changed in the same plain words.

Correctness

Better (95% sure)

Relevance

No clear difference

After minus before, per check: the bar is the range the difference lies in. Clear of the red line, it changed. An illustrative example.

Every measurement is kept, and can be run again.

Datasets, tests, test sets frozen once they run, and every run with its answer and its checks. A verdict comes with the record it was decided on.