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
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.