Skip to content

[NVBug 6783016] Remove --prompt-config from IFBench README eval example #4487

Closed

Description

@qiaochuz-nv

Queue rank 1/48 · Difficulty 1/5 · Status on main: not_fixed

NVBug: https://nvbugspro.nvidia.com/bug/6783016 · NVBug priority: Unprioritized · ARB: Frankie Siino
GitHub: none found (Jira NMGYM-57 "In Review"; no matching NVIDIA-NeMo/Gym PR)

Summary

The IFBench resource README documents a gym eval run that passes both --input resources_servers/ifbench/data/example.jsonl and --prompt-config benchmarks/ifbench/prompts/default.yaml. All five shipped example rows already carry responses_create_params.input, which Gym treats as mutually exclusive with --prompt-config. Preprocessing raises ValueError on rows [0,1,2,3,4] before any generation, so the documented command never runs.

Reproduction

From Gym main (HEAD 75bb53e), openai_model backend: gym env start --benchmark ifbench --model-type openai_model, then gym eval run --no-serve --agent ifbench_benchmark_simple_agent --input .../example.jsonl --output /tmp/out.jsonl --num-repeats 1 --max-output-tokens 4096 --temperature 0.0 --prompt-config benchmarks/ifbench/prompts/default.yaml. QA: ./run.sh test ifbench --no-ai-log.

Root cause

Confirmed documentation/data inconsistency. README.md:59 passes --prompt-config while every row of example.jsonl ships responses_create_params.input. validate_prompt_compatibility (nemo_gym/prompt.py:76-86) intentionally rejects the combination.

Status on main (not_fixed)

HEAD 75bb53e. README.md:58-59 still --temperature 0.0 \ then --prompt-config benchmarks/ifbench/prompts/default.yaml. All 5 rows (ids 0,79,172,260,262) carry responses_create_params.input. prompt.py:81-86 still raises. No fix in the commit log; no Gym PR found.

Proposed fix

Edit resources_servers/ifbench/README.md only: delete line 59 (--prompt-config ...) and the trailing \ on line 58. Keep validation (prompt.py:76-86). Do NOT strip input from example.jsonl — it is the example dataset in configs/ifbench.yaml and its only prompt. Removing the flag changes nothing the model sees: shipped input equals what default.yaml (user: "{prompt}") renders.

Validation

QA script testcases/environments/ifbench.py, case "all five original README prompts complete with strict loose fractional and binary controls". It already reads the README's own flags (readme_commands) and will pass once --prompt-config is gone.

Triage

Difficulty 1/5 — single-line README doc edit, root cause pinpointed, no behavior risk. Needs GPU/model: yes for e2e validation (live openai_model endpoint). External dependency: none.

Reviewer notes

Verifier confirmed not_fixed and difficulty 1: README lines 58-59 and all five example rows reproduce on HEAD, prompt.py validation still raises, and git-log plus PR searches found no fix. The QA case name matches ifbench.py:210, and the testcase now reads README flags via readme_commands(), so it follows the fix once --prompt-config is removed. No underlying facts required correction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions