Skip to content

Deterministic evaluators

Softprobe role: Softprobe does not implement this family as a Softprobe evaluator. Use a framework that already owns these checks, pin it as a RunnerVersion, and capture the native result bundle. See Ecosystem method families.

Deterministic evaluators compare artifacts with exact rules: equals, contains, not-contains, regex, JSON Schema, AST match, policy rules, and unit tests.

They are pure scorers over typed artifacts — fast, hermetic, and ideal for CI.

What they measure

CheckExample
Exact matchOutput equals expected string
Contains / not-containsSkill name appears in routing response
RegexStructured field matches pattern
JSON SchemaTool args validate against schema
Policy rulesForbidden strings absent

Required evidence

  • Model output text or structured JSON
  • Optional reference text from the framework case
  • Environment state snapshots when rules target oracle fields

Example measurements

MeasurementEvaluator
router.skill_matchicontainsbilling-support
confidentiality.no_internal_termsnot-icontainsinternal_db_schema

Promptfoo icontains / not-icontains stay in the FrameworkDefinition. Softprobe runs them via a pinned runner — it does not re-author them as Softprobe evaluators. See Framework runners.

Resembles

Promptfoo assertions, Langfuse CODE evaluators, Braintrust custom scorers with pure functions.

Extension rule

Ship or pin a framework runner that already owns this method family. Do not add Softprobe scorer plugins, Softprobe Measurement schemas, Softprobe reducers, or Softprobe human-evaluator runtimes.

See Ecosystem method families and Framework runners.

Zero code changes · Full-context visibility · Cost optimization