Repository navigation
Description
Problem Statement
Current resource server organization doesn't clearly distinguish between:
- Example/tutorial servers (simple_weather, stateful_counter) - for learning patterns
- Production/training servers (workbench, comp_coding, library_judge_math) - for actual training
Impact on users:
- New users unsure which servers to start with for learning
- Unclear which servers are maintained for training
- Mixed messaging between examples and training-ready environments
Proposed Solution: Two-Part Improvement
Part 1: File Organization (Choose One)
Option A: Prefix Naming (Minimal Disruption)
resources_servers/
├── example_simple_weather/ ← Renamed
├── example_stateful_counter/ ← Renamed
├── example_simple_math/ ← Renamed (if exists)
├── workbench/ ← Unchanged
├── comp_coding/ ← Unchanged
├── library_judge_math/ ← Unchanged
└── ...
Pros:
- Minimal changes to imports/configs
- Alphabetically groups examples together
- Clear at a glance
Cons:
- Longer directory names
- Breaking change for existing references
Option B: Directory Structure (Clean Separation)
resources_servers/
├── examples/ ← New directory
│ ├── simple_weather/
│ ├── stateful_counter/
│ └── simple_math/
└── training/ ← New directory
├── workbench/
├── comp_coding/
└── library_judge_math/
Pros:
- Clearest separation
- Easier to add new examples
- Scales well
Cons:
- More disruptive (changes all paths)
- Affects imports, config paths, scripts
- Requires migration plan
Option C: Directory Structure (Examples Only)
resources_servers/
├── examples/ ← New directory
│ ├── simple_weather/
│ ├── stateful_counter/
│ └── simple_math/
├── workbench/ ← Keep at root
├── comp_coding/ ← Keep at root
└── library_judge_math/ ← Keep at root
Pros:
- Clear separation for examples
- Less disruptive than Option B (only examples move)
- Production servers stay at familiar paths
Cons:
- Still requires updating example server paths
- Not as clean as Option B
Recommendation: Option A for v0.1.0 (minimal disruption), consider Option B or Option C for v0.2.0
Part 2: Documentation Changes (Required Regardless of Part 1)
Split README Table into Two
Current: Single table mixing examples and production servers
Proposed: Two distinct tables with different purposes
Table 1: Example Resource Servers (For Learning)
Purpose: Demonstrate NeMo Gym patterns and concepts
| Name | What It Demonstrates | Config Path | README |
|---|---|---|---|
| Simple Weather | Basic single-step tool calling | config | README |
| Stateful Counter | Session state management (in-memory) | config | README |
Key features:
- "What It Demonstrates" column (pedagogical focus)
- Links to relevant tutorial sections
- Clear indication these are for learning, not production training
- Ordered by complexity (simplest first)
- Removed domain column as not relevant
Table 2: Resource Servers for Training
Purpose: Training-ready environments with curated datasets
| Domain | Resource Server | Train | Val | Config | License |
|---|---|---|---|---|---|
| Agent | Workbench | ✓ | ✓ | config | Apache 2.0 |
| Agent | Google Search | ✓ | - | config | Apache 2.0 |
| Agent | Multiverse Math Hard | ✓ | - | config | Apache 2.0 |
| Coding | Comp Coding | ✓ | ✓ | config | Apache 2.0 |
| Math | Library Judge Math | ✓ | ✓ | config | Apache 2.0 |
| Math | Python Math Exec | ✓ | - | config | Apache 2.0 |
| Knowledge | MCQA | ✓ | - | config | Apache 2.0 |
| Instruction Following | Instruction Following | ✓ | - | config | Apache 2.0 |
Key features:
- Dataset availability at a glance (Train/Val checkmarks)
- License information for compliance and legal clarity
- Grouped by domain for easy filtering
- Production-ready environments maintained for training workflows
- Config files contain data paths and full training setup
Activity