Skip to content

Eval CLI --examples crashes non-debug AIME and GPQA because n_repeats stays 8 #298

Description

@sylvesterkaczmarek

Summary

The eval CLI passes n_repeats=8 to AIME and GPQA whenever --debug is false, even when the user supplies --examples.

Both constructors intentionally require n_repeats == 1 when a positive subset size is requested:

assert n_repeats == 1, "n_repeats only supported for num_examples = None"

So a documented command such as python -m gpt_oss.evals --examples 2 --eval aime25 ... reaches the constructor with num_examples=2, n_repeats=8 and fails before evaluation starts. GPQA has the same path.

Proposed resolution

When an explicit sample count is supplied, set n_repeats=1 for AIME and GPQA regardless of debug mode. Preserve 8 repeats only for full non-debug evaluations. Add lightweight regression coverage for explicit, debug, and full-run repeat selection.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions