feat(overview): link history cells to exact curves / 总览历史单元格链接精确对比曲线 - #686
Conversation
Add per-platform current-versus-history drilldowns that preserve the exact independently selected serving envelopes and display the pinned comparison date. 中文:为各平台的当前值与历史值增加精确曲线入口,保留独立选出的 serving envelope,并在详情页显示固定的对比日期。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @edwingao28's task in 3m 52s —— View job Review: PR #686 — link history cells to exact curves🟢 LGTM — no blocking issues found.
Static review — the design is sound and internally consistent:
Runtime verification (real-data dev server + Playwright):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 204d2fc8b3
ℹ️ 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".
|
Claude finished @edwingao28's task in 6m 12s —— View job Re-review: PR #686 — link history cells to exact curves
I re-ran this against the running dashboard and can confirm both outstanding findings are real — correcting my earlier automated review, which incorrectly passed the first one. 🟡 Current envelope renders gray + missing from legend (Bugbot / Codex P1). 🟡 Stale Both are should-fix (recoverable, gated behind the two overview params) rather than blocking crashes, but the first defeats the feature's stated purpose ("identify the exact curves behind the percentage") and the second breaks the chart on the next interaction. No console errors observed; CI (typecheck, unit, lint, component, all E2E shards) is green. |
Bring the client-navigation performance work into the history-cell details branch before addressing its remaining review findings.\n\n中文:在处理历史单元格详情剩余 review 问题前,将客户端导航性能改动合并到当前分支。
Include the current snapshot in comparison metadata and release Overview-only exact-pair filtering when users change chart selections.\n\n中文:将当前快照纳入对比图表元数据,并在用户更改图表选择后解除 Overview 专用的精确配置对过滤。
Re-review: PR #686 — link history cells to exact curves
|
Keep run-qualified comparison entries when they share the primary run's calendar date, while continuing to deduplicate the plain primary date. 中文:保留与主运行处于同一天的指定运行对比项,同时继续去重普通的主运行日期。
|
Claude finished @edwingao28's task in 23m 25s —— View job Re-review: PR #686 — link history cells to exact curvesRe-reviewed new commits
🔴 BLOCKING — cross-engine "Compare curves" links show only one curve (regression)The P2 fix wires Verified on the DeepSeek-V4-Pro · B200 cross-engine cell (current
Previously-flagged items
CI is green (typecheck / unit / lint / component / E2E). The one blocking item above is behavioral and only reproduces at runtime for cross-engine cells. |
Keep internal run-date expansion from clearing the Overview exact curve pair, exclude only the selected main run from same-day overlays, and keep soft-navigation URLs synchronized across browsers. 中文:日期自动展开时保留 Overview 的精确曲线对,仅从同日叠加结果中排除当前主运行,并确保软导航 URL 在不同浏览器中保持同步。
|
Claude finished @edwingao28's task in 3m 43s —— View job Re-review: PR #686 — link history cells to exact curvesRe-reviewed new commit
🟢 The previously-blocking regression is fixed — both curves now render on cross-engine linksThe prior 🔴 BLOCKING finding was that
Verified on the DeepSeek-V4-Pro · B200 cross-engine cell (
Previously-flagged items — all resolved
CIAll green: typecheck / unit, lint & format, component, and E2E chrome/firefox shards 1–3 pass (shards 4 + Bugbot pending at review time, not a concern). 🟢 LGTM — the blocking regression and all prior findings are resolved; no new issues found. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1011d8e. Configure here.
Pass the effective selected run separately from contested-run scoping so ordinary same-day main runs are not fetched again as comparison overlays. 中文:将实际选中的主运行与争议运行作用域分开传递,避免普通同日主运行被再次作为对比叠加结果拉取。
|
Claude finished @edwingao28's task in 2m 49s —— View job Re-review: PR #686 — link history cells to exact curvesReviewed the new commit
🟢 The remaining Bugbot finding ("Wrong run id for exclusion") is fixedBugbot flagged (on
The default path is preserved: when no run is selected, Coverage: the exclusion contract is exercised by the existing unit CI & runtime
🟢 LGTM — the last outstanding Bugbot finding is resolved and no new issues were introduced. |


What changed
Validation
bun run test:unitbun run buildbun run typecheckbun run lintbun run fmt中文说明
Note
Medium Risk
Changes inference chart data selection, URL state, and comparison-exclusion behavior for deep-linked Overview history views; risk is mitigated by unit and Cypress tests but regressions could affect normal dashboard comparisons if the scope flags are mishandled.
Overview
30-day Overview history now exposes a Compare curves link on comparable platform cells (replacing row-level View details in history mode). The link opens the inference dashboard with GPUs, dates/runs, cost metric, and new URL params
i_overview_current/i_overview_baselinethat identify the two independently ranked serving envelopes.On the inference side, that pair is restored from the URL, disables engine-family comparison exclusion so both curves can appear even when engine/precision differ, and filters benchmark rows on main vs overlay snapshots to those keys only. Changing model, GPUs, dates, presets, etc. clears the pinned pair; run-to-multi-run date expansion uses a separate setter so it does not drop the scope.
Supporting changes: historical comparison objects carry
baselineConfigfor link building;buildComparisonDatesexcludes only the selected main run id (not other same-day runs); active comparison legend ids include the current run date when scoped; overview client navigation uses nativeHistorypush/replace. Cypress coverage asserts link shape and that changing model after follow-through still renders a chart.Reviewed by Cursor Bugbot for commit 0bfe85c. Bugbot is set up for automated code reviews on this repo. Configure here.