From d4d817be26a6e729283431e717ec9b3d7d915fb9 Mon Sep 17 00:00:00 2001 From: Ryan Beckett Date: Mon, 23 Nov 2026 15:17:10 -0800 Subject: [PATCH 1/6] feat: record routed runs in an adaptive routing history (observe mode) adaptive-routing: observe (frontmatter, imports, or aw.json adaptive_routing) records every eligible run of a routed Copilot, Claude, or Codex workflow that enables tools.repo-memory, without changing which model runs. A push_routing_history job runs after conclusion with contents: write and actions: read, reads the routing verdict, the pair AWF selected and the AWF-priced cost from the unified session, and saves them to memory/adaptive-routing/. - routing_history.cjs: the reducer, tested against the reference bandit's 222 oracle vectors. - push_routing_history.cjs: the writer, which charges earlier unsaved runs and seeds the branch with a root commit made through the API. - push_repo_memory.cjs: the save loop gains a reapply option that applies the change again to the newest files when the head moved, instead of rebasing with this run's copy winning. - gh aw routing status and reset. - Repo-memory branches under memory/adaptive-routing/ are reserved; workflows that do not opt in compile as before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .changeset/adaptive-routing-observe.md | 7 + .prettierignore | 3 + .../fixtures/routing-history/aw2-reducer.json | 1 + actions/setup/js/push_repo_memory.cjs | 35 +- actions/setup/js/push_routing_history.cjs | 430 ++++++++++++ .../setup/js/push_routing_history.test.cjs | 416 +++++++++++ actions/setup/js/routing_history.cjs | 460 ++++++++++++ actions/setup/js/routing_history.test.cjs | 77 ++ cmd/gh-aw/routing_command.go | 9 + .../docs/reference/adaptive-routing.md | 95 +++ .../docs/reference/compilation-process.md | 1 + .../docs/reference/frontmatter-full.md | 16 + .../src/content/docs/reference/frontmatter.md | 11 + .../content/docs/reference/model-routing.md | 2 + .../src/content/docs/reference/repo-memory.md | 6 +- docs/src/content/docs/setup/cli.md | 12 + pkg/cli/routing_command.go | 656 ++++++++++++++++++ pkg/cli/routing_command_test.go | 169 +++++ pkg/constants/job_constants.go | 2 + pkg/parser/import_accumulator.go | 2 + pkg/parser/import_extract_engine.go | 1 + pkg/parser/import_processor.go | 1 + pkg/parser/schemas/main_workflow_schema.json | 15 + pkg/parser/schemas/repo_config_schema.json | 4 + pkg/workflow/adaptive_routing.go | 217 ++++++ pkg/workflow/adaptive_routing_test.go | 207 ++++++ pkg/workflow/compiler_jobs.go | 6 + .../compiler_orchestrator_workflow.go | 7 +- pkg/workflow/jobs.go | 2 + pkg/workflow/repo_config.go | 8 + pkg/workflow/workflow_data.go | 1 + 31 files changed, 2865 insertions(+), 14 deletions(-) create mode 100644 .changeset/adaptive-routing-observe.md create mode 100644 actions/setup/js/fixtures/routing-history/aw2-reducer.json create mode 100644 actions/setup/js/push_routing_history.cjs create mode 100644 actions/setup/js/push_routing_history.test.cjs create mode 100644 actions/setup/js/routing_history.cjs create mode 100644 actions/setup/js/routing_history.test.cjs create mode 100644 cmd/gh-aw/routing_command.go create mode 100644 docs/src/content/docs/reference/adaptive-routing.md create mode 100644 pkg/cli/routing_command.go create mode 100644 pkg/cli/routing_command_test.go create mode 100644 pkg/workflow/adaptive_routing.go create mode 100644 pkg/workflow/adaptive_routing_test.go diff --git a/.changeset/adaptive-routing-observe.md b/.changeset/adaptive-routing-observe.md new file mode 100644 index 00000000000..cee756dffc4 --- /dev/null +++ b/.changeset/adaptive-routing-observe.md @@ -0,0 +1,7 @@ +--- +"gh-aw": minor +--- + +Add `adaptive-routing: observe`, which records every eligible run of a routed workflow in its routing history without changing which model runs. + +A Copilot, Claude, or Codex workflow whose main agent's model is chosen by model routing, and that enables `tools.repo-memory`, can set `adaptive-routing: observe` (or inherit the `adaptive_routing` default from `aw.json`). A new `push_routing_history` job runs after `conclusion` with `contents: write` and `actions: read`. It reads the run's routing verdict, the model and effort AWF selected, and the AWF-priced cost from the unified session. It saves them to `memory/adaptive-routing/` through repo-memory's save loop, which gains an option that applies the run again to the newest files when another run saved first. `gh aw routing status` shows the recorded evidence and `gh aw routing reset` starts a history afresh. Repo-memory branches under `memory/adaptive-routing/` are reserved. Workflows that do not opt in compile exactly as before. diff --git a/.prettierignore b/.prettierignore index 45b5cbc3c1d..09721e98e19 100644 --- a/.prettierignore +++ b/.prettierignore @@ -33,5 +33,8 @@ pkg/workflow/actionslanguageservice/testdata/conformance.json # Verbatim routing-analytics run artifacts (github/gh-aw#70668) actions/setup/js/fixtures/routing-analytics/**/*.json +# Adaptive routing oracle vectors, generated from the reference bandit and compared numerically +actions/setup/js/fixtures/routing-history/*.json + # Pinned upstream Harbor golden fixtures (Git blob checksum verified) pkg/cli/testdata/harbor/*.json diff --git a/actions/setup/js/fixtures/routing-history/aw2-reducer.json b/actions/setup/js/fixtures/routing-history/aw2-reducer.json new file mode 100644 index 00000000000..843a1096156 --- /dev/null +++ b/actions/setup/js/fixtures/routing-history/aw2-reducer.json @@ -0,0 +1 @@ +{"about":"Oracle vectors for AW-2's writer: apply_run(state, runs, run) returns the new state.json and the lines to append to runs.jsonl (contract 5). Timelines replay bandit.py's scenarios through the v2 product: start from initial.state with an empty runs.jsonl, apply each step's run in order, append its lines, and compare the state after each step with history reduced to {length, newest}, and final.state in full. Cases give a state, the runs.jsonl lines that matter and one run, with optional bounds overrides. A timeline's rules name the v2 rules that make its decisions differ from bandit.py's; the decisions are the selector's, recorded in each run's receipt.","notes":{"before_reset":"the run is numbered at or below reset_after_run","older_definition":"the run is of an older definition than the generation that started after it","unsaved":"a completed run whose agent ran but which wrote no line (written by a later save)","no_agent":"a run with no routing observation, because AWF did not route it or its agent made no request","receipt_missing":"a live run without a selection receipt","receipt_mismatch":"a live run whose receipt is not bound to it","awaiting_success":"a suspended pair failed before any model succeeded since its suspension: nothing counts","cancelled":"observation skip reason","infrastructure":"observation skip reason","rate_limited":"observation skip reason","pair_mismatch":"observation skip reason","unknown_evidence":"observation skip reason"},"generated_by":"adaptive-routing/oracle.py (python oracle.py write)","bandit_sha256":"21d902156c9a90d30e8afa4abfbb73309ee3e8dfd2aa57f329e21150e1edc212","constants":{"price":{"economy":100.0,"balanced":500.0,"robust":2500.0},"prior":[4.5,0.5],"z":1.0,"cap":0.999,"decay":0.98,"memory_runs":50,"memory_days":60.0,"streak_new":3,"streak_proven":5,"proven_runs":20,"test_runs":20,"top_k":3,"capacity_max":3,"unexplained_stop":2,"state_bounds":{"history":50,"pairs":32,"scopes":4,"state_bytes":524288,"runs_lines":500,"runs_bytes":524288},"summary_bounds":{"pairs":32,"bytes":16384}},"arithmetic":["Compare numbers with a relative tolerance of 1e-9 (absolute 1e-12 near zero); compare everything else exactly.","memory(pair, now): the pair's history entries with now - time < 60 days, then the newest 50.","wins, losses: over memory, newest first, the k-th entry (k = 0 for the newest) weighs 0.98 ** k.","rate: a = wins + 4.5, b = losses + 0.5, p = a / (a + b); hopeful = min(0.999, p + sqrt(p (1 - p) / (a + b + 1))).","score(credits, p, P) = (credits + P (1 - p)) / p, with P = price[level]. A rival beats the incumbent when its score is strictly below the incumbent's hopeful score (equivalently, its rate strictly exceeds its need).","credits, model_credits, bills: over memory oldest first, the first entry with a cost sets the average and each later one makes it 0.9 x old + 0.1 x new; an entry with a cost but no model share counts all of it as the model's. tokens are averaged the same way over entries that have them, reasoning separately.","price(tariff, tokens) = input x in + cache_read x cr + cache_write x cw + output x out, where reasoning tokens are charged at the reasoning rate instead when both the tariff and the tokens have one.","estimate(X) = credits(inc) + model_credits(inc) x (price(X, tokens(inc)) / price(inc, tokens(inc)) - 1); with tokens but no measured incumbent cost, X costs price(X, tokens(inc)) and the incumbent its own price.","capacity: the largest n in 1..3 such that, after n - 1 assumed failures (each: wins x 0.98, losses x 0.98 + 1), the hopeful score still beats the incumbent's, streak + n - 1 stays below 3 (5 when runs + n - 1 > 20), and tests + n - 1 stays below 20.","Sizes for byte bounds are UTF-8 bytes of JSON.stringify output."],"rules":{"share_follows_role":"A test or probe needs the share: the scope's previous recorded live run was neither a test nor a probe. bandit.py gives tests every other trigger index instead.","probe_follows_share":"A due probe needs and uses up the share, like a test; bandit.py probes at once.","probes_by_rank":"Several due probes go in rank order; bandit.py takes them in the order it first saw the models.","incumbent_from_evidence":"Without a usable incumbent, the new one is the lowest expected score among pairs that have succeeded here and have a measured cost, else the highest-ranked pair that has succeeded here, else the first eligible pair. bandit.py takes the lowest expected score among every usable model, untried ones included.","estimate_from_incumbent":"A pair without a measured cost is priced from the incumbent's own tokens at the pair's tariff, and has no cost when the incumbent has no tokens; bandit.py starts untried models from the price table.","full_rank":"Incumbents, switches and probes must be in the router's full eligible rank, and the test shortlist is the first effort of up to three distinct base models after suspensions; bandit.py takes the router's top three, then drops suspended ones, and also uses any model with a record.","all_suspended_choice":"When every eligible base is suspended, serve the eligible pair with a record and the highest expected rate, ties by rank, else the ordinary pick; bandit.py takes the best of every suspended model, ties by first seen.","credits_from_window":"A pair's credits and bills come from the history entries in its 50-run, 60-day window, and the writer prunes older entries; bandit.py averages every cost a model ever had.","test_spends_allowance":"A dispatched test spends allowance even when its outcome does not count; bandit.py counts tests on outcomes.","capacity":"A test needs a turn and fewer earlier turn-holders in flight than the rival's capacity; a probe needs none in flight. bandit.py runs one trigger at a time.","no_advisor":"v2 has no advisor: attribution notes and candidate proposals are out of scope."},"timelines":[{"name":"eco-live","title":"Economy, live tests","level":"economy","mode":"live","rules":["share_follows_role"],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":40,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-09-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":41,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[41,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[42,"2026-11-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":43,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":1,"newest":[44,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_switched"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":45,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":2,"newest":[45,"2026-11-05T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":46,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":3,"newest":[46,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":47,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[47,"2026-11-07T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":48,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":5,"newest":[48,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":49,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":50,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":7,"newest":[50,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":51,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":8,"newest":[51,"2026-11-11T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":8,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":9,"newest":[52,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":9,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":10,"newest":[53,"2026-11-13T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":10,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":10,"rate":0.8939656536016455,"hopeful":0.9730753223493288}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":11,"newest":[54,"2026-11-14T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":11,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":11,"rate":0.8342626261579046,"hopeful":0.9273302189633135}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-15T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000055","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":56,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":56,"pairs":{"github-copilot/model-b@high":{"history":{"length":44,"newest":[56,"2026-11-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-15T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000056","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"probe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"probe_due"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":57,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":56,"pairs":{"github-copilot/model-b@high":{"history":{"length":44,"newest":[56,"2026-11-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000057","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":58,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":58,"pairs":{"github-copilot/model-b@high":{"history":{"length":45,"newest":[58,"2026-11-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":45,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":45,"rate":0.9856553113328161,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000058","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":59,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":59,"pairs":{"github-copilot/model-b@high":{"history":{"length":46,"newest":[59,"2026-11-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000059","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":60,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":60,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[60,"2026-11-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000060","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":61,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":61,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[61,"2026-11-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000061","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[62,"2026-11-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000063","number":63,"attempt":1},"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000063","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000063","number":63,"attempt":1,"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":63,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":63,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":63,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[63,"2026-11-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-23T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000063","at":"2026-11-23T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000064","number":64,"attempt":1},"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000064","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000064","number":64,"attempt":1,"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":64,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":64,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":64,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[64,"2026-11-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-24T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000064","at":"2026-11-24T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000065","number":65,"attempt":1},"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000065","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000065","number":65,"attempt":1,"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":65,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":65,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":65,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[65,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000065","at":"2026-11-25T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000066","number":66,"attempt":1},"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000066","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000066","number":66,"attempt":1,"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":66,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":66,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":66,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[66,"2026-11-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-26T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000066","at":"2026-11-26T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":66,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":66,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":66,"pairs":{"github-copilot/model-b@high":{"history":[[7,"2026-09-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[41,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[42,"2026-11-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[56,"2026-11-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[58,"2026-11-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[59,"2026-11-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[60,"2026-11-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[61,"2026-11-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[62,"2026-11-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[63,"2026-11-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[64,"2026-11-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[65,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[66,"2026-11-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-26T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[53,"2026-11-13T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]],[54,"2026-11-14T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]],[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]],[57,"2026-11-17T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]],"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000066","at":"2026-11-26T00:00:00Z"}}}},{"name":"rival-works","title":"Cheaper rival works","level":"balanced","mode":"live","rules":[],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":40,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-09-22T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]],"credits":25.0,"model_credits":25.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":41,"pairs":{"github-copilot/model-b@high":{"history":{"length":40,"newest":[40,"2026-10-31T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":1,"newest":[41,"2026-11-01T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[42,"2026-11-02T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":1,"newest":[41,"2026-11-01T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":43,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[42,"2026-11-02T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":2,"newest":[43,"2026-11-03T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":0,"tests":2,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[44,"2026-11-04T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":2,"newest":[43,"2026-11-03T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":0,"tests":2,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":45,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[44,"2026-11-04T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":3,"newest":[45,"2026-11-05T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":46,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[46,"2026-11-06T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":3,"newest":[45,"2026-11-05T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":47,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[46,"2026-11-06T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[47,"2026-11-07T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":4,"streak":0,"tests":4,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":48,"pairs":{"github-copilot/model-b@high":{"history":{"length":44,"newest":[48,"2026-11-08T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[47,"2026-11-07T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":4,"streak":0,"tests":4,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":49,"pairs":{"github-copilot/model-b@high":{"history":{"length":44,"newest":[48,"2026-11-08T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":5,"newest":[49,"2026-11-09T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":5,"streak":0,"tests":5,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":50,"pairs":{"github-copilot/model-b@high":{"history":{"length":45,"newest":[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":45,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":45,"rate":0.9856553113328161,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":5,"newest":[49,"2026-11-09T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":5,"streak":0,"tests":5,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":51,"pairs":{"github-copilot/model-b@high":{"history":{"length":45,"newest":[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":45,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":45,"rate":0.9856553113328161,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":6,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":46,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":6,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":53,"pairs":{"github-copilot/model-b@high":{"history":{"length":46,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":7,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":7,"streak":0,"tests":7,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":54,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[54,"2026-11-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":7,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":7,"streak":0,"tests":7,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":55,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[54,"2026-11-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":8,"newest":[55,"2026-11-15T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":8,"streak":0,"tests":8,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000055","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":56,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":56,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":8,"newest":[55,"2026-11-15T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":8,"streak":0,"tests":8,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000056","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":57,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":57,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":9,"newest":[57,"2026-11-17T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":9,"streak":0,"tests":9,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000057","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_switched"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":58,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":58,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":10,"newest":[58,"2026-11-18T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":10,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}}}}},"updated":{"run":"45000000058","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":59,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":59,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":11,"newest":[59,"2026-11-19T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":11,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}}}}},"updated":{"run":"45000000059","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":60,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":60,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[60,"2026-11-20T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":12,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}}}}},"updated":{"run":"45000000060","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":61,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":61,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":13,"newest":[61,"2026-11-21T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}}}}},"updated":{"run":"45000000061","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-b@high":{"history":{"length":46,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":14,"newest":[62,"2026-11-22T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":14,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":14,"rate":0.9711281439716368,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-b@high":{"history":[[3,"2026-09-24T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[42,"2026-11-02T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[44,"2026-11-04T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[46,"2026-11-06T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[48,"2026-11-08T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[54,"2026-11-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]],"credits":25.0,"model_credits":25.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[41,"2026-11-01T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[43,"2026-11-03T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[45,"2026-11-05T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[47,"2026-11-07T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[49,"2026-11-09T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[51,"2026-11-11T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[55,"2026-11-15T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[57,"2026-11-17T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[58,"2026-11-18T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[59,"2026-11-19T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[60,"2026-11-20T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[61,"2026-11-21T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[62,"2026-11-22T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]],"credits":5.0,"model_credits":5.0,"bills":14,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":14,"rate":0.9711281439716368,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}},{"name":"outage","title":"Workflow outage","level":"economy","mode":"live","rules":["estimate_from_incumbent","incumbent_from_evidence","probe_follows_share","share_follows_role"],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":40,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-09-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]],"credits":2.0,"model_credits":2.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":41,"pairs":{"github-copilot/model-a@high":{"history":{"length":41,"newest":[41,"2026-11-01T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":42,"newest":[42,"2026-11-02T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":43,"pairs":{"github-copilot/model-a@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":44,"newest":[44,"2026-11-04T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":45,"newest":[45,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":45,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":45,"rate":0.9569659339984484,"hopeful":0.9908560350298905}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":46,"newest":[46,"2026-11-06T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":46,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":46,"rate":0.9296633177450944,"hopeful":0.9721297687534789}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":47,"newest":[47,"2026-11-07T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":47,"streak":3,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":47,"rate":0.9035053901233733,"hopeful":0.952275908192166}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":47,"newest":[47,"2026-11-07T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":47,"streak":3,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":47,"rate":0.9035053901233733,"hopeful":0.952275908192166}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":48,"newest":[49,"2026-11-09T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":48,"streak":4,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":48,"rate":0.8784266539888765,"hopeful":0.9321214473655145}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":49,"newest":[50,"2026-11-10T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":50,"pending":5},"seen":"2026-11-10T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-a@high":{"history":{"length":49,"newest":[50,"2026-11-10T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":50,"pending":5},"seen":"2026-11-10T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":52,"pairs":{"github-copilot/model-a@high":{"history":{"length":49,"newest":[50,"2026-11-10T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":50,"pending":5},"seen":"2026-11-10T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":53,"pairs":{"github-copilot/model-a@high":{"history":{"length":49,"newest":[50,"2026-11-10T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":50,"pending":5},"seen":"2026-11-10T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"probe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"probe_due"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":54,"pairs":{"github-copilot/model-a@high":{"history":{"length":45,"newest":[54,"2026-11-14T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":45,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":45,"rate":0.9856553113328161,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_switched"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":55,"pairs":{"github-copilot/model-a@high":{"history":{"length":46,"newest":[55,"2026-11-15T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":46,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":46,"rate":0.9858192172873174,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000055","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":56,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":56,"pairs":{"github-copilot/model-a@high":{"history":{"length":47,"newest":[56,"2026-11-16T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":47,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":47,"rate":0.9859762513259175,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000056","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":57,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":57,"pairs":{"github-copilot/model-a@high":{"history":{"length":48,"newest":[57,"2026-11-17T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":48,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":48,"rate":0.9861268066480033,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000057","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":58,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":58,"pairs":{"github-copilot/model-a@high":{"history":{"length":49,"newest":[58,"2026-11-18T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":49,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":49,"rate":0.9862712472045233,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000058","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":59,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":59,"pairs":{"github-copilot/model-a@high":{"history":{"length":50,"newest":[59,"2026-11-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000059","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":60,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":60,"pairs":{"github-copilot/model-a@high":{"history":{"length":50,"newest":[60,"2026-11-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000060","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":61,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":61,"pairs":{"github-copilot/model-a@high":{"history":{"length":50,"newest":[61,"2026-11-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000061","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-a@high":{"history":{"length":50,"newest":[62,"2026-11-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-a@high":{"history":[[4,"2026-09-25T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[41,"2026-11-01T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[42,"2026-11-02T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[43,"2026-11-03T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[44,"2026-11-04T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[54,"2026-11-14T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[55,"2026-11-15T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[56,"2026-11-16T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[57,"2026-11-17T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[58,"2026-11-18T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[59,"2026-11-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[60,"2026-11-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[61,"2026-11-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[62,"2026-11-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]],"credits":2.0,"model_credits":2.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}},"github-copilot/model-b@high":{"history":[[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[53,"2026-11-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]],"credits":5.0,"model_credits":5.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.6926603193793763,"hopeful":0.8469692271593527}},"github-copilot/model-c@high":{"history":[[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]],"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}},{"name":"breaks","title":"Proven model breaks","level":"economy","mode":"live","rules":[],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":40,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-09-22T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]],"credits":5.0,"model_credits":5.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":41,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[41,"2026-11-01T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[42,"2026-11-02T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":43,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":44,"newest":[44,"2026-11-04T00:00:00Z",true,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":44,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":44,"rate":0.9854841080133551,"hopeful":0.999}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":45,"newest":[45,"2026-11-05T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":45,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":45,"rate":0.9569659339984484,"hopeful":0.9908560350298905}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":46,"newest":[46,"2026-11-06T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":46,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":46,"rate":0.9296633177450944,"hopeful":0.9721297687534789}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":47,"newest":[47,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":47,"streak":3,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":47,"rate":0.9035053901233733,"hopeful":0.952275908192166}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":48,"newest":[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":48,"streak":4,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":48,"rate":0.8784266539888765,"hopeful":0.9321214473655145}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":49,"newest":[49,"2026-11-09T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":49,"pending":5},"seen":"2026-11-09T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-c@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":50,"pairs":{"github-copilot/model-b@high":{"history":{"length":49,"newest":[49,"2026-11-09T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":49,"streak":5,"tests":0,"suspended":{"since_seq":49,"pending":5},"seen":"2026-11-09T00:00:00Z","summary":{"runs":49,"rate":0.8543664842526062,"hopeful":0.9120300340701968}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"probe","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"probe_due"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"probe","last_success_seq":50,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":2,"newest":[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":53,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[53,"2026-11-13T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":54,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":4,"newest":[54,"2026-11-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":55,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":5,"newest":[55,"2026-11-15T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000055","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":56,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":56,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":6,"newest":[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000056","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":57,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":57,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":7,"newest":[57,"2026-11-17T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000057","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":58,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":58,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":8,"newest":[58,"2026-11-18T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":8,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000058","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":59,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":59,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":9,"newest":[59,"2026-11-19T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":9,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000059","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":60,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":60,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":10,"newest":[60,"2026-11-20T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":10,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}}}}},"updated":{"run":"45000000060","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":61,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":61,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":11,"newest":[61,"2026-11-21T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":11,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}}}}},"updated":{"run":"45000000061","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"success","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-b@high":{"history":{"length":6,"newest":[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":{"length":12,"newest":[62,"2026-11-22T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":12,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-b@high":{"history":[[45,"2026-11-05T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[46,"2026-11-06T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[47,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[48,"2026-11-08T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[49,"2026-11-09T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]],[51,"2026-11-11T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]],"credits":5.0,"model_credits":5.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-c@high":{"history":[[50,"2026-11-10T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[52,"2026-11-12T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[53,"2026-11-13T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[54,"2026-11-14T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[55,"2026-11-15T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[56,"2026-11-16T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[57,"2026-11-17T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[58,"2026-11-18T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[59,"2026-11-19T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[60,"2026-11-20T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[61,"2026-11-21T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]],[62,"2026-11-22T00:00:00Z",true,25.0,25.0,[1024,0,0,0,null]]],"credits":25.0,"model_credits":25.0,"bills":12,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}}},{"name":"fixed","title":"Provider fixes a broken model","level":"economy","mode":"live","rules":["credits_from_window","estimate_from_incumbent","share_follows_role"],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":40,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-09-22T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]],"credits":12.0,"model_credits":12.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":41,"pairs":{"github-copilot/model-a@high":{"history":{"length":41,"newest":[41,"2026-11-01T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":42,"newest":[42,"2026-11-02T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":43,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9559154387547723,"hopeful":0.9906019579490951}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":44,"newest":[44,"2026-11-04T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":44,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":44,"rate":0.9280011757462411,"hopeful":0.9714181378691331}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":45,"newest":[45,"2026-11-05T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":45,"streak":3,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":45,"rate":0.9012970662188413,"hopeful":0.9511071696071237}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":46,"newest":[46,"2026-11-06T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":46,"streak":4,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":46,"rate":0.8757311918247431,"hopeful":0.9305158122105883}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":42,"pairs":{"github-copilot/model-a@high":{"history":{"length":47,"newest":[47,"2026-11-07T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":47,"streak":5,"tests":0,"suspended":{"since_seq":47,"pending":5},"seen":"2026-11-07T00:00:00Z","summary":{"runs":47,"rate":0.8512371914776271,"hopeful":0.9100149401107832}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":48,"pairs":{"github-copilot/model-a@high":{"history":{"length":47,"newest":[47,"2026-11-07T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":47,"streak":5,"tests":0,"suspended":{"since_seq":47,"pending":5},"seen":"2026-11-07T00:00:00Z","summary":{"runs":47,"rate":0.8512371914776271,"hopeful":0.9100149401107832}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[48,"2026-11-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"probe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"probe_due"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":48,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[48,"2026-11-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":50,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[50,"2026-11-10T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":51,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[51,"2026-11-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":4,"newest":[52,"2026-11-12T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":53,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":5,"newest":[53,"2026-11-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":54,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.42025121666507614,"hopeful":0.564507674380071}},"github-copilot/model-b@high":{"history":{"length":6,"newest":[54,"2026-11-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2027-01-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2027-01-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":55,"pairs":{"github-copilot/model-a@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000055","at":"2027-01-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2027-01-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2027-01-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":56,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":56,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[56,"2027-01-15T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2027-01-15T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000056","at":"2027-01-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2027-01-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_switched"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2027-01-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":57,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":57,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[57,"2027-01-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-16T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000057","at":"2027-01-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2027-01-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2027-01-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":58,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":58,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[58,"2027-01-17T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-17T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000058","at":"2027-01-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2027-01-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2027-01-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":59,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":59,"pairs":{"github-copilot/model-a@high":{"history":{"length":4,"newest":[59,"2027-01-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-18T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000059","at":"2027-01-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2027-01-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2027-01-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":60,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":60,"pairs":{"github-copilot/model-a@high":{"history":{"length":5,"newest":[60,"2027-01-19T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-19T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000060","at":"2027-01-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2027-01-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2027-01-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":61,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":61,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[61,"2027-01-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-20T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000061","at":"2027-01-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2027-01-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2027-01-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-a@high":{"history":{"length":7,"newest":[62,"2027-01-21T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-21T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2027-01-21T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":62,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":62,"pairs":{"github-copilot/model-a@high":{"history":[[56,"2027-01-15T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[57,"2027-01-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[58,"2027-01-17T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[59,"2027-01-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[60,"2027-01-19T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[61,"2027-01-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[62,"2027-01-21T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]],"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-21T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-b@high":{"history":[[55,"2027-01-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-14T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000062","at":"2027-01-21T00:00:00Z"}}}},{"name":"bug","title":"Workflow bug, then an edit","level":"economy","mode":"live","rules":["estimate_from_incumbent","incumbent_from_evidence","share_follows_role"],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":0,"generation":null,"reset_after_run":0,"last_run":0,"unexplained":0,"scopes":{},"updated":null}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000001","number":1,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000001","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":1,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":1,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[1,"2026-11-01T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":1,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000001","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000002","number":2,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000002","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":2,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":2,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[1,"2026-11-01T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":1,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[2,"2026-11-02T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000002","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000003","number":3,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000003","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[3,"2026-11-03T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[2,"2026-11-02T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[3,"2026-11-03T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[4,"2026-11-04T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":2,"tests":2,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[4,"2026-11-04T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":2,"tests":2,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-c@high","outcome":"failure","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[4,"2026-11-04T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[6,"2026-11-06T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000006","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000007","number":7,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":5.0,"model_credits":5.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000007","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":5.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"failure","credits":5.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":7,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":7,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":1,"newest":[6,"2026-11-06T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":1,"streak":1,"tests":1,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000007","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000008","number":8,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000008","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"failure","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-c@high","last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":2,"newest":[8,"2026-11-08T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":2,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-c@high","cost":{"credits":25.0,"model_credits":25.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-c@high"},"costs":{"github-copilot/model-c@high":{"credits":25.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-c@high","outcome":"failure","credits":25.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000010","number":10,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000010","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000010","number":10,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":10,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-10T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000010","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000011","number":11,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000011","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000011","number":11,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":11,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-11T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000011","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000012","number":12,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000012","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000012","number":12,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":12,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-12T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000012","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000013","number":13,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000013","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000013","number":13,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":13,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-13T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000013","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000014","number":14,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000014","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000014","number":14,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":14,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-14T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000014","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000015","number":15,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000015","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000015","number":15,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":15,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-15T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000015","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000016","number":16,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000016","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000016","number":16,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":16,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-16T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000016","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000017","number":17,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000017","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000017","number":17,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":17,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-17T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000017","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000018","number":18,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000018","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000018","number":18,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":2.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":18,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":0,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",false,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":5,"pending":3},"seen":"2026-11-18T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[7,"2026-11-07T00:00:00Z",false,5.0,5.0,[1024,0,0,0,null]]},"credits":5.0,"model_credits":5.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}},"github-copilot/model-c@high":{"history":{"length":3,"newest":[9,"2026-11-09T00:00:00Z",false,25.0,25.0,[1024,0,0,0,null]]},"credits":25.0,"model_credits":25.0,"bills":3,"streak":3,"tests":0,"suspended":{"since_seq":9,"pending":3},"seen":"2026-11-09T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000018","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000019","number":19,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000019","attempt":1},"generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000019","number":19,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":10,"generation":{"hash":"3b7e9a15","since_run":19},"reset_after_run":0,"last_run":19,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":10,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[10,"2026-11-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-c@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000019","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000020","number":20,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000020","attempt":1},"generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000020","number":20,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":11,"generation":{"hash":"3b7e9a15","since_run":19},"reset_after_run":0,"last_run":20,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":11,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[11,"2026-11-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-c@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000020","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000021","number":21,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000021","attempt":1},"generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000021","number":21,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":12,"generation":{"hash":"3b7e9a15","since_run":19},"reset_after_run":0,"last_run":21,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":12,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[12,"2026-11-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-c@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000021","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000022","number":22,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":2.0,"model_credits":2.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000022","attempt":1},"generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":2.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":5.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":25.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000022","number":22,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":2.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":13,"generation":{"hash":"3b7e9a15","since_run":19},"reset_after_run":0,"last_run":22,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":13,"pairs":{"github-copilot/model-a@high":{"history":{"length":4,"newest":[13,"2026-11-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]},"credits":2.0,"model_credits":2.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-c@high":{"history":{"length":0,"newest":null},"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000022","at":"2026-11-22T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":13,"generation":{"hash":"3b7e9a15","since_run":19},"reset_after_run":0,"last_run":22,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":13,"pairs":{"github-copilot/model-a@high":{"history":[[10,"2026-11-19T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[11,"2026-11-20T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[12,"2026-11-21T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]],[13,"2026-11-22T00:00:00Z",true,2.0,2.0,[1024,0,0,0,null]]],"credits":2.0,"model_credits":2.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}},"github-copilot/model-b@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}},"github-copilot/model-c@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000022","at":"2026-11-22T00:00:00Z"}}}},{"name":"cheaper","title":"Cold start, cheaper second pick","level":"balanced","mode":"live","rules":["estimate_from_incumbent","share_follows_role"],"note":null,"initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":0,"generation":null,"reset_after_run":0,"last_run":0,"unexplained":0,"scopes":{},"updated":null}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000001","number":1,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000001","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":1,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":1,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[1,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000001","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000002","number":2,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000002","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":2,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":2,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":2,"pairs":{"github-copilot/model-a@high":{"history":{"length":1,"newest":[1,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[2,"2026-11-02T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000002","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000003","number":3,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000003","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[3,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":1,"newest":[2,"2026-11-02T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":4,"pairs":{"github-copilot/model-a@high":{"history":{"length":2,"newest":[3,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[4,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":2,"streak":0,"tests":2,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":2,"newest":[4,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":2,"streak":0,"tests":2,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":6,"pairs":{"github-copilot/model-a@high":{"history":{"length":3,"newest":[5,"2026-11-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[6,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":3,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000007","number":7,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000007","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":7,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":7,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":7,"pairs":{"github-copilot/model-a@high":{"history":{"length":4,"newest":[7,"2026-11-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":3,"newest":[6,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":3,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000007","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000008","number":8,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000008","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":8,"pairs":{"github-copilot/model-a@high":{"history":{"length":4,"newest":[7,"2026-11-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":4,"newest":[8,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":4,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":9,"pairs":{"github-copilot/model-a@high":{"history":{"length":5,"newest":[9,"2026-11-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":4,"newest":[8,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":4,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000010","number":10,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000010","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000010","number":10,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":10,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":10,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":10,"pairs":{"github-copilot/model-a@high":{"history":{"length":5,"newest":[9,"2026-11-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":5,"newest":[10,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":5,"streak":0,"tests":5,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000010","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000011","number":11,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000011","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000011","number":11,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":11,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":11,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":11,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[11,"2026-11-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":5,"newest":[10,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":5,"streak":0,"tests":5,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000011","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000012","number":12,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000012","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000012","number":12,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":12,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":12,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":12,"pairs":{"github-copilot/model-a@high":{"history":{"length":6,"newest":[11,"2026-11-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":6,"newest":[12,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":6,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000012","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000013","number":13,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000013","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000013","number":13,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":13,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":13,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":13,"pairs":{"github-copilot/model-a@high":{"history":{"length":7,"newest":[13,"2026-11-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":6,"newest":[12,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":6,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000013","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000014","number":14,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000014","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000014","number":14,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":14,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":14,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":14,"pairs":{"github-copilot/model-a@high":{"history":{"length":7,"newest":[13,"2026-11-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":7,"newest":[14,"2026-11-14T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":7,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000014","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000015","number":15,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000015","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000015","number":15,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":15,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":15,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":15,"pairs":{"github-copilot/model-a@high":{"history":{"length":8,"newest":[15,"2026-11-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":8,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":7,"newest":[14,"2026-11-14T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":7,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000015","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000016","number":16,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000016","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000016","number":16,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":16,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":16,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":16,"pairs":{"github-copilot/model-a@high":{"history":{"length":8,"newest":[15,"2026-11-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":8,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-15T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":8,"newest":[16,"2026-11-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":8,"streak":0,"tests":8,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000016","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000017","number":17,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000017","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000017","number":17,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":17,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":17,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":17,"pairs":{"github-copilot/model-a@high":{"history":{"length":9,"newest":[17,"2026-11-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":9,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":8,"newest":[16,"2026-11-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":8,"streak":0,"tests":8,"suspended":null,"seen":"2026-11-16T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000017","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000018","number":18,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000018","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000018","number":18,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":18,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":18,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":18,"pairs":{"github-copilot/model-a@high":{"history":{"length":9,"newest":[17,"2026-11-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":9,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-17T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":9,"newest":[18,"2026-11-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":9,"streak":0,"tests":9,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000018","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000019","number":19,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000019","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000019","number":19,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":19,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":19,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":19,"pairs":{"github-copilot/model-a@high":{"history":{"length":10,"newest":[19,"2026-11-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":10,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":9,"newest":[18,"2026-11-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":9,"streak":0,"tests":9,"suspended":null,"seen":"2026-11-18T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000019","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000020","number":20,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000020","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000020","number":20,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":20,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":20,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":20,"pairs":{"github-copilot/model-a@high":{"history":{"length":10,"newest":[19,"2026-11-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":10,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-19T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":10,"newest":[20,"2026-11-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":10,"streak":0,"tests":10,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}}}}},"updated":{"run":"45000000020","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000021","number":21,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000021","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000021","number":21,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":21,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":21,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":21,"pairs":{"github-copilot/model-a@high":{"history":{"length":11,"newest":[21,"2026-11-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":11,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":10,"newest":[20,"2026-11-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":10,"streak":0,"tests":10,"suspended":null,"seen":"2026-11-20T00:00:00Z","summary":{"runs":10,"rate":0.9646552178672152,"hopeful":0.999}}}}},"updated":{"run":"45000000021","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000022","number":22,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000022","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000022","number":22,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":22,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":22,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":22,"pairs":{"github-copilot/model-a@high":{"history":{"length":11,"newest":[21,"2026-11-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":11,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-21T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":11,"newest":[22,"2026-11-22T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":11,"streak":0,"tests":11,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}}}}},"updated":{"run":"45000000022","at":"2026-11-22T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000023","number":23,"attempt":1},"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000023","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000023","number":23,"attempt":1,"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":23,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":23,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":23,"pairs":{"github-copilot/model-a@high":{"history":{"length":12,"newest":[23,"2026-11-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":12,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-23T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":11,"newest":[22,"2026-11-22T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":11,"streak":0,"tests":11,"suspended":null,"seen":"2026-11-22T00:00:00Z","summary":{"runs":11,"rate":0.9665852068866743,"hopeful":0.999}}}}},"updated":{"run":"45000000023","at":"2026-11-23T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000024","number":24,"attempt":1},"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000024","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000024","number":24,"attempt":1,"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":24,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":24,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":24,"pairs":{"github-copilot/model-a@high":{"history":{"length":12,"newest":[23,"2026-11-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":12,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-23T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":12,"newest":[24,"2026-11-24T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":0,"tests":12,"suspended":null,"seen":"2026-11-24T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}}}}},"updated":{"run":"45000000024","at":"2026-11-24T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000025","number":25,"attempt":1},"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000025","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"share_taken"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000025","number":25,"attempt":1,"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":25,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":25,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":25,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":12,"newest":[24,"2026-11-24T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":0,"tests":12,"suspended":null,"seen":"2026-11-24T00:00:00Z","summary":{"runs":12,"rate":0.9682824914836633,"hopeful":0.999}}}}},"updated":{"run":"45000000025","at":"2026-11-25T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000026","number":26,"attempt":1},"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000026","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"test","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-a@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000026","number":26,"attempt":1,"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":26,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":26,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"test","last_success_seq":26,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":13,"newest":[26,"2026-11-26T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":13,"streak":0,"tests":13,"suspended":null,"seen":"2026-11-26T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}}}}},"updated":{"run":"45000000026","at":"2026-11-26T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000027","number":27,"attempt":1},"at":"2026-11-27T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000027","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-a@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_switched"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000027","number":27,"attempt":1,"at":"2026-11-27T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":27,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":27,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":27,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":14,"newest":[27,"2026-11-27T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":14,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-27T00:00:00Z","summary":{"runs":14,"rate":0.9711281439716368,"hopeful":0.999}}}}},"updated":{"run":"45000000027","at":"2026-11-27T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000028","number":28,"attempt":1},"at":"2026-11-28T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000028","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000028","number":28,"attempt":1,"at":"2026-11-28T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":28,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":28,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":28,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":15,"newest":[28,"2026-11-28T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":15,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-28T00:00:00Z","summary":{"runs":15,"rate":0.9723321938628033,"hopeful":0.999}}}}},"updated":{"run":"45000000028","at":"2026-11-28T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000029","number":29,"attempt":1},"at":"2026-11-29T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000029","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000029","number":29,"attempt":1,"at":"2026-11-29T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":29,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":29,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":29,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":16,"newest":[29,"2026-11-29T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":16,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-29T00:00:00Z","summary":{"runs":16,"rate":0.9734185555288251,"hopeful":0.999}}}}},"updated":{"run":"45000000029","at":"2026-11-29T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000030","number":30,"attempt":1},"at":"2026-11-30T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000030","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","explore_allowed":true,"role":"serve","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{"github-copilot/model-b@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":28.0,"basis":"measured"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"lines":[{"run":"45000000030","number":30,"attempt":1,"at":"2026-11-30T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":30,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":30,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":30,"pairs":{"github-copilot/model-a@high":{"history":{"length":13,"newest":[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":{"length":17,"newest":[30,"2026-11-30T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":17,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-30T00:00:00Z","summary":{"runs":17,"rate":0.9744034882562106,"hopeful":0.999}}}}},"updated":{"run":"45000000030","at":"2026-11-30T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":30,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":30,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":30,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[3,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[5,"2026-11-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[7,"2026-11-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[9,"2026-11-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[11,"2026-11-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[13,"2026-11-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[15,"2026-11-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[17,"2026-11-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[19,"2026-11-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[21,"2026-11-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[23,"2026-11-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[25,"2026-11-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":13,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-25T00:00:00Z","summary":{"runs":13,"rate":0.969786475956349,"hopeful":0.999}},"github-copilot/model-b@high":{"history":[[2,"2026-11-02T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[4,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[6,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[8,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[10,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[12,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[14,"2026-11-14T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[16,"2026-11-16T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[18,"2026-11-18T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[20,"2026-11-20T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[22,"2026-11-22T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[24,"2026-11-24T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[26,"2026-11-26T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[27,"2026-11-27T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[28,"2026-11-28T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[29,"2026-11-29T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[30,"2026-11-30T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]],"credits":12.0,"model_credits":12.0,"bills":17,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-30T00:00:00Z","summary":{"runs":17,"rate":0.9744034882562106,"hopeful":0.999}}}}},"updated":{"run":"45000000030","at":"2026-11-30T00:00:00Z"}}}},{"name":"observe-release","title":"Observe mode through the release in eco-live","level":"economy","mode":"observe","rules":[],"note":"observe mode has no bandit.py counterpart: the ordinary pick runs every time","initial":{"state":{"v":2,"workflow":"pr-sous-chef","seq":40,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":40,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":40,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-09-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[2,"2026-09-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[3,"2026-09-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[4,"2026-09-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[5,"2026-09-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[6,"2026-09-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[7,"2026-09-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-10-31T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}}}}},"updated":{"run":"45000000040","at":"2026-10-31T00:00:00Z"}}},"steps":[{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000041","number":41,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000041","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000041","number":41,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":41,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":41,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":41,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[41,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}}}}},"updated":{"run":"45000000041","at":"2026-11-01T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000042","number":42,"attempt":1},"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000042","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000042","number":42,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":42,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":42,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":42,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[42,"2026-11-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}}}}},"updated":{"run":"45000000042","at":"2026-11-02T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000043","number":43,"attempt":1},"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":28.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000043","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000043","number":43,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":43,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":43,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":43,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}}}}},"updated":{"run":"45000000043","at":"2026-11-03T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000044","number":44,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000044","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"estimated"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":2},"reason":"challenger_hopeful_clears_need"},"prepare":null},"lines":[{"run":"45000000044","number":44,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":44,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":44,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":44,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":1,"newest":[44,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000044","at":"2026-11-04T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000045","number":45,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000045","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000045","number":45,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":45,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":45,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":45,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":2,"newest":[45,"2026-11-05T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000045","at":"2026-11-05T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000046","number":46,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000046","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000046","number":46,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":46,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":46,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":46,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":3,"newest":[46,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000046","at":"2026-11-06T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000047","number":47,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000047","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000047","number":47,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":47,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":47,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":47,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":4,"newest":[47,"2026-11-07T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000047","at":"2026-11-07T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000048","number":48,"attempt":1},"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000048","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000048","number":48,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":48,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":48,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":48,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":5,"newest":[48,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000048","at":"2026-11-08T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000049","number":49,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000049","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000049","number":49,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":49,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":49,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":49,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":6,"newest":[49,"2026-11-09T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000049","at":"2026-11-09T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000050","number":50,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000050","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":50,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":50,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":50,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":7,"newest":[50,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000050","at":"2026-11-10T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000051","number":51,"attempt":1},"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000051","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000051","number":51,"attempt":1,"at":"2026-11-11T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":51,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":51,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":51,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":8,"newest":[51,"2026-11-11T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":8,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-11T00:00:00Z","summary":{"runs":8,"rate":0.9598775426359781,"hopeful":0.999}}}}},"updated":{"run":"45000000051","at":"2026-11-11T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000052","number":52,"attempt":1},"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000052","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000052","number":52,"attempt":1,"at":"2026-11-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":9,"newest":[52,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":9,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-12T00:00:00Z","summary":{"runs":9,"rate":0.9624416302375336,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-11-12T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-11-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":10,"newest":[53,"2026-11-13T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":10,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-13T00:00:00Z","summary":{"runs":10,"rate":0.8939656536016455,"hopeful":0.9730753223493288}}}}},"updated":{"run":"45000000053","at":"2026-11-13T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000054","number":54,"attempt":1},"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000054","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000054","number":54,"attempt":1,"at":"2026-11-14T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":54,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":54,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":11,"newest":[54,"2026-11-14T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":11,"streak":2,"tests":0,"suspended":null,"seen":"2026-11-14T00:00:00Z","summary":{"runs":11,"rate":0.8342626261579046,"hopeful":0.9273302189633135}}}}},"updated":{"run":"45000000054","at":"2026-11-14T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000055","number":55,"attempt":1},"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000055","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-a@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-a@high":{"credits":12.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":1},"reason":"challenger_hopeful_clears_need"},"prepare":null},"lines":[{"run":"45000000055","number":55,"attempt":1,"at":"2026-11-15T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":true,"note":null}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":55,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-15T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000055","at":"2026-11-15T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000056","number":56,"attempt":1},"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000056","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000056","number":56,"attempt":1,"at":"2026-11-16T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":56,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-16T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000056","at":"2026-11-16T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000057","number":57,"attempt":1},"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000057","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000057","number":57,"attempt":1,"at":"2026-11-17T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":57,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-17T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000057","at":"2026-11-17T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000058","number":58,"attempt":1},"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000058","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000058","number":58,"attempt":1,"at":"2026-11-18T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":58,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-18T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000058","at":"2026-11-18T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000059","number":59,"attempt":1},"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000059","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000059","number":59,"attempt":1,"at":"2026-11-19T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":59,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-19T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000059","at":"2026-11-19T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000060","number":60,"attempt":1},"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000060","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000060","number":60,"attempt":1,"at":"2026-11-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":60,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":43,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":43,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":43,"rate":0.9853051462515907,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-20T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000060","at":"2026-11-20T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000061","number":61,"attempt":1},"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000061","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000061","number":61,"attempt":1,"at":"2026-11-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":61,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":42,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":42,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":42,"rate":0.9851179255293571,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-21T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000061","at":"2026-11-21T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000062","number":62,"attempt":1},"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000062","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000062","number":62,"attempt":1,"at":"2026-11-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":62,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":41,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":41,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":41,"rate":0.9849219015747618,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-22T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000062","at":"2026-11-22T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000063","number":63,"attempt":1},"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000063","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000063","number":63,"attempt":1,"at":"2026-11-23T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":63,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":40,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":40,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":40,"rate":0.9847164814705917,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-23T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000063","at":"2026-11-23T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000064","number":64,"attempt":1},"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000064","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000064","number":64,"attempt":1,"at":"2026-11-24T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":64,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":39,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":39,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":39,"rate":0.9845010180913671,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-24T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000064","at":"2026-11-24T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000065","number":65,"attempt":1},"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000065","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000065","number":65,"attempt":1,"at":"2026-11-25T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":65,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":38,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":38,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":38,"rate":0.9842748037590333,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-25T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000065","at":"2026-11-25T00:00:00Z"}}},{"run":{"workflow":"pr-sous-chef","run":{"id":"45000000066","number":66,"attempt":1},"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[1024,0,0,0,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000066","attempt":1},"generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","explore_allowed":false,"role":"observe","selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":"github-copilot/model-b@high","incumbent":{"before":null,"after":null},"costs":{"github-copilot/model-b@high":{"credits":28.0,"basis":"measured"},"github-copilot/model-c@high":{"credits":60.0,"basis":"estimated"}},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"incumbent_chosen"},"prepare":null},"lines":[{"run":"45000000066","number":66,"attempt":1,"at":"2026-11-26T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":12.0,"counted":false,"note":"awaiting_success"}],"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":66,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":{"length":37,"newest":[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]},"credits":28.0,"model_credits":28.0,"bills":37,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":37,"rate":0.9840370629861787,"hopeful":0.999}},"github-copilot/model-a@high":{"history":{"length":12,"newest":[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]},"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-26T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000066","at":"2026-11-26T00:00:00Z"}}}],"final":{"state":{"v":2,"workflow":"pr-sous-chef","seq":55,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":66,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"observe","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":[[7,"2026-09-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[8,"2026-09-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[9,"2026-09-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[10,"2026-10-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[11,"2026-10-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[12,"2026-10-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[13,"2026-10-04T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[14,"2026-10-05T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[15,"2026-10-06T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[16,"2026-10-07T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[17,"2026-10-08T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[18,"2026-10-09T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[19,"2026-10-10T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[20,"2026-10-11T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[21,"2026-10-12T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[22,"2026-10-13T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[23,"2026-10-14T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[24,"2026-10-15T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[25,"2026-10-16T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[26,"2026-10-17T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[27,"2026-10-18T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[28,"2026-10-19T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[29,"2026-10-20T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[30,"2026-10-21T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[31,"2026-10-22T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[32,"2026-10-23T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[33,"2026-10-24T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[34,"2026-10-25T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[35,"2026-10-26T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[36,"2026-10-27T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[37,"2026-10-28T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[38,"2026-10-29T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[39,"2026-10-30T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[40,"2026-10-31T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[41,"2026-11-01T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[42,"2026-11-02T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]],[43,"2026-11-03T00:00:00Z",true,28.0,28.0,[1024,0,0,0,null]]],"credits":28.0,"model_credits":28.0,"bills":37,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":37,"rate":0.9840370629861787,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[44,"2026-11-04T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[45,"2026-11-05T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[46,"2026-11-06T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[47,"2026-11-07T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[48,"2026-11-08T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[49,"2026-11-09T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[50,"2026-11-10T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[51,"2026-11-11T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[52,"2026-11-12T00:00:00Z",true,12.0,12.0,[1024,0,0,0,null]],[53,"2026-11-13T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]],[54,"2026-11-14T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]],[55,"2026-11-15T00:00:00Z",false,12.0,12.0,[1024,0,0,0,null]]],"credits":12.0,"model_credits":12.0,"bills":12,"streak":3,"tests":0,"suspended":{"since_seq":55,"pending":3},"seen":"2026-11-26T00:00:00Z","summary":{"runs":12,"rate":0.7817581674007907,"hopeful":0.882640302579176}}}}},"updated":{"run":"45000000066","at":"2026-11-26T00:00:00Z"}}}}],"cases":[{"name":"first-run","about":"The first run written starts the first generation and becomes the incumbent.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":0,"generation":null,"reset_after_run":0,"last_run":0,"unexplained":0,"scopes":{},"updated":null},"runs":[],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000001","number":1,"attempt":1},"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":12.0,"model_credits":12.0,"tokens":[40000,300000,0,9000,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000001","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":1,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":1,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,12.0,12.0,[40000,300000,0,9000,null]]],"credits":12.0,"model_credits":12.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000001","at":"2026-11-01T00:00:00Z"}},"lines":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":12.0,"counted":true,"note":null}]}},{"name":"duplicate-run","about":"A run already in runs.jsonl changes nothing.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]]],"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":null,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]]],"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"lines":[]}},{"name":"cost-without-model-share","about":"An entry with a cost but no model share counts all of it as the model's; no tokens leaves the average from the other entries.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]]],"credits":28.0,"model_credits":28.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":28.0,"model_credits":null,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":6,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,28.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",true,28.0,null,null]],"credits":28.0,"model_credits":28.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2026-11-06T00:00:00Z"}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":28.0,"counted":true,"note":null}]}},{"name":"edit","about":"A run of a new definition starts a generation: failures, streaks, tests and suspensions go; successes stay; unexplained resets.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":1,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":7,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[6,"2026-11-06T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":2,"streak":2,"tests":2,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}},"runs":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000010","number":10,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000010","attempt":1},"generation":"3b7e9a15","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"3b7e9a15","since_run":10},"reset_after_run":0,"last_run":10,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000010","at":"2026-11-09T00:00:00Z"}},"lines":[{"run":"45000000010","number":10,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"older-definition","about":"A run of the older definition, numbered at or below the new generation's first run, is audit only.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"3b7e9a15","since_run":10},"reset_after_run":0,"last_run":10,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000010","at":"2026-11-09T00:00:00Z"}},"runs":[{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000010","number":10,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"3b7e9a15","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"3b7e9a15","since_run":10},"reset_after_run":0,"last_run":10,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"older_definition"}]}},{"name":"before-reset","about":"A run numbered at or below reset_after_run is audit only.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":6,"last_run":3,"unexplained":0,"scopes":{},"updated":{"run":null,"at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":6,"last_run":5,"unexplained":0,"scopes":{},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"before_reset"}]}},{"name":"after-reset","about":"The first run after a reset starts from empty scopes.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":6,"last_run":3,"unexplained":0,"scopes":{},"updated":{"run":null,"at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000007","number":7,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000007","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":6,"last_run":7,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[4,"2026-11-06T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000007","at":"2026-11-06T00:00:00Z"}},"lines":[{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"probe-restores","about":"A suspended pair's success removes its pending failures and restores it.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":8,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[5,"2026-11-05T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":3,"tests":3,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}},"runs":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"probe","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[9,"2026-11-09T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"probe-confirms-break","about":"A failure after another model succeeded keeps only the pending failures and this one, and clears the suspension.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":8,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[5,"2026-11-05T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":3,"tests":3,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}},"runs":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"probe","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":8,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[5,"2026-11-05T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",false,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":0,"tests":3,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":4,"rate":0.5066659220554153,"hopeful":0.6657101624985134}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null}]}},{"name":"late-test-result","about":"A test that was already running when its pair was suspended settles the suspension like a probe, and spends allowance.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":8,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[5,"2026-11-05T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":3,"tests":3,"suspended":{"since_seq":7,"pending":3},"seen":"2026-11-07T00:00:00Z","summary":{"runs":3,"rate":0.566722079492217,"hopeful":0.7324477827990609}}}}},"updated":{"run":"45000000008","at":"2026-11-08T00:00:00Z"}},"runs":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-08T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-08T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[9,"2026-11-09T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":4,"suspended":null,"seen":"2026-11-09T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2026-11-09T00:00:00Z"}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-09T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"all-suspended-failure","about":"A run served while every pair is suspended, failing before any model has succeeded since, counts nothing.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":3,"tests":0,"suspended":{"since_seq":4,"pending":3},"seen":"2026-11-04T00:00:00Z","summary":{"runs":4,"rate":0.6126370137245666,"hopeful":0.7676068652448768}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"runs":[{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":3,"tests":0,"suspended":{"since_seq":4,"pending":3},"seen":"2026-11-05T00:00:00Z","summary":{"runs":4,"rate":0.6126370137245666,"hopeful":0.7676068652448768}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":false,"note":"awaiting_success"}]}},{"name":"all-suspended-success","about":"The same run succeeding restores the pair.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":3,"tests":0,"suspended":{"since_seq":4,"pending":3},"seen":"2026-11-04T00:00:00Z","summary":{"runs":4,"rate":0.6126370137245666,"hopeful":0.7676068652448768}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"runs":[{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":null,"after":null},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"all_suspended"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":null,"last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-a@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"pending-aged-out","about":"A suspension whose oldest pending failure was pruned at an earlier write: the success removes what remains of them.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":8,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":8,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":8,"pairs":{"github-copilot/model-b@high":{"history":[[7,"2026-12-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2027-01-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-04T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[5,"2026-12-11T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]],[6,"2026-12-12T00:00:00Z",false,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":2,"streak":3,"tests":3,"suspended":{"since_seq":6,"pending":3},"seen":"2026-12-12T00:00:00Z","summary":{"runs":2,"rate":0.6446991404011461,"hopeful":0.8141232566710288}}}}},"updated":{"run":"45000000008","at":"2027-01-04T00:00:00Z"}},"runs":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-12-12T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-12-13T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000008","number":8,"attempt":1,"at":"2027-01-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2027-01-05T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"probe","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":9,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"probe","last_success_seq":9,"pairs":{"github-copilot/model-b@high":{"history":[[7,"2026-12-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2027-01-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-04T00:00:00Z","summary":{"runs":2,"rate":0.9283667621776505,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[9,"2027-01-05T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":3,"suspended":null,"seen":"2027-01-05T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2027-01-05T00:00:00Z"}},"lines":[{"run":"45000000009","number":9,"attempt":1,"at":"2027-01-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"probe","pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"stale-receipt","about":"A receipt decided on an older incumbent cannot switch, or undo a newer switch.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-c@high","after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"switch","about":"A bound receipt whose before is the history's incumbent switches it and renews the new incumbent's allowance.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-a@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-a@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"receipt-missing","about":"A live run without a receipt counts nothing, counts as a test for the share, and is unexplained when exploration was allowed.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":null,"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":1,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":false,"note":"receipt_missing"}]}},{"name":"receipt-missing-not-allowed","about":"Without a receipt but with exploration denied, the run is not unexplained.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":null,"prepare":{"explore_allowed":false}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":false,"note":"receipt_missing"}]}},{"name":"receipt-missing-no-outputs","about":"Without a receipt or the prepare step's outputs, the run is unexplained.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":null,"prepare":null},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":1,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":false,"note":"receipt_missing"}]}},{"name":"receipt-mismatch","about":"A receipt that names another pair than AWF's selection record is not bound to the run.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-c@high","ordinary":"github-copilot/model-c@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":1,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":"github-copilot/model-a@high","outcome":"success","credits":10.0,"counted":false,"note":"receipt_mismatch"}]}},{"name":"test-skipped","about":"A test that failed for infrastructure counts nothing but spends allowance.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"skip","reason":"infrastructure"},"pair":"github-copilot/model-a@high","cost":{"credits":3.0,"model_credits":3.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000004","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-a@high","ordinary":"github-copilot/model-a@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[],"credits":null,"model_credits":null,"bills":0,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":0,"rate":0.9,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-a@high","outcome":"skip","credits":3.0,"counted":false,"note":"infrastructure"}]}},{"name":"no-agent","about":"A run with no observation writes a no_agent line, changes no role and counts nothing.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":null,"pair":null,"cost":null,"receipt":null,"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"no_agent"}]}},{"name":"unsaved-runs","about":"Completed runs missing from runs.jsonl: failed with the agent run is unsaved and unexplained, without it no_agent; successful, skipped or already written runs are not charged.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000009","number":9,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000009","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true},"listing":[{"id":"45000000002","number":2,"conclusion":"failure","agent_ran":true},{"id":"45000000004","number":4,"conclusion":"failure","agent_ran":true},{"id":"45000000005","number":5,"conclusion":"cancelled","agent_ran":false},{"id":"45000000006","number":6,"conclusion":"success","agent_ran":null},{"id":"45000000007","number":7,"conclusion":"skipped","agent_ran":null},{"id":"45000000008","number":8,"conclusion":"failure","agent_ran":true}]},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":9,"unexplained":2,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":4,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":4,"rate":0.9437037864382872,"hopeful":0.999}}}}},"updated":{"run":"45000000009","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":null,"scope":null,"mode":null,"role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"unsaved"},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":null,"scope":null,"mode":null,"role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"no_agent"},{"run":"45000000008","number":8,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":null,"scope":null,"mode":null,"role":null,"pair":null,"outcome":null,"credits":null,"counted":false,"note":"unsaved"},{"run":"45000000009","number":9,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"observe","about":"An observe run counts its outcome without a receipt, records the role observe and never changes the incumbent.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000004","number":4,"attempt":1},"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","mode":"observe","scope":"copilot/cost/shared","observation":{"outcome":"failure"},"pair":"github-copilot/model-a@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":null,"prepare":null},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"observe","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}},"github-copilot/model-a@high":{"history":[[4,"2026-11-04T00:00:00Z",false,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":1,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.75,"hopeful":0.9136634176769942}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"lines":[{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"observe","role":"observe","pair":"github-copilot/model-a@high","outcome":"failure","credits":10.0,"counted":true,"note":null}]}},{"name":"history-bound","about":"Each pair keeps its newest 50 entries.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":52,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":52,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":52,"pairs":{"github-copilot/model-b@high":{"history":[[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[10,"2026-11-10T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[11,"2026-11-11T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[12,"2026-11-12T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[13,"2026-11-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[14,"2026-11-14T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[15,"2026-11-15T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[16,"2026-11-16T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[17,"2026-11-17T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[18,"2026-11-18T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[19,"2026-11-19T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[20,"2026-11-20T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[21,"2026-11-21T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[22,"2026-11-22T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[23,"2026-11-23T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[24,"2026-11-24T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[25,"2026-11-25T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[26,"2026-11-26T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[27,"2026-11-27T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[28,"2026-11-28T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[29,"2026-11-29T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[30,"2026-11-30T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[31,"2026-12-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[32,"2026-12-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[33,"2026-12-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[34,"2026-12-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[35,"2026-12-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[36,"2026-12-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[37,"2026-12-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[38,"2026-12-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[39,"2026-12-09T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[40,"2026-12-10T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[41,"2026-12-11T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[42,"2026-12-12T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[43,"2026-12-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[44,"2026-12-14T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[45,"2026-12-15T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[46,"2026-12-16T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[47,"2026-12-17T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[48,"2026-12-18T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[49,"2026-12-19T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[50,"2026-12-20T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[51,"2026-12-21T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[52,"2026-12-22T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-12-22T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}}}}},"updated":{"run":"45000000052","at":"2026-12-22T00:00:00Z"}},"runs":[{"run":"45000000050","number":50,"attempt":1,"at":"2026-12-20T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000051","number":51,"attempt":1,"at":"2026-12-21T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000052","number":52,"attempt":1,"at":"2026-12-22T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000053","number":53,"attempt":1},"at":"2026-12-23T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000053","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":53,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":53,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":53,"pairs":{"github-copilot/model-b@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[8,"2026-11-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[9,"2026-11-09T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[10,"2026-11-10T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[11,"2026-11-11T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[12,"2026-11-12T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[13,"2026-11-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[14,"2026-11-14T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[15,"2026-11-15T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[16,"2026-11-16T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[17,"2026-11-17T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[18,"2026-11-18T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[19,"2026-11-19T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[20,"2026-11-20T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[21,"2026-11-21T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[22,"2026-11-22T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[23,"2026-11-23T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[24,"2026-11-24T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[25,"2026-11-25T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[26,"2026-11-26T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[27,"2026-11-27T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[28,"2026-11-28T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[29,"2026-11-29T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[30,"2026-11-30T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[31,"2026-12-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[32,"2026-12-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[33,"2026-12-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[34,"2026-12-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[35,"2026-12-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[36,"2026-12-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[37,"2026-12-07T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[38,"2026-12-08T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[39,"2026-12-09T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[40,"2026-12-10T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[41,"2026-12-11T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[42,"2026-12-12T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[43,"2026-12-13T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[44,"2026-12-14T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[45,"2026-12-15T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[46,"2026-12-16T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[47,"2026-12-17T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[48,"2026-12-18T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[49,"2026-12-19T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[50,"2026-12-20T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[51,"2026-12-21T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[52,"2026-12-22T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[53,"2026-12-23T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":50,"streak":0,"tests":0,"suspended":null,"seen":"2026-12-23T00:00:00Z","summary":{"runs":50,"rate":0.9864099103701192,"hopeful":0.999}}}}},"updated":{"run":"45000000053","at":"2026-12-23T00:00:00Z"}},"lines":[{"run":"45000000053","number":53,"attempt":1,"at":"2026-12-23T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"costs-expire","about":"Entries older than 60 days are pruned, so their costs and tokens expire with them; a run without a known cost adds no bill.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,20.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,20.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,20.0,null,[40000,300000,0,9000,null]],[4,"2026-12-01T00:00:00Z",true,40.0,null,[1000,0,0,100,50]],[5,"2026-12-02T00:00:00Z",true,40.0,null,[1000,0,0,100,50]]],"credits":23.8,"model_credits":23.8,"bills":5,"streak":0,"tests":0,"suspended":null,"seen":"2026-12-02T00:00:00Z","summary":{"runs":5,"rate":0.9490002007515298,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-12-02T00:00:00Z"}},"runs":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":20.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-12-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":40.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-12-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":40.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2027-01-03T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":null,"model_credits":null,"tokens":[3000,0,0,300,null]},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":6,"pairs":{"github-copilot/model-b@high":{"history":[[4,"2026-12-01T00:00:00Z",true,40.0,null,[1000,0,0,100,50]],[5,"2026-12-02T00:00:00Z",true,40.0,null,[1000,0,0,100,50]],[6,"2027-01-03T00:00:00Z",true,null,null,[3000,0,0,300,null]]],"credits":40.0,"model_credits":40.0,"bills":2,"streak":0,"tests":0,"suspended":null,"seen":"2027-01-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2027-01-03T00:00:00Z"}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2027-01-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":null,"counted":true,"note":null}]}},{"name":"pair-bound","about":"Over the pair bound (4 here), the least recently seen pair that is neither the incumbent nor suspended is dropped.","bounds":{"pairs":4},"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x0@high":{"history":[[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x1@high":{"history":[[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x2@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x3@high":{"history":[[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x1@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x2@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x3@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-x9@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-x9@high","ordinary":"github-copilot/model-x9@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":6,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x2@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x3@high":{"history":[[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x9@high":{"history":[[6,"2026-11-10T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2026-11-10T00:00:00Z"}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x9@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"byte-bound","about":"Over the byte bound (1,709 bytes of JSON.stringify output here), the least recently seen pairs go first, before any count bound binds.","bounds":{"state_bytes":1709},"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x0@high":{"history":[[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x1@high":{"history":[[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x2@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x3@high":{"history":[[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-05T00:00:00Z"}},"runs":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x1@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x2@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x3@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000006","number":6,"attempt":1},"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-x9@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000006","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"test","explore_allowed":true,"selected":"github-copilot/model-x9@high","ordinary":"github-copilot/model-x9@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"test","last_success_seq":6,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x2@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x3@high":{"history":[[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-05T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}},"github-copilot/model-x9@high":{"history":[[6,"2026-11-10T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":1,"suspended":null,"seen":"2026-11-10T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2026-11-10T00:00:00Z"}},"lines":[{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-10T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"test","pair":"github-copilot/model-x9@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"scope-bound","about":"A fifth scope first drops the scope whose pairs were seen least recently.","bounds":{},"state":{"v":2,"workflow":"pr-sous-chef","seq":4,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":4,"unexplained":0,"scopes":{"copilot/cost/economy":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":1,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-01T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"copilot/cost/balanced":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":2,"pairs":{"github-copilot/model-b@high":{"history":[[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"copilot/cost/robust":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"claude/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000004","at":"2026-11-04T00:00:00Z"}},"runs":[{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/balanced","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/robust","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"claude/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000005","number":5,"attempt":1},"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"codex/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000005","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"codex/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":null,"after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":5,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":5,"unexplained":0,"scopes":{"copilot/cost/balanced":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":2,"pairs":{"github-copilot/model-b@high":{"history":[[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-02T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"copilot/cost/robust":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"claude/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":4,"pairs":{"github-copilot/model-b@high":{"history":[[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-04T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}},"codex/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":5,"pairs":{"github-copilot/model-b@high":{"history":[[5,"2026-11-06T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":1,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":1,"rate":0.9166666666666666,"hopeful":0.999}}}}},"updated":{"run":"45000000005","at":"2026-11-06T00:00:00Z"}},"lines":[{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"codex/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"runs-bound","about":"runs.jsonl keeps its newest lines (5 here).","bounds":{"runs_lines":5},"state":{"v":2,"workflow":"pr-sous-chef","seq":6,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":6,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":6,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":6,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-06T00:00:00Z","summary":{"runs":6,"rate":0.9533054203705471,"hopeful":0.999}}}}},"updated":{"run":"45000000006","at":"2026-11-06T00:00:00Z"}},"runs":[{"run":"45000000001","number":1,"attempt":1,"at":"2026-11-01T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000002","number":2,"attempt":1,"at":"2026-11-02T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"run":{"workflow":"pr-sous-chef","run":{"id":"45000000007","number":7,"attempt":1},"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","observation":{"outcome":"success"},"pair":"github-copilot/model-b@high","cost":{"credits":10.0,"model_credits":10.0,"tokens":null},"receipt":{"event":"adaptive_selection","v":2,"workflow":"pr-sous-chef","run":{"id":"45000000007","attempt":1},"generation":"9f2c41d0","mode":"live","scope":"copilot/cost/shared","role":"serve","explore_allowed":true,"selected":"github-copilot/model-b@high","ordinary":"github-copilot/model-b@high","would":null,"incumbent":{"before":"github-copilot/model-b@high","after":"github-copilot/model-b@high"},"costs":{},"concurrency":{"turn":true,"in_flight":0,"capacity":null},"reason":"no_challenger"},"prepare":{"explore_allowed":true}},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":7,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":7,"unexplained":0,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":7,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[4,"2026-11-04T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[5,"2026-11-05T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[6,"2026-11-06T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[7,"2026-11-07T00:00:00Z",true,10.0,10.0,null]],"credits":10.0,"model_credits":10.0,"bills":7,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-07T00:00:00Z","summary":{"runs":7,"rate":0.9568732161845132,"hopeful":0.999}}}}},"updated":{"run":"45000000007","at":"2026-11-07T00:00:00Z"}},"lines":[{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}],"runs":[{"run":"45000000003","number":3,"attempt":1,"at":"2026-11-03T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000004","number":4,"attempt":1,"at":"2026-11-04T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000005","number":5,"attempt":1,"at":"2026-11-05T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000006","number":6,"attempt":1,"at":"2026-11-06T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null},{"run":"45000000007","number":7,"attempt":1,"at":"2026-11-07T00:00:00Z","generation":"9f2c41d0","scope":"copilot/cost/shared","mode":"live","role":"serve","pair":"github-copilot/model-b@high","outcome":"success","credits":10.0,"counted":true,"note":null}]}},{"name":"reset","about":"gh aw routing reset fences off every run up to the latest one, empties the scopes and clears unexplained; runs.jsonl is kept.","state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":0,"last_run":3,"unexplained":2,"scopes":{"copilot/cost/shared":{"incumbent":"github-copilot/model-b@high","last_role":"serve","last_success_seq":3,"pairs":{"github-copilot/model-b@high":{"history":[[1,"2026-11-01T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[2,"2026-11-02T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]],[3,"2026-11-03T00:00:00Z",true,10.0,null,[40000,300000,0,9000,null]]],"credits":10.0,"model_credits":10.0,"bills":3,"streak":0,"tests":0,"suspended":null,"seen":"2026-11-03T00:00:00Z","summary":{"runs":3,"rate":0.9370308800564203,"hopeful":0.999}}}}},"updated":{"run":"45000000003","at":"2026-11-03T00:00:00Z"}},"reset":{"latest_run":9,"at":"2026-11-05T00:00:00Z"},"expect":{"state":{"v":2,"workflow":"pr-sous-chef","seq":3,"generation":{"hash":"9f2c41d0","since_run":1},"reset_after_run":9,"last_run":3,"unexplained":0,"scopes":{},"updated":{"run":null,"at":"2026-11-05T00:00:00Z"}}}}]} diff --git a/actions/setup/js/push_repo_memory.cjs b/actions/setup/js/push_repo_memory.cjs index daca74df29a..a15f23cf9db 100644 --- a/actions/setup/js/push_repo_memory.cjs +++ b/actions/setup/js/push_repo_memory.cjs @@ -386,6 +386,9 @@ function planRepoMemoryReplay({ files, baseCommit, workspaceDir }) { * @param {string} [opts.originUrlForPush] * @param {string} [opts.repoUrlForRetry] * @param {() => void} [opts.validateBeforePush] + * @param {(context: {remoteHead: string}) => (boolean | Promise)} [opts.reapply] For gh-aw's own state writers, not agent memory: + * when the branch head moved, check out the newest head and call this to rebuild and commit the change from the newest files, + * instead of rebasing with this run's copy winning. It returns false when there is nothing left to commit. * @returns {Promise} Remote commit, unchanged replay, or failure. */ async function pushRepoMemoryChangesWithRetry({ @@ -404,6 +407,7 @@ async function pushRepoMemoryChangesWithRetry({ originUrlForPush, repoUrlForRetry, validateBeforePush, + reapply, }) { const retryUrl = repoUrlForRetry || `https://${serverHost}/${targetRepo}.git`; @@ -442,9 +446,9 @@ async function pushRepoMemoryChangesWithRetry({ baseRef: currentBaseRef, cwd: workspaceDir, gitAuthEnv: getGitAuthEnv(ghToken), - allowGitPushFallback: !validateBeforePush, + allowGitPushFallback: !validateBeforePush && !reapply, // Commit only on the head this save was built on; a moved branch is - // rebased below with the JSONL union policy and retried. + // rebased below with the JSONL union policy, or re-applied, and retried. requireBaseRefMatch: true, }); core.info(commit ? `Successfully pushed changes to ${branchName} branch` : `No changes left to push to ${branchName} branch`); @@ -477,14 +481,25 @@ async function pushRepoMemoryChangesWithRetry({ currentBaseRef = remoteHead; core.info(`Refreshed baseRef for retry: ${currentBaseRef}`); try { - reconcileRepoMemoryRetry({ - workspaceDir, - branchName, - repoUrl: retryUrl, - previousBaseRef, - remoteHead, - gitAuthEnv: getGitAuthEnv(ghToken), - }); + if (reapply) { + // A clean textual merge of a derived state file can still be wrong, so rebuild + // the change from the newest files whether or not the files conflict. + execGitSync(["fetch", retryUrl, `refs/heads/${branchName}`], { cwd: workspaceDir, env: { ...process.env, ...getGitAuthEnv(ghToken) }, stdio: "pipe", suppressLogs: true }); + execGitSync(["reset", "--hard", remoteHead], { cwd: workspaceDir, stdio: "pipe" }); + if (!(await reapply({ remoteHead }))) { + core.info(`No changes left to push to ${branchName} branch`); + return undefined; + } + } else { + reconcileRepoMemoryRetry({ + workspaceDir, + branchName, + repoUrl: retryUrl, + previousBaseRef, + remoteHead, + gitAuthEnv: getGitAuthEnv(ghToken), + }); + } } catch (reconcileError) { await setPushRepoMemoryFailure(`Failed to reconcile repo-memory changes onto refreshed head before retry: ${getErrorMessage(reconcileError)}`); return false; diff --git a/actions/setup/js/push_routing_history.cjs b/actions/setup/js/push_routing_history.cjs new file mode 100644 index 00000000000..a854b4b7a5a --- /dev/null +++ b/actions/setup/js/push_routing_history.cjs @@ -0,0 +1,430 @@ +// @ts-check +// @safe-outputs-exempt SEC-005: the job writes only its own workflow's history branch in the current repository, taken from the GitHub Actions context. +"use strict"; + +/** + * The push_routing_history job: records one finished run in its workflow's adaptive-routing history, + * state.json and runs.jsonl on memory/adaptive-routing/ (routing_history.cjs). + * + * The job runs after the conclusion job has published the run's unified session. It reads the + * routing verdict, the pair AWF selected and what the run cost from that session, charges earlier + * runs whose own save never landed, and saves through repo-memory's save loop. When another run + * moved the branch first, the loop re-applies this run to the newest files, so concurrent runs all + * land and none counts twice. + */ + +const fs = require("node:fs"); +const os = require("node:os"); +const path = require("node:path"); +const { ERR_API, ERR_CONFIG, ERR_SYSTEM, ERR_VALIDATION } = require("./error_codes.cjs"); +const { getErrorMessage } = require("./error_helpers.cjs"); +const { getGitAuthEnv } = require("./git_auth_helpers.cjs"); +const { execGitSync } = require("./git_helpers.cjs"); +const { readJsonlFile } = require("./jsonl_helpers.cjs"); +const { pushRepoMemoryChangesWithRetry } = require("./push_repo_memory.cjs"); +const { attributeRequest, routedRequests } = require("./routing_analytics.cjs"); +const { applyRun, emptyState, trimRuns } = require("./routing_history.cjs"); + +/** @typedef {import("./routing_history.cjs").HistoryState} HistoryState */ + +const BRANCH_PREFIX = "memory/adaptive-routing/"; +const STATE_FILE = "state.json"; +const RUNS_FILE = "runs.jsonl"; +const DEFAULT_SESSION_FILE = "/tmp/gh-aw/usage/aw_session.jsonl"; +const EMPTY_TREE = "4b825dc642cb6eb9a060e54bf8d69288fbee4904"; +const CLASSIFIER_PURPOSE = "routing_classification"; +const LEVELS = new Set(["economy", "balanced", "robust"]); +const MODES = new Set(["observe"]); +const SAVED_CONCLUSIONS = new Set(["success", "skipped", "neutral"]); +const OUTCOMES = new Set(["success", "failure", "skip"]); +const SKIP_REASONS = new Set(["cancelled", "infrastructure", "rate_limited", "pair_mismatch", "unknown_evidence"]); +// AWF's provider keys, written as contract 1 names them. +/** @type {Record} */ +const PROVIDER_NAMES = { copilot: "github-copilot" }; +const WORKFLOW_ID = /^[A-Za-z0-9][A-Za-z0-9_-]*(?:\.[A-Za-z0-9_-]+)*$/; +const SCOPE_PART = /^[a-z0-9][a-z0-9-]*$/; +const BOT_IDENTITY = ["-c", "user.name=github-actions[bot]", "-c", "user.email=41898282+github-actions[bot]@users.noreply.github.com"]; + +/** @param {unknown} value @returns {value is Record} */ +const isRecord = value => value !== null && typeof value === "object" && !Array.isArray(value); + +/** Seconds precision, as the history's examples show. */ +const timestamp = () => new Date().toISOString().replace(/\.\d{3}Z$/, "Z"); + +/** + * The job's compiled configuration. + * @param {Record} env + */ +function readConfig(env) { + const workflow = env.GH_AW_ROUTING_WORKFLOW || ""; + if (!WORKFLOW_ID.test(workflow) || workflow.length > 100 || workflow.endsWith(".lock")) throw new Error(`${ERR_CONFIG}: GH_AW_ROUTING_WORKFLOW is not a workflow ID: ${JSON.stringify(workflow)}`); + const generation = env.GH_AW_ROUTING_GENERATION || ""; + if (!/^[0-9a-f]{64}:[0-9a-f]{64}$/.test(generation)) throw new Error(`${ERR_CONFIG}: GH_AW_ROUTING_GENERATION is not a workflow definition hash`); + const mode = env.GH_AW_ROUTING_MODE || ""; + if (!MODES.has(mode)) throw new Error(`${ERR_CONFIG}: GH_AW_ROUTING_MODE must be observe, not ${JSON.stringify(mode)}`); + const engine = env.GH_AW_ROUTING_ENGINE || ""; + const goal = env.GH_AW_ROUTING_GOAL || ""; + if (!SCOPE_PART.test(engine) || !SCOPE_PART.test(goal)) throw new Error(`${ERR_CONFIG}: GH_AW_ROUTING_ENGINE and GH_AW_ROUTING_GOAL must name the routing scope`); + // A level chosen at run time arrives resolved; anything else shares records across levels. + const requestedLevel = env.GH_AW_ROUTING_LEVEL || ""; + const level = LEVELS.has(requestedLevel) ? requestedLevel : "shared"; + let subAgentModels; + if (env.GH_AW_INFO_SUB_AGENT_MODELS) { + try { + subAgentModels = JSON.parse(env.GH_AW_INFO_SUB_AGENT_MODELS); + } catch (error) { + throw new Error(`${ERR_CONFIG}: GH_AW_INFO_SUB_AGENT_MODELS is not JSON: ${getErrorMessage(error)}`, { cause: error }); + } + if (!Array.isArray(subAgentModels)) throw new Error(`${ERR_CONFIG}: GH_AW_INFO_SUB_AGENT_MODELS must be an array`); + } + return { workflow, generation, mode, scope: `${engine}/${goal}/${level}`, branch: BRANCH_PREFIX + workflow, sessionFile: env.GH_AW_ROUTING_SESSION_FILE || DEFAULT_SESSION_FILE, subAgentModels }; +} + +/** + * Why this run must not update the history, or "" when it may: only first attempts whose workflow + * definition comes from the default branch are recorded. + * @param {{attempt: number, workflowRef: string, defaultBranch: string}} run + */ +function ineligibility({ attempt, workflowRef, defaultBranch }) { + if (attempt !== 1) return `attempt ${attempt} is a re-run; only first attempts are recorded`; + const ref = workflowRef.slice(workflowRef.lastIndexOf("@") + 1); + if (!defaultBranch || ref !== `refs/heads/${defaultBranch}`) return `the workflow definition comes from ${ref || "an unknown ref"}, not the default branch`; + return ""; +} + +/** + * The run's unified session. A missing file means the usage artifact never arrived, which fails the + * job, so the next save can charge the run as unsaved. + * @param {string} file + */ +function readSession(file) { + if (!fs.existsSync(file)) throw new Error(`${ERR_SYSTEM}: The run's unified session is missing (${file}); the usage artifact was not published`); + return [...readJsonlFile(file, { strict: true })]; +} + +/** + * What the run's session says about it: the routing verdict (contract 4), the pair AWF selected + * (contract 1) and the run's cost from AWF's records. Only agent-phase AWF records count; threat + * detection's are not the agent's. + * @param {unknown[]} events + * @param {unknown} [subAgentModels] the compiled sub-agent model declarations, as aw_info records them + */ +function sessionEvidence(events, subAgentModels) { + /** + * @param {string} type + * @returns {Record[]} + */ + const agentRecords = type => events.flatMap(event => (isRecord(event) && event.type === type && isRecord(event.data) && event.provenance?.component === "firewall" && event.provenance?.phase === "agent" ? [event.data] : [])); + const verdict = events.filter(event => isRecord(event) && event.type === "routing.observation" && isRecord(event.data)).at(-1); + // routing_analytics attributes AWF's records by their raw field names. + /** @type {Record[]} */ + const routing = agentRecords("firewall.model_routing").map(record => ({ ...record, request_id: record.requestId, requested_model: record.requestedModel })); + const usage = agentRecords("firewall.token_usage"); + const selection = routing.filter(record => record.stage === "selection").at(-1); + let observation = isRecord(verdict) ? validObservation(verdict.data) : null; + const pair = selection ? pairName(selection) : null; + // A verdict on a pair the records do not name cannot count for any pair. + if (observation && !pair) observation = { outcome: "skip", reason: "unknown_evidence" }; + return { observation, pair, cost: runCost(usage, routing, subAgentModels) }; +} + +/** @param {unknown} data */ +function validObservation(data) { + if (!isRecord(data) || !OUTCOMES.has(data.outcome)) return { outcome: "skip", reason: "unknown_evidence" }; + if (data.outcome !== "skip") return { outcome: data.outcome }; + return { outcome: "skip", reason: SKIP_REASONS.has(data.reason) ? data.reason : "unknown_evidence" }; +} + +/** + * `/@`, as AWF names the pair it selected. + * @param {Record} selection + */ +function pairName(selection) { + const provider = typeof selection.selectedProvider === "string" && selection.selectedProvider ? selection.selectedProvider : selection.provider; + const model = selection.wireModel; + if (typeof provider !== "string" || !provider || typeof model !== "string" || !model) return null; + const effort = typeof selection.selectedEffort === "string" && selection.selectedEffort ? selection.selectedEffort : "none"; + return `${PROVIDER_NAMES[provider] ?? provider}/${model}@${effort}`; +} + +/** @param {unknown} value @returns {number | null} */ +const count = value => (typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : null); + +/** + * One main request's counts as contract 4 defines them: input excluding cache, cache read, cache + * write and output. AWF's records keep each provider's own input count, which includes cache for + * some responses and not others, so the uncached input is known only when the record says which, + * or when the request read and wrote no cache. Otherwise the counts are unknown. + * @param {Record} used the record's usage + * @returns {number[] | null} + */ +function requestTokens(used) { + const input = count(used.inputTokens); + const cacheRead = count(used.cacheReadInputTokens); + const cacheWrite = count(used.cacheCreationInputTokens); + const output = count(used.outputTokens); + if (input === null || cacheRead === null || cacheWrite === null || output === null) return null; + const cached = cacheRead + cacheWrite; + // As AWF's credit meter reads an input count that includes cache. + if (used.inputTokensIncludeCache === true) return [Math.max(0, input - cached), cacheRead, cacheWrite, output]; + if (used.inputTokensIncludeCache === false || cached === 0) return [input, cacheRead, cacheWrite, output]; + return null; +} + +/** + * The run's cost from AWF's records (contract 4): `credits` over every agent request except the + * router's classifier call, and `model_credits` and token counts over the main conversation's + * requests. Each is null when a request it covers lacks a price or a count. + * @param {Record[]} usage firewall.token_usage data + * @param {Record[]} routing firewall.model_routing data with raw request fields + * @param {unknown} subAgentModels + */ +function runCost(usage, routing, subAgentModels) { + const routes = routedRequests(routing); + const classifier = new Set([...routes].flatMap(([id, route]) => (route?.purpose === CLASSIFIER_PURPOSE ? [id] : []))); + const seen = new Set(); + /** @type {number | null} */ + let credits = 0; + /** @type {number | null} */ + let modelCredits = 0; + /** @type {number[] | null} */ + let tokens = [0, 0, 0, 0]; + /** @type {number | null} */ + let reasoning = 0; + let requests = 0; + let main = 0; + for (const record of usage) { + const id = typeof record.requestId === "string" && record.requestId ? record.requestId : null; + if (record.purpose === CLASSIFIER_PURPOSE || (id && classifier.has(id))) continue; + // Count each proxy request once, even when it appears in replicated logs. + if (id && seen.has(id)) continue; + if (id) seen.add(id); + requests++; + const aic = count(record.aic); + credits = credits === null || aic === null ? null : credits + aic; + if (!id || attributeRequest(routes.get(id), record.provider, subAgentModels) !== "main") continue; + main++; + modelCredits = modelCredits === null || aic === null ? null : modelCredits + aic; + const used = isRecord(record.usage) ? record.usage : {}; + const counts = requestTokens(used); + if (tokens === null || counts === null) { + tokens = null; + continue; + } + const totals = tokens; + tokens = counts.map((value, index) => totals[index] + value); + const reasoned = count(used.reasoningOutputTokens); + reasoning = reasoning === null || reasoned === null ? null : reasoning + reasoned; + } + const round = (/** @type {number | null} */ value) => (value === null ? null : Number(value.toFixed(6))); + return { + credits: requests > 0 ? round(credits) : null, + model_credits: main > 0 ? round(modelCredits) : null, + tokens: main > 0 && tokens !== null ? [...tokens, reasoning] : null, + }; +} + +/** + * A missing branch is an empty history (contract 5). + * @param {string} workspaceDir + * @param {string} workflow + * @returns {{state: HistoryState, runs: any[]}} + */ +function readHistory(workspaceDir, workflow) { + const statePath = path.join(workspaceDir, STATE_FILE); + const runsPath = path.join(workspaceDir, RUNS_FILE); + /** @type {HistoryState} */ + let state = emptyState(workflow); + if (fs.existsSync(statePath)) { + try { + state = JSON.parse(fs.readFileSync(statePath, "utf8")); + } catch (error) { + throw new Error(`${ERR_VALIDATION}: ${STATE_FILE} is not readable JSON: ${getErrorMessage(error)}`, { cause: error }); + } + } + if (!isRecord(state) || state.v !== 2 || state.workflow !== workflow || !isRecord(state.scopes)) { + throw new Error(`${ERR_VALIDATION}: ${STATE_FILE} is not a version 2 routing history for ${workflow}`); + } + const runs = fs.existsSync(runsPath) ? [...readJsonlFile(runsPath, { strict: true })] : []; + return { state, runs }; +} + +/** + * @param {string} workspaceDir + * @param {HistoryState} state + * @param {any[]} runs + * @param {string} runId + */ +function commitHistory(workspaceDir, state, runs, runId) { + try { + fs.writeFileSync(path.join(workspaceDir, STATE_FILE), `${JSON.stringify(state)}\n`); + fs.writeFileSync(path.join(workspaceDir, RUNS_FILE), runs.map(line => `${JSON.stringify(line)}\n`).join("")); + } catch (error) { + throw new Error(`${ERR_SYSTEM}: Could not write the routing history: ${getErrorMessage(error)}`, { cause: error }); + } + execGitSync(["add", "--", STATE_FILE, RUNS_FILE], { cwd: workspaceDir, stdio: "pipe" }); + execGitSync([...BOT_IDENTITY, "commit", "-m", `Record workflow run ${runId} in the routing history`], { cwd: workspaceDir, stdio: "pipe" }); +} + +/** + * Check out the history branch in a fresh repository, creating it on the first write with a root + * commit made through the API, which GitHub signs. If another run creates it first, use theirs. + * @param {{githubClient: any, owner: string, repo: string, branch: string, workspaceDir: string, token: string, serverHost: string, remoteUrl?: string}} options + * @returns {Promise} the head the save builds on + */ +async function checkoutHistoryBranch({ githubClient, owner, repo, branch, workspaceDir, token, serverHost, remoteUrl }) { + const env = { ...process.env, ...getGitAuthEnv(token) }; + execGitSync(["init", "--quiet"], { cwd: workspaceDir, stdio: "pipe" }); + execGitSync(["remote", "add", "origin", remoteUrl || `https://${serverHost}/${owner}/${repo}.git`], { cwd: workspaceDir, stdio: "pipe" }); + for (let attempt = 0; attempt < 2; attempt++) { + try { + execGitSync(["fetch", "--quiet", "--no-tags", "--depth=1", "origin", `+refs/heads/${branch}:refs/remotes/origin/history`], { cwd: workspaceDir, env, stdio: "pipe", suppressLogs: true }); + execGitSync(["checkout", "--quiet", "-B", branch, "refs/remotes/origin/history"], { cwd: workspaceDir, stdio: "pipe" }); + return execGitSync(["rev-parse", "HEAD"], { cwd: workspaceDir, stdio: "pipe" }).trim(); + } catch (error) { + if (attempt > 0 || !/couldn't find remote ref|remote branch .* not found/i.test(getErrorMessage(error))) throw error; + } + const { data: root } = await githubClient.rest.git.createCommit({ owner, repo, message: `Initialize ${branch}`, tree: EMPTY_TREE, parents: [] }); + core.info(`Created the history's root commit ${root.sha} (signature verified: ${root.verification?.verified === true})`); + try { + await githubClient.rest.git.createRef({ owner, repo, ref: `refs/heads/${branch}`, sha: root.sha }); + } catch (error) { + if (!/422|Reference already exists/i.test(getErrorMessage(error))) throw error; + core.info(`Another run created ${branch} first; recording on top of it`); + } + } + throw new Error(`${ERR_API}: Could not check out ${branch}`); +} + +/** + * Completed runs on the newest page that the history may need to charge because their own save + * never landed (contract 5): first attempts from the default branch, judged by their first attempt, + * above both fences and not yet written. Only those that did not succeed need a jobs call, to tell + * an agent that ran from one that never started. + * @param {{githubClient: any, owner: string, repo: string, workflowFile: string, defaultBranch: string, runId: string, state: HistoryState, runs: any[], generation: string}} options + */ +async function listRuns({ githubClient, owner, repo, workflowFile, defaultBranch, runId, state, runs, generation }) { + // A run that starts a generation fences off every earlier run. + const sinceRun = state.generation?.hash === generation ? state.generation.since_run : Infinity; + const written = new Set(runs.map(line => line.run)); + const { data } = await githubClient.rest.actions.listWorkflowRuns({ owner, repo, workflow_id: workflowFile, branch: defaultBranch, per_page: 100 }); + const listing = []; + for (const run of data.workflow_runs || []) { + const id = String(run.id); + if (id === runId || run.status !== "completed" || written.has(id) || run.head_branch !== defaultBranch) continue; + // Their definitions come from the pull request, not the default branch. + if (/^pull_request(?!_target)/.test(run.event || "")) continue; + if (run.run_number <= state.reset_after_run || run.run_number <= sinceRun) continue; + let conclusion = run.conclusion; + // A successful re-run can hide a failed first save. + if ((run.run_attempt || 1) > 1) + ({ + data: { conclusion }, + } = await githubClient.rest.actions.getWorkflowRunAttempt({ owner, repo, run_id: run.id, attempt_number: 1 })); + /** @type {{id: string, number: number, conclusion: string, agent_ran?: boolean}} */ + const listed = { id, number: run.run_number, conclusion: conclusion || "unknown" }; + if (!SAVED_CONCLUSIONS.has(listed.conclusion)) { + const jobs = await githubClient.paginate(githubClient.rest.actions.listJobsForWorkflowRunAttempt, { owner, repo, run_id: run.id, attempt_number: 1, per_page: 100 }); + listed.agent_ran = jobs.some((/** @type {any} */ job) => job?.name === "agent" && job.conclusion !== "skipped" && Boolean(job.started_at)); + } + listing.push(listed); + } + return listing; +} + +/** @param {string} serverUrl */ +function hostOf(serverUrl) { + try { + return new URL(serverUrl).host; + } catch (error) { + throw new Error(`${ERR_CONFIG}: GITHUB_SERVER_URL is not a URL: ${getErrorMessage(error)}`, { cause: error }); + } +} + +/** @param {string} parent */ +function makeWorkspace(parent) { + try { + return fs.mkdtempSync(path.join(parent, "gh-aw-routing-history-")); + } catch (error) { + throw new Error(`${ERR_SYSTEM}: Could not create a directory for the history branch: ${getErrorMessage(error)}`, { cause: error }); + } +} + +/** + * @param {{github?: any, context?: any, env?: Record, workspaceDir?: string, remoteUrl?: string, pushSignedCommitsFn?: any, execGetExecOutput?: any, sleepFn?: (delay: number) => Promise}} [options] + * Tests replace the API client, the remote and the signed push. + */ +async function main(options = {}) { + const githubClient = options.github || github; + const ctx = options.context || context; + const env = options.env || process.env; + const config = readConfig(env); + const { owner, repo } = ctx.repo; + const runId = String(ctx.runId); + const attempt = Number(env.GITHUB_RUN_ATTEMPT || "1"); + const workflowRef = env.GITHUB_WORKFLOW_REF || ""; + const defaultBranch = ctx.payload?.repository?.default_branch || (await githubClient.rest.repos.get({ owner, repo })).data.default_branch; + const skipped = ineligibility({ attempt, workflowRef, defaultBranch }); + if (skipped) { + core.info(`Not recording run ${runId} in the routing history: ${skipped}`); + return; + } + + const evidence = sessionEvidence(readSession(config.sessionFile), config.subAgentModels); + const token = env.GH_TOKEN || ""; + const serverHost = hostOf(env.GITHUB_SERVER_URL || "https://github.com"); + const workspaceDir = options.workspaceDir || makeWorkspace(env.RUNNER_TEMP || os.tmpdir()); + const baseRef = await checkoutHistoryBranch({ githubClient, owner, repo, branch: config.branch, workspaceDir, token, serverHost, remoteUrl: options.remoteUrl }); + const initial = readHistory(workspaceDir, config.workflow); + const workflowFile = path.posix.basename(workflowRef.slice(0, workflowRef.lastIndexOf("@"))); + /** @type {any[]} */ + let listing = []; + try { + listing = await listRuns({ githubClient, owner, repo, workflowFile, defaultBranch, runId, state: initial.state, runs: initial.runs, generation: config.generation }); + } catch (error) { + // Runs this save cannot charge stay on the list for the next save. + core.warning(`Could not list earlier runs to charge unsaved ones: ${getErrorMessage(error)}`); + } + + const run = { id: runId, number: Number(ctx.runNumber), attempt }; + /** @type {any[]} */ + let recorded = []; + /** @param {{state: HistoryState, runs: any[]}} history */ + const record = history => { + const result = applyRun(history.state, history.runs, { workflow: config.workflow, run, at: timestamp(), generation: config.generation, mode: config.mode, scope: config.scope, ...evidence, receipt: null, prepare: null, listing }); + recorded = result.lines; + if (result.lines.length > 0) commitHistory(workspaceDir, result.state, trimRuns([...history.runs, ...result.lines]), runId); + return result.lines.length > 0; + }; + if (!record(initial)) { + core.info(`Run ${runId} is already in the routing history`); + return; + } + const pushed = await pushRepoMemoryChangesWithRetry({ + githubClient, + targetOwner: owner, + targetRepoName: repo, + targetRepo: `${owner}/${repo}`, + branchName: config.branch, + baseRef, + workspaceDir, + ghToken: token, + serverHost, + reapply: () => record(readHistory(workspaceDir, config.workflow)), + ...(options.remoteUrl ? { originUrlForPush: options.remoteUrl, repoUrlForRetry: options.remoteUrl } : {}), + ...(options.pushSignedCommitsFn ? { pushSignedCommitsFn: options.pushSignedCommitsFn } : {}), + ...(options.execGetExecOutput ? { execGetExecOutput: options.execGetExecOutput } : {}), + ...(options.sleepFn ? { sleepFn: options.sleepFn } : {}), + }); + if (pushed === false) return; + if (pushed === undefined) { + core.info(`Run ${runId} was already in the routing history when this save re-read it`); + return; + } + const own = recorded.find(line => line.run === runId); + const counted = own?.counted ? "counted" : `not counted${own?.note ? ` (${own.note})` : ""}`; + core.info(`Recorded run ${runId} in ${config.branch}: ${own?.pair ?? "no pair"}, ${own?.outcome ?? "no outcome"}, ${counted}`); + await core.summary.addRaw(`### Routing history\n\nRecorded run ${runId} in \`${config.branch}\` (${config.mode}): ${own?.pair ? `\`${own.pair}\`` : "no pair"}, ${own?.outcome ?? "no outcome"}, ${counted}.\n`).write(); +} + +module.exports = { checkoutHistoryBranch, ineligibility, listRuns, main, pairName, readConfig, readHistory, runCost, sessionEvidence }; diff --git a/actions/setup/js/push_routing_history.test.cjs b/actions/setup/js/push_routing_history.test.cjs new file mode 100644 index 00000000000..4a7c60d5b54 --- /dev/null +++ b/actions/setup/js/push_routing_history.test.cjs @@ -0,0 +1,416 @@ +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; +import { execFileSync } from "node:child_process"; +import { writeUnifiedSession } from "./unified_session.cjs"; + +const req = require; +const fixtures = req("./fixtures/routing_analytics_runs.cjs"); +const { readJsonlFile } = req("./jsonl_helpers.cjs"); +const { applyRun, emptyState, trimRuns } = req("./routing_history.cjs"); +const { ineligibility, main, readConfig, sessionEvidence } = req("./push_routing_history.cjs"); + +const BRANCH = "memory/adaptive-routing/triage"; +const GENERATION = `${"a".repeat(64)}:${"b".repeat(64)}`; +const PAIR = "github-copilot/model-a@high"; + +let root; +beforeEach(() => { + root = fs.mkdtempSync(path.join(os.tmpdir(), "routing-history-writer-")); + global.core = { info: vi.fn(), warning: vi.fn(), debug: vi.fn(), error: vi.fn(), setFailed: vi.fn(), summary: { addRaw: vi.fn().mockReturnThis(), write: vi.fn() } }; +}); +afterEach(() => { + vi.useRealTimers(); + delete global.core; + fs.rmSync(root, { recursive: true, force: true }); +}); + +const git = (cwd, ...args) => execFileSync("git", args, { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] }).trim(); + +function bareRemote() { + const dir = path.join(root, "remote.git"); + execFileSync("git", ["init", "--quiet", "--bare", dir]); + git(dir, "config", "user.name", "remote"); + git(dir, "config", "user.email", "remote@example.com"); + return dir; +} + +const remoteHead = remote => + execFileSync("git", ["ls-remote", remote, `refs/heads/${BRANCH}`], { encoding: "utf8" }) + .trim() + .split(/\s+/)[0] || ""; +const remoteFile = (remote, file) => git(remote, "show", `${BRANCH}:${file}`); +const remoteState = remote => JSON.parse(remoteFile(remote, "state.json")); +const remoteRuns = remote => + remoteFile(remote, "runs.jsonl") + .split("\n") + .map(line => JSON.parse(line)); + +/** + * GraphQL's createCommitOnBranch, reduced to what the save loop relies on: the commit lands only + * while the branch is still at the expected head. + */ +function signedPush(remote, { lose = 0, fail = false } = {}) { + const pushes = []; + const push = async ({ branch, baseRef, cwd }) => { + const head = remoteHead(remote); + if (fail || head !== baseRef) throw new Error(`ERR_API: expected head ${baseRef} but ${branch} is at ${head || "nothing"}`); + execFileSync("git", ["push", "--quiet", `--force-with-lease=refs/heads/${branch}:${baseRef}`, remote, `HEAD:refs/heads/${branch}`], { cwd, stdio: "pipe" }); + pushes.push(git(cwd, "rev-parse", "HEAD")); + // The commit landed, but the response never arrived. + if (pushes.length <= lose) throw new Error("ERR_API: connection reset"); + return pushes.at(-1); + }; + return Object.assign(push, { pushes }); +} + +const lsRemote = async (command, args, options) => ({ stdout: execFileSync(command, args, { cwd: options.cwd, encoding: "utf8" }), stderr: "", exitCode: 0 }); + +function fakeGitHub(remote, { runs = [], jobs = {}, attempts = {} } = {}) { + const calls = { jobs: [], attempts: [] }; + const client = { + calls, + rest: { + repos: { get: async () => ({ data: { default_branch: "main" } }) }, + git: { + createCommit: async ({ message, tree, parents }) => ({ data: { sha: git(remote, "commit-tree", tree, "-m", message, ...parents.flatMap(parent => ["-p", parent])), verification: { verified: true } } }), + createRef: async ({ ref, sha }) => { + try { + git(remote, "update-ref", ref, sha, "0".repeat(40)); + } catch { + throw Object.assign(new Error("Reference already exists"), { status: 422 }); + } + return { data: { ref } }; + }, + }, + actions: { + listWorkflowRuns: async () => ({ data: { workflow_runs: runs } }), + getWorkflowRunAttempt: async ({ run_id }) => { + calls.attempts.push(run_id); + return { data: attempts[run_id] }; + }, + listJobsForWorkflowRunAttempt: async ({ run_id }) => ({ data: { jobs: jobs[run_id] || [] } }), + }, + }, + paginate: async (method, params) => { + calls.jobs.push(params.run_id); + return (await method(params)).data.jobs; + }, + }; + return client; +} + +/** A routed run's session: AW-1's verdict and AWF's selection, request and usage records. */ +function sessionFile(name, outcome, { model = "model-a", aic = 2 } = {}) { + const firewall = (type, data) => ({ type, data, provenance: { component: "firewall", phase: "agent" } }); + const events = [ + firewall("firewall.model_routing", { stage: "selection", selectedProvider: "copilot", wireModel: model, selectedEffort: "high" }), + firewall("firewall.model_routing", { stage: "request", requestId: "r1", routed: "as_selected", requestedModel: model }), + firewall("firewall.token_usage", { requestId: "r1", provider: "copilot", aic, usage: { inputTokens: 100, cacheReadInputTokens: 900, cacheCreationInputTokens: 0, outputTokens: 50, inputTokensIncludeCache: false } }), + ]; + if (outcome) events.unshift({ type: "routing.observation", data: outcome === "skip" ? { outcome, reason: "infrastructure" } : { outcome }, provenance: { component: "collector", phase: "conclusion" } }); + const file = path.join(root, `${name}.jsonl`); + fs.writeFileSync(file, events.map(event => `${JSON.stringify(event)}\n`).join("")); + return file; +} + +/** One run's push_routing_history job. */ +function save(remote, number, outcome, options = {}) { + const { github = fakeGitHub(remote), push = signedPush(remote), attempt = "1", ref = "refs/heads/main", sleepFn = async () => {}, session } = options; + const workspaceDir = fs.mkdtempSync(path.join(root, `run-${number}-`)); + return main({ + github, + context: { repo: { owner: "octo", repo: "demo" }, runId: 9000 + number, runNumber: number, payload: { repository: { default_branch: "main" } } }, + env: { + GH_AW_ROUTING_WORKFLOW: "triage", + GH_AW_ROUTING_GENERATION: GENERATION, + GH_AW_ROUTING_MODE: "observe", + GH_AW_ROUTING_ENGINE: "copilot", + GH_AW_ROUTING_GOAL: "cost", + GH_AW_ROUTING_LEVEL: "", + GH_AW_ROUTING_SESSION_FILE: session ?? sessionFile(`session-${number}`, outcome), + GITHUB_RUN_ATTEMPT: attempt, + GITHUB_WORKFLOW_REF: `octo/demo/.github/workflows/triage.lock.yml@${ref}`, + GH_TOKEN: "test-token", + GITHUB_SERVER_URL: "https://github.com", + }, + workspaceDir, + remoteUrl: remote, + pushSignedCommitsFn: push, + execGetExecOutput: lsRemote, + sleepFn, + }); +} + +describe("push_routing_history evidence", () => { + /** + * Write the run's unified session the way the conclusion job does, from AW-1's fixtures. + * `includeCache` adds the flag AWF's meter uses to every token usage record. + */ + function fixtureSession(id, { includeCache } = {}) { + const dir = path.join(root, id); + fs.cpSync(fixtures.runDir(id), dir, { recursive: true, filter: file => path.basename(file) !== "aw_session.jsonl" }); + if (includeCache !== undefined) { + const log = path.join(dir, "sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl"); + const records = [...readJsonlFile(log, { strict: true })].map(record => ({ ...record, input_tokens_include_cache: includeCache })); + fs.writeFileSync(log, records.map(record => `${JSON.stringify(record)}\n`).join("")); + } + if (!fs.existsSync(path.join(dir, "agent_output.json"))) fs.writeFileSync(path.join(dir, "agent_output.json"), JSON.stringify({ items: [{ type: "create_issue" }], errors: [] })); + const outputPath = path.join(dir, "usage/aw_session.jsonl"); + const jobResults = JSON.stringify({ activation: { result: "success" }, agent: { result: "success" } }); + writeUnifiedSession({ rootDir: dir, outputPath, warn: () => {}, dailyAIC: {}, admission: {}, jobDurations: {}, jobResults, routingObservation: true }); + return [...readJsonlFile(outputPath, { strict: true })]; + } + + it("derives run 39508154330's pair and cost from AWF's agent records, leaving its sub-agent out of the model's share", () => { + const events = fixtureSession("39508154330"); + expect(sessionEvidence(events, fixtures.awInfo("39508154330").sub_agent_models)).toEqual({ + observation: { outcome: "success" }, + pair: "github-copilot/gpt-5.6-luna@max", + cost: { credits: 3.180764, model_credits: 0.652539, tokens: null }, + }); + }); + + it("derives run 39147795806's pair and cost, with token counts only once AWF's records say whether input includes cache", () => { + // Its later requests report input that includes the cache read, such as 23,799 with 23,194 cached. + expect(sessionEvidence(fixtureSession("39147795806"))).toEqual({ + observation: { outcome: "success" }, + pair: "github-copilot/gpt-5.6-luna@max", + cost: { credits: 0.713574, model_credits: 0.713574, tokens: null }, + }); + expect(sessionEvidence(fixtureSession("39147795806", { includeCache: true })).cost.tokens).toEqual([24093, 70857, 0, 750, null]); + }); + + it("counts input without cache as AWF's meter does, and no tokens when a request's input may include cache", () => { + const firewall = (type, data) => ({ type, data, provenance: { component: "firewall", phase: "agent" } }); + const tokens = (...usages) => + sessionEvidence([ + firewall("firewall.model_routing", { stage: "selection", selectedProvider: "copilot", wireModel: "model-a", selectedEffort: "high" }), + ...usages.flatMap((usage, index) => [ + firewall("firewall.model_routing", { stage: "request", requestId: `r${index}`, routed: "as_selected", requestedModel: "model-a" }), + firewall("firewall.token_usage", { requestId: `r${index}`, provider: "copilot", aic: 1, usage }), + ]), + ]).cost.tokens; + const uncached = { inputTokens: 23197, cacheReadInputTokens: 0, cacheCreationInputTokens: 0, outputTokens: 400 }; + const inclusive = { inputTokens: 23799, cacheReadInputTokens: 23194, cacheCreationInputTokens: 0, outputTokens: 45, inputTokensIncludeCache: true }; + const exclusive = { inputTokens: 382, cacheReadInputTokens: 19712, cacheCreationInputTokens: 0, outputTokens: 69, inputTokensIncludeCache: false }; + const unflagged = { inputTokens: 382, cacheReadInputTokens: 19712, cacheCreationInputTokens: 0, outputTokens: 69 }; + expect(tokens(inclusive)).toEqual([605, 23194, 0, 45, null]); + expect(tokens(uncached, inclusive, exclusive)).toEqual([24184, 42906, 0, 514, null]); + expect(tokens(uncached, unflagged)).toBeNull(); + }); + + it("has no verdict for a run AWF did not route, and no pair to count a verdict for without a selection", () => { + expect(sessionEvidence([]).observation).toBeNull(); + const verdictOnly = [{ type: "routing.observation", data: { outcome: "success" } }]; + expect(sessionEvidence(verdictOnly)).toMatchObject({ observation: { outcome: "skip", reason: "unknown_evidence" }, pair: null }); + }); + + it("treats a request without a price or a count as an unknown cost, not a free one", () => { + const firewall = (type, data) => ({ type, data, provenance: { component: "firewall", phase: "agent" } }); + const events = [ + firewall("firewall.model_routing", { stage: "selection", selectedProvider: "anthropic", wireModel: "model-b", selectedEffort: null }), + firewall("firewall.model_routing", { stage: "request", requestId: "r1", routed: "as_selected", requestedModel: "model-b" }), + firewall("firewall.token_usage", { requestId: "r1", provider: "anthropic", usage: { inputTokens: 1, outputTokens: 2 } }), + ]; + expect(sessionEvidence(events)).toEqual({ observation: null, pair: "anthropic/model-b@none", cost: { credits: null, model_credits: null, tokens: null } }); + }); +}); + +describe("push_routing_history configuration", () => { + it("records only first attempts whose definition comes from the default branch", () => { + const ref = branch => `octo/demo/.github/workflows/triage.lock.yml@${branch}`; + expect(ineligibility({ attempt: 1, workflowRef: ref("refs/heads/main"), defaultBranch: "main" })).toBe(""); + expect(ineligibility({ attempt: 2, workflowRef: ref("refs/heads/main"), defaultBranch: "main" })).toMatch(/re-run/); + expect(ineligibility({ attempt: 1, workflowRef: ref("refs/pull/7/merge"), defaultBranch: "main" })).toMatch(/refs\/pull\/7\/merge/); + expect(ineligibility({ attempt: 1, workflowRef: ref("refs/heads/feature"), defaultBranch: "main" })).toMatch(/not the default branch/); + }); + + it("builds the scope from the compiled engine, goal and level, sharing records unless the level is chosen at run time", () => { + const env = { GH_AW_ROUTING_WORKFLOW: "triage", GH_AW_ROUTING_GENERATION: GENERATION, GH_AW_ROUTING_MODE: "observe", GH_AW_ROUTING_ENGINE: "claude", GH_AW_ROUTING_GOAL: "cost" }; + expect(readConfig(env)).toMatchObject({ scope: "claude/cost/shared", branch: "memory/adaptive-routing/triage" }); + expect(readConfig({ ...env, GH_AW_ROUTING_LEVEL: "robust" }).scope).toBe("claude/cost/robust"); + expect(readConfig({ ...env, GH_AW_ROUTING_LEVEL: "auto" }).scope).toBe("claude/cost/shared"); + expect(() => readConfig({ ...env, GH_AW_ROUTING_MODE: "live" })).toThrow(/observe/); + expect(() => readConfig({ ...env, GH_AW_ROUTING_WORKFLOW: "../main" })).toThrow(/workflow ID/); + }); +}); + +describe("push_routing_history saves", () => { + it("creates the branch on the first write and records the run", async () => { + const remote = bareRemote(); + await save(remote, 1, "success"); + expect(global.core.setFailed).not.toHaveBeenCalled(); + expect(remoteRuns(remote)).toEqual([expect.objectContaining({ run: "9001", number: 1, attempt: 1, mode: "observe", role: "observe", pair: PAIR, outcome: "success", credits: 2, counted: true, note: null })]); + const state = remoteState(remote); + expect(state).toMatchObject({ v: 2, workflow: "triage", seq: 1, generation: { hash: GENERATION, since_run: 1 }, last_run: 1 }); + expect(state.scopes["copilot/cost/shared"].pairs[PAIR].history).toEqual([[1, expect.any(String), true, 2, 2, [100, 900, 0, 50, null]]]); + // The branch starts from its own root commit, not from the repository's history. + expect(git(remote, "rev-list", "--count", BRANCH)).toBe("2"); + }); + + it("lands two saves that read the same state, re-applying the later one to the newer file", async () => { + const remote = bareRemote(); + vi.useFakeTimers({ toFake: ["Date"] }); + vi.setSystemTime(new Date("2026-11-24T09:00:00Z")); + for (let number = 31; number <= 40; number++) await save(remote, number, number === 35 ? "failure" : "success"); + const before = remoteFile(remote, "runs.jsonl"); + vi.setSystemTime(new Date("2026-11-24T10:00:00Z")); + const later = async () => vi.setSystemTime(new Date("2026-11-24T10:00:05Z")); + await Promise.all([save(remote, 41, "success", { sleepFn: later }), save(remote, 42, "failure", { sleepFn: later })]); + + expect(global.core.setFailed).not.toHaveBeenCalled(); + const history = remoteState(remote).scopes["copilot/cost/shared"].pairs[PAIR].history; + expect(history).toHaveLength(12); + expect(history.filter(entry => entry[2])).toHaveLength(10); + const runs = remoteRuns(remote); + expect(runs.map(line => line.number)).toEqual([31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42]); + // Earlier lines never change, and each line's time is the attempt that committed it. + expect(remoteFile(remote, "runs.jsonl").startsWith(before)).toBe(true); + expect(runs.slice(-2).map(line => line.at)).toEqual(["2026-11-24T10:00:00Z", "2026-11-24T10:00:05Z"]); + }); + + it("does not count a run twice when its save landed but the acknowledgment was lost", async () => { + const remote = bareRemote(); + await save(remote, 1, "success"); + const push = signedPush(remote, { lose: 1 }); + await save(remote, 2, "success", { push }); + expect(push.pushes).toHaveLength(1); + expect(global.core.setFailed).not.toHaveBeenCalled(); + expect(remoteRuns(remote).map(line => line.number)).toEqual([1, 2]); + expect(remoteState(remote).seq).toBe(2); + }); + + it("resolves a race to create the branch", async () => { + const remote = bareRemote(); + await Promise.all([save(remote, 1, "success"), save(remote, 2, "failure")]); + expect(global.core.setFailed).not.toHaveBeenCalled(); + expect( + remoteRuns(remote) + .map(line => line.number) + .sort() + ).toEqual([1, 2]); + expect(remoteState(remote).seq).toBe(2); + }); + + it("fails the job with a summary when every attempt finds the branch moved", async () => { + const remote = bareRemote(); + await save(remote, 1, "success"); + await save(remote, 2, "success", { push: signedPush(remote, { fail: true }) }); + expect(global.core.setFailed).toHaveBeenCalledWith(expect.stringMatching(/Failed to push changes after 11 attempts/)); + expect(remoteRuns(remote).map(line => line.number)).toEqual([1]); + }); + + it("records a failed run, a skipped verdict and a run whose agent never reached the model, counting only the failure", async () => { + const remote = bareRemote(); + await save(remote, 1, "failure"); + await save(remote, 2, "skip"); + await save(remote, 3, null); + expect(remoteRuns(remote).map(({ number, outcome, counted, note }) => ({ number, outcome, counted, note }))).toEqual([ + { number: 1, outcome: "failure", counted: true, note: null }, + { number: 2, outcome: "skip", counted: false, note: "infrastructure" }, + { number: 3, outcome: null, counted: false, note: "no_agent" }, + ]); + expect(remoteState(remote)).toMatchObject({ seq: 1, last_run: 3 }); + }); + + it("fails without a usage artifact, so a later save charges the run", async () => { + const remote = bareRemote(); + await expect(save(remote, 1, "success", { session: path.join(root, "missing.jsonl") })).rejects.toThrow(/usage artifact/); + expect(remoteHead(remote)).toBe(""); + }); + + it("skips re-runs and definitions outside the default branch without writing", async () => { + const remote = bareRemote(); + await save(remote, 1, "success", { attempt: "2" }); + await save(remote, 2, "success", { ref: "refs/pull/3/merge" }); + expect(remoteHead(remote)).toBe(""); + }); + + it("charges completed runs whose save never landed, after the fences, looking up only what it must", async () => { + const remote = bareRemote(); + await save(remote, 50, "success"); + const run = (number, conclusion, extra = {}) => ({ id: 9000 + number, run_number: number, status: "completed", conclusion, head_branch: "main", event: "schedule", run_attempt: 1, ...extra }); + const github = fakeGitHub(remote, { + runs: [ + run(55, "success", { run_attempt: 2 }), + run(54, "failure", { event: "pull_request" }), + run(53, null, { status: "in_progress" }), + run(52, "failure"), + run(51, "cancelled"), + run(50, "success"), + run(49, "failure"), + run(48, "skipped"), + ], + attempts: { 9055: { conclusion: "failure" } }, + jobs: { + 9055: [{ name: "agent", conclusion: "failure", started_at: "2026-11-24T09:00:00Z" }], + 9052: [{ name: "agent", conclusion: "skipped", started_at: null }], + 9051: [{ name: "agent", conclusion: "cancelled", started_at: "2026-11-24T09:00:00Z" }], + }, + }); + await save(remote, 56, "success", { github }); + + expect(remoteRuns(remote).map(({ number, note, counted }) => ({ number, note, counted }))).toEqual([ + { number: 50, note: null, counted: true }, + { number: 51, note: "unsaved", counted: false }, + { number: 52, note: "no_agent", counted: false }, + { number: 55, note: "unsaved", counted: false }, + { number: 56, note: null, counted: true }, + ]); + expect(remoteState(remote).unexplained).toBe(2); + // A re-run is judged by its first attempt; runs before the generation, successes and pull requests are not looked up. + expect(github.calls.attempts).toEqual([9055]); + expect(github.calls.jobs.sort()).toEqual([9051, 9052, 9055]); + }); + + it("does not look up runs from before the workflow opted in", async () => { + const remote = bareRemote(); + const github = fakeGitHub(remote, { runs: [{ id: 9004, run_number: 4, status: "completed", conclusion: "failure", head_branch: "main", event: "schedule", run_attempt: 1 }] }); + await save(remote, 5, "success", { github }); + expect(github.calls.jobs).toEqual([]); + expect(remoteRuns(remote).map(line => line.number)).toEqual([5]); + }); +}); + +describe("routing history under concurrent writers", () => { + it("counts each of 100 concurrent runs exactly once when every writer re-applies to the newest files", () => { + // Each writer reads the branch, applies its run and commits only if the branch has not moved; otherwise it re-reads and re-applies. + let random = 7; + const next = () => (random = (random * 1103515245 + 12345) % 2147483648) / 2147483648; + let branch = { state: emptyState("triage"), runs: [] }; + const writers = Array.from({ length: 100 }, (_, index) => ({ number: index + 1, read: null })); + const pending = new Set(writers); + for (const writer of writers) writer.read = branch; + while (pending.size > 0) { + const ready = [...pending]; + const writer = ready[Math.floor(next() * ready.length)]; + const run = { + workflow: "triage", + run: { id: String(writer.number), number: writer.number, attempt: 1 }, + at: new Date(Date.UTC(2026, 10, 24, 10, 0, writer.number)).toISOString().replace(/\.\d{3}Z$/, "Z"), + generation: "g1", + mode: "observe", + scope: "copilot/cost/shared", + observation: { outcome: "success" }, + pair: PAIR, + cost: { credits: 1, model_credits: 1, tokens: null }, + }; + const result = applyRun(writer.read.state, writer.read.runs, run); + if (writer.read === branch) { + branch = { state: result.state, runs: trimRuns([...branch.runs, ...result.lines]) }; + pending.delete(writer); + } else { + writer.read = branch; + } + // Other writers keep reading whatever head they last saw. + if (next() < 0.3) for (const other of pending) other.read = branch; + } + expect(branch.runs.map(line => line.run).sort((a, b) => a - b)).toEqual(writers.map(writer => String(writer.number))); + expect(branch.runs.every(line => line.counted)).toBe(true); + expect(branch.state.seq).toBe(100); + // The pair keeps its newest 50 outcomes. + expect(branch.state.scopes["copilot/cost/shared"].pairs[PAIR].history.map(entry => entry[0])).toEqual(Array.from({ length: 50 }, (_, index) => index + 51)); + }); +}); diff --git a/actions/setup/js/routing_history.cjs b/actions/setup/js/routing_history.cjs new file mode 100644 index 00000000000..4d11f9c76ea --- /dev/null +++ b/actions/setup/js/routing_history.cjs @@ -0,0 +1,460 @@ +// @ts-check +"use strict"; + +/** + * The routing history's reducer: applies one finished run to a workflow's `state.json` and + * `runs.jsonl` on its `memory/adaptive-routing/` branch. + * + * This is the reference bandit's record() with the v2 product rules (gh-aw adaptive routing): + * a run counts only once, behind the reset and generation fences; a live run counts only with a + * selection receipt bound to it; a suspended pair settles on any result; and the state keeps + * each pair's newest 50 outcomes within 60 days. The oracle vectors in + * fixtures/routing-history/aw2-reducer.json pin every result. The function is pure, so the save + * loop can re-apply it to the newest files when another writer moved the branch. + */ + +const DAY_SECONDS = 86400; +const MEMORY_RUNS = 50; +const MEMORY_SECONDS = 60 * DAY_SECONDS; +const PRIOR_WINS = 4.5; +const PRIOR_LOSSES = 0.5; +const CAP = 0.999; +const DECAY = 0.98; +const STREAK_NEW = 3; +const STREAK_PROVEN = 5; +const PROVEN_RUNS = 20; + +/** Contract 5's bounds. Sizes are UTF-8 bytes of JSON.stringify output. */ +const BOUNDS = Object.freeze({ history: MEMORY_RUNS, pairs: 32, scopes: 4, state_bytes: 512 * 1024, runs_lines: 500, runs_bytes: 512 * 1024 }); + +/** Notes on runs.jsonl lines that did not count, besides the observation's skip reasons. */ +const NOTES = Object.freeze(["before_reset", "older_definition", "unsaved", "no_agent", "receipt_missing", "receipt_mismatch", "awaiting_success"]); + +/** + * @typedef {[number, string, boolean, number | null, number | null, (number | null)[] | null]} HistoryEntry + * @typedef {{ since_seq: number, pending: number }} Suspension + * @typedef {{ history: HistoryEntry[], credits: number | null, model_credits: number | null, bills: number, streak: number, tests: number, suspended: Suspension | null, seen: string, summary: { runs: number, rate: number, hopeful: number } | null }} PairRecord + * @typedef {{ incumbent: string | null, last_role: string | null, last_success_seq: number, pairs: Record }} ScopeRecord + * @typedef {{ v: number, workflow: string, seq: number, generation: { hash: string, since_run: number } | null, reset_after_run: number, last_run: number, unexplained: number, scopes: Record, updated: { run: string | null, at: string } | null }} HistoryState + * @typedef {{ run: string, number: number, attempt: number | null, at: string, generation: string | null, scope: string | null, mode: string | null, role: string | null, pair: string | null, outcome: string | null, credits: number | null, counted: boolean, note: string | null }} RunLine + * @typedef {{ credits?: number | null, model_credits?: number | null, tokens?: (number | null)[] | null }} RunCost + * @typedef {{ id: string, number: number, conclusion: string, agent_ran?: boolean | null }} ListedRun + * @typedef {{ workflow: string, run: { id: string, number: number, attempt: number }, at: string, generation: string, mode: string, scope: string, observation: { outcome: string, reason?: string } | null, pair: string | null, cost?: RunCost | null, receipt?: Record | null, prepare?: { explore_allowed?: boolean } | null, listing?: ListedRun[] }} RunEvidence + */ + +/** @param {string} at */ +function seconds(at) { + return Date.parse(at) / 1000; +} + +/** @param {unknown} value */ +function sizeOf(value) { + return Buffer.byteLength(JSON.stringify(value), "utf8"); +} + +/** + * The entries a rate counts: the newest 50 within 60 days of `now` (seconds). + * @param {HistoryEntry[]} history + * @param {number} now + */ +function memory(history, now) { + return history.filter(entry => now - seconds(entry[1]) < MEMORY_SECONDS).slice(-MEMORY_RUNS); +} + +/** + * Discounted wins and losses: the newest entry weighs 1 and each earlier one 0.98 times the next. + * @param {HistoryEntry[]} entries + */ +function counts(entries) { + let wins = 0; + let losses = 0; + for (let k = 0; k < entries.length; k += 1) { + const weight = Math.pow(DECAY, k); + const ok = entries[entries.length - 1 - k][2]; + wins += weight * (ok ? 1 : 0); + losses += weight * (ok ? 0 : 1); + } + return { wins, losses }; +} + +/** + * @param {number} wins + * @param {number} losses + * @param {boolean} hopeful + */ +function rate(wins, losses, hopeful) { + const a = wins + PRIOR_WINS; + const b = losses + PRIOR_LOSSES; + const p = a / (a + b); + return hopeful ? Math.min(CAP, p + Math.sqrt((p * (1 - p)) / (a + b + 1))) : p; +} + +/** + * A pair's average cost over its entries, oldest first: the first known cost sets it and each + * later one moves it by 0.9 x old + 0.1 x new. An entry with a cost but no model share counts + * all of it as the model's. + * @param {HistoryEntry[]} entries + */ +function averages(entries) { + /** @type {number | null} */ + let credits = null; + /** @type {number | null} */ + let modelCredits = null; + let bills = 0; + for (const entry of entries) { + const cost = entry[3]; + let model = entry[4]; + if (cost !== null) { + credits = credits === null ? cost : 0.9 * credits + 0.1 * cost; + bills += 1; + if (model === null) model = cost; + } + if (model !== null) modelCredits = modelCredits === null ? model : 0.9 * modelCredits + 0.1 * model; + } + return { credits, modelCredits, bills }; +} + +/** @param {string} workflow @returns {HistoryState} */ +function emptyState(workflow) { + return { v: 2, workflow, seq: 0, generation: null, reset_after_run: 0, last_run: 0, unexplained: 0, scopes: {}, updated: null }; +} + +/** @param {string} at @returns {PairRecord} */ +function newPair(at) { + return { history: [], credits: null, model_credits: null, bills: 0, streak: 0, tests: 0, suspended: null, seen: at, summary: null }; +} + +/** @returns {ScopeRecord} */ +function newScope() { + return { incumbent: null, last_role: null, last_success_seq: 0, pairs: {} }; +} + +/** + * The bandit's edit rule, for a new definition: keep successes, drop failures, and clear + * streaks, tests and suspensions. + * @param {ScopeRecord} scope + */ +function editScope(scope) { + for (const pair of Object.values(scope.pairs)) { + pair.history = pair.history.filter(entry => entry[2]); + pair.streak = 0; + pair.tests = 0; + pair.suspended = null; + } +} + +/** + * Whether a selection receipt belongs to this run: the same workflow, run, attempt, generation, + * mode and scope, and the pair AWF's own selection record names. + * @param {Record | null | undefined} receipt + * @param {RunEvidence} run + */ +function receiptBound(receipt, run) { + return ( + !!receipt && + receipt.workflow === run.workflow && + receipt.run?.id === run.run.id && + receipt.run?.attempt === run.run.attempt && + receipt.generation === run.generation && + receipt.mode === run.mode && + receipt.scope === run.scope && + receipt.selected === run.pair + ); +} + +/** + * Fold one outcome into a pair, as the bandit's record() does. Returns whether it counted. + * @param {HistoryState} state + * @param {ScopeRecord} scope + * @param {string} pairName + * @param {boolean} ok + * @param {string} at + * @param {RunCost} cost + * @param {Array<[string, string]>} events + */ +function recordOutcome(state, scope, pairName, ok, at, cost, events) { + const pair = scope.pairs[pairName] || (scope.pairs[pairName] = newPair(at)); + pair.seen = at; + /** @returns {HistoryEntry} */ + const entry = () => { + state.seq += 1; + return [state.seq, at, ok, cost.credits ?? null, cost.model_credits ?? null, cost.tokens ?? null]; + }; + const suspended = pair.suspended; + if (suspended !== null) { + // The pending failures are the newest entries, unless pruning has already removed some. + const pending = Math.min(suspended.pending, pair.history.length); + if (ok) { + pair.history = [...pair.history.slice(0, pair.history.length - pending), entry()]; + pair.suspended = null; + pair.streak = 0; + scope.last_success_seq = state.seq; + events.push([pairName, "back"]); + return true; + } + if (scope.last_success_seq > suspended.since_seq) { + pair.history = [...pair.history.slice(pair.history.length - pending), entry()]; + pair.suspended = null; + pair.streak = 0; + events.push([pairName, "broken"]); + return true; + } + return false; + } + pair.history.push(entry()); + if (ok) { + pair.streak = 0; + scope.last_success_seq = state.seq; + return true; + } + pair.streak += 1; + const runs = memory(pair.history, seconds(at)).length; + if (pair.streak >= (runs <= PROVEN_RUNS ? STREAK_NEW : STREAK_PROVEN)) { + pair.suspended = { since_seq: state.seq, pending: pair.streak }; + if (scope.incumbent === pairName) scope.incumbent = null; + events.push([pairName, "suspended"]); + } + return true; +} + +/** + * Prune to the bounds and recompute each pair's derived fields as of `at`. + * @param {HistoryState} state + * @param {string} at + * @param {typeof BOUNDS} bounds + */ +function refresh(state, at, bounds) { + const now = seconds(at); + for (const scope of Object.values(state.scopes)) { + for (const pair of Object.values(scope.pairs)) { + pair.history = memory(pair.history, now).slice(-bounds.history); + const { credits, modelCredits, bills } = averages(pair.history); + pair.credits = credits; + pair.model_credits = modelCredits; + pair.bills = bills; + const { wins, losses } = counts(pair.history); + pair.summary = { runs: pair.history.length, rate: rate(wins, losses, false), hopeful: rate(wins, losses, true) }; + } + } + /** @param {ScopeRecord} scope @returns {Array<[string, string]>} */ + const droppable = scope => + Object.entries(scope.pairs) + .filter(([name, pair]) => name !== scope.incumbent && pair.suspended === null) + .map(([name, pair]) => [pair.seen, name]); + /** @param {string[][]} items */ + const least = items => items.reduce((best, item) => (compareTuples(item, best) < 0 ? item : best)); + for (const scope of Object.values(state.scopes)) { + while (Object.keys(scope.pairs).length > bounds.pairs) { + const candidates = droppable(scope); + if (candidates.length === 0) break; + delete scope.pairs[least(candidates)[1]]; + } + } + while (sizeOf(state) > bounds.state_bytes) { + const candidates = Object.entries(state.scopes).flatMap(([key, scope]) => droppable(scope).map(([seen, name]) => [seen, name, key])); + if (candidates.length === 0) break; + const [, name, key] = least(candidates); + delete state.scopes[key].pairs[name]; + } +} + +/** + * @param {string[]} left + * @param {string[]} right + */ +function compareTuples(left, right) { + for (let i = 0; i < left.length; i += 1) { + if (left[i] < right[i]) return -1; + if (left[i] > right[i]) return 1; + } + return 0; +} + +/** + * runs.jsonl after a write: the newest lines within the line bound, then the byte bound (each + * line's bytes plus a newline). + * @param {RunLine[]} runs + * @param {Partial} [overrides] + */ +function trimRuns(runs, overrides = {}) { + const bounds = { ...BOUNDS, ...overrides }; + let kept = runs.slice(-bounds.runs_lines); + while (kept.length > 0 && kept.reduce((total, line) => total + sizeOf(line) + 1, 0) > bounds.runs_bytes) kept = kept.slice(1); + return kept; +} + +/** + * Apply one finished run. Returns the new state and the lines to append to runs.jsonl; the + * inputs are not modified. + * @param {HistoryState} input + * @param {RunLine[]} runs + * @param {RunEvidence} run + * @param {{ bounds?: Partial, events?: Array<[string, string]> }} [options] + * @returns {{ state: HistoryState, lines: RunLine[] }} + */ +function applyRun(input, runs, run, options = {}) { + const bounds = { ...BOUNDS, ...(options.bounds || {}) }; + const events = options.events || []; + /** @type {HistoryState} */ + const state = structuredClone(input); + const { at } = run; + const { id, number } = run.run; + /** @type {RunLine[]} */ + const lines = []; + + /** + * @param {string | null} note + * @param {Partial} [fields] + * @returns {RunLine} + */ + const line = (note, fields = {}) => ({ + run: id, + number, + attempt: null, + at, + generation: null, + scope: null, + mode: null, + role: null, + pair: null, + outcome: null, + credits: null, + counted: false, + note, + ...fields, + }); + /** @param {string | null} note @param {Partial} [fields] */ + const own = (note, fields = {}) => line(note, { attempt: run.run.attempt, generation: run.generation, scope: run.scope, mode: run.mode, ...fields }); + const finish = () => { + state.last_run = lines.reduce((latest, entry) => Math.max(latest, entry.number), state.last_run); + state.updated = { run: id, at }; + refresh(state, at, bounds); + return { state, lines }; + }; + + // Written before, perhaps on an attempt whose acknowledgment was lost. + if (runs.some(entry => entry.run === id)) return { state, lines: [] }; + if (number <= state.reset_after_run) { + lines.push(own("before_reset")); + return finish(); + } + if (state.generation === null) { + state.generation = { hash: run.generation, since_run: number }; + } else if (run.generation !== state.generation.hash) { + if (number <= state.generation.since_run) { + lines.push(own("older_definition")); + return finish(); + } + for (const scope of Object.values(state.scopes)) editScope(scope); + state.unexplained = 0; + state.generation = { hash: run.generation, since_run: number }; + } + + // Completed runs that wrote no line are charged after the fences, in the right generation. + const written = new Set(runs.map(entry => entry.run)); + const sinceRun = state.generation.since_run; + for (const other of [...(run.listing || [])].sort((left, right) => left.number - right.number)) { + if (written.has(other.id) || other.id === id || other.number <= state.reset_after_run || other.number <= sinceRun) continue; + if (["success", "skipped", "neutral"].includes(other.conclusion)) continue; + if (other.agent_ran) { + lines.push(line("unsaved", { run: other.id, number: other.number, attempt: 1 })); + state.unexplained += 1; + } else { + lines.push(line("no_agent", { run: other.id, number: other.number, attempt: 1 })); + } + written.add(other.id); + } + + if (!run.observation) { + lines.push(own("no_agent")); + return finish(); + } + let scope = state.scopes[run.scope]; + if (!scope) { + if (Object.keys(state.scopes).length >= bounds.scopes) { + /** @type {string | undefined} */ + let oldest; + let oldestSeen = ""; + for (const [key, candidate] of Object.entries(state.scopes)) { + const seen = Object.values(candidate.pairs).reduce((latest, pair) => (pair.seen > latest ? pair.seen : latest), ""); + if (oldest === undefined || seen < oldestSeen) { + oldest = key; + oldestSeen = seen; + } + } + if (oldest !== undefined) delete state.scopes[oldest]; + } + scope = state.scopes[run.scope] = newScope(); + } + + const { receipt } = run; + const pairName = run.pair; + const live = run.mode === "live"; + const bound = receiptBound(receipt, run); + /** @type {string | null} */ + let role = null; + if (!live) { + role = "observe"; + } else if (bound && receipt) { + role = receipt.role; + } else if (!run.prepare || run.prepare.explore_allowed !== false) { + // A live run that may have explored but left no bound receipt could be a lost test. + state.unexplained += 1; + } + // An unknown live role counts as a test for the share rule. + scope.last_role = role ?? "test"; + if (role === "test" && pairName !== null) { + const pair = scope.pairs[pairName] || (scope.pairs[pairName] = newPair(at)); + pair.tests += 1; + pair.seen = at; + } + if (live && bound && receipt) { + const { before, after } = receipt.incumbent; + // Only a decision made on the current incumbent may switch it. + if (before === scope.incumbent && after !== before) { + scope.incumbent = after; + if (scope.pairs[after]) scope.pairs[after].tests = 0; + } + } + + const { observation } = run; + const cost = run.cost || {}; + // A verdict on a pair the records do not name cannot count for any pair. + if (observation.outcome === "skip" || pairName === null) { + const note = observation.outcome === "skip" ? (observation.reason ?? null) : "unknown_evidence"; + lines.push(own(note, { role, pair: pairName, outcome: "skip", credits: cost.credits ?? null })); + return finish(); + } + if (live && !bound) { + lines.push(own(receipt ? "receipt_mismatch" : "receipt_missing", { pair: pairName, outcome: observation.outcome, credits: cost.credits ?? null })); + return finish(); + } + const counted = recordOutcome(state, scope, pairName, observation.outcome === "success", at, cost, events); + lines.push(own(counted ? null : "awaiting_success", { role, pair: pairName, outcome: observation.outcome, credits: cost.credits ?? null, counted })); + return finish(); +} + +/** + * `gh aw routing reset`: fence off every run up to the latest one, empty the scopes and let + * exploration resume. runs.jsonl is kept. + * @param {HistoryState} input + * @param {number} latestRun + * @param {string} at + * @returns {HistoryState} + */ +function resetState(input, latestRun, at) { + return { ...structuredClone(input), reset_after_run: latestRun, scopes: {}, unexplained: 0, updated: { run: null, at } }; +} + +module.exports = { + BOUNDS, + NOTES, + applyRun, + counts, + emptyState, + memory, + rate, + receiptBound, + resetState, + trimRuns, +}; diff --git a/actions/setup/js/routing_history.test.cjs b/actions/setup/js/routing_history.test.cjs new file mode 100644 index 00000000000..96598478d04 --- /dev/null +++ b/actions/setup/js/routing_history.test.cjs @@ -0,0 +1,77 @@ +import { describe, expect, it } from "vitest"; + +const req = require; +const vectors = req("./fixtures/routing-history/aw2-reducer.json"); +const { applyRun, emptyState, resetState, trimRuns } = req("./routing_history.cjs"); + +// Numbers agree to a relative tolerance of 1e-9 (vectors.arithmetic); everything else exactly. +function expectSame(actual, expected, path = "state") { + if (typeof expected === "number" && typeof actual === "number") { + const scale = Math.max(Math.abs(expected), Math.abs(actual)); + if (Math.abs(actual - expected) > Math.max(1e-12, 1e-9 * scale)) throw new Error(`${path}: expected ${expected}, received ${actual}`); + return; + } + if (expected === null || typeof expected !== "object") { + if (actual !== expected) throw new Error(`${path}: expected ${JSON.stringify(expected)}, received ${JSON.stringify(actual)}`); + return; + } + expect(Array.isArray(actual), path).toBe(Array.isArray(expected)); + expect(Object.keys(actual ?? {}).sort(), path).toEqual(Object.keys(expected).sort()); + for (const key of Object.keys(expected)) expectSame(actual[key], expected[key], `${path}.${key}`); +} + +// Per-step expectations reduce each pair's history to its length and newest entry. +function project(state) { + const projected = structuredClone(state); + for (const scope of Object.values(projected.scopes)) { + for (const pair of Object.values(scope.pairs)) { + pair.history = { length: pair.history.length, newest: pair.history.at(-1) ?? null }; + } + } + return projected; +} + +describe("routing history oracle vectors", () => { + it.each(vectors.timelines.map(timeline => [timeline.name, timeline]))("replays the %s timeline", (_name, timeline) => { + let state = timeline.initial.state; + let runs = []; + timeline.steps.forEach((step, index) => { + const result = applyRun(state, runs, step.run); + expectSame(result.lines, step.lines, `${timeline.name}[${index}].lines`); + expectSame(project(result.state), step.state, `${timeline.name}[${index}].state`); + state = result.state; + runs = trimRuns([...runs, ...result.lines]); + }); + expectSame(state, timeline.final.state, `${timeline.name}.final`); + }); + + it.each(vectors.cases.filter(vector => vector.run).map(vector => [vector.name, vector]))("%s", (_name, vector) => { + const before = structuredClone(vector.state); + const result = applyRun(vector.state, vector.runs, vector.run, { bounds: vector.bounds }); + expectSame(result.state, vector.expect.state); + expectSame(result.lines, vector.expect.lines, "lines"); + if (vector.expect.runs) expectSame(trimRuns([...vector.runs, ...result.lines], vector.bounds), vector.expect.runs, "runs"); + expect(vector.state).toEqual(before); + }); + + it("resets as gh aw routing reset does", () => { + const vector = vectors.cases.find(candidate => candidate.name === "reset"); + expectSame(resetState(vector.state, vector.reset.latest_run, vector.reset.at), vector.expect.state); + }); +}); + +describe("routing history state", () => { + it("starts empty, as a missing branch reads", () => { + expect(emptyState("pr-sous-chef")).toEqual({ + v: 2, + workflow: "pr-sous-chef", + seq: 0, + generation: null, + reset_after_run: 0, + last_run: 0, + unexplained: 0, + scopes: {}, + updated: null, + }); + }); +}); diff --git a/cmd/gh-aw/routing_command.go b/cmd/gh-aw/routing_command.go new file mode 100644 index 00000000000..f58503665dc --- /dev/null +++ b/cmd/gh-aw/routing_command.go @@ -0,0 +1,9 @@ +package main + +import "github.com/github/gh-aw/pkg/cli" + +func init() { + command := cli.NewRoutingCommand() + command.GroupID = "analysis" + rootCmd.AddCommand(command) +} diff --git a/docs/src/content/docs/reference/adaptive-routing.md b/docs/src/content/docs/reference/adaptive-routing.md new file mode 100644 index 00000000000..a4a629b3a7f --- /dev/null +++ b/docs/src/content/docs/reference/adaptive-routing.md @@ -0,0 +1,95 @@ +--- +title: Adaptive Routing +description: Record which model and effort each routed run used, whether it completed its task, and what it cost, without changing which model runs. +sidebar: + order: 606 +--- + +[Model routing](/gh-aw/reference/model-routing/) chooses a model and reasoning effort for each run from the task in front of it. Adaptive routing adds what the workflow itself has learned: which model and effort each run used, whether the run completed its task, and what it cost. With `adaptive-routing: observe`, the workflow keeps running the router's ordinary pick exactly as before, and gh-aw records every eligible run so that maintainers can see the evidence before anything changes. + +For example, if the router's pick for an issue triage workflow moves from model B to model A, observe mode keeps running A as today and records each run. A week later, `gh aw routing status` might show B with 40 runs, all successful, at 28 credits a run, and A with 9 runs, one of them a failure, at 12 credits a run. That is the evidence a later live mode would act on. Observe mode makes no recommendation of its own. + +## Turn it on + +Add `adaptive-routing: observe` to a routed workflow that uses [repo-memory](/gh-aw/reference/repo-memory/): + +```aw wrap +--- +on: + issues: + types: [opened] +permissions: + contents: read + issues: read +engine: copilot +model: router +tools: + repo-memory: true +adaptive-routing: observe +safe-outputs: + add-comment: +--- +Read the new issue and post one suggested next step. +``` + +To turn it on for every eligible workflow in a repository, set the default in `.github/workflows/aw.json` and recompile: + +```json title=".github/workflows/aw.json" +{ + "adaptive_routing": "observe" +} +``` + +A workflow's own value wins, including `adaptive-routing: false`, then the first import that sets it, then the repository default. `true` is reserved for live adaptive routing, which is not available yet, and fails to compile. + +## Which workflows take part + +A workflow takes part when its main agent's model is chosen by AWF model routing on a Copilot, Claude, or Codex engine: `model: router`, a fixed level such as `router/balanced`, the [default routing](/gh-aw/reference/model-routing/#default-routing-for-workflows-without-a-model) for workflows without a model, or a model expression that resolves to a router value. It must also enable `tools.repo-memory`, and it must not be a work-queue worker or run [experiments](/gh-aw/reference/experiments/). A workflow that sets `adaptive-routing: observe` itself, or through an import, fails to compile with the reason when it does not qualify; the repository default skips such workflows silently. + +At run time, gh-aw records only the first attempt of a run whose workflow definition comes from the default branch, so re-runs and pull request runs are not recorded. Every first attempt is recorded once the agent job has run, whether the run succeeded or failed. + +## What is recorded + +After the run's `conclusion` job has published its unified session, the `push_routing_history` job reads three things from it: the routing verdict (whether the run's result counts as evidence about the model and effort AWF selected, and if not, why), the model and effort AWF selected, and the run's cost as AWF priced it. It appends one line per run to `runs.jsonl`: + +```json +{"run": "44156334376", "number": 812, "attempt": 1, "at": "2026-11-19T17:02:40Z", "generation": "", "scope": "copilot/cost/shared", "mode": "observe", "role": "observe", "pair": "github-copilot/model-a@high", "outcome": "failure", "credits": 12.0, "counted": true, "note": null} +``` + +A run counts as a success or a failure only when the verdict says its result was about the selected model. Otherwise its line explains why it did not count, for example `infrastructure`, `cancelled` or `rate_limited`, or `no_agent` when AWF did not route the run or its agent made no request. If a run's own save fails, the next save finds the run in the workflow's run list and records it as `unsaved`. + +`state.json` keeps, for each model and effort, its recent outcomes with their credits and token counts, its average cost, current streak and a summary of its success rate. A run's token counts are left empty when AWF's records do not say whether a request's input count includes cached tokens, because providers report it both ways; its credits still count. Editing the workflow starts a new generation: earlier failures are forgiven and successes are kept, and a run of the older definition that finishes late does not count against the new one. Records are shared across routing levels unless the workflow chooses its level at run time, in which case each level keeps its own. + +## The branch + +Each workflow's history lives on its own branch, `memory/adaptive-routing/`, named after the lock file without `.lock.yml`, so renaming the workflow file starts a new history. The first save creates the branch from its own root commit, and every commit is made through the GitHub API, which signs it. gh-aw never force-pushes or deletes the branch. + +The agent never sees or writes the history. The branch is not checked out for the agent and is not in its prompt, and no repo-memory entry may use a branch under `memory/adaptive-routing/`, so the agent's own memory can never reach it. + +## The added job and permission + +Opting in adds one job, `push_routing_history`. It runs after `conclusion` whenever the agent job ran, with `contents: write` to save the history and `actions: read` to list the workflow's runs. It has no concurrency group. When several runs finish together, each save is committed only on the branch head it read; if another run saved first, the save reads the newer files and applies its run again, so every run lands once. If the save still cannot land, the job fails and the run shows the failure. The agent job, its prompt and its permissions are unchanged. + +## Branch rulesets + +Commits to the history are signed, so they satisfy rulesets on `memory/**` that require signed commits. The job saves with the workflow's `GITHUB_TOKEN`, so a ruleset that restricts who can update `memory/**` must allow GitHub Actions to update `memory/adaptive-routing/**`; otherwise the save fails and the run reports it. + +## Retention + +The history keeps the model and effort, the verdict, the credits and the token counts of each run, and never prompts or agent output. In `state.json`, each model and effort keeps its newest 50 outcomes within 60 days; `runs.jsonl` keeps the last 500 runs. Every earlier version of both files remains in the branch's Git history. To remove the history entirely, delete the branch by hand; the next run starts a new one. + +## Status and reset + +`gh aw routing status` lists the routing histories in the repository. Give it a workflow to see that workflow's evidence: for each scope, every model and effort with its runs, expected and hopeful success rates as of the last save, average credits, streak, tests and suspension, and the reasons recent runs did not count. Add `--json` for machine-readable output. + +```bash +gh aw routing status issue-triage +``` + +`gh aw routing reset ` starts a history afresh. It reads the workflow's latest run number and, in one commit that lands only if no run saved in the meantime, stops every run up to it from counting and empties the recorded evidence. It keeps `runs.jsonl` and never deletes the branch. It needs write access to the repository. + +## Limits + +- Observe mode only records evidence; it never changes which model runs and makes no recommendation. +- A history belongs to one workflow file in one repository; renaming the file starts a new history. +- A run that ends before the agent job starts, or whose usage artifact was never published, is not recorded by its own save. diff --git a/docs/src/content/docs/reference/compilation-process.md b/docs/src/content/docs/reference/compilation-process.md index bd499875a07..43f7cda9b3f 100644 --- a/docs/src/content/docs/reference/compilation-process.md +++ b/docs/src/content/docs/reference/compilation-process.md @@ -39,6 +39,7 @@ Container digest resolution uses registry metadata only (`docker buildx imagetoo |-------|------|---------|-------------| | `lock_file_logo` | boolean | `true` | Include the ASCII logo in generated workflow headers, including companion workflows. Set to `false` to omit only the logo. | | `issue_label` | string | `"agentic-workflows"` | Label used to create and find gh-aw's own issues, including detection trackers, failure issues, and maintenance reports. | +| `adaptive_routing` | `"observe"` or `false` | `false` | Record every eligible routed workflow's runs in its [adaptive routing](/gh-aw/reference/adaptive-routing/) history. Workflows that cannot take part are skipped; a workflow's own `adaptive-routing` value, or one from an import, wins. | ```json title=".github/workflows/aw.json" { diff --git a/docs/src/content/docs/reference/frontmatter-full.md b/docs/src/content/docs/reference/frontmatter-full.md index fc10e0497bc..087eceb353a 100644 --- a/docs/src/content/docs/reference/frontmatter-full.md +++ b/docs/src/content/docs/reference/frontmatter-full.md @@ -26025,6 +26025,22 @@ model-routing: allowed-models: [] # Array of strings +# Record each run of a routed workflow in its adaptive routing history on the +# memory/adaptive-routing/ branch. observe keeps the ordinary router +# pick and records the selected model and effort, whether the run completed its +# task, and what it cost; false turns it off, including a repository default from +# aw.json. Requires model routing on a Copilot, Claude, or Codex engine and +# tools.repo-memory. +# (optional) +# Accepted formats: + +# Format 1: Record every eligible run without changing which model runs. +adaptive-routing: "observe" + +# Format 2: false turns adaptive routing off. true is reserved for live adaptive +# routing, which is not available yet. +adaptive-routing: false + # Graders over the unified session, including reserved operational-value # JavaScript. Fast built-ins run in conclusion; executable custom graders run only # in the separate graders job. diff --git a/docs/src/content/docs/reference/frontmatter.md b/docs/src/content/docs/reference/frontmatter.md index 9cdb1f6cab3..608908c0545 100644 --- a/docs/src/content/docs/reference/frontmatter.md +++ b/docs/src/content/docs/reference/frontmatter.md @@ -307,6 +307,17 @@ model: router/economy To narrow the main agent's choices without restricting sub-agents, add a [shortlist](/gh-aw/reference/model-routing/#a-shortlist-of-models) alongside a literal router value. To opt out of [default routing](/gh-aw/reference/model-routing/#default-routing-for-workflows-without-a-model) without pinning a model, omit `model` and set top-level `model-routing: false`. +### Adaptive Routing (`adaptive-routing:`) + +Set `adaptive-routing: observe` on a routed workflow that enables `tools.repo-memory` to record each run's model and effort, whether it completed its task, and what it cost, on the `memory/adaptive-routing/` branch. The workflow keeps running the router's ordinary pick. `false` turns it off, including a repository default from `aw.json`. See [Adaptive Routing](/gh-aw/reference/adaptive-routing/). + +```aw wrap +model: router +tools: + repo-memory: true +adaptive-routing: observe +``` + ### Engine Driver (`engine.driver:`) Overrides the built-in engine runtime driver for engines that support driver mode. For Copilot, setting `engine.driver` also enables SDK mode. `engine.driver` accepts either a string path/command or an inline source object with exactly one of `node:`, `python:`, `go:`, or `java:`. See [AI Engines](/gh-aw/reference/engines/copilot/#copilot-sdk-support) for driver requirements and supported formats. diff --git a/docs/src/content/docs/reference/model-routing.md b/docs/src/content/docs/reference/model-routing.md index fc56b489912..0b7e46db976 100644 --- a/docs/src/content/docs/reference/model-routing.md +++ b/docs/src/content/docs/reference/model-routing.md @@ -109,6 +109,8 @@ Run `gh aw audit ` and look at **Model Routing**. Compare the level you If the router found no eligible model, use `gh aw audit --models` to see which models were available for that run, then check whether your engine, shortlist, or policy ruled them out. Widen the shortlist if appropriate; the router won't pick a model outside it. +To keep a running record of which model and effort each run used, whether it completed its task, and what it cost, add [`adaptive-routing: observe`](/gh-aw/reference/adaptive-routing/). It never changes which model runs. + Updating an existing workflow after a compiler warning? See [Migrate routing settings](/gh-aw/setup/working-with-workflows/#migrate-routing-settings). diff --git a/docs/src/content/docs/reference/repo-memory.md b/docs/src/content/docs/reference/repo-memory.md index 00bab3fe646..1c8ccf05c8d 100644 --- a/docs/src/content/docs/reference/repo-memory.md +++ b/docs/src/content/docs/reference/repo-memory.md @@ -89,6 +89,8 @@ tools: `branch-prefix` changes the default `memory` prefix and must be 4-32 alphanumeric, hyphen, or underscore characters; it cannot be `copilot`. `allowed-extensions` limits which file types can be stored, `format-json: true` pretty-prints `.json` files before commit, `validation.json-schemas` declares mandatory per-file JSON/JSONL validation, `validation.script` runs an optional custom JavaScript domain validator, and `max-patch-size` caps the total diff size for one push (default 10KB, max 1MB) to prevent oversized updates. +Branches under `memory/adaptive-routing/` are reserved for [adaptive routing](/gh-aw/reference/adaptive-routing/) histories, which only gh-aw writes, so a repo-memory entry whose branch is `memory/adaptive-routing` or under it fails to compile. Adaptive routing itself requires `tools.repo-memory`. + ## GitHub App authentication `github-app` is optional in the object form and in each array entry. Without it, memory operations use `github.token`. Configure an installed GitHub App to write memory branches protected by rulesets: @@ -130,7 +132,7 @@ Literal `target-repo` values authorize that repository. For expression targets, Create an active branch ruleset targeting `memory/**` (or the configured branch prefix). Enable **Restrict updates** and **Restrict creations**. Add the installed memory app to the bypass list with **Always allow**; optionally add an administrator team for recovery. The built-in GitHub Actions token is not the app bypass actor. -Every workflow and array entry writing to that pattern needs a bypass-listed app. Use a narrower pattern when other memories must continue using `github.token`. +Every workflow and array entry writing to that pattern needs a bypass-listed app. Use a narrower pattern when other memories must continue using `github.token`. [Adaptive routing](/gh-aw/reference/adaptive-routing/#branch-rulesets) histories are saved with the workflow's `github.token`, so a ruleset covering `memory/**` must also allow GitHub Actions to update `memory/adaptive-routing/**`, or exclude that pattern. Keep the app's private key available only to trusted workflows and environments. A branch ruleset controls writers, not the content an authorized workflow accepts. @@ -292,7 +294,7 @@ For fast 7-day caching without version control, see [Cache Memory](/gh-aw/refere - **Validation or patch-size failures**: Keep changes within `file-glob`, `max-file-size` (100KB default), `max-file-count` (100 default), and `max-patch-size` (10KB default). - **Changes not persisting**: Confirm the directory path, let the workflow finish, and check the push job's **Repo-memory push failed** summary and logs for the underlying error. Custom validation failures include both stdout and stderr; updates rejected by validation are not committed or pushed. - **Merge conflicts**: Each save applies only this run's changes. The push job compares every memory file with the commit the agent started from, so files this run did not change keep their latest version on the branch, even if another run saved them while this run was working. When both runs changed the same file, `.jsonl` files keep the rows from both runs (`merge=union`), and other file types keep this run's version of the lines both runs changed. If the starting commit is unknown or no longer in the branch history, the push job copies this run's files over the latest branch and logs a warning that rows saved by other runs in the meantime may be lost. -- **Many runs finishing at once**: Pushes are not serialized. A save is committed only if the branch head is still the one the save was prepared on. If another run saved first, the push re-reads the head, rebases its change with JSONL union merging, and retries with exponential backoff. If the branch keeps moving and all 11 attempts fail, the save fails, this run's changes are not pushed, and the job reports an error. To avoid conflicts entirely, have each run write its own file instead of all runs editing the same file, for example `runs/${{ matrix.worker }}.jsonl` or `targets/${{ matrix.target }}.jsonl`. +- **Many runs finishing at once**: Pushes are not serialized. A save is committed only if the branch head is still the one the save was prepared on. If another run saved first, the push re-reads the head, rebases its change with JSONL union merging, and retries with exponential backoff. If the branch keeps moving and all 11 attempts fail, the save fails, this run's changes are not pushed, and the job reports an error. To avoid conflicts entirely, have each run write its own file instead of all runs editing the same file, for example `runs/${{ matrix.worker }}.jsonl` or `targets/${{ matrix.target }}.jsonl`. gh-aw's own state writers, such as the adaptive routing history, use an option of the same save loop that applies their change again to the newest files instead of rebasing; it is not available for agent memory. - **GH013 — Commits must have verified signatures**: This usually means the artifact included a symlink, executable file, or submodule entry, which forced a fallback to plain `git push`. Remove the unsupported file type and re-run. ## Security diff --git a/docs/src/content/docs/setup/cli.md b/docs/src/content/docs/setup/cli.md index 221bc015d89..61e26e907da 100644 --- a/docs/src/content/docs/setup/cli.md +++ b/docs/src/content/docs/setup/cli.md @@ -1298,6 +1298,18 @@ gh aw experiments analyze my-workflow --repo owner/repo # Analyze experiments i **Options:** all `experiments` commands accept `--repo/-r`, `--json/-j` +#### `routing` + +Show or reset what [adaptive routing](/gh-aw/reference/adaptive-routing/) has recorded on `memory/adaptive-routing/*` branches. `routing status` lists every routing history, or shows one workflow's evidence: for each model and effort, its runs, expected and hopeful success rates, average credits, streak, tests and suspension, and why recent runs did not count. `routing reset` starts a workflow's history afresh in one commit that lands only if no run saved in the meantime; it keeps `runs.jsonl`, never deletes the branch, and needs write access. + +```bash wrap +gh aw routing status # List routing histories +gh aw routing status issue-triage --json # Show one workflow's evidence as JSON +gh aw routing reset issue-triage # Start that workflow's history afresh +``` + +**Options:** `routing status` accepts `--repo/-r` and `--json/-j`; `routing reset` accepts `--repo/-r` + ### Management #### `enable` diff --git a/pkg/cli/routing_command.go b/pkg/cli/routing_command.go new file mode 100644 index 00000000000..f39e80a6c78 --- /dev/null +++ b/pkg/cli/routing_command.go @@ -0,0 +1,656 @@ +package cli + +// gh aw routing status and reset read and fence a workflow's adaptive routing +// history on memory/adaptive-routing/, the branch the push_routing_history +// job writes (actions/setup/js/push_routing_history.cjs). They read and write the +// history's schema; applying runs is the writer's job alone. + +import ( + "bytes" + "context" + "encoding/base64" + "encoding/json" + "errors" + "fmt" + "io" + "maps" + "os" + "regexp" + "slices" + "strconv" + "strings" + "time" + + "github.com/github/gh-aw/pkg/console" + "github.com/github/gh-aw/pkg/constants" + "github.com/github/gh-aw/pkg/errorutil" + "github.com/github/gh-aw/pkg/logger" + "github.com/github/gh-aw/pkg/repoutil" + "github.com/github/gh-aw/pkg/workflow" + "github.com/spf13/cobra" +) + +var routingLog = logger.New("cli:routing_command") + +const ( + routingHistoryBranchPrefix = "memory/adaptive-routing/" + routingRecentRuns = 20 + // Until live routing exists, status reports evidence only. + routingNoRecommendation = "No recommendation yet; observe mode records evidence, and the decision engine arrives with live routing." +) + +var routingWorkflowIDPattern = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9_-]*(?:\.[A-Za-z0-9_-]+)*$`) + +// routingHistoryState is state.json, version 2. Fields keep the history's order. +type routingHistoryState struct { + V int `json:"v"` + Workflow string `json:"workflow"` + Seq int64 `json:"seq"` + Generation *routingGeneration `json:"generation"` + ResetAfterRun int64 `json:"reset_after_run"` + LastRun int64 `json:"last_run"` + Unexplained int64 `json:"unexplained"` + Scopes map[string]*routingHistoryScope `json:"scopes"` + Updated *routingUpdated `json:"updated"` +} + +type routingGeneration struct { + Hash string `json:"hash"` + SinceRun int64 `json:"since_run"` +} + +type routingUpdated struct { + Run *string `json:"run"` + At string `json:"at"` +} + +type routingHistoryScope struct { + Incumbent *string `json:"incumbent"` + LastRole *string `json:"last_role"` + LastSuccessSeq int64 `json:"last_success_seq"` + Pairs map[string]*routingHistoryPair `json:"pairs"` +} + +type routingHistoryPair struct { + History []json.RawMessage `json:"history"` + Credits *float64 `json:"credits"` + ModelCredits *float64 `json:"model_credits"` + Bills int64 `json:"bills"` + Streak int64 `json:"streak"` + Tests int64 `json:"tests"` + Suspended *routingSuspended `json:"suspended"` + Seen string `json:"seen"` + Summary *routingSummary `json:"summary"` +} + +type routingSuspended struct { + SinceSeq int64 `json:"since_seq"` + Pending int64 `json:"pending"` +} + +type routingSummary struct { + Runs int64 `json:"runs"` + Rate float64 `json:"rate"` + Hopeful float64 `json:"hopeful"` +} + +// routingRunLine is one runs.jsonl line. +type routingRunLine struct { + Run string `json:"run"` + Number int64 `json:"number"` + At string `json:"at"` + Scope *string `json:"scope"` + Mode *string `json:"mode"` + Role *string `json:"role"` + Pair *string `json:"pair"` + Outcome *string `json:"outcome"` + Credits *float64 `json:"credits"` + Counted bool `json:"counted"` + Note *string `json:"note"` +} + +// RoutingStatus is the JSON output of gh aw routing status . +type RoutingStatus struct { + Workflow string `json:"workflow"` + Branch string `json:"branch"` + Head string `json:"head"` + Generation *routingGeneration `json:"generation"` + LastRun int64 `json:"last_run"` + ResetAfterRun int64 `json:"reset_after_run"` + Unexplained int64 `json:"unexplained"` + Updated *routingUpdated `json:"updated"` + Recommendation *string `json:"recommendation"` + Note string `json:"note"` + Scopes []RoutingScopeStatus `json:"scopes"` + Recent RoutingRecentRuns `json:"recent"` +} + +// RoutingScopeStatus is one scope's evidence. +type RoutingScopeStatus struct { + Scope string `json:"scope"` + Incumbent *string `json:"incumbent"` + LastRole *string `json:"last_role"` + Pairs []RoutingPairStatus `json:"pairs"` +} + +// RoutingPairStatus is one pair's evidence, with its rates as of the last write. +type RoutingPairStatus struct { + Pair string `json:"pair"` + Runs int64 `json:"runs"` + Rate *float64 `json:"rate"` + Hopeful *float64 `json:"hopeful"` + Credits *float64 `json:"credits"` + ModelCredits *float64 `json:"model_credits"` + Bills int64 `json:"bills"` + Streak int64 `json:"streak"` + Tests int64 `json:"tests"` + Suspended *routingSuspended `json:"suspended"` +} + +// RoutingRecentRuns summarizes the newest runs.jsonl lines. +type RoutingRecentRuns struct { + Runs int `json:"runs"` + Counted int `json:"counted"` + NotCounted map[string]int `json:"not_counted"` + Lines []routingRunLine `json:"lines"` +} + +// RoutingHistoryListEntry is one workflow's history in gh aw routing status without a workflow. +type RoutingHistoryListEntry struct { + Workflow string `json:"workflow"` + Branch string `json:"branch"` + Scopes int `json:"scopes"` + Pairs int `json:"pairs"` + LastRun int64 `json:"last_run"` + Unexplained int64 `json:"unexplained"` + UpdatedAt string `json:"updated_at"` +} + +// routingAPI is the GitHub access the commands need. +type routingAPI interface { + // BranchHead returns the branch's head commit, or "" when the branch does not exist. + BranchHead(ctx context.Context, branch string) (string, error) + // ReadFile returns a file at a commit, or os.ErrNotExist. + ReadFile(ctx context.Context, ref, path string) ([]byte, error) + // HistoryBranches lists the branches under memory/adaptive-routing/. + HistoryBranches(ctx context.Context) ([]string, error) + // LatestRunNumber returns the workflow's newest run number, or 0 without runs. + LatestRunNumber(ctx context.Context, workflowFile string) (int64, error) + // CommitFile commits one file on the branch only while its head is still expectedHead. + CommitFile(ctx context.Context, branch, expectedHead, path string, content []byte, headline string) (string, error) +} + +// NewRoutingCommand creates the routing command with its subcommands. +func NewRoutingCommand() *cobra.Command { + cmd := &cobra.Command{ + Use: "routing", + Short: "Show or reset what adaptive routing has recorded for a workflow", + Long: `Show or reset what adaptive routing has recorded for a workflow. + +A workflow with adaptive-routing: observe keeps its ordinary router pick, and each +run's model and effort, verdict and cost are recorded on its +memory/adaptive-routing/ branch. + +Available subcommands: + - status - Show each workflow's routing evidence + - reset - Start a workflow's routing history afresh`, + Example: ` ` + string(constants.CLIExtensionPrefix) + ` routing status # List the routing histories in this repository + ` + string(constants.CLIExtensionPrefix) + ` routing status pr-sous-chef # Show one workflow's evidence + ` + string(constants.CLIExtensionPrefix) + ` routing reset pr-sous-chef # Start that workflow's history afresh`, + } + cmd.AddCommand(newRoutingStatusSubcommand(), newRoutingResetSubcommand()) + return cmd +} + +func newRoutingStatusSubcommand() *cobra.Command { + cmd := &cobra.Command{ + Use: "status [workflow]", + Short: "Show a workflow's adaptive routing evidence", + Long: `Show a workflow's adaptive routing evidence. + +For each scope, status shows the incumbent (in observe mode, the ordinary pick +runs) and, for each model and effort, its runs, expected and hopeful success +rates as of the last write, average credits, streak, tests and suspension. It +also counts recent runs that did not count, by reason. Without a workflow it +lists every routing history in the repository.`, + Example: ` ` + string(constants.CLIExtensionPrefix) + ` routing status + ` + string(constants.CLIExtensionPrefix) + ` routing status pr-sous-chef --json + ` + string(constants.CLIExtensionPrefix) + ` routing status pr-sous-chef --repo owner/repo`, + Args: cobra.MaximumNArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + jsonOutput, _ := cmd.Flags().GetBool("json") + repo, _ := cmd.Flags().GetString("repo") + api, err := newGHRoutingAPI(repo) + if err != nil { + return err + } + if len(args) > 0 { + return runRoutingStatus(cmd.Context(), api, args[0], os.Stdout, jsonOutput) + } + return runRoutingList(cmd.Context(), api, os.Stdout, jsonOutput) + }, + } + addJSONFlag(cmd) + addRepoFlag(cmd) + return cmd +} + +func newRoutingResetSubcommand() *cobra.Command { + cmd := &cobra.Command{ + Use: "reset ", + Short: "Start a workflow's adaptive routing history afresh", + Long: `Start a workflow's adaptive routing history afresh. + +Reset reads the workflow's latest run number and, in one commit that lands only +if no run saved in the meantime, stops every run up to it from counting, empties +the recorded evidence and lets exploration resume. It keeps runs.jsonl and never +deletes the branch. It needs write access to the repository.`, + Example: ` ` + string(constants.CLIExtensionPrefix) + ` routing reset pr-sous-chef + ` + string(constants.CLIExtensionPrefix) + ` routing reset pr-sous-chef --repo owner/repo`, + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + repo, _ := cmd.Flags().GetString("repo") + api, err := newGHRoutingAPI(repo) + if err != nil { + return err + } + return runRoutingReset(cmd.Context(), api, args[0], time.Now().UTC()) //nolint:uncheckedsliceindex // Cobra ExactArgs validates one argument. + }, + } + addRepoFlag(cmd) + return cmd +} + +func routingBranch(workflowID string) (string, error) { + if len(workflowID) > 100 || strings.HasSuffix(workflowID, ".lock") || !routingWorkflowIDPattern.MatchString(workflowID) { + return "", fmt.Errorf("%q is not a workflow ID; use the workflow file name without .md, for example pr-sous-chef", workflowID) + } + return routingHistoryBranchPrefix + workflowID, nil +} + +func readRoutingState(ctx context.Context, api routingAPI, head, workflowID string) (*routingHistoryState, error) { + data, err := api.ReadFile(ctx, head, "state.json") + if err != nil { + return nil, fmt.Errorf("could not read state.json: %w", err) + } + var state routingHistoryState + if err := json.Unmarshal(data, &state); err != nil { + return nil, fmt.Errorf("state.json is not valid JSON: %w", err) + } + if state.V != 2 || state.Workflow != workflowID { + return nil, fmt.Errorf("state.json is not a version 2 routing history for %s; update gh aw", workflowID) + } + return &state, nil +} + +func readRoutingRuns(ctx context.Context, api routingAPI, head string) ([]routingRunLine, error) { + data, err := api.ReadFile(ctx, head, "runs.jsonl") + if errors.Is(err, os.ErrNotExist) { + return nil, nil + } + if err != nil { + return nil, fmt.Errorf("could not read runs.jsonl: %w", err) + } + var lines []routingRunLine + for raw := range bytes.SplitSeq(data, []byte("\n")) { + if len(bytes.TrimSpace(raw)) == 0 { + continue + } + var line routingRunLine + if err := json.Unmarshal(raw, &line); err != nil { + return nil, fmt.Errorf("runs.jsonl has an invalid line: %w", err) + } + lines = append(lines, line) + } + return lines, nil +} + +// buildRoutingStatus turns the history into the status view, pairs by most runs first. +func buildRoutingStatus(workflowID, branch, head string, state *routingHistoryState, lines []routingRunLine) RoutingStatus { + status := RoutingStatus{ + Workflow: workflowID, Branch: branch, Head: head, Generation: state.Generation, LastRun: state.LastRun, + ResetAfterRun: state.ResetAfterRun, Unexplained: state.Unexplained, Updated: state.Updated, + Note: routingNoRecommendation, Scopes: []RoutingScopeStatus{}, + } + for _, name := range slices.Sorted(maps.Keys(state.Scopes)) { + scope := state.Scopes[name] + view := RoutingScopeStatus{Scope: name, Incumbent: scope.Incumbent, LastRole: scope.LastRole, Pairs: []RoutingPairStatus{}} + for pairName, pair := range scope.Pairs { + entry := RoutingPairStatus{Pair: pairName, Credits: pair.Credits, ModelCredits: pair.ModelCredits, Bills: pair.Bills, + Streak: pair.Streak, Tests: pair.Tests, Suspended: pair.Suspended} + if pair.Summary != nil { + entry.Runs, entry.Rate, entry.Hopeful = pair.Summary.Runs, &pair.Summary.Rate, &pair.Summary.Hopeful + } + view.Pairs = append(view.Pairs, entry) + } + slices.SortFunc(view.Pairs, func(a, b RoutingPairStatus) int { + if a.Runs != b.Runs { + return int(b.Runs - a.Runs) + } + return strings.Compare(a.Pair, b.Pair) + }) + status.Scopes = append(status.Scopes, view) + } + recent := lines[max(0, len(lines)-routingRecentRuns):] + status.Recent = RoutingRecentRuns{Runs: len(recent), NotCounted: map[string]int{}, Lines: recent} + for _, line := range recent { + if line.Counted { + status.Recent.Counted++ + continue + } + reason := "unknown" + if line.Note != nil { + reason = *line.Note + } + status.Recent.NotCounted[reason]++ + } + return status +} + +func runRoutingStatus(ctx context.Context, api routingAPI, workflowID string, out io.Writer, jsonOutput bool) error { + branch, err := routingBranch(workflowID) + if err != nil { + return err + } + head, err := api.BranchHead(ctx, branch) + if err != nil { + return err + } + if head == "" { + return fmt.Errorf("no routing history for %s: %s does not exist. Add adaptive-routing: observe to the workflow and let it run", workflowID, branch) + } + state, err := readRoutingState(ctx, api, head, workflowID) + if err != nil { + return err + } + lines, err := readRoutingRuns(ctx, api, head) + if err != nil { + return err + } + status := buildRoutingStatus(workflowID, branch, head, state, lines) + if jsonOutput { + encoded, err := marshalIndentJSONOrWrap(status, "routing status") + if err != nil { + return err + } + _, err = fmt.Fprintln(out, string(encoded)) + return err + } + return printRoutingStatus(os.Stderr, status) +} + +func formatRoutingFloat(value *float64, format string) string { + if value == nil { + return "-" + } + return fmt.Sprintf(format, *value) +} + +func printRoutingStatus(w io.Writer, status RoutingStatus) error { + var text strings.Builder + line := func(parts ...string) { + for _, part := range parts { + text.WriteString(part) + } + text.WriteByte('\n') + } + line(console.FormatInfoMessage(fmt.Sprintf("Routing history for %s (%s)", status.Workflow, status.Branch))) + if status.Updated != nil { + line(" Updated: ", status.Updated.At) + } + line(" Last run: ", strconv.FormatInt(status.LastRun, 10)) + if status.Generation != nil { + line(" Generation: since run ", strconv.FormatInt(status.Generation.SinceRun, 10)) + } + if status.ResetAfterRun > 0 { + line(" Reset after: run ", strconv.FormatInt(status.ResetAfterRun, 10)) + } + line(" Unexplained: ", strconv.FormatInt(status.Unexplained, 10)) + line(console.FormatInfoMessage(status.Note)) + if len(status.Scopes) == 0 { + line("\nNo evidence recorded yet.") + } + for _, scope := range status.Scopes { + text.WriteString("\n") + text.WriteString(routingScopeTable(scope)) + } + if recent := status.Recent; recent.Runs > 0 { + summary := fmt.Sprintf("\nRecent runs (last %d): %d counted", recent.Runs, recent.Counted) + if len(recent.NotCounted) > 0 { + reasons := make([]string, 0, len(recent.NotCounted)) + for _, reason := range slices.Sorted(maps.Keys(recent.NotCounted)) { + reasons = append(reasons, fmt.Sprintf("%s %d", reason, recent.NotCounted[reason])) + } + summary += "; did not count: " + strings.Join(reasons, ", ") + } + line(summary) + } + _, err := io.WriteString(w, text.String()) + return err +} + +func routingScopeTable(scope RoutingScopeStatus) string { + title := scope.Scope + switch { + case scope.LastRole != nil && *scope.LastRole == "observe": + title += " (observe: ordinary pick)" + case scope.Incumbent != nil: + title += " (incumbent " + *scope.Incumbent + ")" + } + rows := make([][]string, 0, len(scope.Pairs)) + for _, pair := range scope.Pairs { + suspended := "-" + if pair.Suspended != nil { + suspended = fmt.Sprintf("%d pending", pair.Suspended.Pending) + } + rows = append(rows, []string{pair.Pair, strconv.FormatInt(pair.Runs, 10), formatRoutingFloat(pair.Rate, "%.3f"), + formatRoutingFloat(pair.Hopeful, "%.3f"), formatRoutingFloat(pair.Credits, "%.1f"), strconv.FormatInt(pair.Bills, 10), + strconv.FormatInt(pair.Streak, 10), strconv.FormatInt(pair.Tests, 10), suspended}) + } + return console.RenderTable(console.TableConfig{ + Title: title, + Headers: []string{"Pair", "Runs", "Expected", "Hopeful", "Credits", "Bills", "Streak", "Tests", "Suspended"}, + Rows: rows, + MaxWidth: console.DefaultTableWidth, + }) +} + +func runRoutingList(ctx context.Context, api routingAPI, out io.Writer, jsonOutput bool) error { + branches, err := api.HistoryBranches(ctx) + if err != nil { + return err + } + entries := []RoutingHistoryListEntry{} + for _, branch := range branches { + workflowID := strings.TrimPrefix(branch, routingHistoryBranchPrefix) + head, err := api.BranchHead(ctx, branch) + if err != nil || head == "" { + continue + } + state, err := readRoutingState(ctx, api, head, workflowID) + if err != nil { + routingLog.Printf("Skipping %s: %v", branch, err) + continue + } + entry := RoutingHistoryListEntry{Workflow: workflowID, Branch: branch, Scopes: len(state.Scopes), LastRun: state.LastRun, Unexplained: state.Unexplained} + for _, scope := range state.Scopes { + entry.Pairs += len(scope.Pairs) + } + if state.Updated != nil { + entry.UpdatedAt = state.Updated.At + } + entries = append(entries, entry) + } + if jsonOutput { + encoded, err := marshalIndentJSONOrWrap(entries, "routing status") + if err != nil { + return err + } + _, err = fmt.Fprintln(out, string(encoded)) + return err + } + if len(entries) == 0 { + fmt.Fprintln(os.Stderr, console.FormatInfoMessage("No routing histories found (branches matching "+routingHistoryBranchPrefix+"*).")) + return nil + } + rows := make([][]string, 0, len(entries)) + for _, entry := range entries { + rows = append(rows, []string{entry.Workflow, strconv.Itoa(entry.Scopes), strconv.Itoa(entry.Pairs), strconv.FormatInt(entry.LastRun, 10), + strconv.FormatInt(entry.Unexplained, 10), entry.UpdatedAt}) + } + fmt.Fprint(os.Stderr, console.RenderTable(console.TableConfig{ + Title: "Routing histories", + Headers: []string{"Workflow", "Scopes", "Pairs", "Last run", "Unexplained", "Updated"}, + Rows: rows, + MaxWidth: console.DefaultTableWidth, + })) + return nil +} + +// resetRoutingState fences every run up to latestRun, empties the scopes and lets exploration +// resume, as the writer's resetState does. +func resetRoutingState(state routingHistoryState, latestRun int64, at string) routingHistoryState { + state.ResetAfterRun = latestRun + state.Scopes = map[string]*routingHistoryScope{} + state.Unexplained = 0 + state.Updated = &routingUpdated{Run: nil, At: at} + return state +} + +func encodeRoutingState(state routingHistoryState) ([]byte, error) { + var buffer bytes.Buffer + encoder := json.NewEncoder(&buffer) + encoder.SetEscapeHTML(false) + if err := encoder.Encode(state); err != nil { + return nil, err + } + return buffer.Bytes(), nil +} + +func runRoutingReset(ctx context.Context, api routingAPI, workflowID string, now time.Time) error { + branch, err := routingBranch(workflowID) + if err != nil { + return err + } + head, err := api.BranchHead(ctx, branch) + if err != nil { + return err + } + if head == "" { + return fmt.Errorf("no routing history for %s: %s does not exist", workflowID, branch) + } + state, err := readRoutingState(ctx, api, head, workflowID) + if err != nil { + return err + } + latest, err := api.LatestRunNumber(ctx, workflowID+".lock.yml") + if err != nil { + return err + } + content, err := encodeRoutingState(resetRoutingState(*state, latest, now.Format(time.RFC3339))) + if err != nil { + return err + } + commit, err := api.CommitFile(ctx, branch, head, "state.json", content, fmt.Sprintf("Reset the routing history after run %d", latest)) + if err != nil { + return fmt.Errorf("could not reset %s: %w", branch, err) + } + fmt.Fprintln(os.Stderr, console.FormatSuccessMessage(fmt.Sprintf( + "Reset the routing history for %s: runs up to %d no longer count, and exploration can resume. runs.jsonl is kept (commit %s).", workflowID, latest, commit))) + return nil +} + +// ghRoutingAPI implements routingAPI with gh api. +type ghRoutingAPI struct { + repo string +} + +func newGHRoutingAPI(repo string) (*ghRoutingAPI, error) { + if repo == "" { + current, err := GetCurrentRepoSlug() + if err != nil { + return nil, fmt.Errorf("could not determine the repository; pass --repo owner/repo: %w", err) + } + repo = current + } + return &ghRoutingAPI{repo: repo}, nil +} + +func (g *ghRoutingAPI) BranchHead(ctx context.Context, branch string) (string, error) { + args, err := repositoryAPIArgs(g.repo, "", "git/ref/heads/"+escapeEndpoint(branch), "--jq", ".object.sha") + if err != nil { + return "", err + } + out, err := workflow.RunGHContext(ctx, "Reading the routing history...", args...) + if err != nil { + if errorutil.IsNotFoundError(err) { + return "", nil + } + return "", fmt.Errorf("could not read %s: %w", branch, err) + } + return strings.TrimSpace(string(out)), nil +} + +func (g *ghRoutingAPI) ReadFile(ctx context.Context, ref, path string) ([]byte, error) { + return readRemoteRepoBranchFileContext(ctx, g.repo, ref, path, "") +} + +func (g *ghRoutingAPI) HistoryBranches(ctx context.Context) ([]string, error) { + args, err := repositoryAPIArgs(g.repo, "", "git/matching-refs/heads/"+escapeEndpoint(routingHistoryBranchPrefix), "--paginate", "--jq", ".[].ref") + if err != nil { + return nil, err + } + out, err := workflow.RunGHContext(ctx, "Listing routing histories...", args...) + if err != nil { + return nil, fmt.Errorf("could not list routing histories: %w", err) + } + var branches []string + for ref := range strings.SplitSeq(strings.TrimSpace(string(out)), "\n") { + if branch, ok := strings.CutPrefix(strings.TrimSpace(ref), "refs/heads/"); ok { + branches = append(branches, branch) + } + } + return branches, nil +} + +func (g *ghRoutingAPI) LatestRunNumber(ctx context.Context, workflowFile string) (int64, error) { + args, err := repositoryAPIArgs(g.repo, "", fmt.Sprintf("actions/workflows/%s/runs", escapeEndpoint(workflowFile)), + "--method", "GET", "-f", "per_page=1", "--jq", ".workflow_runs[0].run_number // 0") + if err != nil { + return 0, err + } + out, err := workflow.RunGHContext(ctx, "Reading the latest run...", args...) + if err != nil { + return 0, fmt.Errorf("could not read the latest run of %s: %w", workflowFile, err) + } + return strconv.ParseInt(strings.TrimSpace(string(out)), 10, 64) +} + +const routingCommitMutation = `mutation($input: CreateCommitOnBranchInput!) { + createCommitOnBranch(input: $input) { commit { oid } } +}` + +func (g *ghRoutingAPI) CommitFile(ctx context.Context, branch, expectedHead, path string, content []byte, headline string) (string, error) { + ownerRepo, host := repoutil.NormalizeRepoForAPI(g.repo) + request, err := json.Marshal(map[string]any{ + "query": routingCommitMutation, + "variables": map[string]any{"input": map[string]any{ + "branch": map[string]string{"repositoryNameWithOwner": ownerRepo, "branchName": branch}, + "message": map[string]string{"headline": headline}, + "expectedHeadOid": expectedHead, + "fileChanges": map[string]any{"additions": []map[string]string{{"path": path, "contents": base64.StdEncoding.EncodeToString(content)}}}, + }}, + }) + if err != nil { + return "", err + } + args := []string{"api", "graphql", "--input", "-", "--jq", ".data.createCommitOnBranch.commit.oid"} + if host != "" { + args = append(args, "--hostname", host) + } + out, err := workflow.RunGHInputContext(ctx, "Resetting the routing history...", bytes.NewReader(request), args...) + if err != nil { + return "", fmt.Errorf("the commit was refused (another run may have saved first; run the command again): %w", err) + } + return strings.TrimSpace(string(out)), nil +} diff --git a/pkg/cli/routing_command_test.go b/pkg/cli/routing_command_test.go new file mode 100644 index 00000000000..f8f022d95be --- /dev/null +++ b/pkg/cli/routing_command_test.go @@ -0,0 +1,169 @@ +//go:build !integration + +package cli + +import ( + "bytes" + "context" + "encoding/json" + "os" + "path/filepath" + "testing" + "time" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" +) + +type fakeRoutingCommit struct { + branch, expectedHead, path, headline string + content []byte +} + +type fakeRoutingAPI struct { + heads map[string]string + files map[string]string // ":" -> content + latest int64 + commits []fakeRoutingCommit +} + +func (f *fakeRoutingAPI) BranchHead(_ context.Context, branch string) (string, error) { + return f.heads[branch], nil +} + +func (f *fakeRoutingAPI) ReadFile(_ context.Context, ref, path string) ([]byte, error) { + content, ok := f.files[ref+":"+path] + if !ok { + return nil, os.ErrNotExist + } + return []byte(content), nil +} + +func (f *fakeRoutingAPI) HistoryBranches(context.Context) ([]string, error) { + var branches []string + for branch := range f.heads { + branches = append(branches, branch) + } + return branches, nil +} + +func (f *fakeRoutingAPI) LatestRunNumber(context.Context, string) (int64, error) { + return f.latest, nil +} + +func (f *fakeRoutingAPI) CommitFile(_ context.Context, branch, expectedHead, path string, content []byte, headline string) (string, error) { + f.commits = append(f.commits, fakeRoutingCommit{branch: branch, expectedHead: expectedHead, path: path, headline: headline, content: content}) + return "c0ffee", nil +} + +// The contract's example history: proven model B and model A after one failed test. +const routingExampleState = `{"v": 2, "workflow": "pr-sous-chef", "seq": 412, + "generation": {"hash": "9f2c41d0", "since_run": 731}, "reset_after_run": 0, "last_run": 812, "unexplained": 0, + "scopes": {"copilot/cost/shared": {"incumbent": "github-copilot/model-b@high", "last_role": "observe", "last_success_seq": 411, + "pairs": { + "github-copilot/model-a@high": {"history": [[412, "2026-11-19T17:02:40Z", false, 12.0, 9.0, null]], "credits": 12.0, "model_credits": 9.0, + "bills": 1, "streak": 1, "tests": 1, "suspended": null, "seen": "2026-11-19T17:02:40Z", "summary": {"runs": 1, "rate": 0.75, "hopeful": 0.914}}, + "github-copilot/model-b@high": {"history": [[411, "2026-11-19T16:40:02Z", true, 28.0, 24.0, null]], "credits": 28.0, "model_credits": 24.0, + "bills": 40, "streak": 0, "tests": 0, "suspended": null, "seen": "2026-11-19T16:40:02Z", "summary": {"runs": 40, "rate": 0.985, "hopeful": 0.999}}}}}, + "updated": {"run": "44156334376", "at": "2026-11-19T17:02:40Z"}}` + +const routingExampleRuns = `{"run": "44156334300", "number": 810, "attempt": 1, "at": "2026-11-19T16:40:02Z", "generation": "9f2c41d0", "scope": "copilot/cost/shared", "mode": "observe", "role": "observe", "pair": "github-copilot/model-b@high", "outcome": "success", "credits": 28.0, "counted": true, "note": null} +{"run": "44156334350", "number": 811, "attempt": 1, "at": "2026-11-19T16:50:00Z", "generation": "9f2c41d0", "scope": "copilot/cost/shared", "mode": "observe", "role": "observe", "pair": "github-copilot/model-b@high", "outcome": "skip", "credits": 3.0, "counted": false, "note": "infrastructure"} +{"run": "44156334376", "number": 812, "attempt": 1, "at": "2026-11-19T17:02:40Z", "generation": null, "scope": null, "mode": null, "role": null, "pair": null, "outcome": null, "credits": null, "counted": false, "note": "no_agent"} +` + +func exampleRoutingAPI() *fakeRoutingAPI { + return &fakeRoutingAPI{ + heads: map[string]string{"memory/adaptive-routing/pr-sous-chef": "abc123"}, + files: map[string]string{"abc123:state.json": routingExampleState, "abc123:runs.jsonl": routingExampleRuns}, + } +} + +func TestRoutingStatusReportsEachPairsEvidence(t *testing.T) { + var out bytes.Buffer + require.NoError(t, runRoutingStatus(context.Background(), exampleRoutingAPI(), "pr-sous-chef", &out, true)) + var status RoutingStatus + require.NoError(t, json.Unmarshal(out.Bytes(), &status)) + + assert.Equal(t, "memory/adaptive-routing/pr-sous-chef", status.Branch) + assert.Nil(t, status.Recommendation, "observe mode makes no recommendation") + assert.Equal(t, routingNoRecommendation, status.Note) + require.Len(t, status.Scopes, 1) + pairs := status.Scopes[0].Pairs + require.Len(t, pairs, 2) + assert.Equal(t, "github-copilot/model-b@high", pairs[0].Pair, "the pair with the most runs comes first") + assert.Equal(t, int64(40), pairs[0].Runs) + assert.InDelta(t, 0.985, *pairs[0].Rate, 1e-12) + assert.InDelta(t, 0.914, *pairs[1].Hopeful, 1e-12) + assert.Equal(t, int64(1), pairs[1].Streak) + assert.Equal(t, RoutingRecentRuns{Runs: 3, Counted: 1, NotCounted: map[string]int{"infrastructure": 1, "no_agent": 1}, Lines: status.Recent.Lines}, status.Recent) + + var text bytes.Buffer + require.NoError(t, printRoutingStatus(&text, status)) + assert.Contains(t, text.String(), "copilot/cost/shared (observe: ordinary pick)") + assert.Contains(t, text.String(), routingNoRecommendation) + assert.Contains(t, text.String(), "Recent runs (last 3): 1 counted; did not count: infrastructure 1, no_agent 1") +} + +func TestRoutingStatusListsHistories(t *testing.T) { + var out bytes.Buffer + require.NoError(t, runRoutingList(context.Background(), exampleRoutingAPI(), &out, true)) + var entries []RoutingHistoryListEntry + require.NoError(t, json.Unmarshal(out.Bytes(), &entries)) + assert.Equal(t, []RoutingHistoryListEntry{{Workflow: "pr-sous-chef", Branch: "memory/adaptive-routing/pr-sous-chef", Scopes: 1, Pairs: 2, + LastRun: 812, UpdatedAt: "2026-11-19T17:02:40Z"}}, entries) +} + +func TestRoutingCommandsRefuseMissingHistoriesAndBadIDs(t *testing.T) { + api := &fakeRoutingAPI{} + require.ErrorContains(t, runRoutingStatus(context.Background(), api, "triage", &bytes.Buffer{}, false), "no routing history for triage") + require.ErrorContains(t, runRoutingReset(context.Background(), api, "triage", time.Now()), "no routing history for triage") + require.ErrorContains(t, runRoutingStatus(context.Background(), api, "../main", &bytes.Buffer{}, false), "is not a workflow ID") + assert.Empty(t, api.commits) +} + +func TestRoutingResetCommitsWhatTheWriterWould(t *testing.T) { + // The reducer's reset vector pins the state gh aw routing reset writes. + data, err := os.ReadFile(filepath.Join("..", "..", "actions", "setup", "js", "fixtures", "routing-history", "aw2-reducer.json")) + require.NoError(t, err) + var vectors struct { + Cases []struct { + Name string `json:"name"` + State json.RawMessage `json:"state"` + Reset struct { + LatestRun int64 `json:"latest_run"` + At string `json:"at"` + } `json:"reset"` + Expect struct { + State json.RawMessage `json:"state"` + } `json:"expect"` + } `json:"cases"` + } + require.NoError(t, json.Unmarshal(data, &vectors)) + for _, vector := range vectors.Cases { + if vector.Name != "reset" { + continue + } + var input routingHistoryState + require.NoError(t, json.Unmarshal(vector.State, &input)) + api := &fakeRoutingAPI{ + heads: map[string]string{"memory/adaptive-routing/" + input.Workflow: "abc123"}, + files: map[string]string{"abc123:state.json": string(vector.State)}, + latest: vector.Reset.LatestRun, + } + at, err := time.Parse(time.RFC3339, vector.Reset.At) + require.NoError(t, err) + require.NoError(t, runRoutingReset(context.Background(), api, input.Workflow, at)) + + require.Len(t, api.commits, 1) + commit := api.commits[0] + assert.Equal(t, fakeRoutingCommit{branch: "memory/adaptive-routing/" + input.Workflow, expectedHead: "abc123", path: "state.json", + headline: "Reset the routing history after run 9", content: commit.content}, commit) + var written, expected any + require.NoError(t, json.Unmarshal(commit.content, &written)) + require.NoError(t, json.Unmarshal(vector.Expect.State, &expected)) + assert.Equal(t, expected, written) + return + } + t.Fatal("the reducer vectors have no reset case") +} diff --git a/pkg/constants/job_constants.go b/pkg/constants/job_constants.go index baacc340b30..c72c0d4f011 100644 --- a/pkg/constants/job_constants.go +++ b/pkg/constants/job_constants.go @@ -78,6 +78,7 @@ const PushExperimentsStateJobName JobName = "push_experiments_state" const ReportExperimentsJobName JobName = "report_experiments" const PushEvalsStateJobName JobName = "push_evals_state" const PushRepoMemoryJobName JobName = "push_repo_memory" +const PushRoutingHistoryJobName JobName = "push_routing_history" const PushLedgerChangesJobName JobName = "push_ledger_changes" const UpdateCacheMemoryJobName JobName = "update_cache_memory" const UpdateDriveMemoryJobName JobName = "update_drive_memory" @@ -149,6 +150,7 @@ var MaintenanceJobDependencies = map[string]JobName{ string(PushEvalsStateJobName): AgentJobName, string(PushExperimentsStateJobName): ActivationJobName, string(ReportExperimentsJobName): ConclusionJobName, + string(PushRoutingHistoryJobName): ConclusionJobName, } // IsCompilerOwnedJobName includes generated maintenance jobs, which are not diff --git a/pkg/parser/import_accumulator.go b/pkg/parser/import_accumulator.go index bfbdf891623..f4eadd0fc38 100644 --- a/pkg/parser/import_accumulator.go +++ b/pkg/parser/import_accumulator.go @@ -94,6 +94,7 @@ type importAccumulator struct { mergedMaxTurnCacheMisses string mergedMaxAICredits string mergedMaxDailyAICredits string + mergedAdaptiveRouting string mergedConcurrency string mergedJobDiscriminator string // Union of excluded-env lists from all imported files (deduplicated). @@ -211,6 +212,7 @@ func (acc *importAccumulator) populateImportsResultScalars(result *ImportsResult result.MergedMaxTurnCacheMisses = acc.mergedMaxTurnCacheMisses result.MergedMaxAICredits = acc.mergedMaxAICredits result.MergedMaxDailyAICredits = acc.mergedMaxDailyAICredits + result.MergedAdaptiveRouting = acc.mergedAdaptiveRouting result.MergedConcurrency = acc.mergedConcurrency result.MergedJobDiscriminator = acc.mergedJobDiscriminator result.MergedExcludedEnv = acc.excludedEnv diff --git a/pkg/parser/import_extract_engine.go b/pkg/parser/import_extract_engine.go index c17853c5a2f..f462945e529 100644 --- a/pkg/parser/import_extract_engine.go +++ b/pkg/parser/import_extract_engine.go @@ -125,6 +125,7 @@ func (acc *importAccumulator) extractConfigFields(fm map[string]any, fullPath st acc.extractFirstWinsJSONField(fm, fullPath, "max-turn-cache-misses", &acc.mergedMaxTurnCacheMisses) acc.extractFirstWinsJSONField(fm, fullPath, "max-ai-credits", &acc.mergedMaxAICredits) acc.extractFirstWinsJSONField(fm, fullPath, "max-daily-ai-credits", &acc.mergedMaxDailyAICredits) + acc.extractFirstWinsJSONField(fm, fullPath, "adaptive-routing", &acc.mergedAdaptiveRouting) acc.extractConcurrencyInImport(fm, fullPath) acc.extractConcurrencyJobDiscriminator(fm, fullPath) if acc.metadataDocs == "" { diff --git a/pkg/parser/import_processor.go b/pkg/parser/import_processor.go index 4c984a9e727..7dcfdd3da8d 100644 --- a/pkg/parser/import_processor.go +++ b/pkg/parser/import_processor.go @@ -92,6 +92,7 @@ type ImportsResult struct { MergedMaxTurnCacheMisses string // First max-turn-cache-misses value found across all imports (JSON-encoded, first-wins) MergedMaxAICredits string // First max-ai-credits value found across all imports (JSON-encoded, first-wins) MergedMaxDailyAICredits string // First max-daily-ai-credits value found across all imports (JSON-encoded, first-wins) + MergedAdaptiveRouting string // First adaptive-routing value found across all imports (JSON-encoded, first-wins) MergedConcurrency string // First import-safe concurrency.group value found across all imports (JSON-encoded, first-wins) MergedJobDiscriminator string // First concurrency.job-discriminator found across all imports (first-wins) MergedExcludedEnv []string // Union of excluded-env lists from all imports (deduplicated, used to extend the main workflow's excluded-env) diff --git a/pkg/parser/schemas/main_workflow_schema.json b/pkg/parser/schemas/main_workflow_schema.json index 997087203a8..3cb0f0a370f 100644 --- a/pkg/parser/schemas/main_workflow_schema.json +++ b/pkg/parser/schemas/main_workflow_schema.json @@ -14655,6 +14655,21 @@ } ] }, + "adaptive-routing": { + "description": "Record each run of a routed workflow in its adaptive routing history on the memory/adaptive-routing/ branch. observe keeps the ordinary router pick and records the selected model and effort, whether the run completed its task, and what it cost; false turns it off, including a repository default from aw.json. Requires model routing on a Copilot, Claude, or Codex engine and tools.repo-memory.", + "oneOf": [ + { + "type": "string", + "enum": ["observe"], + "description": "Record every eligible run without changing which model runs." + }, + { + "type": "boolean", + "enum": [false, true], + "description": "false turns adaptive routing off. true is reserved for live adaptive routing, which is not available yet." + } + ] + }, "graders": { "description": "Graders over the unified session, including reserved operational-value JavaScript. Fast built-ins run in conclusion; executable custom graders run only in the separate graders job.", "type": "object", diff --git a/pkg/parser/schemas/repo_config_schema.json b/pkg/parser/schemas/repo_config_schema.json index 27004dc4fc0..5cd706f8e18 100644 --- a/pkg/parser/schemas/repo_config_schema.json +++ b/pkg/parser/schemas/repo_config_schema.json @@ -48,6 +48,10 @@ "default": false, "description": "Enable the activation admission check and conclusion callback for all workflows without changing job permissions. An explicit setting overrides workflow frontmatter. If unset, workflows use on.admission, which defaults to false." }, + "adaptive_routing": { + "description": "Repository default for adaptive-routing. observe records every eligible routed workflow in its adaptive routing history; a workflow that cannot take part is skipped silently, and a workflow's own adaptive-routing value, or one from an import, wins. Recompile workflows after changing this setting.", + "oneOf": [{ "const": "observe" }, { "const": false }] + }, "safe_output_authorization": { "description": "Require fail-closed authorization for non-diagnostic safe outputs in every workflow. Use true to load GH_AW_DEFAULT_SAFE_OUTPUT_AUTHORIZATION_URL and GH_AW_DEFAULT_SAFE_OUTPUT_AUTHORIZATION_AUDIENCE at runtime, or supply a literal authority. Conflicting workflow/import authorities fail compilation. Recompile workflows after changing this setting.", "oneOf": [ diff --git a/pkg/workflow/adaptive_routing.go b/pkg/workflow/adaptive_routing.go new file mode 100644 index 00000000000..3bd82dfa709 --- /dev/null +++ b/pkg/workflow/adaptive_routing.go @@ -0,0 +1,217 @@ +// This file implements adaptive-routing: observe. An eligible routed workflow keeps +// its ordinary router pick, and a push_routing_history job, after the conclusion job +// has published the run's unified session, records the run in the workflow's routing +// history on memory/adaptive-routing/ +// (actions/setup/js/push_routing_history.cjs). A workflow that does not opt in, or +// that a repository default skips, compiles exactly as before. + +package workflow + +import ( + "errors" + "fmt" + "path" + "regexp" + "strings" + + "github.com/github/gh-aw/pkg/constants" + "github.com/github/gh-aw/pkg/logger" +) + +var adaptiveRoutingLog = logger.New("workflow:adaptive_routing") + +const ( + adaptiveRoutingObserve = "observe" + // adaptiveRoutingBranchRoot is reserved for the routing histories; no repo-memory + // entry may write it, so the agent can never edit its own record. + adaptiveRoutingBranchRoot = "memory/adaptive-routing" +) + +// The workflow ID names the history branch, so it must be a valid ref component. +var adaptiveRoutingWorkflowIDPattern = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9_-]*(?:\.[A-Za-z0-9_-]+)*$`) + +// adaptiveRoutingSetting is the effective adaptive-routing value. explicit marks a value +// from the workflow or an import, where an unsupported workflow is an error; a +// repository default skips such a workflow silently. +type adaptiveRoutingSetting struct { + mode string + explicit bool +} + +// resolveAdaptiveRoutingSetting applies the precedence: the workflow's own value +// (including false), then the first import that sets it, then aw.json, then off. +func resolveAdaptiveRoutingSetting(frontmatter map[string]any, imported string, repoConfig *RepoConfig) (adaptiveRoutingSetting, error) { + value, ok := frontmatter["adaptive-routing"] + if !ok && imported != "" { + if err := decodeModelRoutingJSONDocument(imported, &value); err != nil { + return adaptiveRoutingSetting{}, fmt.Errorf("imported adaptive-routing value is not recognized: %w", err) + } + ok = true + } + if !ok { + if repoConfig != nil && repoConfig.AdaptiveRouting == adaptiveRoutingObserve { + return adaptiveRoutingSetting{mode: adaptiveRoutingObserve}, nil + } + return adaptiveRoutingSetting{}, nil + } + switch v := value.(type) { + case string: + if v == adaptiveRoutingObserve { + return adaptiveRoutingSetting{mode: v, explicit: true}, nil + } + case bool: + if !v { + return adaptiveRoutingSetting{explicit: true}, nil + } + return adaptiveRoutingSetting{}, NewValidationError("adaptive-routing", "true", "live adaptive routing is not available yet; use observe", + "Set adaptive-routing: observe to record each run's routing evidence without changing which model runs.") + } + return adaptiveRoutingSetting{}, NewValidationError("adaptive-routing", fmt.Sprint(value), "unsupported adaptive-routing value", "Use observe, or false to turn it off.") +} + +// adaptiveRoutingIneligibility returns why the workflow cannot keep a routing history, +// or "" when it can: its primary model must be chosen by AWF model routing on a +// Copilot, Claude, or Codex engine, it must not be a work-queue worker or run +// experiments, and it must enable repo-memory. +func adaptiveRoutingIneligibility(data *WorkflowData) string { + if !isModelRoutingEnabled(data) { + return "its primary model is not chosen by model routing" + } + switch strings.ToLower(data.EngineConfig.ID) { + case string(constants.CopilotEngine), string(constants.ClaudeEngine), string(constants.CodexEngine): + default: + return fmt.Sprintf("the %s engine is not supported; adaptive routing records Copilot, Claude, and Codex workflows", data.EngineConfig.ID) + } + if isWorkQueueWorker(data) { + return "work-queue workers are not supported" + } + if len(data.Experiments) > 0 { + return "workflows that run experiments are not supported" + } + if id := data.WorkflowID; len(id) > 100 || strings.HasSuffix(id, ".lock") || !adaptiveRoutingWorkflowIDPattern.MatchString(id) { + return fmt.Sprintf("the workflow ID %q cannot name a history branch", id) + } + if data.RepoMemoryConfig == nil || len(data.RepoMemoryConfig.Memories) == 0 { + return "adaptive routing requires tools.repo-memory" + } + return "" +} + +// applyAdaptiveRouting resolves adaptive-routing once the routing configuration and +// repo-memory are final. +func (c *Compiler) applyAdaptiveRouting(ctx *workflowBuildContext) error { + repoConfig, err := c.loadRepoConfig() + if err != nil { + repoConfig = nil + } + setting, err := resolveAdaptiveRoutingSetting(ctx.frontmatter.Frontmatter, ctx.engineSetup.importsResult.MergedAdaptiveRouting, repoConfig) + if err != nil { + return formatCompilerError(ctx.cleanPath, "error", err.Error(), err) + } + if setting.mode == "" { + return nil + } + data := ctx.workflowData + if reason := adaptiveRoutingIneligibility(data); reason != "" { + if !setting.explicit { + adaptiveRoutingLog.Printf("Repository default adaptive-routing skipped for %s: %s", data.WorkflowID, reason) + return nil + } + err := NewValidationError("adaptive-routing", setting.mode, "this workflow cannot use adaptive routing: "+reason, + "Adaptive routing needs a router-selected primary model (for example model: router/balanced) on a Copilot, Claude, or Codex engine, and tools.repo-memory enabled. Remove adaptive-routing or set it to false.") + return formatCompilerError(ctx.cleanPath, "error", err.Error(), err) + } + data.AdaptiveRouting = setting.mode + adaptiveRoutingLog.Printf("Adaptive routing %s enabled for %s", setting.mode, data.WorkflowID) + return nil +} + +// validateRepoMemoryBranchesNotReserved rejects repo-memory branches inside the routing +// histories' namespace, which only push_routing_history and gh aw routing reset write. +func validateRepoMemoryBranchesNotReserved(config *RepoMemoryConfig) error { + if config == nil { + return nil + } + for _, memory := range config.Memories { + if memory.Wiki { + continue + } + if memory.BranchName == adaptiveRoutingBranchRoot || strings.HasPrefix(memory.BranchName, adaptiveRoutingBranchRoot+"/") { + return NewValidationError("tools.repo-memory.branch-name", memory.BranchName, adaptiveRoutingBranchRoot+"/ is reserved for adaptive routing histories", + "Choose another branch name or branch-prefix for this repo-memory entry.") + } + } + return nil +} + +// addPushRoutingHistoryJob adds the job that records the run in its routing history. +// It runs after conclusion, which builds the unified session the verdict lives in, +// and writes through repo-memory's save loop with its own contents: write token. +// No concurrency group: the save loop converges concurrent writers itself. +func (c *Compiler) addPushRoutingHistoryJob(data *WorkflowData) error { + if data.AdaptiveRouting == "" { + return nil + } + if _, exists := c.jobManager.GetJob(string(constants.ConclusionJobName)); !exists { + return errors.New("adaptive-routing requires the conclusion job, which publishes the run's unified session") + } + if !isSHA256Hex(data.FrontmatterHash) || !isSHA256Hex(data.BodyHash) { + return errors.New("adaptive-routing requires the workflow's frontmatter and body hashes, which identify its definition") + } + permissions := NewPermissionsFromMap(map[PermissionScope]PermissionLevel{PermissionActions: PermissionRead, PermissionContents: PermissionWrite}) + agentRan := BuildNotEquals(BuildPropertyAccess(fmt.Sprintf("needs.%s.result", constants.AgentJobName)), BuildStringLiteral("skipped")) + return c.jobManager.AddJob(&Job{ + Name: pushRoutingHistoryJobName, + RunsOn: c.formatFrameworkJobRunsOn(data), + Needs: []string{string(constants.ActivationJobName), string(constants.AgentJobName), string(constants.ConclusionJobName)}, + If: RenderCondition(BuildAnd(BuildFunctionCall("always"), agentRan)), + Permissions: permissions.RenderToYAML(), + TimeoutMinutes: 10, + Steps: c.buildPushRoutingHistorySteps(data), + }) +} + +func (c *Compiler) buildPushRoutingHistorySteps(data *WorkflowData) []string { + var steps []string + if setupRef := c.resolveActionReference("./actions/setup", data); setupRef != "" || c.actionMode.IsScript() { + traceID := fmt.Sprintf("${{ needs.%s.outputs.setup-trace-id }}", constants.ActivationJobName) + steps = append(steps, c.generateCheckoutActionsFolder(data)...) + steps = append(steps, c.generateSetupStepForJob(pushRoutingHistoryJobName, data, setupRef, SetupActionDestination, false, traceID, setupParentSpanNeedsExpr(constants.ActivationJobName), "")...) + } + steps = append(steps, buildArtifactDownloadSteps(ArtifactDownloadConfig{ + ArtifactName: artifactPrefixExprForDownstreamJob(data) + constants.UsageArtifactName.String(), + DownloadPath: path.Join(constants.TmpGhAwDir, constants.UsageArtifactName.String()), + StepName: "Download usage artifact", + ContinueOnError: new(false), + }, c.getActionPin)...) + + engineID := strings.ToLower(data.EngineConfig.ID) + var step strings.Builder + step.WriteString(" - name: Record the run in the routing history\n") + step.WriteString(" id: push_routing_history\n") + step.WriteString(" uses: " + getCachedActionPin("actions/github-script", data) + "\n") + step.WriteString(" env:\n") + step.WriteString(" GH_TOKEN: ${{ github.token }}\n") + step.WriteString(" GH_AW_ROUTING_WORKFLOW: " + data.WorkflowID + "\n") + fmt.Fprintf(&step, " GH_AW_ROUTING_GENERATION: %q\n", data.FrontmatterHash+":"+data.BodyHash) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. + step.WriteString(" GH_AW_ROUTING_MODE: " + data.AdaptiveRouting + "\n") + step.WriteString(" GH_AW_ROUTING_ENGINE: " + engineID + "\n") + step.WriteString(" GH_AW_ROUTING_GOAL: " + data.EngineConfig.ModelRouting.Goal + "\n") + // A level chosen at run time keeps its own records; otherwise levels share them. + if isModelRoutingDynamic(data) { + step.WriteString(" GH_AW_ROUTING_LEVEL: ${{ " + modelRoutingModeDownstream + " }}\n") + } + step.WriteString(" GH_AW_ROUTING_SESSION_FILE: " + path.Join(constants.TmpGhAwDir, constants.UsageArtifactName.String(), "aw_session.jsonl") + "\n") + writeSubagentModelDeclarations(&step, data, engineID) + step.WriteString(" with:\n") + step.WriteString(" script: |\n") + step.WriteString(" const { setupGlobals } = require('" + SetupActionDestination + "/setup_globals.cjs');\n") + step.WriteString(" setupGlobals(core, github, context, exec, io, getOctokit);\n") + step.WriteString(" const { main } = require('" + SetupActionDestination + "/push_routing_history.cjs');\n") + step.WriteString(" await main();\n") + steps = append(steps, step.String()) + if c.actionMode.IsDev() { + steps = append(steps, c.generateRestoreActionsSetupStep()) + } + return steps +} diff --git a/pkg/workflow/adaptive_routing_test.go b/pkg/workflow/adaptive_routing_test.go new file mode 100644 index 00000000000..1b9afdd907e --- /dev/null +++ b/pkg/workflow/adaptive_routing_test.go @@ -0,0 +1,207 @@ +//go:build !integration + +package workflow + +import ( + "maps" + "os" + "path/filepath" + "strings" + "testing" + + "github.com/github/gh-aw/pkg/testutil" + "github.com/goccy/go-yaml" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" +) + +// adaptiveRoutingSource is a routed Copilot workflow (the implicit cost/auto default) +// with repo-memory, triggered as on gives and with extra frontmatter. +func adaptiveRoutingSource(on, extra string) string { + return "---\non:" + on + "\npermissions:\n contents: read\nengine: copilot\ntools:\n repo-memory: true\n" + extra + "---\nTriage the newest issue.\n" +} + +type adaptiveRoutingCompilation struct { + lock string + data *WorkflowData + err error +} + +// compileAdaptiveRouting compiles source as .github/workflows/triage.md with an +// optional aw.json and any other files. +func compileAdaptiveRouting(t *testing.T, source, repoConfig string, files map[string]string) adaptiveRoutingCompilation { + t.Helper() + root := t.TempDir() + workflowPath := filepath.Join(root, ".github", "workflows", "triage.md") + all := map[string]string{".github/workflows/triage.md": source} + if repoConfig != "" { + all[RepoConfigFileName] = repoConfig + } + maps.Copy(all, files) + for name, content := range all { + path := filepath.Join(root, filepath.FromSlash(name)) + require.NoError(t, os.MkdirAll(filepath.Dir(path), 0o755)) + require.NoError(t, os.WriteFile(path, []byte(content), 0o600)) + } + compiler := NewCompiler(WithNoEmit(true)) + compiler.gitRoot = root + var result adaptiveRoutingCompilation + testutil.CaptureStderr(t, func() { + result.data, result.err = compiler.ParseWorkflowFile(workflowPath) + if result.err == nil { + result.lock, result.err = compiler.CompileToYAML(result.data, workflowPath) + } + }) + return result +} + +func lockJobs(t *testing.T, lock string) map[string]map[string]any { + t.Helper() + var workflow struct { + Jobs map[string]map[string]any `yaml:"jobs"` + } + require.NoError(t, yaml.Unmarshal([]byte(lock), &workflow)) + return workflow.Jobs +} + +func stepEnv(t *testing.T, job map[string]any, id string) map[string]any { + t.Helper() + for _, step := range job["steps"].([]any) { + if step := step.(map[string]any); step["id"] == id { + return step["env"].(map[string]any) + } + } + t.Fatalf("step %s not found", id) + return nil +} + +func TestAdaptiveRoutingObserveAddsOnlyTheWriterJob(t *testing.T) { + off := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", ""), "", nil) + require.NoError(t, off.err) + on := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", ""), `{"adaptive_routing": "observe"}`, nil) + require.NoError(t, on.err) + require.Equal(t, "observe", on.data.AdaptiveRouting) + require.NotContains(t, off.lock, "push_routing_history") + + offJobs, onJobs := lockJobs(t, off.lock), lockJobs(t, on.lock) + writer, added := onJobs[pushRoutingHistoryJobName] + require.True(t, added) + delete(onJobs, pushRoutingHistoryJobName) + // Only conclusion's job inventory names the added job. + for _, jobs := range []map[string]map[string]any{offJobs, onJobs} { + env := jobs["conclusion"]["env"].(map[string]any) + delete(env, "GH_AW_JOB_DISPLAY_NAMES") + delete(env, "GH_AW_JOB_TIMING_ELIGIBLE") + } + assert.Equal(t, offJobs, onJobs, "observe must not change the agent job, its prompt, or any other job") + + assert.Equal(t, []any{"activation", "agent", "conclusion"}, writer["needs"]) + assert.Equal(t, "always() && needs.agent.result != 'skipped'", writer["if"]) + assert.Equal(t, map[string]any{"actions": "read", "contents": "write"}, writer["permissions"]) + assert.NotContains(t, writer, "concurrency") + env := stepEnv(t, writer, "push_routing_history") + assert.Equal(t, "triage", env["GH_AW_ROUTING_WORKFLOW"]) + assert.Equal(t, "observe", env["GH_AW_ROUTING_MODE"]) + assert.Equal(t, "copilot", env["GH_AW_ROUTING_ENGINE"]) + assert.Equal(t, "cost", env["GH_AW_ROUTING_GOAL"]) + assert.NotContains(t, env, "GH_AW_ROUTING_LEVEL", "a compile-time level shares records across levels") + assert.Equal(t, "/tmp/gh-aw/usage/aw_session.jsonl", env["GH_AW_ROUTING_SESSION_FILE"]) + assert.Regexp(t, `^[0-9a-f]{64}:[0-9a-f]{64}$`, env["GH_AW_ROUTING_GENERATION"]) + assert.Equal(t, on.data.FrontmatterHash+":"+on.data.BodyHash, env["GH_AW_ROUTING_GENERATION"]) +} + +func TestAdaptiveRoutingRunTimeLevelHasItsOwnScope(t *testing.T) { + compiled := compileAdaptiveRouting(t, adaptiveRoutingSource("\n workflow_dispatch:\n inputs:\n level:\n type: string", "model: ${{ inputs.level }}\nadaptive-routing: observe\n"), "", nil) + require.NoError(t, compiled.err) + require.True(t, isModelRoutingDynamic(compiled.data)) + env := stepEnv(t, lockJobs(t, compiled.lock)[pushRoutingHistoryJobName], "push_routing_history") + assert.Equal(t, "${{ needs.activation.outputs.model-routing-mode }}", env["GH_AW_ROUTING_LEVEL"]) +} + +func TestAdaptiveRoutingSettingPrecedence(t *testing.T) { + observeDefault := &RepoConfig{AdaptiveRouting: "observe"} + tests := []struct { + name string + frontmatter map[string]any + imported string + repo *RepoConfig + want adaptiveRoutingSetting + }{ + {name: "off by default", want: adaptiveRoutingSetting{}}, + {name: "repository default", repo: observeDefault, want: adaptiveRoutingSetting{mode: "observe"}}, + {name: "import beats the repository default", imported: "false", repo: observeDefault, want: adaptiveRoutingSetting{explicit: true}}, + {name: "import opts in", imported: `"observe"`, want: adaptiveRoutingSetting{mode: "observe", explicit: true}}, + {name: "workflow false beats an import", frontmatter: map[string]any{"adaptive-routing": false}, imported: `"observe"`, repo: observeDefault, want: adaptiveRoutingSetting{explicit: true}}, + {name: "workflow opts in", frontmatter: map[string]any{"adaptive-routing": "observe"}, want: adaptiveRoutingSetting{mode: "observe", explicit: true}}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + got, err := resolveAdaptiveRoutingSetting(tt.frontmatter, tt.imported, tt.repo) + require.NoError(t, err) + assert.Equal(t, tt.want, got) + }) + } + _, err := resolveAdaptiveRoutingSetting(map[string]any{"adaptive-routing": true}, "", nil) + require.ErrorContains(t, err, "live adaptive routing is not available yet; use observe") +} + +func TestAdaptiveRoutingFromAnImport(t *testing.T) { + shared := "---\nadaptive-routing: observe\n---\nShared routing settings.\n" + compiled := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", "imports:\n - shared/routing.md\n"), "", map[string]string{".github/workflows/shared/routing.md": shared}) + require.NoError(t, compiled.err) + assert.Contains(t, lockJobs(t, compiled.lock), pushRoutingHistoryJobName) +} + +func TestAdaptiveRoutingIneligibleWorkflows(t *testing.T) { + tests := []struct { + name string + frontmatter string + reason string + }{ + {name: "fixed model", frontmatter: "model: gpt-5.4\n", reason: "its primary model is not chosen by model routing"}, + {name: "routing turned off", frontmatter: "model-routing: false\n", reason: "its primary model is not chosen by model routing"}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + explicit := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", tt.frontmatter+"adaptive-routing: observe\n"), "", nil) + require.ErrorContains(t, explicit.err, tt.reason) + defaulted := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", tt.frontmatter), `{"adaptive_routing": "observe"}`, nil) + require.NoError(t, defaulted.err, "a repository default skips the workflow silently") + assert.NotContains(t, defaulted.lock, pushRoutingHistoryJobName) + }) + } + + withoutMemory := strings.Replace(adaptiveRoutingSource(" workflow_dispatch", "adaptive-routing: observe\n"), "tools:\n repo-memory: true\n", "", 1) + require.ErrorContains(t, compileAdaptiveRouting(t, withoutMemory, "", nil).err, "adaptive routing requires tools.repo-memory") + + live := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", "adaptive-routing: true\n"), "", nil) + require.ErrorContains(t, live.err, "live adaptive routing is not available yet; use observe") +} + +func TestRepoMemoryCannotWriteTheRoutingHistories(t *testing.T) { + for _, memory := range []string{ + " repo-memory:\n branch-name: memory/adaptive-routing/triage\n", + // The root itself would block every history branch. + " repo-memory:\n branch-name: memory/adaptive-routing\n", + } { + source := strings.Replace(adaptiveRoutingSource(" workflow_dispatch", ""), " repo-memory: true\n", memory, 1) + require.ErrorContains(t, compileAdaptiveRouting(t, source, "", nil).err, "memory/adaptive-routing/ is reserved for adaptive routing histories") + } +} + +func TestLoadRepoConfig_AdaptiveRouting(t *testing.T) { + root := t.TempDir() + writeAWJSON(t, root, `{"adaptive_routing": "observe"}`) + config, err := LoadRepoConfig(root) + require.NoError(t, err) + assert.Equal(t, "observe", config.AdaptiveRouting) + + writeAWJSON(t, root, `{"adaptive_routing": false}`) + config, err = LoadRepoConfig(root) + require.NoError(t, err) + assert.Empty(t, config.AdaptiveRouting) + + writeAWJSON(t, root, `{"adaptive_routing": true}`) + _, err = LoadRepoConfig(root) + require.Error(t, err, "live adaptive routing has no repository default yet") +} diff --git a/pkg/workflow/compiler_jobs.go b/pkg/workflow/compiler_jobs.go index 075687c1535..a7faf03346a 100644 --- a/pkg/workflow/compiler_jobs.go +++ b/pkg/workflow/compiler_jobs.go @@ -338,6 +338,10 @@ func (c *Compiler) buildJobs(data *WorkflowData, markdownPath string) error { return err } + if err := c.addPushRoutingHistoryJob(data); err != nil { + return fmt.Errorf("push_routing_history job could not be built: %w", err) + } + if err := c.finalizeBuiltJobs(data); err != nil { return err } @@ -817,6 +821,8 @@ func (c *Compiler) ensureConclusionIsLastJob(hasBrokerReporter bool) error { string(constants.GradersJobName): {}, string(constants.PreActivationJobName): {}, "pre-activation": {}, + // Records the verdict that conclusion's unified session holds. + pushRoutingHistoryJobName: {}, } if hasBrokerReporter { exclude[string(constants.ReportExperimentsJobName)] = struct{}{} diff --git a/pkg/workflow/compiler_orchestrator_workflow.go b/pkg/workflow/compiler_orchestrator_workflow.go index 61dd909f51d..0a09e16653f 100644 --- a/pkg/workflow/compiler_orchestrator_workflow.go +++ b/pkg/workflow/compiler_orchestrator_workflow.go @@ -93,7 +93,7 @@ func newWorkflowBuildContext(parseResult *frontmatterParseResult) *workflowBuild } // setupWorkflowBuildContext initializes engine/tools processing and builds base workflow data. -func (c *Compiler) setupWorkflowBuildContext(ctx *workflowBuildContext) error { +func (c *Compiler) setupWorkflowBuildContext(ctx *workflowBuildContext) error { //nolint:largefunc // Existing orchestration phase remains centralized; unrelated to adaptive routing. connectorConfigs, err := c.resolveWorkflowConnectors(ctx.frontmatter.Frontmatter) if err != nil { return c.formatToolsProcessingError(ctx.cleanPath, err) @@ -342,7 +342,7 @@ func (c *Compiler) populateWorkflowBuildContext(ctx *workflowBuildContext) error // compilation resolve the implicit model-routing default identically. c.applyDefaultModelRouting(ctx) c.applyDynamicModelRouting(ctx) - return nil + return c.applyAdaptiveRouting(ctx) } func (c *Compiler) attachSharedActionResolver(workflowData *WorkflowData) { @@ -612,6 +612,9 @@ func (c *Compiler) extractAdditionalConfigurations( //nolint:largefunc // Existi if err != nil { return err } + if err := validateRepoMemoryBranchesNotReserved(repoMemoryConfig); err != nil { + return err + } workflowData.RepoMemoryConfig = repoMemoryConfig ensureRepoMemoryWritePaths(workflowData.SandboxConfig, repoMemoryConfig) workflowData.LedgerConfig = toolsConfig.Ledger diff --git a/pkg/workflow/jobs.go b/pkg/workflow/jobs.go index 3faa8c9b0c7..d8f632aed0c 100644 --- a/pkg/workflow/jobs.go +++ b/pkg/workflow/jobs.go @@ -22,6 +22,7 @@ const runtimeFeaturesEnvVarExpression = "${{ vars.GH_AW_RUNTIME_FEATURES }}" const pushExperimentsStateJobName = string(constants.PushExperimentsStateJobName) const pushEvalsStateJobName = string(constants.PushEvalsStateJobName) const pushRepoMemoryJobName = string(constants.PushRepoMemoryJobName) +const pushRoutingHistoryJobName = string(constants.PushRoutingHistoryJobName) const pushLedgerChangesJobName = string(constants.PushLedgerChangesJobName) const updateCacheMemoryJobName = string(constants.UpdateCacheMemoryJobName) @@ -42,6 +43,7 @@ var runtimeFeaturesBuiltInJobNames = map[string]struct{}{ string(constants.ReportExperimentsJobName): {}, pushEvalsStateJobName: {}, pushRepoMemoryJobName: {}, + pushRoutingHistoryJobName: {}, pushLedgerChangesJobName: {}, updateCacheMemoryJobName: {}, updateDriveMemoryJobName: {}, diff --git a/pkg/workflow/repo_config.go b/pkg/workflow/repo_config.go index 7f1245bde62..4546e43455d 100644 --- a/pkg/workflow/repo_config.go +++ b/pkg/workflow/repo_config.go @@ -166,6 +166,10 @@ type RepoConfig struct { // Admission overrides admission step generation for all workflows when set. Admission *bool + // AdaptiveRouting is the repository default for adaptive-routing: "observe", or "" when + // unset or false. A workflow's own value or an imported one wins. + AdaptiveRouting string + // SafeOutputAuthorization requires authorization for non-diagnostic safe outputs. SafeOutputAuthorization *SafeOutputAuthorization @@ -303,6 +307,7 @@ func (r *RepoConfig) UnmarshalJSON(data []byte) error { //nolint:largefunc // Po var raw struct { ProtectedFiles RepoProtectedFilesConfig `json:"protected_files,omitzero"` Admission *bool `json:"admission,omitempty"` + AdaptiveRouting any `json:"adaptive_routing,omitempty"` SafeOutputAuthorization json.RawMessage `json:"safe_output_authorization,omitempty"` GatewayDispatch bool `json:"gateway-dispatch,omitempty"` Strict bool `json:"strict,omitempty"` @@ -330,6 +335,9 @@ func (r *RepoConfig) UnmarshalJSON(data []byte) error { //nolint:largefunc // Po r.GatewayDispatch = raw.GatewayDispatch r.ProtectedFiles = raw.ProtectedFiles r.Admission = raw.Admission + if mode, ok := raw.AdaptiveRouting.(string); ok { + r.AdaptiveRouting = mode + } authorization, err := parseRepoSafeOutputAuthorization(raw.SafeOutputAuthorization) if err != nil { return err diff --git a/pkg/workflow/workflow_data.go b/pkg/workflow/workflow_data.go index 7ea2db74eeb..4bae5669414 100644 --- a/pkg/workflow/workflow_data.go +++ b/pkg/workflow/workflow_data.go @@ -184,6 +184,7 @@ type WorkflowData struct { DriveMemoryConfig *DriveMemoryConfig // parsed drive-memory configuration CommentMemoryConfig *CommentMemoryConfig // parsed tools.comment-memory configuration RepoMemoryConfig *RepoMemoryConfig // parsed repo-memory configuration + AdaptiveRouting string // "observe" when push_routing_history records the run in the routing history, else "" Runtimes map[string]any // runtime version overrides from frontmatter ToolsTimeout string // timeout for tool/MCP operations: numeric string (seconds) or GitHub Actions expression (empty = use engine default) ToolsStartupTimeout string // timeout for MCP server startup: numeric string (seconds) or GitHub Actions expression (empty = use engine default) From cadd65d11a7f22fe69ce4d7757e070b941b5ffc7 Mon Sep 17 00:00:00 2001 From: Ryan Beckett Date: Mon, 23 Nov 2026 16:41:42 -0800 Subject: [PATCH 2/6] Infer whether a request's input includes cache when AWF's record does not say AWF's token usage records keep each provider's own input count, which includes cached tokens for some responses and not others. Use AWF's flag when present; otherwise an input count smaller than the cache cannot include it, and any other count is taken to include it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- actions/setup/js/push_routing_history.cjs | 10 +++---- .../setup/js/push_routing_history.test.cjs | 27 ++++++++++--------- .../docs/reference/adaptive-routing.md | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/actions/setup/js/push_routing_history.cjs b/actions/setup/js/push_routing_history.cjs index a854b4b7a5a..597d871714a 100644 --- a/actions/setup/js/push_routing_history.cjs +++ b/actions/setup/js/push_routing_history.cjs @@ -153,8 +153,9 @@ const count = value => (typeof value === "number" && Number.isFinite(value) && v /** * One main request's counts as contract 4 defines them: input excluding cache, cache read, cache * write and output. AWF's records keep each provider's own input count, which includes cache for - * some responses and not others, so the uncached input is known only when the record says which, - * or when the request read and wrote no cache. Otherwise the counts are unknown. + * some responses and not others. The record's flag says which when AWF provides it. Otherwise an + * input count smaller than the cache cannot include it, and any other count is taken to include it, + * which undercounts only a request whose new input exceeds its cached input. * @param {Record} used the record's usage * @returns {number[] | null} */ @@ -165,10 +166,9 @@ function requestTokens(used) { const output = count(used.outputTokens); if (input === null || cacheRead === null || cacheWrite === null || output === null) return null; const cached = cacheRead + cacheWrite; + const includesCache = typeof used.inputTokensIncludeCache === "boolean" ? used.inputTokensIncludeCache : input >= cached; // As AWF's credit meter reads an input count that includes cache. - if (used.inputTokensIncludeCache === true) return [Math.max(0, input - cached), cacheRead, cacheWrite, output]; - if (used.inputTokensIncludeCache === false || cached === 0) return [input, cacheRead, cacheWrite, output]; - return null; + return [includesCache ? Math.max(0, input - cached) : input, cacheRead, cacheWrite, output]; } /** diff --git a/actions/setup/js/push_routing_history.test.cjs b/actions/setup/js/push_routing_history.test.cjs index 4a7c60d5b54..7775008158c 100644 --- a/actions/setup/js/push_routing_history.test.cjs +++ b/actions/setup/js/push_routing_history.test.cjs @@ -107,7 +107,7 @@ function sessionFile(name, outcome, { model = "model-a", aic = 2 } = {}) { const events = [ firewall("firewall.model_routing", { stage: "selection", selectedProvider: "copilot", wireModel: model, selectedEffort: "high" }), firewall("firewall.model_routing", { stage: "request", requestId: "r1", routed: "as_selected", requestedModel: model }), - firewall("firewall.token_usage", { requestId: "r1", provider: "copilot", aic, usage: { inputTokens: 100, cacheReadInputTokens: 900, cacheCreationInputTokens: 0, outputTokens: 50, inputTokensIncludeCache: false } }), + firewall("firewall.token_usage", { requestId: "r1", provider: "copilot", aic, usage: { inputTokens: 100, cacheReadInputTokens: 900, cacheCreationInputTokens: 0, outputTokens: 50 } }), ]; if (outcome) events.unshift({ type: "routing.observation", data: outcome === "skip" ? { outcome, reason: "infrastructure" } : { outcome }, provenance: { component: "collector", phase: "conclusion" } }); const file = path.join(root, `${name}.jsonl`); @@ -168,21 +168,21 @@ describe("push_routing_history evidence", () => { expect(sessionEvidence(events, fixtures.awInfo("39508154330").sub_agent_models)).toEqual({ observation: { outcome: "success" }, pair: "github-copilot/gpt-5.6-luna@max", - cost: { credits: 3.180764, model_credits: 0.652539, tokens: null }, + cost: { credits: 3.180764, model_credits: 0.652539, tokens: [12, 56302, 19159, 506, null] }, }); }); - it("derives run 39147795806's pair and cost, with token counts only once AWF's records say whether input includes cache", () => { - // Its later requests report input that includes the cache read, such as 23,799 with 23,194 cached. + it("derives run 39147795806's pair and cost, counting only new input where its records' input includes the cache", () => { + // Its later requests log input that includes the cache read, such as 23,799 with 23,194 cached. expect(sessionEvidence(fixtureSession("39147795806"))).toEqual({ observation: { outcome: "success" }, pair: "github-copilot/gpt-5.6-luna@max", - cost: { credits: 0.713574, model_credits: 0.713574, tokens: null }, + cost: { credits: 0.713574, model_credits: 0.713574, tokens: [24093, 70857, 0, 750, null] }, }); - expect(sessionEvidence(fixtureSession("39147795806", { includeCache: true })).cost.tokens).toEqual([24093, 70857, 0, 750, null]); + expect(sessionEvidence(fixtureSession("39147795806", { includeCache: false })).cost.tokens).toEqual([94950, 70857, 0, 750, null]); }); - it("counts input without cache as AWF's meter does, and no tokens when a request's input may include cache", () => { + it("counts input without cache as AWF's meter does, inferring whether input includes cache when the record does not say", () => { const firewall = (type, data) => ({ type, data, provenance: { component: "firewall", phase: "agent" } }); const tokens = (...usages) => sessionEvidence([ @@ -193,12 +193,13 @@ describe("push_routing_history evidence", () => { ]), ]).cost.tokens; const uncached = { inputTokens: 23197, cacheReadInputTokens: 0, cacheCreationInputTokens: 0, outputTokens: 400 }; - const inclusive = { inputTokens: 23799, cacheReadInputTokens: 23194, cacheCreationInputTokens: 0, outputTokens: 45, inputTokensIncludeCache: true }; - const exclusive = { inputTokens: 382, cacheReadInputTokens: 19712, cacheCreationInputTokens: 0, outputTokens: 69, inputTokensIncludeCache: false }; - const unflagged = { inputTokens: 382, cacheReadInputTokens: 19712, cacheCreationInputTokens: 0, outputTokens: 69 }; - expect(tokens(inclusive)).toEqual([605, 23194, 0, 45, null]); - expect(tokens(uncached, inclusive, exclusive)).toEqual([24184, 42906, 0, 514, null]); - expect(tokens(uncached, unflagged)).toBeNull(); + // Input that covers the cache can include it; input smaller than the cache cannot. + const covering = { inputTokens: 23799, cacheReadInputTokens: 23194, cacheCreationInputTokens: 0, outputTokens: 45 }; + const smaller = { inputTokens: 382, cacheReadInputTokens: 19712, cacheCreationInputTokens: 0, outputTokens: 69 }; + expect(tokens(uncached, covering, smaller)).toEqual([24184, 42906, 0, 514, null]); + // AWF's flag wins over the inference. + expect(tokens({ ...covering, inputTokensIncludeCache: false })).toEqual([23799, 23194, 0, 45, null]); + expect(tokens({ ...smaller, inputTokensIncludeCache: true })).toEqual([0, 19712, 0, 69, null]); }); it("has no verdict for a run AWF did not route, and no pair to count a verdict for without a selection", () => { diff --git a/docs/src/content/docs/reference/adaptive-routing.md b/docs/src/content/docs/reference/adaptive-routing.md index a4a629b3a7f..e5236f08370 100644 --- a/docs/src/content/docs/reference/adaptive-routing.md +++ b/docs/src/content/docs/reference/adaptive-routing.md @@ -58,7 +58,7 @@ After the run's `conclusion` job has published its unified session, the `push_ro A run counts as a success or a failure only when the verdict says its result was about the selected model. Otherwise its line explains why it did not count, for example `infrastructure`, `cancelled` or `rate_limited`, or `no_agent` when AWF did not route the run or its agent made no request. If a run's own save fails, the next save finds the run in the workflow's run list and records it as `unsaved`. -`state.json` keeps, for each model and effort, its recent outcomes with their credits and token counts, its average cost, current streak and a summary of its success rate. A run's token counts are left empty when AWF's records do not say whether a request's input count includes cached tokens, because providers report it both ways; its credits still count. Editing the workflow starts a new generation: earlier failures are forgiven and successes are kept, and a run of the older definition that finishes late does not count against the new one. Records are shared across routing levels unless the workflow chooses its level at run time, in which case each level keeps its own. +`state.json` keeps, for each model and effort, its recent outcomes with their credits and token counts, its average cost, current streak and a summary of its success rate. Providers report a request's input count either with or without its cached tokens. When AWF's record does not say which, an input count smaller than the cached count is taken to exclude it and any other to include it, so a run's token counts are close but not always exact, while its credits are what AWF priced. Editing the workflow starts a new generation: earlier failures are forgiven and successes are kept, and a run of the older definition that finishes late does not count against the new one. Records are shared across routing levels unless the workflow chooses its level at run time, in which case each level keeps its own. ## The branch From 2b59638bf7d6a0a98397189dc655e5f6ca86ee5b Mon Sep 17 00:00:00 2001 From: Ryan Beckett Date: Mon, 23 Nov 2026 16:44:31 -0800 Subject: [PATCH 3/6] Register gh aw routing before main.go sets help flag text main.go's init sets every command's --help usage. Files' init functions run in file name order, so the routing command's file must sort before main.go, as analysis_value_command.go does. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- cmd/gh-aw/{routing_command.go => analysis_routing_command.go} | 2 ++ 1 file changed, 2 insertions(+) rename cmd/gh-aw/{routing_command.go => analysis_routing_command.go} (58%) diff --git a/cmd/gh-aw/routing_command.go b/cmd/gh-aw/analysis_routing_command.go similarity index 58% rename from cmd/gh-aw/routing_command.go rename to cmd/gh-aw/analysis_routing_command.go index f58503665dc..418a8763e71 100644 --- a/cmd/gh-aw/routing_command.go +++ b/cmd/gh-aw/analysis_routing_command.go @@ -2,6 +2,8 @@ package main import "github.com/github/gh-aw/pkg/cli" +// This file sorts before main.go, so the command exists when main.go's init sets every +// command's help flag text. func init() { command := cli.NewRoutingCommand() command.GroupID = "analysis" From 63de0fe1e11dc2996b982a9cb413331307ee7f60 Mon Sep 17 00:00:00 2001 From: Ryan Beckett Date: Mon, 23 Nov 2026 17:14:12 -0800 Subject: [PATCH 4/6] Address review findings on adaptive routing - Exclude reusable workflows: each caller numbers its own runs. - Refuse memory/adaptive-routing/ branches in repo-memory's clone and save at run time, for branch-name expressions the compiler cannot see through. - Quote the routing job's env values so IDs like null stay strings. - Charge an unsaved run only if it had an enabled history job, so runs from while the repository default was off, or from dry runs, are not charged. - Read a history branch without state.json as empty, and fail the history list on read errors instead of dropping branches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- actions/setup/js/push_repo_memory.cjs | 7 +++++ actions/setup/js/push_repo_memory.test.cjs | 16 ++++++++++ actions/setup/js/push_routing_history.cjs | 9 +++++- .../setup/js/push_routing_history.test.cjs | 30 +++++++++++++++++-- actions/setup/sh/clone_repo_memory_branch.sh | 9 ++++++ .../setup/sh/clone_repo_memory_branch_test.sh | 15 +++++++++- .../docs/reference/adaptive-routing.md | 7 +++-- .../src/content/docs/reference/repo-memory.md | 2 +- pkg/cli/routing_command.go | 18 ++++++++--- pkg/cli/routing_command_test.go | 21 +++++++++++++ pkg/workflow/adaptive_routing.go | 12 +++++--- pkg/workflow/adaptive_routing_test.go | 11 +++++-- 12 files changed, 138 insertions(+), 19 deletions(-) diff --git a/actions/setup/js/push_repo_memory.cjs b/actions/setup/js/push_repo_memory.cjs index a15f23cf9db..24d3b1ea8df 100644 --- a/actions/setup/js/push_repo_memory.cjs +++ b/actions/setup/js/push_repo_memory.cjs @@ -20,6 +20,7 @@ const { loadTemporaryIdMapFromFile, replaceTemporaryIdReferencesInPatch } = requ // Matches .jsonl in any letter case, like the persistence filters do. const JSONL_MERGE_ATTRIBUTE = "*.[jJ][sS][oO][nN][lL] merge=union"; const JSONL_PATH_PATTERN = /\.jsonl$/i; +const ADAPTIVE_ROUTING_BRANCH_ROOT = "memory/adaptive-routing"; function setOutput(name, value) { if (typeof core.setOutput === "function") core.setOutput(name, value); @@ -756,6 +757,12 @@ async function main() { await setPushRepoMemoryFailure(`ERR_VALIDATION: Branch name "${branchName}" is only valid for wiki repositories (TARGET_REPO must end with ".wiki", got "${targetRepo}")`); return; } + // Adaptive routing histories are written only by push_routing_history and gh aw routing reset; the + // compiler rejects literal branch names there, and this catches expressions that resolve to one. + if (branchName === ADAPTIVE_ROUTING_BRANCH_ROOT || branchName.startsWith(`${ADAPTIVE_ROUTING_BRANCH_ROOT}/`)) { + await setPushRepoMemoryFailure(`ERR_VALIDATION: Branch "${branchName}" is reserved for adaptive routing histories; repo-memory cannot write it`); + return; + } // Validate target repository against allowlist const allowedReposEnv = process.env.REPO_MEMORY_ALLOWED_REPOS?.trim(); diff --git a/actions/setup/js/push_repo_memory.test.cjs b/actions/setup/js/push_repo_memory.test.cjs index 23641b3c2fc..abd352968c2 100644 --- a/actions/setup/js/push_repo_memory.test.cjs +++ b/actions/setup/js/push_repo_memory.test.cjs @@ -1752,6 +1752,22 @@ describe("push_repo_memory.cjs - shell injection security tests", () => { expect(mockExecGitSync).not.toHaveBeenCalled(); }); + it("should refuse an adaptive routing history branch, as an expression could resolve to one", async () => { + process.env.BRANCH_NAME = "memory/adaptive-routing/triage"; + process.env.TARGET_REPO = "test-owner/test-repo"; + + mockFs.existsSync.mockReturnValue(false); + + vi.doMock("fs", () => mockFs); + vi.doMock("./git_helpers.cjs", () => ({ execGitSync: mockExecGitSync })); + + const { main } = await import("./push_repo_memory.cjs"); + await main(); + + expect(mockCore.setFailed).toHaveBeenCalledWith(expect.stringContaining("reserved for adaptive routing histories")); + expect(mockExecGitSync).not.toHaveBeenCalled(); + }); + it("should accept custom branch-prefix branches like campaigns/metrics", () => { // The Go compiler supports custom branch-prefix values (e.g. "campaigns") so // generated branch names like "campaigns/metrics" must pass validation. diff --git a/actions/setup/js/push_routing_history.cjs b/actions/setup/js/push_routing_history.cjs index 597d871714a..477157d54de 100644 --- a/actions/setup/js/push_routing_history.cjs +++ b/actions/setup/js/push_routing_history.cjs @@ -33,6 +33,8 @@ const RUNS_FILE = "runs.jsonl"; const DEFAULT_SESSION_FILE = "/tmp/gh-aw/usage/aw_session.jsonl"; const EMPTY_TREE = "4b825dc642cb6eb9a060e54bf8d69288fbee4904"; const CLASSIFIER_PURPOSE = "routing_classification"; +// The job that runs this script, as the jobs API names it. +const WRITER_JOB = "push_routing_history"; const LEVELS = new Set(["economy", "balanced", "robust"]); const MODES = new Set(["observe"]); const SAVED_CONCLUSIONS = new Set(["success", "skipped", "neutral"]); @@ -300,7 +302,8 @@ async function checkoutHistoryBranch({ githubClient, owner, repo, branch, worksp * Completed runs on the newest page that the history may need to charge because their own save * never landed (contract 5): first attempts from the default branch, judged by their first attempt, * above both fences and not yet written. Only those that did not succeed need a jobs call, to tell - * an agent that ran from one that never started. + * an agent that ran from one that never started, and a run whose history job was compiled in and + * enabled from one that had none. * @param {{githubClient: any, owner: string, repo: string, workflowFile: string, defaultBranch: string, runId: string, state: HistoryState, runs: any[], generation: string}} options */ async function listRuns({ githubClient, owner, repo, workflowFile, defaultBranch, runId, state, runs, generation }) { @@ -326,6 +329,10 @@ async function listRuns({ githubClient, owner, repo, workflowFile, defaultBranch if (!SAVED_CONCLUSIONS.has(listed.conclusion)) { const jobs = await githubClient.paginate(githubClient.rest.actions.listJobsForWorkflowRunAttempt, { owner, repo, run_id: run.id, attempt_number: 1, per_page: 100 }); listed.agent_ran = jobs.some((/** @type {any} */ job) => job?.name === "agent" && job.conclusion !== "skipped" && Boolean(job.started_at)); + const writer = jobs.find((/** @type {any} */ job) => job?.name === WRITER_JOB); + // A run compiled while adaptive routing was off has no history job, and a dry run's is disabled + // even though its agent ran: neither run owes the history a line. + if (!writer || (writer.conclusion === "skipped" && listed.agent_ran)) continue; } listing.push(listed); } diff --git a/actions/setup/js/push_routing_history.test.cjs b/actions/setup/js/push_routing_history.test.cjs index 7775008158c..ee042634d88 100644 --- a/actions/setup/js/push_routing_history.test.cjs +++ b/actions/setup/js/push_routing_history.test.cjs @@ -346,9 +346,18 @@ describe("push_routing_history saves", () => { ], attempts: { 9055: { conclusion: "failure" } }, jobs: { - 9055: [{ name: "agent", conclusion: "failure", started_at: "2026-11-24T09:00:00Z" }], - 9052: [{ name: "agent", conclusion: "skipped", started_at: null }], - 9051: [{ name: "agent", conclusion: "cancelled", started_at: "2026-11-24T09:00:00Z" }], + 9055: [ + { name: "agent", conclusion: "failure", started_at: "2026-11-24T09:00:00Z" }, + { name: "push_routing_history", conclusion: "failure", started_at: "2026-11-24T09:10:00Z" }, + ], + 9052: [ + { name: "agent", conclusion: "skipped", started_at: null }, + { name: "push_routing_history", conclusion: "skipped", started_at: null }, + ], + 9051: [ + { name: "agent", conclusion: "cancelled", started_at: "2026-11-24T09:00:00Z" }, + { name: "push_routing_history", conclusion: "failure", started_at: "2026-11-24T09:10:00Z" }, + ], }, }); await save(remote, 56, "success", { github }); @@ -373,6 +382,21 @@ describe("push_routing_history saves", () => { expect(github.calls.jobs).toEqual([]); expect(remoteRuns(remote).map(line => line.number)).toEqual([5]); }); + + it("does not charge failed runs compiled without the history job, or with it disabled for a dry run", async () => { + const remote = bareRemote(); + await save(remote, 50, "success"); + const run = number => ({ id: 9000 + number, run_number: number, status: "completed", conclusion: "failure", head_branch: "main", event: "schedule", run_attempt: 1 }); + const agent = { name: "agent", conclusion: "failure", started_at: "2026-11-24T09:00:00Z" }; + const github = fakeGitHub(remote, { + runs: [run(52), run(51)], + // Run 51 ran while the repository default was off; run 52 came from a dry-run compilation. + jobs: { 9051: [agent], 9052: [agent, { name: "push_routing_history", conclusion: "skipped", started_at: null }] }, + }); + await save(remote, 53, "success", { github }); + expect(remoteRuns(remote).map(line => line.number)).toEqual([50, 53]); + expect(remoteState(remote).unexplained).toBe(0); + }); }); describe("routing history under concurrent writers", () => { diff --git a/actions/setup/sh/clone_repo_memory_branch.sh b/actions/setup/sh/clone_repo_memory_branch.sh index 5c22114d397..2c5ff1db034 100644 --- a/actions/setup/sh/clone_repo_memory_branch.sh +++ b/actions/setup/sh/clone_repo_memory_branch.sh @@ -99,6 +99,15 @@ if [ -z "$BRANCH_NAME" ]; then exit 1 fi +# Adaptive routing histories are written only by push_routing_history and gh aw routing reset, +# so an agent's memory must never check one out, even through a branch-name expression. +case "$BRANCH_NAME" in + memory/adaptive-routing | memory/adaptive-routing/*) + echo "ERROR: Branch $BRANCH_NAME is reserved for adaptive routing histories; repo-memory cannot use it" + exit 1 + ;; +esac + if [ -z "$TARGET_REPO" ]; then echo "ERROR: TARGET_REPO environment variable is required" exit 1 diff --git a/actions/setup/sh/clone_repo_memory_branch_test.sh b/actions/setup/sh/clone_repo_memory_branch_test.sh index e9be0151557..9f4c0137002 100644 --- a/actions/setup/sh/clone_repo_memory_branch_test.sh +++ b/actions/setup/sh/clone_repo_memory_branch_test.sh @@ -66,11 +66,12 @@ assert() { run_script() { local memory_dir="$1" local ls_remote_mode="${2:-missing}" + local branch_name="${3:-repo-memory-test}" local output_file="${memory_dir}.output" rm -f "${output_file}" GITHUB_OUTPUT="${output_file}" \ GH_TOKEN="test-token" \ - BRANCH_NAME="repo-memory-test" \ + BRANCH_NAME="${branch_name}" \ TARGET_REPO="octo/test" \ MEMORY_DIR="${memory_dir}" \ CREATE_ORPHAN="true" \ @@ -218,6 +219,18 @@ assert "remote verification failure does not create git metadata" "[ ! -e '${D}/ assert "remote verification failure remains untrusted" "grep -q '^cloned=false$' '${D}.output'" echo "" +echo "Test 10: Adaptive routing history branches are refused" +D="${WORKSPACE}/test10" +if OUTPUT="$(run_script "${D}" exists memory/adaptive-routing/triage)"; then + RESERVED_STATUS=0 +else + RESERVED_STATUS=$? +fi +assert "reserved branch exits unsuccessfully" "[ '${RESERVED_STATUS}' -ne 0 ]" +assert "reserved branch is named in the error" "printf '%s' \"${OUTPUT}\" | grep -q 'reserved for adaptive routing histories'" +assert "reserved branch is not cloned" "[ ! -e '${D}/.git' ]" +echo "" + echo "Tests passed: ${TESTS_PASSED}" echo "Tests failed: ${TESTS_FAILED}" diff --git a/docs/src/content/docs/reference/adaptive-routing.md b/docs/src/content/docs/reference/adaptive-routing.md index e5236f08370..f9ef79b6097 100644 --- a/docs/src/content/docs/reference/adaptive-routing.md +++ b/docs/src/content/docs/reference/adaptive-routing.md @@ -44,7 +44,7 @@ A workflow's own value wins, including `adaptive-routing: false`, then the first ## Which workflows take part -A workflow takes part when its main agent's model is chosen by AWF model routing on a Copilot, Claude, or Codex engine: `model: router`, a fixed level such as `router/balanced`, the [default routing](/gh-aw/reference/model-routing/#default-routing-for-workflows-without-a-model) for workflows without a model, or a model expression that resolves to a router value. It must also enable `tools.repo-memory`, and it must not be a work-queue worker or run [experiments](/gh-aw/reference/experiments/). A workflow that sets `adaptive-routing: observe` itself, or through an import, fails to compile with the reason when it does not qualify; the repository default skips such workflows silently. +A workflow takes part when its main agent's model is chosen by AWF model routing on a Copilot, Claude, or Codex engine: `model: router`, a fixed level such as `router/balanced`, the [default routing](/gh-aw/reference/model-routing/#default-routing-for-workflows-without-a-model) for workflows without a model, or a model expression that resolves to a router value. It must also enable `tools.repo-memory`, and it must not be a work-queue worker, a reusable workflow (`on: workflow_call`), or run [experiments](/gh-aw/reference/experiments/). A workflow that sets `adaptive-routing: observe` itself, or through an import, fails to compile with the reason when it does not qualify; the repository default skips such workflows silently. At run time, gh-aw records only the first attempt of a run whose workflow definition comes from the default branch, so re-runs and pull request runs are not recorded. Every first attempt is recorded once the agent job has run, whether the run succeeded or failed. @@ -64,7 +64,7 @@ A run counts as a success or a failure only when the verdict says its result was Each workflow's history lives on its own branch, `memory/adaptive-routing/`, named after the lock file without `.lock.yml`, so renaming the workflow file starts a new history. The first save creates the branch from its own root commit, and every commit is made through the GitHub API, which signs it. gh-aw never force-pushes or deletes the branch. -The agent never sees or writes the history. The branch is not checked out for the agent and is not in its prompt, and no repo-memory entry may use a branch under `memory/adaptive-routing/`, so the agent's own memory can never reach it. +The agent never sees or writes the history. The branch is not checked out for the agent and is not in its prompt, and no repo-memory entry may use a branch under `memory/adaptive-routing/`, whether it names one directly or through an expression that resolves to one at run time, so the agent's own memory can never reach it. ## The added job and permission @@ -91,5 +91,6 @@ gh aw routing status issue-triage ## Limits - Observe mode only records evidence; it never changes which model runs and makes no recommendation. -- A history belongs to one workflow file in one repository; renaming the file starts a new history. +- A history belongs to one workflow file in one repository; renaming the file starts a new history. Reusable workflows (`on: workflow_call`) cannot take part, because each caller numbers its own runs. - A run that ends before the agent job starts, or whose usage artifact was never published, is not recorded by its own save. +- A save that fails is charged as `unsaved` by a later save that finds the run among the workflow's 100 newest runs on the default branch. Runs that `pull_request_target` started are listed under the pull request's branch, so their failed saves are not charged. diff --git a/docs/src/content/docs/reference/repo-memory.md b/docs/src/content/docs/reference/repo-memory.md index 1c8ccf05c8d..88487c089f8 100644 --- a/docs/src/content/docs/reference/repo-memory.md +++ b/docs/src/content/docs/reference/repo-memory.md @@ -89,7 +89,7 @@ tools: `branch-prefix` changes the default `memory` prefix and must be 4-32 alphanumeric, hyphen, or underscore characters; it cannot be `copilot`. `allowed-extensions` limits which file types can be stored, `format-json: true` pretty-prints `.json` files before commit, `validation.json-schemas` declares mandatory per-file JSON/JSONL validation, `validation.script` runs an optional custom JavaScript domain validator, and `max-patch-size` caps the total diff size for one push (default 10KB, max 1MB) to prevent oversized updates. -Branches under `memory/adaptive-routing/` are reserved for [adaptive routing](/gh-aw/reference/adaptive-routing/) histories, which only gh-aw writes, so a repo-memory entry whose branch is `memory/adaptive-routing` or under it fails to compile. Adaptive routing itself requires `tools.repo-memory`. +Branches under `memory/adaptive-routing/` are reserved for [adaptive routing](/gh-aw/reference/adaptive-routing/) histories, which only gh-aw writes, so a repo-memory entry whose branch is `memory/adaptive-routing` or under it fails to compile, and a branch-name expression that resolves to one fails the clone and the save at run time. Adaptive routing itself requires `tools.repo-memory`. ## GitHub App authentication diff --git a/pkg/cli/routing_command.go b/pkg/cli/routing_command.go index f39e80a6c78..6d0adf6cd24 100644 --- a/pkg/cli/routing_command.go +++ b/pkg/cli/routing_command.go @@ -270,6 +270,10 @@ func routingBranch(workflowID string) (string, error) { func readRoutingState(ctx context.Context, api routingAPI, head, workflowID string) (*routingHistoryState, error) { data, err := api.ReadFile(ctx, head, "state.json") + if errors.Is(err, os.ErrNotExist) { + // The writer creates the branch before its first save lands, so the branch can exist empty. + return &routingHistoryState{V: 2, Workflow: workflowID, Scopes: map[string]*routingHistoryScope{}}, nil + } if err != nil { return nil, fmt.Errorf("could not read state.json: %w", err) } @@ -463,14 +467,20 @@ func runRoutingList(ctx context.Context, api routingAPI, out io.Writer, jsonOutp entries := []RoutingHistoryListEntry{} for _, branch := range branches { workflowID := strings.TrimPrefix(branch, routingHistoryBranchPrefix) - head, err := api.BranchHead(ctx, branch) - if err != nil || head == "" { + if _, err := routingBranch(workflowID); err != nil { + routingLog.Printf("Skipping %s: not a workflow's history branch", branch) continue } + head, err := api.BranchHead(ctx, branch) + if err != nil { + return err + } + if head == "" { + continue // deleted since it was listed + } state, err := readRoutingState(ctx, api, head, workflowID) if err != nil { - routingLog.Printf("Skipping %s: %v", branch, err) - continue + return fmt.Errorf("%s: %w", branch, err) } entry := RoutingHistoryListEntry{Workflow: workflowID, Branch: branch, Scopes: len(state.Scopes), LastRun: state.LastRun, Unexplained: state.Unexplained} for _, scope := range state.Scopes { diff --git a/pkg/cli/routing_command_test.go b/pkg/cli/routing_command_test.go index f8f022d95be..931a7582040 100644 --- a/pkg/cli/routing_command_test.go +++ b/pkg/cli/routing_command_test.go @@ -122,6 +122,27 @@ func TestRoutingCommandsRefuseMissingHistoriesAndBadIDs(t *testing.T) { assert.Empty(t, api.commits) } +func TestRoutingStatusReadsABranchWhoseFirstSaveNeverLanded(t *testing.T) { + // The writer creates the branch from an empty root commit before its first save. + api := &fakeRoutingAPI{heads: map[string]string{"memory/adaptive-routing/triage": "root01"}} + var out bytes.Buffer + require.NoError(t, runRoutingStatus(context.Background(), api, "triage", &out, true)) + var status RoutingStatus + require.NoError(t, json.Unmarshal(out.Bytes(), &status)) + assert.Empty(t, status.Scopes) + assert.Zero(t, status.Recent.Runs) + + out.Reset() + require.NoError(t, runRoutingList(context.Background(), api, &out, true)) + assert.JSONEq(t, `[{"workflow": "triage", "branch": "memory/adaptive-routing/triage", "scopes": 0, "pairs": 0, "last_run": 0, "unexplained": 0, "updated_at": ""}]`, out.String()) +} + +func TestRoutingStatusListReportsHistoriesItCannotRead(t *testing.T) { + api := exampleRoutingAPI() + api.files["abc123:state.json"] = `{"v": 3, "workflow": "pr-sous-chef"}` + require.ErrorContains(t, runRoutingList(context.Background(), api, &bytes.Buffer{}, true), "memory/adaptive-routing/pr-sous-chef: state.json is not a version 2 routing history") +} + func TestRoutingResetCommitsWhatTheWriterWould(t *testing.T) { // The reducer's reset vector pins the state gh aw routing reset writes. data, err := os.ReadFile(filepath.Join("..", "..", "actions", "setup", "js", "fixtures", "routing-history", "aw2-reducer.json")) diff --git a/pkg/workflow/adaptive_routing.go b/pkg/workflow/adaptive_routing.go index 3bd82dfa709..0cbe10ee26c 100644 --- a/pkg/workflow/adaptive_routing.go +++ b/pkg/workflow/adaptive_routing.go @@ -88,6 +88,9 @@ func adaptiveRoutingIneligibility(data *WorkflowData) string { if len(data.Experiments) > 0 { return "workflows that run experiments are not supported" } + if hasWorkflowCallTrigger(data.On) { + return "reusable workflows (on: workflow_call) are not supported, because each caller numbers its own runs" + } if id := data.WorkflowID; len(id) > 100 || strings.HasSuffix(id, ".lock") || !adaptiveRoutingWorkflowIDPattern.MatchString(id) { return fmt.Sprintf("the workflow ID %q cannot name a history branch", id) } @@ -192,11 +195,12 @@ func (c *Compiler) buildPushRoutingHistorySteps(data *WorkflowData) []string { step.WriteString(" uses: " + getCachedActionPin("actions/github-script", data) + "\n") step.WriteString(" env:\n") step.WriteString(" GH_TOKEN: ${{ github.token }}\n") - step.WriteString(" GH_AW_ROUTING_WORKFLOW: " + data.WorkflowID + "\n") + // Quoted, so a workflow ID such as null or 1e3 stays a string. + fmt.Fprintf(&step, " GH_AW_ROUTING_WORKFLOW: %q\n", data.WorkflowID) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. fmt.Fprintf(&step, " GH_AW_ROUTING_GENERATION: %q\n", data.FrontmatterHash+":"+data.BodyHash) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. - step.WriteString(" GH_AW_ROUTING_MODE: " + data.AdaptiveRouting + "\n") - step.WriteString(" GH_AW_ROUTING_ENGINE: " + engineID + "\n") - step.WriteString(" GH_AW_ROUTING_GOAL: " + data.EngineConfig.ModelRouting.Goal + "\n") + fmt.Fprintf(&step, " GH_AW_ROUTING_MODE: %q\n", data.AdaptiveRouting) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. + fmt.Fprintf(&step, " GH_AW_ROUTING_ENGINE: %q\n", engineID) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. + fmt.Fprintf(&step, " GH_AW_ROUTING_GOAL: %q\n", data.EngineConfig.ModelRouting.Goal) //nolint:fprintferrorunchecked // strings.Builder writes cannot fail. // A level chosen at run time keeps its own records; otherwise levels share them. if isModelRoutingDynamic(data) { step.WriteString(" GH_AW_ROUTING_LEVEL: ${{ " + modelRoutingModeDownstream + " }}\n") diff --git a/pkg/workflow/adaptive_routing_test.go b/pkg/workflow/adaptive_routing_test.go index 1b9afdd907e..96383c14a83 100644 --- a/pkg/workflow/adaptive_routing_test.go +++ b/pkg/workflow/adaptive_routing_test.go @@ -155,17 +155,24 @@ func TestAdaptiveRoutingFromAnImport(t *testing.T) { func TestAdaptiveRoutingIneligibleWorkflows(t *testing.T) { tests := []struct { name string + on string frontmatter string reason string }{ {name: "fixed model", frontmatter: "model: gpt-5.4\n", reason: "its primary model is not chosen by model routing"}, {name: "routing turned off", frontmatter: "model-routing: false\n", reason: "its primary model is not chosen by model routing"}, + // Each caller numbers its own runs, so their runs cannot share one history. + {name: "reusable workflow", on: " workflow_call", reason: "reusable workflows (on: workflow_call) are not supported"}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - explicit := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", tt.frontmatter+"adaptive-routing: observe\n"), "", nil) + on := tt.on + if on == "" { + on = " workflow_dispatch" + } + explicit := compileAdaptiveRouting(t, adaptiveRoutingSource(on, tt.frontmatter+"adaptive-routing: observe\n"), "", nil) require.ErrorContains(t, explicit.err, tt.reason) - defaulted := compileAdaptiveRouting(t, adaptiveRoutingSource(" workflow_dispatch", tt.frontmatter), `{"adaptive_routing": "observe"}`, nil) + defaulted := compileAdaptiveRouting(t, adaptiveRoutingSource(on, tt.frontmatter), `{"adaptive_routing": "observe"}`, nil) require.NoError(t, defaulted.err, "a repository default skips the workflow silently") assert.NotContains(t, defaulted.lock, pushRoutingHistoryJobName) }) From 985e56116986d603a80c98a00c9e4fbb1da549af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:48:44 +0000 Subject: [PATCH 5/6] Apply filtered changes --- .../80583-adaptive-routing-observe-history.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 docs/adr/80583-adaptive-routing-observe-history.md diff --git a/docs/adr/80583-adaptive-routing-observe-history.md b/docs/adr/80583-adaptive-routing-observe-history.md new file mode 100644 index 00000000000..1249c90efd8 --- /dev/null +++ b/docs/adr/80583-adaptive-routing-observe-history.md @@ -0,0 +1,60 @@ +# ADR-80583: Record Routed Runs in an Adaptive Routing History (Observe Mode) + +**Date**: 2026-11-24 +**Status**: Draft +**Deciders**: rabeckett (PR author) +**Related**: [Issue #80554](https://github.com/github/gh-aw/issues/80554), [PR #80583](https://github.com/github/gh-aw/pull/80583), [ADR-80468](80468-record-routing-observation-verdict.md) + +## Context + +A routed workflow lets a router pick the model and effort for its main agent. Before a router can act on its own picks (live mode), maintainers need evidence about how each pick performs: whether the run's result was evidence about the pair AWF selected, what the run cost, and why a run did not count. Issue #80554 asks for that evidence to be recorded for every eligible run, not a sample, while the workflow keeps running the ordinary pick. + +Forces: + +- Every eligible run must be recorded, including runs that did not count, and each run must count at most once across re-runs, repeated saves, and concurrent saves. +- The agent must not be able to edit its own record, so the write belongs in a trusted job that runs after the agent finishes. +- The history must be stored where maintainers expect stored state: a repo-memory branch per workflow, readable with a read-only command. +- An edit that fixes a workflow should forgive earlier failures but keep successes. A late run of an older definition must not count against the new one. +- The verdict (ADR-80468), the selected pair, and the cost already exist in the run's unified session, so the history should reuse them rather than add a second accounting path. +- Live mode, selection receipts, and the firewall's adaptive selection are not yet available (PR body: AW-3, github/gh-aw-firewall#12027). + +## Decision + +Add an `adaptive-routing: observe` workflow setting, with a repository default in `.github/workflows/aw.json`, that: + +1. Keeps the router's ordinary pick unchanged. Observe mode never changes which model runs. +2. Requires `tools.repo-memory`. Only workflows whose main model the router picks, on a Copilot, Claude, or Codex engine, are eligible. Work-queue workers, reusable workflows (`on: workflow_call`), and workflows that run experiments are not. An explicit opt-in that cannot work fails to compile with the reason; the repository default skips such workflows silently. `adaptive-routing: true` is reserved for live mode and fails to compile. +3. Adds one `push_routing_history` job after `conclusion`, with `contents: write` and `actions: read`. It reads the run's routing verdict, the model and effort AWF selected, and the AWF-priced cost from the unified session, then saves them to `memory/adaptive-routing/` (`state.json` and `runs.jsonl`) through repo-memory's save loop. The agent job, its prompt, and its permissions are unchanged. +4. Adds an opt-in `reapply` option to repo-memory's save loop, used only by this job. When another run moved the branch first, the loop resets to the new head and applies this run again to the newest files. Repo-memory's own saves do not use it. +5. Reserves the `memory/adaptive-routing/` branch namespace. The compiler rejects it as a repo-memory branch, and repo-memory refuses it at run time. +6. Records only first attempts whose workflow definition comes from the default branch. Runs that do not count say why (for example `infrastructure`, `cancelled`, `rate_limited`, `no_agent`). Editing the workflow starts a new generation; `gh aw routing reset` fences off all earlier runs. +7. Adds `gh aw routing status` (read-only) and `gh aw routing reset`. Status reports no recommendation until live routing exists. +8. Records per-run token counts, counting new input tokens as AWF's credit meter does, so that live mode can later estimate the cost of an untried model. + +Workflows that do not opt in compile exactly as before. + +## Alternatives Considered + +1. **Act on the router's picks now (live routing).** Rejected for this step. No recorded evidence yet justifies changing which model runs. Live mode and selection receipts are deferred to AW-3. +2. **Write the history from the agent job.** Rejected. The agent could edit its own record, and its permissions and prompt would have to change. The write moves to a trusted job that runs after the agent finishes. +3. **Record a sample of eligible runs.** Rejected by the issue's requirement to record every eligible run. A sample can miss the rare failures that a later live mode would act on. +4. **Keep the history only in per-run workflow artifacts.** Not adopted. Artifacts are scoped to a single run and do not form a cumulative, maintainer-readable history. This PR does not evaluate their retention. + +## Consequences + +Positive: + +- Maintainers can read `gh aw routing status` to see what each routed pick achieved and what it cost before any routing change is made. +- The agent cannot write its own record, and each run counts once across re-runs, repeated saves, and concurrent saves. +- Workflows that do not opt in compile exactly as before, with no new branches, jobs, permissions, or writes. The PR's drift check found every lock file in the repository unchanged. + +Negative: + +- Each opted-in workflow gains a job with `contents: write`, and every eligible run adds a signed commit to `memory/adaptive-routing/`. History grows with run volume. No retention or size limit is defined in this PR. +- The `reapply` option and the reserved namespace add logic to repo-memory's shared save loop. +- Token-count estimates can undercount a request whose new input exceeds its cached input (PR body). + +Unknown context (not established by the PR evidence): + +- How branch rulesets on `memory/**` interact with the job's writes. Issue #80554 asks for this to be documented; it is not covered in the PR body or diff. +- Retention and storage limits for the history branch. From bb6e52a574fe995418241e83d61ea80ed2b69e64 Mon Sep 17 00:00:00 2001 From: Ryan Beckett Date: Mon, 23 Nov 2026 17:54:12 -0800 Subject: [PATCH 6/6] Address review bot findings; finalize ADR-80583 - Accept routing.observation only with collector provenance and phase conclusion, as T-UAS-094 requires. - Recover failed saves from pull_request_target runs, listed under the pull request's branch, and charge a run only when its history job ran and did not succeed: a job that succeeded saved the run or declined it. - Name an unrenamed provider as AWF wrote it, even one that matches an inherited object property. - Remove the reducer's unused resetState; gh aw routing reset is the implementation, and its Go test checks the reset vector. - Finalize the ADR: accepted, with the re-apply alternative, the documented rulesets and retention bounds, and the recovery limits. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- actions/setup/js/push_routing_history.cjs | 41 ++++++++++------ .../setup/js/push_routing_history.test.cjs | 48 ++++++++++++++++++- actions/setup/js/routing_history.cjs | 13 ----- actions/setup/js/routing_history.test.cjs | 7 +-- .../80583-adaptive-routing-observe-history.md | 30 ++++++------ .../docs/reference/adaptive-routing.md | 2 +- pkg/cli/routing_command.go | 2 +- 7 files changed, 91 insertions(+), 52 deletions(-) diff --git a/actions/setup/js/push_routing_history.cjs b/actions/setup/js/push_routing_history.cjs index 477157d54de..76f4520033a 100644 --- a/actions/setup/js/push_routing_history.cjs +++ b/actions/setup/js/push_routing_history.cjs @@ -117,7 +117,8 @@ function sessionEvidence(events, subAgentModels) { * @returns {Record[]} */ const agentRecords = type => events.flatMap(event => (isRecord(event) && event.type === type && isRecord(event.data) && event.provenance?.component === "firewall" && event.provenance?.phase === "agent" ? [event.data] : [])); - const verdict = events.filter(event => isRecord(event) && event.type === "routing.observation" && isRecord(event.data)).at(-1); + // T-UAS-094: only the conclusion job's collector emits the verdict; any other source is dropped. + const verdict = events.filter(event => isRecord(event) && event.type === "routing.observation" && isRecord(event.data) && event.provenance?.component === "collector" && event.provenance?.phase === "conclusion").at(-1); // routing_analytics attributes AWF's records by their raw field names. /** @type {Record[]} */ const routing = agentRecords("firewall.model_routing").map(record => ({ ...record, request_id: record.requestId, requested_model: record.requestedModel })); @@ -146,7 +147,9 @@ function pairName(selection) { const model = selection.wireModel; if (typeof provider !== "string" || !provider || typeof model !== "string" || !model) return null; const effort = typeof selection.selectedEffort === "string" && selection.selectedEffort ? selection.selectedEffort : "none"; - return `${PROVIDER_NAMES[provider] ?? provider}/${model}@${effort}`; + // Own keys only: an inherited name such as `constructor` is an ordinary provider key. + const name = Object.hasOwn(PROVIDER_NAMES, provider) ? PROVIDER_NAMES[provider] : provider; + return `${name}/${model}@${effort}`; } /** @param {unknown} value @returns {number | null} */ @@ -299,24 +302,33 @@ async function checkoutHistoryBranch({ githubClient, owner, repo, branch, worksp } /** - * Completed runs on the newest page that the history may need to charge because their own save - * never landed (contract 5): first attempts from the default branch, judged by their first attempt, - * above both fences and not yet written. Only those that did not succeed need a jobs call, to tell - * an agent that ran from one that never started, and a run whose history job was compiled in and - * enabled from one that had none. + * Completed runs on the newest pages that the history may need to charge because their own save + * never landed (contract 5): first attempts whose definition comes from the default branch, judged + * by their first attempt, above both fences and not yet written. Runs that `pull_request_target` + * started are listed under the pull request's branch, so they come from a second page. Only runs + * that did not succeed need a jobs call, to tell an agent that ran from one that never started, and + * a history job that failed from one that saved or declined the run, or that the run never had. * @param {{githubClient: any, owner: string, repo: string, workflowFile: string, defaultBranch: string, runId: string, state: HistoryState, runs: any[], generation: string}} options */ async function listRuns({ githubClient, owner, repo, workflowFile, defaultBranch, runId, state, runs, generation }) { // A run that starts a generation fences off every earlier run. const sinceRun = state.generation?.hash === generation ? state.generation.since_run : Infinity; const written = new Set(runs.map(line => line.run)); - const { data } = await githubClient.rest.actions.listWorkflowRuns({ owner, repo, workflow_id: workflowFile, branch: defaultBranch, per_page: 100 }); + const pages = await Promise.all([ + githubClient.rest.actions.listWorkflowRuns({ owner, repo, workflow_id: workflowFile, branch: defaultBranch, per_page: 100 }), + githubClient.rest.actions.listWorkflowRuns({ owner, repo, workflow_id: workflowFile, event: "pull_request_target", per_page: 100 }), + ]); + const seen = new Set(); const listing = []; - for (const run of data.workflow_runs || []) { + for (const run of pages.flatMap(page => page.data.workflow_runs || [])) { const id = String(run.id); - if (id === runId || run.status !== "completed" || written.has(id) || run.head_branch !== defaultBranch) continue; - // Their definitions come from the pull request, not the default branch. + if (seen.has(id)) continue; + seen.add(id); + if (id === runId || run.status !== "completed" || written.has(id)) continue; + // A pull_request run's definition comes from the pull request, and a pull_request_target run's + // from the branch it targets, which its history job checks. if (/^pull_request(?!_target)/.test(run.event || "")) continue; + if (run.event !== "pull_request_target" && run.head_branch !== defaultBranch) continue; if (run.run_number <= state.reset_after_run || run.run_number <= sinceRun) continue; let conclusion = run.conclusion; // A successful re-run can hide a failed first save. @@ -330,9 +342,10 @@ async function listRuns({ githubClient, owner, repo, workflowFile, defaultBranch const jobs = await githubClient.paginate(githubClient.rest.actions.listJobsForWorkflowRunAttempt, { owner, repo, run_id: run.id, attempt_number: 1, per_page: 100 }); listed.agent_ran = jobs.some((/** @type {any} */ job) => job?.name === "agent" && job.conclusion !== "skipped" && Boolean(job.started_at)); const writer = jobs.find((/** @type {any} */ job) => job?.name === WRITER_JOB); - // A run compiled while adaptive routing was off has no history job, and a dry run's is disabled - // even though its agent ran: neither run owes the history a line. - if (!writer || (writer.conclusion === "skipped" && listed.agent_ran)) continue; + // Nothing is owed by a run compiled while adaptive routing was off (no history job), a dry run + // (job disabled though the agent ran), or a run whose job succeeded: it saved the run, or + // declined it, as for a pull request into another branch. + if (!writer || writer.conclusion === "success" || (writer.conclusion === "skipped" && listed.agent_ran)) continue; } listing.push(listed); } diff --git a/actions/setup/js/push_routing_history.test.cjs b/actions/setup/js/push_routing_history.test.cjs index ee042634d88..0f229f33448 100644 --- a/actions/setup/js/push_routing_history.test.cjs +++ b/actions/setup/js/push_routing_history.test.cjs @@ -85,7 +85,7 @@ function fakeGitHub(remote, { runs = [], jobs = {}, attempts = {} } = {}) { }, }, actions: { - listWorkflowRuns: async () => ({ data: { workflow_runs: runs } }), + listWorkflowRuns: async ({ branch, event }) => ({ data: { workflow_runs: runs.filter(run => (!branch || run.head_branch === branch) && (!event || run.event === event)) } }), getWorkflowRunAttempt: async ({ run_id }) => { calls.attempts.push(run_id); return { data: attempts[run_id] }; @@ -204,10 +204,28 @@ describe("push_routing_history evidence", () => { it("has no verdict for a run AWF did not route, and no pair to count a verdict for without a selection", () => { expect(sessionEvidence([]).observation).toBeNull(); - const verdictOnly = [{ type: "routing.observation", data: { outcome: "success" } }]; + const verdictOnly = [{ type: "routing.observation", data: { outcome: "success" }, provenance: { component: "collector", phase: "conclusion" } }]; expect(sessionEvidence(verdictOnly)).toMatchObject({ observation: { outcome: "skip", reason: "unknown_evidence" }, pair: null }); }); + it("names a provider it does not rename exactly as AWF wrote it, even one that matches an object property", () => { + const selection = provider => [{ type: "firewall.model_routing", data: { stage: "selection", selectedProvider: provider, wireModel: "model-a", selectedEffort: "high" }, provenance: { component: "firewall", phase: "agent" } }]; + expect(sessionEvidence(selection("copilot")).pair).toBe("github-copilot/model-a@high"); + expect(sessionEvidence(selection("constructor")).pair).toBe("constructor/model-a@high"); + }); + + it("takes the verdict only from the conclusion job's collector", () => { + const routed = [ + { type: "firewall.model_routing", data: { stage: "selection", selectedProvider: "copilot", wireModel: "model-a", selectedEffort: "high" }, provenance: { component: "firewall", phase: "agent" } }, + { type: "routing.observation", data: { outcome: "failure" }, provenance: { component: "collector", phase: "conclusion" } }, + ]; + expect(sessionEvidence(routed).observation).toEqual({ outcome: "failure" }); + // A verdict from any other source cannot replace it or stand in for a missing one. + const forged = { type: "routing.observation", data: { outcome: "success" }, provenance: { component: "engine", phase: "agent" } }; + expect(sessionEvidence([...routed, forged]).observation).toEqual({ outcome: "failure" }); + expect(sessionEvidence([routed[0], forged]).observation).toBeNull(); + }); + it("treats a request without a price or a count as an unknown cost, not a free one", () => { const firewall = (type, data) => ({ type, data, provenance: { component: "firewall", phase: "agent" } }); const events = [ @@ -397,6 +415,32 @@ describe("push_routing_history saves", () => { expect(remoteRuns(remote).map(line => line.number)).toEqual([50, 53]); expect(remoteState(remote).unexplained).toBe(0); }); + + it("charges a failed save from a pull_request_target run, and never a run whose history job succeeded", async () => { + const remote = bareRemote(); + await save(remote, 50, "success"); + const run = (number, extra = {}) => ({ id: 9000 + number, run_number: number, status: "completed", conclusion: "failure", head_branch: "main", event: "schedule", run_attempt: 1, ...extra }); + const agent = { name: "agent", conclusion: "failure", started_at: "2026-11-24T09:00:00Z" }; + const writer = conclusion => ({ name: "push_routing_history", conclusion, started_at: "2026-11-24T09:10:00Z" }); + const github = fakeGitHub(remote, { + runs: [ + // Listed under the pull request's branch, but run from the default branch's definition. + run(53, { event: "pull_request_target", head_branch: "fix-typo" }), + // A pull request into another branch, whose history job declined to record it. + run(52, { event: "pull_request_target", head_branch: "release-notes" }), + // Saved long ago, its line since trimmed from runs.jsonl. + run(51), + ], + jobs: { 9053: [agent, writer("failure")], 9052: [agent, writer("success")], 9051: [agent, writer("success")] }, + }); + await save(remote, 54, "success", { github }); + expect(remoteRuns(remote).map(({ number, note }) => ({ number, note }))).toEqual([ + { number: 50, note: null }, + { number: 53, note: "unsaved" }, + { number: 54, note: null }, + ]); + expect(remoteState(remote).unexplained).toBe(1); + }); }); describe("routing history under concurrent writers", () => { diff --git a/actions/setup/js/routing_history.cjs b/actions/setup/js/routing_history.cjs index 4d11f9c76ea..1b3afa86f64 100644 --- a/actions/setup/js/routing_history.cjs +++ b/actions/setup/js/routing_history.cjs @@ -434,18 +434,6 @@ function applyRun(input, runs, run, options = {}) { return finish(); } -/** - * `gh aw routing reset`: fence off every run up to the latest one, empty the scopes and let - * exploration resume. runs.jsonl is kept. - * @param {HistoryState} input - * @param {number} latestRun - * @param {string} at - * @returns {HistoryState} - */ -function resetState(input, latestRun, at) { - return { ...structuredClone(input), reset_after_run: latestRun, scopes: {}, unexplained: 0, updated: { run: null, at } }; -} - module.exports = { BOUNDS, NOTES, @@ -455,6 +443,5 @@ module.exports = { memory, rate, receiptBound, - resetState, trimRuns, }; diff --git a/actions/setup/js/routing_history.test.cjs b/actions/setup/js/routing_history.test.cjs index 96598478d04..457bce0adf6 100644 --- a/actions/setup/js/routing_history.test.cjs +++ b/actions/setup/js/routing_history.test.cjs @@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest"; const req = require; const vectors = req("./fixtures/routing-history/aw2-reducer.json"); -const { applyRun, emptyState, resetState, trimRuns } = req("./routing_history.cjs"); +const { applyRun, emptyState, trimRuns } = req("./routing_history.cjs"); // Numbers agree to a relative tolerance of 1e-9 (vectors.arithmetic); everything else exactly. function expectSame(actual, expected, path = "state") { @@ -53,11 +53,6 @@ describe("routing history oracle vectors", () => { if (vector.expect.runs) expectSame(trimRuns([...vector.runs, ...result.lines], vector.bounds), vector.expect.runs, "runs"); expect(vector.state).toEqual(before); }); - - it("resets as gh aw routing reset does", () => { - const vector = vectors.cases.find(candidate => candidate.name === "reset"); - expectSame(resetState(vector.state, vector.reset.latest_run, vector.reset.at), vector.expect.state); - }); }); describe("routing history state", () => { diff --git a/docs/adr/80583-adaptive-routing-observe-history.md b/docs/adr/80583-adaptive-routing-observe-history.md index 1249c90efd8..d14f2d2877f 100644 --- a/docs/adr/80583-adaptive-routing-observe-history.md +++ b/docs/adr/80583-adaptive-routing-observe-history.md @@ -1,7 +1,7 @@ # ADR-80583: Record Routed Runs in an Adaptive Routing History (Observe Mode) **Date**: 2026-11-24 -**Status**: Draft +**Status**: Accepted **Deciders**: rabeckett (PR author) **Related**: [Issue #80554](https://github.com/github/gh-aw/issues/80554), [PR #80583](https://github.com/github/gh-aw/pull/80583), [ADR-80468](80468-record-routing-observation-verdict.md) @@ -16,7 +16,7 @@ Forces: - The history must be stored where maintainers expect stored state: a repo-memory branch per workflow, readable with a read-only command. - An edit that fixes a workflow should forgive earlier failures but keep successes. A late run of an older definition must not count against the new one. - The verdict (ADR-80468), the selected pair, and the cost already exist in the run's unified session, so the history should reuse them rather than add a second accounting path. -- Live mode, selection receipts, and the firewall's adaptive selection are not yet available (PR body: AW-3, github/gh-aw-firewall#12027). +- Live mode, selection receipts, and the firewall's adaptive selection ([github/gh-aw-firewall#12027](https://github.com/github/gh-aw-firewall/pull/12027)) come in a later step, so the history must not depend on them. ## Decision @@ -25,9 +25,9 @@ Add an `adaptive-routing: observe` workflow setting, with a repository default i 1. Keeps the router's ordinary pick unchanged. Observe mode never changes which model runs. 2. Requires `tools.repo-memory`. Only workflows whose main model the router picks, on a Copilot, Claude, or Codex engine, are eligible. Work-queue workers, reusable workflows (`on: workflow_call`), and workflows that run experiments are not. An explicit opt-in that cannot work fails to compile with the reason; the repository default skips such workflows silently. `adaptive-routing: true` is reserved for live mode and fails to compile. 3. Adds one `push_routing_history` job after `conclusion`, with `contents: write` and `actions: read`. It reads the run's routing verdict, the model and effort AWF selected, and the AWF-priced cost from the unified session, then saves them to `memory/adaptive-routing/` (`state.json` and `runs.jsonl`) through repo-memory's save loop. The agent job, its prompt, and its permissions are unchanged. -4. Adds an opt-in `reapply` option to repo-memory's save loop, used only by this job. When another run moved the branch first, the loop resets to the new head and applies this run again to the newest files. Repo-memory's own saves do not use it. -5. Reserves the `memory/adaptive-routing/` branch namespace. The compiler rejects it as a repo-memory branch, and repo-memory refuses it at run time. -6. Records only first attempts whose workflow definition comes from the default branch. Runs that do not count say why (for example `infrastructure`, `cancelled`, `rate_limited`, `no_agent`). Editing the workflow starts a new generation; `gh aw routing reset` fences off all earlier runs. +4. Adds an opt-in `reapply` option to repo-memory's save loop, used only by this job. When another run moved the branch first, the loop resets to the new head and applies this run again to the newest files with the same pure reducer, so concurrent runs all land and none counts twice. Repo-memory's own saves do not use it. +5. Reserves the `memory/adaptive-routing/` branch namespace. The compiler rejects it as a repo-memory branch, and repo-memory's clone and save refuse it at run time, after branch-name expressions resolve. +6. Records only first attempts whose workflow definition comes from the default branch. Runs that do not count say why (for example `infrastructure`, `cancelled`, `rate_limited`, `no_agent`), and a run whose save failed is charged as `unsaved` by a later save. Editing the workflow starts a new generation; `gh aw routing reset` fences off all earlier runs. 7. Adds `gh aw routing status` (read-only) and `gh aw routing reset`. Status reports no recommendation until live routing exists. 8. Records per-run token counts, counting new input tokens as AWF's credit meter does, so that live mode can later estimate the cost of an untried model. @@ -35,10 +35,11 @@ Workflows that do not opt in compile exactly as before. ## Alternatives Considered -1. **Act on the router's picks now (live routing).** Rejected for this step. No recorded evidence yet justifies changing which model runs. Live mode and selection receipts are deferred to AW-3. +1. **Act on the router's picks now (live routing).** Rejected for this step. No recorded evidence yet justifies changing which model runs. Live mode and selection receipts are deferred to a later step. 2. **Write the history from the agent job.** Rejected. The agent could edit its own record, and its permissions and prompt would have to change. The write moves to a trusted job that runs after the agent finishes. 3. **Record a sample of eligible runs.** Rejected by the issue's requirement to record every eligible run. A sample can miss the rare failures that a later live mode would act on. -4. **Keep the history only in per-run workflow artifacts.** Not adopted. Artifacts are scoped to a single run and do not form a cumulative, maintainer-readable history. This PR does not evaluate their retention. +4. **Merge concurrent saves by rebasing with JSONL union merging, as repo-memory's own saves do.** Rejected. `state.json` is derived from every applied run, so merging two writers' edits as text can drop or double-count a run. Re-applying the run to the newest files always converges. +5. **Keep the history only in per-run workflow artifacts.** Rejected. Artifacts belong to a single run and expire, so they cannot form a cumulative history that a maintainer can read or reset. ## Consequences @@ -46,15 +47,14 @@ Positive: - Maintainers can read `gh aw routing status` to see what each routed pick achieved and what it cost before any routing change is made. - The agent cannot write its own record, and each run counts once across re-runs, repeated saves, and concurrent saves. -- Workflows that do not opt in compile exactly as before, with no new branches, jobs, permissions, or writes. The PR's drift check found every lock file in the repository unchanged. +- Workflows that do not opt in compile exactly as before, with no new branches, jobs, permissions, or writes. Negative: -- Each opted-in workflow gains a job with `contents: write`, and every eligible run adds a signed commit to `memory/adaptive-routing/`. History grows with run volume. No retention or size limit is defined in this PR. -- The `reapply` option and the reserved namespace add logic to repo-memory's shared save loop. -- Token-count estimates can undercount a request whose new input exceeds its cached input (PR body). +- Each opted-in workflow gains a job with `contents: write`, and every eligible run adds a signed commit to `memory/adaptive-routing/`. The files are bounded (each model and effort keeps its newest 50 outcomes within 60 days, and `runs.jsonl` its last 500 runs), but the branch's Git history grows with run volume until a maintainer deletes the branch. +- A ruleset that restricts who can update `memory/**` must allow GitHub Actions to update `memory/adaptive-routing/**`; otherwise the save fails and the run shows the failure. +- The `reapply` option and the reserved namespace add logic to repo-memory's shared save loop and clone script. +- Recovery of failed saves is bounded: it scans the workflow's 100 newest runs on the default branch and its 100 newest `pull_request_target` runs, and does not charge the first run of a new generation. These gaps affect only the count of unexplained runs, which observe mode does not act on. +- When AWF's records do not say whether a request's input count includes cached tokens, the writer infers it, so token counts can undercount a request whose new input exceeds its cached input. -Unknown context (not established by the PR evidence): - -- How branch rulesets on `memory/**` interact with the job's writes. Issue #80554 asks for this to be documented; it is not covered in the PR body or diff. -- Retention and storage limits for the history branch. +*ADR drafted by the Design Decision Gate and reviewed by the PR author.* diff --git a/docs/src/content/docs/reference/adaptive-routing.md b/docs/src/content/docs/reference/adaptive-routing.md index f9ef79b6097..55519e1a7a1 100644 --- a/docs/src/content/docs/reference/adaptive-routing.md +++ b/docs/src/content/docs/reference/adaptive-routing.md @@ -93,4 +93,4 @@ gh aw routing status issue-triage - Observe mode only records evidence; it never changes which model runs and makes no recommendation. - A history belongs to one workflow file in one repository; renaming the file starts a new history. Reusable workflows (`on: workflow_call`) cannot take part, because each caller numbers its own runs. - A run that ends before the agent job starts, or whose usage artifact was never published, is not recorded by its own save. -- A save that fails is charged as `unsaved` by a later save that finds the run among the workflow's 100 newest runs on the default branch. Runs that `pull_request_target` started are listed under the pull request's branch, so their failed saves are not charged. +- A save that fails is charged as `unsaved` by a later save that finds the run among the workflow's 100 newest runs on the default branch, or its 100 newest runs started by `pull_request_target`. diff --git a/pkg/cli/routing_command.go b/pkg/cli/routing_command.go index 6d0adf6cd24..fb694c6c7e8 100644 --- a/pkg/cli/routing_command.go +++ b/pkg/cli/routing_command.go @@ -518,7 +518,7 @@ func runRoutingList(ctx context.Context, api routingAPI, out io.Writer, jsonOutp } // resetRoutingState fences every run up to latestRun, empties the scopes and lets exploration -// resume, as the writer's resetState does. +// resume, as the reducer's reset vector (aw2-reducer.json) defines. func resetRoutingState(state routingHistoryState, latestRun int64, at string) routingHistoryState { state.ResetAfterRun = latestRun state.Scopes = map[string]*routingHistoryScope{}