Skip to content

Price each Trial's sessions per role and report paired cost and time #1878

Closed

Description

@JacobStephens2

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

Parent

#1484

What to build

Cost and time per session and role.

  • Pricing: every session a Trial starts is counted and priced from a frozen, dated price table recorded with the Experiment, by Model. Each session is attributed to the Step that started it.
  • Time: usage-limit stalls are left out of a Trial's time.
  • Void: a Trial with any session missing usage is a Void Trial.
  • Reporting: the Experiment reports per-Arm cost and time, paired median Candidate-to-Baseline ratios, and a breakdown by role.
  • The estimate before an Experiment comes per Arm from that Arm's past Trials.

Acceptance criteria

  • With fake sessions reporting known tokens, the Experiment's JSON shows the priced cost per Trial, per role and per Arm, and the paired median ratios.
  • A fake session with no usage makes its Trial Void with a cause naming the accounting gap.
  • A fake usage-limit wait is excluded from the Trial's reported time.
  • The pre-run estimate differs per Arm when the Arms' histories differ.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 9, 2026
  2. JacobStephens2 commented on Nov 10, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1932, merged into issue-1484 by a thirdshift Ticket run with Self-merge.

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

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions