nemo_gym.resources_server_registry
nemo_gym.resources_server_registry
Registry of resources servers under resources_servers/<name>/.
A resources server (verifier + per-task state) is one component of an environment, selected by name
with --resources-server. This module maps each config flavor to its (domain, description) — read
the same way gym list environments/benchmarks read theirs (via
:func:~nemo_gym.discovery.read_config_metadata) — so they can be enumerated by name.
Module Contents
Classes
Functions
Data
RESOURCES_SERVER_CONFIGS_SUBDIR
API
A discovered resources server: its name, where it lives, and lightweight metadata.
True if a config declares a resources_servers block (vs a helper like a judge model). Never raises.
Map resources-server name -> :class:ResourcesServerEntry for every flavor under one dir.
One entry per config flavor that declares a resources_servers block: <dir> for the default config
(<dir>.yaml) and <dir>/<flavor> for the rest (<flavor>.yaml).
Helper configs (no resources_servers block) are skipped. Empty dict if the dir is missing.
Map resources-server name -> :class:ResourcesServerEntry for every discoverable server.
Scans the resources_servers/ subdir of every :func:~nemo_gym.discovery.component_search_roots
root (NEMO_GYM_EXTRA_ROOTS + cwd + built-ins), merged so user servers shadow same-named built-ins.
The value field declared on a resources server config (for the inspect view). Never raises.