GeezerVison is showing github.com — feat(opencode): implement the 2026-10-27 pool redesign by dezren39 · Pull Request #1520 · developing-today/code
Conversation
dezren39
commented
Oct 27, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What this is
The Cost Explorer (/aa, PR #1364) grows everything useful from the two ChatGPT explorers — Site 1 (aa-task-cost-explorer, "Model tradeoffs": Recommendations, Explore charts, Band comparisons, Pareto frontiers, Data & methods over AA + the Coding Agent Index) and Site 2 (drew-coding-model-explorer: the task-assumptions projection) — under Drew's rule that nothing from the Aster/ChatGPT versions gets lost. Remainder items are filed as #1400, each with its blocker.
Data layer first (one commit was already on this branch): the collector additively emits cai (Coding Agent Index rows — score, published task cost, agent wall time, tokens/task, harness, component scores) and prices (the #1248 event log's v_current_prices); src/aa.ts builds CAI explorer points in the AaPoint shape and joins prices onto catalog entries as rate bands; a follow-up commit carries each band's rate window (flat / peak / offpeak).
The five priorities
-
Coding agents perspective + Pareto frontier tables. The AA Explorer gains Site 1's two perspectives: Intelligence & decode (AA points as before) and Coding agents (the CAI point set — its own score/cost/wall-time, frontier flags and beaten-by computed inside the CAI population; the indexes are never converted). Charts, multiples, filters, tables and the detail card (which grows harness / tokens-per-task / component scores) all follow the active set. A server-rendered CAI observations table joins the data section. Below the configurations table, the Pareto frontier tables render per perspective: score-first and speed-first over the same score–speed frontier, the price-first three-way frontier behind a percentile cutoff selector (50 / 60 / 75 / none), and price–speed trade-offs — every metric cell with its percentile rank.
-
Recommendations engine. Non-overlapping score bands from the visible population (band count 2–8), near-top score allowance, absolute $/s limits, relative price/speed ceilings against the cheapest/fastest near-top models, ranking by (relative time)^w × (relative price)^(1−w), lab-diversity modes (one per lab / labs first / none) and dominance modes (within lab / across all / none), presets (Fast near-top, Balanced, More lab diversity, Tight budget, Reset), per-band price × speed scatter, best-fit / alternative cards with tradeoff multiples and vs-band-best deltas, the "Why these choices?" decision table with per-model reasons, and shortlist CSV export.
-
Band comparisons. All six groups — smartest per cost band, cheapest per score band, fastest per score band, smartest per speed band, fastest per cost band, cheapest per speed-percentile target — as tables with scalable near-leader windows (score ±2, time within 10%, price within 25% at 1×; 0.5×–3×) and observed-range endpoint naming. (Lane charts → Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400.)
-
Task-assumptions projection (Site 2) in the Model Explorer: turns × input/answer/thinking tokens, cache-read share, writes % of uncached, tool overhead, DeepSeek peak/off-peak window; presets (Small patch / Feature / Repo task); projected $/task, time/task and AA score per projected $ as ~-marked columns, plus a projected-task restatement in the detail card. Priced only from the recorded event-log rates — a missing required rate shows —, never a guess. Cache-storage hours are not modelled (no storage rate in the log) and the panel says so.
-
Inequality filters + saved setups + downloads. Metric × operator × value conditions (AND/OR, keep-matching / keep-only-rejected) over score, cost, time, tok/s and the three Pareto-gap metrics (score gap, price premium, speed gap) computed against the current scope's observed frontier. Saved setups capture the full explorer state to localStorage with export/import JSON and a defaults reset. Downloads: joined data JSON and visible-rows CSV (per active tab; catalog CSV carries projections).
Feature-parity checklist — everything, accounted for
The Oct-25 artifacts (from PR #1364 — all still shipped, unchanged)
Site 1 — aa-task-cost-explorer ("Model tradeoffs")
- Two perspectives (Coding agents / Intelligence & decode) driving shared benchmark selectors' defaults → the perspective switcher drives the whole tab; score/cost/speed measures follow each family's published measures
- Recommendations tab → the recommendations section (tuners, presets, per-band scatter + cards, why-these-choices tables, shortlist CSV)
- Band comparisons tab → the six banded groups as tables with scalable near-leader windows
- Pareto frontiers tab → the four frontier tables with percentile ranks, re-rendered per perspective
- Advanced filters: labs/families/efforts/variant selection → the filter bar + legend chips + family select + hidden tray; inequality filters with Pareto-gap metrics → priority 5
- Saved setups (save/load/export/import/reset) → priority 5
- Downloads: joined explorer data → JSON download; full/visible CSV → visible CSV per tab (+ shortlist CSV)
- CAI observations table (Data & methods) → server-rendered, component scores as percents, unpublished costs blank
- Model detail dialog incl. CAI components, tokens/task, frontier note → the shared detail card (beaten-by list is the frontier note's equivalent)
- Band lane charts, main-scatter smoothed/OLS comparison lines, per-chart view settings (third-metric limits, labels, magnification), unpriced-variant buttons, per-band tuning overrides → Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400
- Provisional-estimate points + toggle → Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400 (blocked on Model data pipeline: workbook-free append-only event log + agent interpretation #1248 provenance)
- Evidence & anecdote cards, AA directory with OpenRouter/OpenCode columns, coverage-check table, design references → Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400 (need feed datasets / the Model data pipeline: workbook-free append-only event log + agent interpretation #1248 notes surface)
Site 2 — drew-coding-model-explorer ("Coding Model Explorer")
- Task-assumptions projection (turns, tokens/turn, cache share, writes, overhead; presets) → priority 4, with measured-vs-projection always distinguished (~ marks + labelling)
- DeepSeek peak/off-peak toggle → the projection's rate-window selector, reading the price log's recorded windows
- Derived per-configuration estimated cost / time / score-per-dollar → the three projected columns
- Comparison table with token-rate context → Model Explorer table + rate bands in the detail card's projection restatement
- Benchmarks kept separate (Terminal-Bench / SciCode / AA there; AA / CAI here) → the perspective rule: never converted, always labelled
- Source-data download → joined JSON download
- Pricing-route selector for projections (Direct / Console / Go allowance), cache-storage hours, Gemini promo toggle, throughput/latency factors, shortlist side-by-side compare → Cost Explorer ChatGPT-parity follow-ups: lane charts, chart extras, evidence cards, projection routes #1400
Verification
-
bun test (aggregator): 272 pass, 0 fail; bunx tsc --noEmit clean. New tests cover caiFamily, the CAI frontier computation, price-window carriage, and the rendered sections.
- The inline script is parse-checked, and runtime-smoke-tested against the fixture data in both tabs and both perspectives (all sections produce content; perspective switching there and back is clean). Projection math hand-verified on the fixture Luna rate: 3 turns × (10k uncached @ $0.75 + 10k cache reads @ $0.075 + 6k output @ $4.50) = ~$0.106/task, time 3 × (93.76s TTFT + 2000/145 tps + 10s) = ~5m 53s.
- Live-data note:
/api/aa.json gains cai/prices additively once a collector run on this code publishes the feed; until then the Coding agents perspective renders its empty state from the same code path (no stale numbers).
Deliberately not merged
Parent verifies and merges; deployment follows the laptop's pm-stack-update/aggregator + install.sh path plus one collector run.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Plan pools: argon-plan NEW (Go contributor x3 — the Antigravity LS live list serves no Gemini 4, so no LS leaf), beam-plan NEW (Command Code free route + Go beam-free x3), mimo-flash-plan NEW (Go x3 + ClinePass + OpenDesign + Command Code minor). deepseek-flash-plan/deepseek-pro-plan gain the base Go leaf and a minor Command Code leaf; luna-plan gains the base Go leaf; haiku-plan goes ORDERED (OpenDesign, dormant claude-code, Go x3 last). Every pool with a Go leaf now carries all three workspaces. glm-flash-plan dissolved (GLM seated nowhere — dominated on its own doors; provider blocks keep listing the models).
Tiers: scout swaps GLM for beam-plan; background NEW (ordered Flash#high -> MiMo; the clock-gated peak stage is pending opencode#639); workhorse restructured incremental — Flash#high primary, workhorse-weighted relief (Haiku 2, Terra 2, Spark 1), Luna and Sol seats out; specialist inserts argon-plan#high at #2 and drops the Terra/Pro relief; summit inserts Argon and moves Sol#xhigh last (OpenAI reserve); speed runs Flash#high and Haiku#high (sensible rungs); luna-haiku-100k renamed to small (small-100k element at 100k + Haiku element under a 200k cap).
Agent defaults unchanged. Refs: opencode#639 (time windows), #1328 (pool coverage).
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 32 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
b9d07a1c-1554-4d8f-a466-4221c40ced04
Commits
-
Reviewing files that changed from the base of the PR and between 279c973 and 4b4eaf4.
Files selected for processing: 1
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-27T20:07:06.053689Z |
4b4eaf4 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b4eaf4096
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
6366
to
+6370
|
|
"targets": [
|
|
|
"opencode-route/deepseek-flash#high",
|
|
|
"opencode-route/luna-plan#xhigh",
|
|
|
"opencode-route/workhorse-weighted"
|
|
|
],
|
|
|
"selection": "ordered",
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Give the Flash primary explicit precedence over the relief pool
With healthy targets and default runtime preferences, this ordered route selects the relief pool before Flash. The repository's verified routing design (doc/2026-10-25T21-11-31Z_design_route-pools/2026-10-25T21-11-31Z_design_route-pools.md, lines 98–100 and 123–128) states that ordered selection ranks effective weights, including nested groups' average weights, rather than simply following array order. Here the Flash group's configured average is approximately 1.36, while workhorse-weighted averages approximately 1.67. Consequently, default workhorse traffic consumes the relief providers while Flash is still available, reversing the stated primary/failover policy. Add explicit parent-level weighting that preserves Flash's precedence.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
"variants": { "xhigh": "high", "max": "high" }
|
|
|
}
|
|
|
},
|
|
|
"commandcode/deepseek/deepseek-v4.1-flash"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the isolated CommandCode bridge out of the coder pool
When a coder session reaches this newly added Flash target, its repository-editing requests are sent to a bridge that operates in a different workspace. coder uses opencode-route/workhorse, which reaches this pool, but bin/commandcode-proxy.mjs:827–844 assigns tool-bearing requests a bridge-owned session/request directory, and line 248 explicitly instructs the CLI to perform all file work there and nowhere else. The bridge then returns final text with finish_reason: 'stop' (lines 1171–1205), rather than tool calls that OpenCode could execute against the actual repository. Thus this fallback cannot carry out the coder's requested repository edits under the bridge's own instructions. Keep this leaf out of repository-editing pools until the bridge forwards tools or operates against the caller's actual workspace.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 28, 2026
This was referenced Nov 8, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|