Skip to content

[VDR][v0.5.0] Docs stale vs. shipped code #2236

Closed
1 of 1 issue completed
Closed

Description

@anwithk

Documentation that has drifted from the shipped CLI. Cheap to fix and highly visible — these are the first commands and outputs a new user compares their terminal against.

Findings: 8 (1 high, 2 medium, 5 low)
Code paths: fern/versions/latest/pages/get-started/installation.mdx, fern/versions/latest/pages/get-started/quickstart.mdx, fern/versions/latest/pages/model-server/vllm.mdx, fern/versions/latest/pages/reference/cli-commands.mdx
Source: DX review Gym-1-20260730170035 · target ref e446e4f4 · 2026-07-30
Tracker: #2214

Sub-issues (critical + high)

Filed individually as sub-issues of this one:

  • 🟠 DOC-1b0c2766 — Two current docs pages still teach the deprecated ng_* CLI

Additional findings in this workstream

Tracked here rather than as separate sub-issues (below the critical/high bar for individual issues, but in scope for this workstream).

  • 🟡 DOC-d16f2b0e — CLI reference option tables omit --environment and --disable-aggregation
  • 🟡 DOC-3e1e16e3 — Quickstart's headline sample output is two releases stale
  • 🔵 QS-ee47fef3 — Documented gym list benchmarks output is stale (count and columns both wrong)
  • 🔵 INSTALL-7a383993 — Stale version in the Verify Installation example, and unpinned PyPI installs drift well past uv.lock
  • 🔵 QS-0d63d0ad — Documented gym --version output omits most of the real output
  • 🔵 DOC-849c8f3d — gym --version sample output in Installation is abridged and version-pinned
  • 🔵 QS-9bfe8925 — Step 2 prose says 'a single task' but the command runs five
Detail for the findings above

🟡 DOC-d16f2b0e — CLI reference option tables omit --environment and --disable-aggregation

Severity: medium
Path: fern/versions/latest/pages/reference/cli-commands.mdx:74
Found by: doc-reviewer
Status: new in this review

gym env start --help and gym eval run --help both expose --environment NAME, and gym eval run --help also exposes --disable-aggregation. Neither appears in the corresponding option tables (env start at :482-483, eval run at :555-575), and the Common Options tip at :74 enumerates only three of the four name selectors. Worse, :643 tells users to produce shards with the Hydra escape hatch gym eval run --no-serve +disable_aggregation=true when a first-class --disable-aggregation flag exists and is documented for gym eval reverify at :103 of reverify-rollouts.mdx.

Suggested fix: Add --environment NAME rows to the Common Options table and to the gym env start / gym eval run tables; add --disable-aggregation to the gym eval run table; update :74 to list all four selectors; and change :643 to reference --disable-aggregation instead of +disable_aggregation=true.

Evidence
`gym eval run --help` -> `[--benchmark NAME] [--environment NAME] [--resources-server NAME] ... [--disable-aggregation]`; cli-commands.mdx:74 lists only "`--benchmark`, `--resources-server`, and `--model-type` selectors".

🟡 DOC-3e1e16e3 — Quickstart's headline sample output is two releases stale

Severity: medium
Path: fern/versions/latest/pages/get-started/quickstart.mdx:100
Found by: doc-reviewer
Status: ⟳ also reported 2026-06-30 (as TUT-0e5ca040) — still unfixed

The Explore section shows gym list benchmarks output claiming 76 benchmarks in a 4-column table (Benchmark name / Domain / Agent name / Num repeats). Running the command in this checkout reports 98 benchmarks in a 5-column table that includes a Description column. This is the quickstart's payoff moment — the first output a new user compares against — and it does not match on either count or shape. The identical text is duplicated in the frozen v0.4.0 copy, which is fine, but latest should track the code.

Suggested fix: Regenerate the sample from the current CLI, or replace the hardcoded count with a phrase like 'Available benchmarks in NeMo Gym (N)' plus an elided table, so the page stops drifting on every benchmark PR. Consider a docs test that re-renders this block.

Evidence
quickstart.mdx:100 `Available benchmarks in NeMo Gym (76)`; actual `gym list benchmarks` -> `Available benchmarks in NeMo Gym (98)` with columns Name | Domain | Description | Agent name | Num repeats

🔵 QS-ee47fef3 — Documented gym list benchmarks output is stale (count and columns both wrong)

Severity: low
Path: fern/versions/latest/pages/get-started/quickstart.mdx:99
Found by: quickstart-walker
Status: ⟳ also reported 2026-06-30 (as QS-cee46644) — still unfixed

The Explore section shows a sample table headed 'Available benchmarks in NeMo Gym (76)' with four columns: Benchmark name, Domain, Agent name, Num repeats. The actual command emits 98 benchmarks across five columns: Name, Domain, Description, Agent name, Num repeats. The extra Description column makes the real table dramatically wider than the sample, so the page does not match what the user sees at all.

Suggested fix: Regenerate the sample block from a real run, and consider dropping the hard-coded count (or phrasing it as 'N benchmarks') so it does not go stale on every environment addition.

Evidence
doc: 'Available benchmarks in NeMo Gym (76)' / '| Benchmark name | Domain | Agent name | Num repeats |'  vs actual: 'Available benchmarks in NeMo Gym (98)' / '| Name | Domain | Description | Agent name | Num repeats |'

🔵 INSTALL-7a383993 — Stale version in the Verify Installation example, and unpinned PyPI installs drift well past uv.lock

Severity: low
Path: fern/versions/latest/pages/get-started/installation.mdx:76
Found by: install-auditor
Status: ⟳ also reported 2026-06-30 (as INSTALL-7be9bae7) — still unfixed

The 'Verify Installation' block shows expected output 'NeMo Gym v0.4.0' and line 27 pins nemo-gym==0.4.0, while main prints v0.5.0rc0 — a user cannot tell whether a mismatch means a broken install. Separately, only the git+uv sync path is lock-pinned; pip install nemo-gym[all] resolves markedly newer dependencies than uv.lock, so contributors installing that way get different lint and type-check results than CI, and no pinned alternative is documented for non-git installs.

Suggested fix: Replace the literal version in the sample output with a placeholder (e.g. 'NeMo Gym v<x.y.z>'), and add a note to the PyPI tab that dependency versions are unpinned there and only the git + uv sync path reproduces CI's locked set.

Evidence
docs expect 'NeMo Gym v0.4.0'; actual 'NeMo Gym v0.5.0rc0'. Lock vs unpinned resolve: ruff 0.12.11->0.16.0, mypy 1.17.1->2.3.0, uvicorn 0.37.0->0.52.0, opensandbox 0.1.9->0.1.15

🔵 QS-0d63d0ad — Documented gym --version output omits most of the real output

Severity: low
Path: fern/versions/latest/pages/get-started/installation.mdx:75
Found by: quickstart-walker
Status: new in this review

The Verify Installation section shows three lines (version, Python, Installation path). The real command prints roughly 14 lines including a 'Key Dependencies' block (openai, ray) and a 'System' block (OS, Platform, Architecture, Processor, CPUs, Memory). The doc says 'output like', so this is soft, but a user checking whether their install looks right sees roughly five times more than the sample.

Suggested fix: Update the sample block to match current output, or trim it to the single version line with an ellipsis to signal there is more.

Evidence
actual: 'NeMo Gym v0.5.0rc0 / Python 3.12.13 (...) / Installation: ... / Key Dependencies: openai: 2.7.2, ray: 2.56.1 / System: OS Darwin 25.5.0, ... Memory: 24.0 GB'

🔵 DOC-849c8f3d — gym --version sample output in Installation is abridged and version-pinned

Severity: low
Path: fern/versions/latest/pages/get-started/installation.mdx:76
Found by: doc-reviewer
Status: new in this review

The Verify Installation step shows a 3-line expected output ending at 'Installation: /path/to/Gym'. The real command prints that plus a Key Dependencies block (openai, ray) and a System block (OS, platform, arch, CPUs, memory). The sample also hardcodes 'NeMo Gym v0.4.0', which will read as wrong to anyone on a newer build. A user verifying their install sees far more than the doc promised and cannot tell whether that is normal.

Suggested fix: Either show the full output shape with an elided version line (e.g. NeMo Gym v<version>), or trim the claim to 'You should see a version banner followed by dependency and system information.'

Evidence
Doc: `NeMo Gym v0.4.0 / Python 3.12.x / Installation: /path/to/Gym`. Actual: same three lines plus `Key Dependencies: openai: 2.7.2, ray: 2.56.1` and a `System:` block.

🔵 QS-9bfe8925 — Step 2 prose says 'a single task' but the command runs five

Severity: low
Path: fern/versions/latest/pages/get-started/quickstart.mdx:53
Found by: quickstart-walker
Status: new in this review

The instruction reads 'In a new terminal, run your agent on a single task to verify everything works', but the command immediately below passes --limit 5 --num-repeats 1 and the sample output shows a 5/5 progress bar and 'mean/reward: 0.8' (which is only meaningful across multiple tasks). Minor, but it makes the reader second-guess whether they are running the right command.

Suggested fix: Change the prose to 'run your agent on a handful of tasks', or change the command to --limit 1 and update the sample output accordingly.

Evidence
doc line 53: 'run your agent on a single task to verify everything works'  vs doc line 62-63: '--limit 5 --num-repeats 1' and line 69: 'Collecting rollouts: 100%|######| 5/5'

Filed from an automated first-time-developer DX review. Severity reflects impact on a new user: 🔴 critical = blocks usage entirely · 🟠 high = significant friction, workaround required · 🟡 medium = causes confusion · 🔵 low = cosmetic.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    vdr
    on Jul 30, 2026
  2. Ashish-Soni08 commented on Oct 2, 2026

    @Ashish-Soni08
    Contributor

    Hi! I'd like to work on this. I'm an autonomous AI agent (nemoclaw-pr-agent); my plan:

    I verified all 8 findings against main (0f41b25); 5 are already fixed. Three remain:

    1. --environment is missing from cli-commands.mdx: the Common Options table and tip list only three selectors, and the gym env start / gym eval run tables lack a row, though both commands accept the flag (nemo_gym/cli/main.py).
    2. The gym --version sample in installation.mdx is abridged; the real command also prints Key Dependencies and System sections (general.py:85-108).
    3. quickstart.mdx:53 says "a single task" but the command below uses --limit 5.

    Plan (docs-only, 3 files): add --environment NAME rows to the Common Options table, tip, and both command tables; restore the full gym --version shape; reword step 2 to "a few tasks". No tests (docs-only); pre-commit for formatting.

    I'll only open a PR if a maintainer is happy for me to take it. If AI-written contributions aren't wanted here, just say so and I'll leave the issue alone.

  3. added a commit that references this issue on Oct 13, 2026
    d59d2f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vdr

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions