← All tools
EDTOOLKITS GUIDES

Build answerable and unanswerable evaluation cases

By Team Edtoolkits · AI learning

Use the test-file helper to make expected behaviour explicit before a separate local model grades answers.

Use the guide alongside the working tool.

Open Test Your App with an AI Judge →

Explore the lesson

Write a few test questions with what a good answer must contain.

Run two versions of your app and let a judge model mark each answer.

Compare the scores and read the cases that changed.

A comparison to try

Write one question with supporting facts and a required answer. Add a second question whose answer is absent from those facts and specify that the app should say it does not know. Inspect the generated tests.json.

Read the result

A trap case checks restraint as well as recall. The facts and expected behaviour define what the judge should assess, making later disagreements easier to review than a vague instruction to score quality.

A mistake to avoid

This page builds test data; it does not run a judge. A local model's grade is still fallible, and repeated or tiny test sets do not establish that one application version is reliably better.

Teaching model and privacy

A written tutorial: nothing here runs a model in your browser. The helpers only build text and give general advice. A judge model makes mistakes and has biases, so its scores are a guide, not proof. You need a local model runner from the setup lessons; its address and model name may differ on your computer. Commands change as tools update, so check each project's official documentation if one fails.

Ready to apply this workflow?

Try Test Your App with an AI Judge →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE