Skip to content

Show an Experiment's cost before its first Trial, and ask #1482

Closed

Description

@JacobStephens2

This was generated by AI from a grill-with-docs session.

Decided in docs/grill-with-docs/1434-eval-follow-ups.md, Q1.6 and Q2.6. The research is in docs/research/eval-build-vs-buy.md §7.

What to build

Before an Experiment runs its first Trial, it shows what it will cost, and asks to go ahead.

  • It prints:
    • the number of Trials, per suite and Arm;
    • the worst case, Trials × the Bar's timeout, in session-minutes;
    • an estimate: the mean minutes of completed Trials in this machine's earlier Experiments, per suite and Harness, times the Trials. With no history for a suite and Harness, only the worst case is shown.
  • It asks to confirm only when stdin is a terminal. --yes skips the question. Without a terminal, it proceeds as today.
  • A resumed Experiment shows the cost of its remaining Trials.
  • release.sh --with-experiment asks once, through its existing flow, and doesn't ask a second time.
  • There is no cost ceiling in the Bar. Dollars mean nothing on subscription logins, and tokens are unknown for some Harnesses. Cost is already bounded by Trials × timeout, and Experiments are started on purpose.
  • docs/guide.md's Experiments section describes the question and --yes.

Acceptance criteria

  • On a terminal, an Experiment prints the Trial count, the worst case and, where there is history, the estimate, and runs nothing until confirmed. Declining exits without creating Trials.
  • --yes and a non-terminal stdin both skip the question.
  • The estimate uses only completed, non-void Trials from earlier Experiments on this machine, per suite and Harness.
  • A resume shows the remaining Trials only.
  • release.sh --with-experiment asks no extra question.
  • Tests drive the CLI through the fake Harnesses.

Activity

  1. added
    enhancement
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 27, 2026
  2. added a commit that references this issue on Oct 28, 2026
  3. removed
    in-progress
    on Oct 28, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions