class Riffer::Evals::Evaluator

Base class for all evaluators in the Riffer framework.

Provides a DSL for defining evaluator metadata and the evaluate method. Simple evaluators only need to set +instructions+ — the base class handles calling the judge automatically.

See examples/evaluators/ for reference implementations.

class MyEvaluator < Riffer::Evals::Evaluator instructions “Assess medical accuracy of the response…” higher_is_better true judge_model “anthropic/claude-opus-4-5-20251101” end