Skip to content

xtask scenario-eval: a request thinking deltas each take a judge-view line, so long runs outgrow the judge window #2139

Done

Description

@yyhhyyyyyy

What happens. judge_view writes one line for every event in the export. A model call's reasoning arrives as step/thinking deltas, one event per delta, so a single request can add thousands of lines that carry about 350 bytes each, most of it an event id and field names and only a few characters of text.

Why it matters. The judge reads the whole run in one call. A reasoning-heavy run can therefore exceed the judge's budget and leave the run unjudged, or, when the estimate is optimistic, be refused by the provider and fail the run. In one recorded scenario evaluation, 233 views of the floor set came to 612.7 MB, 72.9% of it thinking, and 76 runs were unjudged before any call while 45 failed on a provider window refusal.

Reproduction. A unit test that renders an export with three consecutive step/thinking events for one request gets three view lines on the current code, one per delta.

Expected. A request's consecutive thinking deltas are rendered as one view line carrying their joined text in order, with the first delta's id and position; every other line stays as it is and no fact is dropped. The judge still reads the whole run in one call, and a probe that counts, orders or holds over a whole run is still answered from the whole run.

Activity

  1. self-assigned this
    on Nov 24, 2026
  2. yyhhyyyyyy commented on Nov 25, 2026

    @yyhhyyyyyy
    CollaboratorAuthor

    Fixed in 6e9b596, merged in #2144: a request's consecutive step/thinking deltas are rendered as one judge-view line that keeps the first delta's id and position and carries the text of every delta in order, and every other line stays as it was.

    The test guarding this is scenario_eval::tests::a_requests_thinking_deltas_render_as_one_line in xtask/src/scenario_eval.rs: it renders three consecutive thinking deltas for one request and asserts the view has one line per merged run and one per other event, the merged line's id and sequence come from the first delta, the line carries the deltas' text joined in order, and another request, another line and a delta that follows another event each start their own line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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