Choose the scope
For a grader with editable scope, enable either or both sources:- Grades simulations: choose All simulations, or Selected test suites and tests. A suite selection includes its tests in future runs.
- Grades production: set Production sample from
1through100percent. Use100to select every eligible production conversation.
Set the threshold and settings
Set Pass threshold between0 and 1. The grader passes when its score is
at least that threshold. Keep the threshold at 1 for a binary rule when you
want a failed check to fail the grader.
Some graders have extra settings. For example, Response latency has a
maximum response time in milliseconds. These settings control how it computes
the score; the pass threshold controls how that score becomes an individual
result.
For an LLM grader, choose Language model from the supported choices.
This includes Expected behaviors. Each project saves its own model and
settings. Saving them does not create a grader definition version.
Egma saves defaults when you first use a grader. Compatible updates to an
Egma-provided definition apply to future work and preserve your saved model,
settings, scope, and threshold. A custom clone is independent of its source.
Save your settings, then start a new run. A simulation keeps the grader selection,
definition versions, settings, and pass thresholds captured for its run.
Changes apply to future work.
Production grading saves its selection when the conversation is selected for
grading. Later policy changes do not change that work or its retries.
Regrade a simulation
Use regrading to run the original grading work again for the same completed simulation. This can recover from a temporary grading failure or include agent evidence that arrived after the first grading attempt.- Open a completed simulation from Runs.
- Select Regrade.
- Confirm Regrade simulation and wait for grading to finish.
grades, and all attempts in gradeHistory.
Each grade’s parameterValues records the settings used for that attempt,
including its model or numeric settings. Both successful and errored grades
keep these values; they contain no credentials.