Skip to main content
LLMEvaluator evaluates a mutator by copying a pre-state, running the mutator with StructuredInput, and comparing its best value for every field against an expected interpretive state. The evaluator name describes the typical mutator under test; the comparison itself is deterministic.

Runnable deterministic example

Comparison rules

For each path in the union of expected and actual fields, the evaluator compares the best ValueConfidence objects. overall_match requires zero mismatched, missing, and extra fields. accuracy_score is matching / (matching + mismatched + missing) and is 0.0 when there are no expected fields. Extra fields affect overall_match but are not included in that score’s denominator. time_used measures the mutator call with a monotonic clock. It is an observation from one run, not a normalized performance score. For broader goals and proposed evaluation layers, see the explicitly forward-looking Evaluation strategy.