Skip to content

refactor: rename rollouts_per_example to group_size#2597

Closed
mikasenghaas wants to merge 1 commit into
mainfrom
worktree-rename-rollouts-per-example
Closed

refactor: rename rollouts_per_example to group_size#2597
mikasenghaas wants to merge 1 commit into
mainfrom
worktree-rename-rollouts-per-example

Conversation

@mikasenghaas
Copy link
Copy Markdown
Member

Summary

  • Renames rollouts_per_examplegroup_size on OrchestratorConfig, EvalConfig, and EvalEnvConfig.
  • Keeps rollouts_per_example as a Pydantic validation_alias so existing configs and CLI invocations keep working unchanged (no deprecation warning — silent alias).
  • Updates all public TOMLs under configs/ and examples/ to the new name, plus the orchestrator/scheduler/envs call sites and docs (docs/slurm.md, docs/bring-your-own-algorithms.md).
  • Adds a CHANGELOG entry noting the rename and the alias.

Verification

Verified by hand (no new unit tests):

  • TOML alias: setting rollouts_per_example under [orchestrator], [orchestrator.eval], and [[orchestrator.eval.env]] resolves to group_size on the parsed config.
  • CLI alias: --orchestrator.rollouts-per-example 4 resolves to config.orchestrator.group_size == 4.
  • Re-parsed every public TOML under configs/ and examples/ against the config classes — no new failures vs. main.

Renames the orchestrator-level, [orchestrator.eval] group-level, and per-env
[[orchestrator.eval.env]] fields. The old name still parses as a validation
alias in both TOML and CLI, so existing configs keep working unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mikasenghaas mikasenghaas deleted the worktree-rename-rollouts-per-example branch May 22, 2026 17:31
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.

1 participant