Skip to content

fix: allow nested responses create params overrides - #827

Merged
bxyu-nvidia merged 3 commits into
mainfrom
cmunley1/cli-effort
Mar 6, 2026
Merged

bxyu-nvidia merged 3 commits into
mainfrom
cmunley1/cli-effort

Conversation

@cmunley1

@cmunley1 cmunley1 commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

when I use:
+responses_create_params.reasoning.effort=high

I get

  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
    f.write(orjson.dumps(row) + b"\n")

this resolves it:

(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts   +agent_name=reasoning_gym_simple_agent   +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl   +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl   +limit=1   +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO:     127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.05s/it]
Agent level metrics (mean only):
[
    {
        "agent_ref": {
            "name": "reasoning_gym_simple_agent"
        },
        "mean/reward": 0.0,
        "mean/score": 0.0,
        "mean/input_tokens": 208.0,
        "mean/output_tokens": 312.0,
        "mean/total_tokens": 520.0
    }
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json

cmunley1 added 3 commits March 5, 2026 16:52
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: Christian Munley <[email protected]>
@bxyu-nvidia
bxyu-nvidia merged commit 7fc1a31 into main Mar 6, 2026
6 checks passed
@bxyu-nvidia
bxyu-nvidia deleted the cmunley1/cli-effort branch March 6, 2026 01:44
gwarmstrong pushed a commit that referenced this pull request Mar 9, 2026
when I use:
+responses_create_params.reasoning.effort=high

I get
```
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
    f.write(orjson.dumps(row) + b"\n")
```

this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts   +agent_name=reasoning_gym_simple_agent   +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl   +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl   +limit=1   +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO:     127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.05s/it]
Agent level metrics (mean only):
[
    {
        "agent_ref": {
            "name": "reasoning_gym_simple_agent"
        },
        "mean/reward": 0.0,
        "mean/score": 0.0,
        "mean/input_tokens": 208.0,
        "mean/output_tokens": 312.0,
        "mean/total_tokens": 520.0
    }
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```

---------

Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: George Armstrong <[email protected]>
vadam5 pushed a commit that referenced this pull request Mar 10, 2026
when I use:
+responses_create_params.reasoning.effort=high

I get
```
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
    f.write(orjson.dumps(row) + b"\n")
```

this resolves it:
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts   +agent_name=reasoning_gym_simple_agent   +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl   +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl   +limit=1   +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO:     127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.05s/it]
Agent level metrics (mean only):
[
    {
        "agent_ref": {
            "name": "reasoning_gym_simple_agent"
        },
        "mean/reward": 0.0,
        "mean/score": 0.0,
        "mean/input_tokens": 208.0,
        "mean/output_tokens": 312.0,
        "mean/total_tokens": 520.0
    }
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```

---------

Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: George Armstrong <[email protected]>
mahanfathi pushed a commit that referenced this pull request Mar 24, 2026
when I use:
+responses_create_params.reasoning.effort=high

I get
```
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
    f.write(orjson.dumps(row) + b"\n")
```

this resolves it: 
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts   +agent_name=reasoning_gym_simple_agent   +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl   +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl   +limit=1   +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO:     127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.05s/it]
Agent level metrics (mean only):
[
    {
        "agent_ref": {
            "name": "reasoning_gym_simple_agent"
        },
        "mean/reward": 0.0,
        "mean/score": 0.0,
        "mean/input_tokens": 208.0,
        "mean/output_tokens": 312.0,
        "mean/total_tokens": 520.0
    }
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```

---------

Signed-off-by: Christian Munley <[email protected]>
jsw-zorro pushed a commit to niletron/Gym that referenced this pull request Apr 7, 2026
when I use:
+responses_create_params.reasoning.effort=high

I get
```
  File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/sanyamk/code/sanyamk/bixbench/Gym/nemo_gym/rollout_collection.py", line 245, in run_from_config
    f.write(orjson.dumps(row) + b"\n")
```

this resolves it: 
```
(Gym-35) cmunley@yoda:~/Gym-35$ ng_collect_rollouts   +agent_name=reasoning_gym_simple_agent   +input_jsonl_fpath=resources_servers/reasoning_gym/data/example.jsonl   +output_jsonl_fpath=results/reasoning_gym_rollouts.jsonl   +limit=1   +responses_create_params.reasoning.effort=low
Limiting the number of rows to 1
Using `reasoning_gym_simple_agent` for rows that do not already have an agent ref
Overriding responses_create_params fields with {'reasoning': {'effort': 'low'}}
Repeating rows 1 times (in a pattern of abc to aabbcc)!
Reading rows: 0it [00:00, ?it/s]
Clearing output fpath since `resume_from_cache=False`!
INFO:     127.0.0.1:50420 - "GET /global_config_dict_yaml HTTP/1.1" 200 OK
Collecting rollouts: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.05s/it]
Agent level metrics (mean only):
[
    {
        "agent_ref": {
            "name": "reasoning_gym_simple_agent"
        },
        "mean/reward": 0.0,
        "mean/score": 0.0,
        "mean/input_tokens": 208.0,
        "mean/output_tokens": 312.0,
        "mean/total_tokens": 520.0
    }
]
Finished rollout collection! View results at:
Fully materialized inputs: results/reasoning_gym_rollouts_materialized_inputs.jsonl
Rollouts: results/reasoning_gym_rollouts.jsonl
Reward profiling outputs: results/reasoning_gym_rollouts_reward_profiling.jsonl
Agent-level metrics: results/reasoning_gym_rollouts_agent_metrics.json
```

---------

Signed-off-by: Christian Munley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants