Repository navigation
Description
Use cases, pain points, and background
Verifier logic in Gym today is coupled to the resources server. Scoring functions live inside a FastAPI server subclass — they cannot be used, tested, or composed without standing up a server. Every environment re-implements scoring from scratch, and adding a verifier requires navigating global dependency constraints rather than making a local change.
What is needed is a verifier as a first-class, typed primitive: a standalone callable that takes a response and metadata, returns a structured score, and can be used inside or outside a resources server, in tests, offline re-scoring pipelines, or external tooling — without requiring a running server.
NeMo Evaluator has equivalent scoring infrastructure (metrics, scorers, benchmark schemas) and Gym needs parity with that catalog, but the primary deliverable is the framework itself. The migration is a consequence of building the right foundation.
Related: #1499 (iterative verifier design), #1583 (BYOB)
Description
Define and ship a typed verifier primitive in NeMo Gym: a common interface, input and result types, a registry, and dependency isolation. Then populate the catalog with verifiers that reach parity with NeMo Evaluator's scoring infrastructure.
Documentation
Contributor docs covering the interface, how to add a verifier, the isolation model, and the catalog.
Out of scope
- Net-new metrics or scorers beyond Evaluator parity — track separately
- Schema redesigns — preserve existing schemas
- Performance optimization beyond parity requirements
Acceptance criteria
- Typed verifier interface defined and merged — input types, output types, registry
- Verifiers usable outside the resources server without a running server
- Verifier components importable externally without pulling in unrelated dependencies
- RFC approved covering the interface and dependency-isolation strategy
- Catalog inventory published: each NeMo Evaluator metric/scorer mapped to a Gym verifier or explicit deferral
- Every in-scope scorer has a parity-passing verifier in Gym with automated CI test
- Contributor documentation published covering the interface, isolation model, and catalog
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDev Todo
Activity
[-][epic] Metrics parity: NeMo Gym verifiers with feature parity to NeMo Evaluator scorers[/-][+][epic] Typed verifiers: NeMo Gym verifiers with feature parity to NeMo Evaluator scorers[/+][-][epic] Typed verifiers: NeMo Gym verifiers with feature parity to NeMo Evaluator scorers[/-][+][epic] Typed verifiers: primitive building blocks for verifiers for Gym[/+]ritaneves commentedon Jul 28, 2026
I do not fully understand this. Do we want to decouple verifiers from resources server, @sephmard ?
[-][epic] Typed verifiers: primitive building blocks for verifiers for Gym[/-][+][epic] Typed verifiers: standalone primitives outside the resources server[/+]