Skip to content

PM-stack plan views: baselines, sortable tables, dominance filters, provider selection, Carbon missing #9852

Open

Description

@dezren39

Drew's report (2026-11-14, main chat, verbatim): "the website plan views don't have multiples baseline with score cost or score speed, tables can't sort, can't hide slower dumber moreExpensive, can't choose providers only models, no carbon in pm stack".

The PM-stack website plan/model views (the /aa page and the plan views fed by the Supabase ainventory data) need:

  1. MULTIPLE BASELINES with derived efficiency scores: let the viewer pick one or more baseline models and see each row's score-vs-cost and score-vs-speed relative to the baselines (e.g. intelligence per dollar and intelligence per second against the chosen baselines), not just raw columns.
  2. SORTABLE TABLES: every column sorts (score, cost, speed/TTFT, context, and the derived baseline ratios).
  3. DOMINANCE FILTERS: one-click hides for rows that are slower, dumber (lower score), or more expensive — in particular a "hide dominated" view: a row that is worse than another row on score AND cost AND speed at once disappears.
  4. PROVIDER SELECTION: choose/filter/group by PROVIDER, not only by model — the same model behind different providers (doors) is a different offer (price, quota, speed) and the views must let Drew select at the provider level.
  5. CARBON MISSING: Gemini 4 Carbon does not appear in the PM-stack data/views. It exists in our 2026-11-12 AA pull (high measured II 60.0, $4/$20, 1M context; other efforts are labelled guesses) — add it with the measured/guess flags preserved, and audit the ainventory load for any other family members from that pull that never made it into the PM-stack data.

Acceptance: on the live PM-stack views, a viewer can pick 2+ baselines and see score/cost and score/speed ratios per row; sort by any column; hide dominated rows in one click; filter to a single provider and see only its offers; Carbon is present with its data-quality flags.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed on Nov 14, 2026
  3. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: parked
    worker: repo-worker-code (lane code-f, openchamber scheduled)
    task: 16554
    reason: 45-min PM-stack feature not completable in remaining 30-min scheduled lane; park for long worker
    resume: not_before 2026-11-14T15:28:42Z

  4. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — scoped, parked for a long worker (task 16554, lane any-c, 2026-11-14)

    This feature is five sub-builds across three layers (client computations, a 7.9k-line render module, and the data pipeline). It does not fit a scheduled lane's remaining time — but it no longer needs re-scoping: the map below is verified against current code and data, and item 5's audit is done, with its fault domain narrowed to one diff.

    Surface map (all anchors verified 2026-11-14):

    • Page: pm-stack/aggregator/src/server.ts routes /aa → renderAa(...) in src/render.ts (the explorer client lives there too; renderAaTable() at render.ts:5356; table re-renders from an embedded DATA payload on filter state changes, render.ts:5482).
    • Shared pure computations: src/assets/aa-explorer-computations.js (served as-is; also imported by Bun tests — the established pattern is: math goes here, render.ts delegates, no inline copies). Tests: test/aa-explorer-computations.test.ts, test/aa.test.ts, test/aa-batches.test.ts, test/aa-gate-*.test.ts.
    • Already present to build on: paretoSet(rows, dims) (the dominance core for item 3), gapMetrics, applyInequalityFilters, computeRecommendations (already computes dominance decisions per band), pctRank, normName.

    Per-item build plan:

    1. Baselines: add baselineRatios(rows, baselineKeys) to the computations module — per row: score/cost and score/speed divided by the same ratios for the (possibly multiple) selected baselines; render as derived columns in renderAaTable; baseline selection state alongside the existing filter state.
    2. Sorting: add a null-safe sortRows(rows, key, dir) to the computations module (reuse the module's cmpAsc/cmpDesc conventions — nulls last both directions) and clickable th handlers in the table renderer; derived columns from (1) are sort keys too.
    3. Dominance: one-click "hide dominated" = paretoSet over (score high, cost low, time low) applied to the visible rows — the semantics in computeRecommendations (score ≥, cost ≤, time ≤, one strict) are the reference; plus the three single-dimension hides (slower / dumber / more expensive) as filter toggles.
    4. Providers: rows already distinguish model family from the offer/config side (configs carry provider doors — see src/aa.ts plan facts and the configs join in src/sources/live.ts); add a provider multi-select to the explorer filter state and filter/group configs by it.
    5. Carbon — audit complete, data is NOT the gap: the 2026-11-12 AA pull (batch fe02783b-046c-4401-bb35-8c529b216b8d, still v_latest_import_batch) contains the whole Gemini 4 family in ainventory.sheet_rows (15 Gemini-4 Rankings rows of 301) and v_rankings returns Gemini 4 Carbon (4 rows; high measured II 60.0, xhigh flagged estimated), Argon (7), Hydrogen (4) under the current view definitions. So the family is dropped downstream of the view: the collector (aggregator/scripts/collect-fleet-feed.ts) builds per-batch payloads via src/aa-batch-sql.ts with a sources-driven batch index and an aa-batches/ file cache, and the aggregator renders from that feed file. First diagnostic for the next worker: diff the families in the live feed's aa payload for batch fe02783b against v_rankings for the same batch — that one diff splits collector vs page. Secondary gap found: the ainventory.models registry has no Gemini 4 rows at all (the 2026-11-12 load wrote events/prices/sheet_rows but never registered the family) — close it or rule it out as the join that drops the rows. (Caution preserved from the load record: the workbook importer is deprecated/DO NOT RUN; Supabase is the source of record.)

    Park reason: items 1–4 are a multi-hour UI build in render.ts + computations with gate tests to extend; item 5 needs the live feed file (serving host) for its final diagnostic. Resume from this note — no re-triage needed.

  5. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 16554 items 1–3 implemented, PR #10127 open (lane code-d)

  6. added a commit that references this issue on Nov 14, 2026
  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 16554 parked: items 1–3 merged, items 4–5 remain (lane code-d)

  8. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 14, 2026
  9. added 2 commits that reference this issue on Nov 14, 2026
  10. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 16554 DONE: items 4–5 complete (lane code-a, 2026-11-14)

    Items 1–3 merged earlier today in PR #10127 (lane code-d). This claim finished the remaining two:

    Item 4 — provider multi-select: MERGED, PR #10291 (merge 1c81e4cc9a2d). The Model Explorer's provider filter is now a multi-select chip set mirroring the efforts-chip pattern: S.providers/S.providerAny in the explorer filter state, chips built from the catalog's providers (buildProviderOptions), visCatalog filtering by the selected set, saved-setup persistence, and perspective-reset clearing. The family <select> no longer doubles as a single-select provider filter on the models tab (its wrap hides there; AA-tab Family role unchanged). Tests: new render test in test/aa-batches.test.ts; aa-batches + aa-explorer-computations 43 pass / 0 fail. (test/aa.test.ts cannot execute on the laptop — it boots a server on port 4871, held by the live pm-aggregator service; identical on pristine main.) Codex review on the PR failed on usage limits with zero findings produced — same disposition as PR #10127.

    Item 5 — Carbon diagnostic: COMPLETE, no aggregator defect. The prescribed diff was run against the live feed (~/.local/state/pm-aggregator/fleet-feed.json, batch fe02783b-046c-4401-bb35-8c529b216b8d, generated 2026-11-14T13:51Z, status ok):

    • Rankings in the feed: 298 rows including the whole Gemini 4 family — Carbon 4 rows (high: II 60.0 measured, costTask $7.76, eligible), Argon 7, Hydrogen 4 — matching v_rankings for the batch as recorded in the audit. The collector does not drop Carbon, and neither does the page: Carbon is present in the AA Explorer data the views render from. The "absent from the views" premise does not reproduce on the current feed for the rankings side.
    • Catalog (Model Explorer): Carbon is absent while Argon/Hydrogen appear — because the catalog is built from configured doors, and .opencode/opencode.jsonc registers gemini-4-argon and gemini-4-hydrogen but no gemini-4-carbon anywhere (no door, no seat). The catalog faithfully reflects the fleet's configured models; adding Carbon there is a fleet config decision (register a door), not an aggregator fix.
    • The ainventory.models Gemini-4 registry gap is ruled out as a drop join: Argon/Hydrogen reach the catalog via config doors despite the same gap, and rankings never read that registry.

    All five items are now delivered or resolved with evidence. Task 16554 completes as fixed_merged; this issue's remaining question — whether to register a gemini-4-carbon door in the fleet config — is a config decision outside this task's scope, recorded here rather than silently dropped.

  11. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    state: done (already_done — re-served claim)
    task: 16554 (lane any-d, repo-worker-code)

    This claim of task 16554 was re-served after lane code-a completed the same task (their done note, 2026-11-14T17:30:40Z). Verified fresh by lane any-d: PR #10127 MERGED (items 1–3: baseline ratios, sorting, dominance hides), PR #10291 MERGED 2026-11-14T17:27:57Z (item 4: provider multi-select), item 5 Carbon diagnostic complete on this issue (Carbon present in rankings feed batch fe02783b; catalog absence traced to no configured gemini-4-carbon door — a fleet config decision, recorded, outside this task's scope). No duplicate work performed. Task 16554 completes as already_done; the issue stays open on the recorded Carbon-door config question.

  12. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Task 19062 (triage) — triaged: already resolved by task 16554 (2026-11-14); no follow-on packet. One residual decision for Drew is named at the end.

    Fresh verification this run:

    The bulk-intake re-serve of this issue is therefore a duplicate of completed work; task 19062 completes as triaged/already-done.

    Residual, for Drew: whether to register a gemini-4-carbon door in the fleet config so Carbon also appears in the Model Explorer catalog. That is a fleet config decision, recorded here (as task 16554 left it) rather than silently dropped.

    Labels set: status/triaged, priority/normal, effort/l, kind/enhancement.

  13. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Agent note (repo-worker-code, code-f scheduled lane): triage verdict

    Verified 2026-11-18T08:49Z. Items 1–4 are already delivered: PR #10127 and PR #10291 re-checked as MERGED. Item 5 (Carbon missing from the Model Explorer catalog) remains a single fleet-config decision: whether to register a gemini-4-carbon door in .opencode/opencode.jsonc. No follow-on packet created. Left for Drew; issue stays open.

  14. removed their assignment
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions