nemo_gym.server_runtime.verifier_observability
nemo_gym.server_runtime.verifier_observability
Observe whole verify executions independently of their captured model calls.
Module Contents
Functions
Data
API
Link a captured attempt to its caller-declared verifier invocation, when supplied.
Execute a reviewed async LLM-judge grading once and record its actual result in the active invocation.
The judge replies parsed by call_judge during calculate become the operation’s dependencies. It completes
only when every judge reply was identified, at least one was, the call site marked every reply with
record_parsed_judge_verdict and the result binds; otherwise it stays unknown. Errors propagate unchanged.
Execute a reviewed synchronous scorer once and record its actual result in the active invocation.
This is an explicit call-site contract for pure calculations, not a purity detector for arbitrary callbacks. Judge/SDK/sandbox paths must not use it to label a returned result as programmatic.
Return verification evidence with its result, leaving persistence to collection.
A verify execution named by verifier_name that completes without sending any model request also returns
its grading record: the verifier, the score and its verdict, bound to the graded response. A verifier that may
ask a model through a client that notes no request (uninstrumented_models) never returns one: missing notes
do not show that its grading was model-free.
HTTP failures keep their status and carry evidence in the error body. Cancellation still propagates; a cancelled or lost response cannot deliver in-memory evidence.
Bind owner-observed sandbox facts to the active verification.
These facts do not certify remote liveness or dependency-free grading.