Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview
On this page

LocalEvaluatorRunner

run()

Execute an evaluation run and return results.

def run(examples, scorers, eval_run_name, assert_test=False, timeout_seconds=300) -> typing.List:

Parameters

PropType
examplesList[Example]

Examples to evaluate.

TypeList[Example]
scorersList[S]

Scorers to run (strings or Judge instances).

TypeList[S]
eval_run_namestr

Name for this evaluation run.

Typestr
assert_test?bool

Deprecated and ignored by the current evaluation result payload.

Typebool
DefaultFalse
timeout_seconds?int

Maximum time to wait for results.

Typeint
Default300

Returns

typing.List - A list of ScoringResult objects, one per example.

Was this page helpful?