nemo_gym.harness_capabilities.contracts

View as Markdown

Native evidence paths and their authoritative Gym models.

Validate retained JSON strictly before applying the stronger TE semantics. Missing collections are handled by the capability checks and explicit applicability.

Module Contents

Functions

NameDescription
model_errorsYield JSON pointers and error codes without copying source payloads.

Data

PATH_MODELS

SCHEMA_VERSION

TOKEN_FIELDS

API

nemo_gym.harness_capabilities.contracts.model_errors(
record: dict
) -> collections.abc.Iterator[tuple[str, str]]

Yield JSON pointers and error codes without copying source payloads.

nemo_gym.harness_capabilities.contracts.PATH_MODELS = {'ng_model_call_capture.calls': TypeAdapter(list[ModelCallRecord]), 'ng_trajecto...
nemo_gym.harness_capabilities.contracts.SCHEMA_VERSION = 'gym-p0-evidence/v2'
nemo_gym.harness_capabilities.contracts.TOKEN_FIELDS = ('tokens_in', 'tokens_out', 'tokens_reasoning', 'tokens_total', 'cached_tokens')