nemo_gym.harness_capabilities.behavior

View as Markdown

Checks against controlled observations; independent of artifact validation and process exit.

Module Contents

Functions

NameDescription
_mapping-
_objects-
inspect_behaviorCheck saved evidence and observations against explicit test expectations.
model_checksCompare canonical fields to the independently scripted endpoint exchanges.
tool_checks-

API

nemo_gym.harness_capabilities.behavior._mapping(
value: object
) -> dict
nemo_gym.harness_capabilities.behavior._objects(
value: object
) -> list[dict]
nemo_gym.harness_capabilities.behavior.inspect_behavior(
witness: dict | None,
record: dict | None,
http_errors: tuple[int, ...],
terminal_error: bool,
tool_steps: int,
expected_reward: float,
fingerprint: collections.abc.Callable
) -> list[dict]

Check saved evidence and observations against explicit test expectations.

nemo_gym.harness_capabilities.behavior.model_checks(
record: dict | None,
attempts: list[dict],
fingerprint: collections.abc.Callable,
available: bool = True
) -> list[dict]

Compare canonical fields to the independently scripted endpoint exchanges.

nemo_gym.harness_capabilities.behavior.tool_checks(
record: dict | None,
witnessed: list[dict],
applies: bool = True,
available: bool = True
) -> list[dict]