Skip to navigation

nemo_gym.sandbox.providers.opensandbox.failures

View as Markdown

Translate OpenSandbox SDK and transport observations into registered failure kinds.

Module Contents

Functions

NameDescription
opensandbox_failureClassify this operation’s evidence, then construct its sandbox event.

API

nemo_gym.sandbox.providers.opensandbox.failures.opensandbox_failure(
operation: str,
sandbox_id: str | None = None,
cause: BaseException | None = None,
failure_kind: str | None = None,
reason: str | None = None,
execution_id: str | None = None,
provider_status_reason: str | None = None,
exit_code: int | None = None,
http_status: int | None = None

Classify this operation’s evidence, then construct its sandbox event.

Message text cannot establish OOM, credentials rejection, command termination, or safe command replay. Callers raise the event from cause.