Conversation
Bumps [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) from 04f907ba2a4c77706a56b4078c682d250716cc0c to cd77b50d2b0808657f8e6774085c8bf54484351c. - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@04f907b...cd77b50) --- updated-dependencies: - dependency-name: anthropics/claude-code-action dependency-version: cd77b50d2b0808657f8e6774085c8bf54484351c dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
adibarra
deleted the
dependabot/github_actions/anthropics/claude-code-action-cd77b50d2b0808657f8e6774085c8bf54484351c
branch
March 19, 2026 00:51
4 tasks
This was referenced Aug 7, 2026
functionstackx
added a commit
that referenced
this pull request
Sep 5, 2026
… Changelog, pinned dates and runs) | 利润估算器:对比历史与 /inference 对齐(配置变更日志、固定日期与运行) The first cut only priced the range endpoints. /inference's Compare history also renders the Config Changelog under the controls and lets the reader pin individual dates or runs onto the chart, so this ports the rest: - Config Changelog: reuse `ComparisonChangelog` fed by `useComparisonChangelogs` (workflow-info per available date, agentic_traces). Same filters (model db key, precision, hw key), Git Commit / Workflow Run links, "Add to chart", "Add all to chart", "Remove from chart", and the "On chart" lock for range endpoints. New optional `analyticsSection` prop so events track as `profit_changelog_*` here and stay `inference_*` on /inference. - Pinned entries: `selectedDates` state hydrated from `i_dates`, synced back, cleared with the chips or when the range leaves the available dates. A pinned plain date with several runs expands to one `date~r<runId>` entry per run, as `ChartDisplay` does. - Fetching: `useProfitHistory` now resolves entries with /inference's `buildComparisonDates` and fetches run entries with `runId` + `exactRun` (calculator view), plain dates as exact-date queries. - Labels: bars, tooltip, caption, and CSV print `comparisonEntryLabel` (`2026-08-10 #2`), numbered from the changelog's `dataRunsForDate` so the chart and changelog agree. Ordering and the shade ramp sort by `comparisonEntrySortValue`. Result-key separator switched to `|` because entries carry their own `~r` suffix. - Tests: unit coverage for run entries, ordering, ranks, labels; Cypress fixtures gain a two-run date with changelog rows and a workflow-info intercept; new cases for the changelog panel, pinning a date, per-run bars and "Add all", URL hydration with "On chart" locks, and the zh mirror. 中文:首版仅对日期范围两端估价。/inference 的对比历史还会在控件下方显示配置变更日志, 并允许将单个日期或运行固定到图表上,本次补齐这部分:复用 ComparisonChangelog 与 useComparisonChangelogs;新增 i_dates 固定项状态并同步 URL;多运行日期展开为逐运行条目; 运行条目通过 runId + exactRun 获取;柱形、提示框、说明与 CSV 使用与变更日志一致的 "日期 #n" 标签;补充单元测试与 Cypress 用例(含双运行日期夹具与 workflow-info 拦截)。
functionstackx
added a commit
that referenced
this pull request
Sep 5, 2026
…timator-per-gigawatt / 利润估算器:新增对比历史趋势面板 (#1009) * feat(profit): add compare history to /profit-estimator and /profit-estimator-per-gigawatt | 利润估算器:新增对比历史趋势面板 Both profit estimator routes get the Compare history panel from /inference: a Chip Config multiselect (up to four agentic configs for the current model at the auto-resolved precision) and, once a chip is chosen, a Comparison Date Range picker limited to the dates those chips have runs on. The selection lives in the shared i_gpus / i_dstart / i_dend URL params, so a comparison built on /inference opens on the estimator and back. With a range set the chart keeps only the compared chips and adds one bar per range endpoint (minus today's run date), priced from that date's run with the same target interactivity, price source, utilization, license fee, and TCO tier. History bars use a lighter shade of the chip colour (oldest lightest, the /inference ramp), the x label gains a date line, the tooltip names the run date, the caption notes the compared dates and any chip with no run at the target, and the CSV export gains a Run date column. Data path: useProfitHistory runs one benchmark query per comparison date (benchmarkQueryOptions with exact=true, view=calculator, sequence=agentic traces), dedupeAgenticHistoryRuns keeps one run per chip per day, and buildProfitHistoryResults interpolates each selected chip on the same monotone Hermite spline the current bars use. Analytics: profit_history_gpu_selected, profit_history_date_range_changed. Unofficial-run overlays do not apply: the estimator passes no overlay to useThroughputData. Tests: vitest for the history helpers (option filtering and ordering, comparison dates, result keys, colour shading, interpolation and per-day dedupe) and the chart label/tooltip/layout changes; Cypress for the panel, URL sync and hydration, bar count and ordering against a two-date fixture, clearing, and the /zh mirror. 中文:两个利润估算器路由新增与 /inference 相同的"对比历史趋势"面板: 芯片配置多选(当前模型在自动精度下最多四个 agentic 配置),选中后出现 仅含这些芯片有运行记录日期的日期范围选择器。选择保存在共享的 i_gpus / i_dstart / i_dend URL 参数中,/inference 上的对比可直接在估算器 打开。设置范围后,图表仅保留所对比的芯片,并为范围的每个端点(去掉当天 运行日期)各增加一根柱,按该日期的运行数据、相同目标交互性、价格来源、 利用率、许可费和 TCO 档位计价。历史柱使用同一芯片颜色的浅色(越早越浅), x 轴标签增加日期行,提示框显示运行日期,说明文字列出对比日期及在目标点 无运行数据的芯片,CSV 导出增加"运行日期"列。数据路径:useProfitHistory 按对比日期各发一次基准查询(exact=true,calculator 视图,agentic 序列), dedupeAgenticHistoryRuns 每芯片每日保留一次运行,buildProfitHistoryResults 用与当前柱相同的单调 Hermite 样条插值。埋点:profit_history_gpu_selected、 profit_history_date_range_changed。非官方运行叠加不适用(估算器未向 useThroughputData 传入叠加数据)。测试:vitest 覆盖历史辅助函数与图表 标签/提示/布局改动;Cypress 覆盖面板、URL 同步与还原、双日期夹具下的柱数 与顺序、清除以及 /zh 镜像。 * feat(profit): bring compare history to parity with /inference (Config Changelog, pinned dates and runs) | 利润估算器:对比历史与 /inference 对齐(配置变更日志、固定日期与运行) The first cut only priced the range endpoints. /inference's Compare history also renders the Config Changelog under the controls and lets the reader pin individual dates or runs onto the chart, so this ports the rest: - Config Changelog: reuse `ComparisonChangelog` fed by `useComparisonChangelogs` (workflow-info per available date, agentic_traces). Same filters (model db key, precision, hw key), Git Commit / Workflow Run links, "Add to chart", "Add all to chart", "Remove from chart", and the "On chart" lock for range endpoints. New optional `analyticsSection` prop so events track as `profit_changelog_*` here and stay `inference_*` on /inference. - Pinned entries: `selectedDates` state hydrated from `i_dates`, synced back, cleared with the chips or when the range leaves the available dates. A pinned plain date with several runs expands to one `date~r<runId>` entry per run, as `ChartDisplay` does. - Fetching: `useProfitHistory` now resolves entries with /inference's `buildComparisonDates` and fetches run entries with `runId` + `exactRun` (calculator view), plain dates as exact-date queries. - Labels: bars, tooltip, caption, and CSV print `comparisonEntryLabel` (`2026-08-10 #2`), numbered from the changelog's `dataRunsForDate` so the chart and changelog agree. Ordering and the shade ramp sort by `comparisonEntrySortValue`. Result-key separator switched to `|` because entries carry their own `~r` suffix. - Tests: unit coverage for run entries, ordering, ranks, labels; Cypress fixtures gain a two-run date with changelog rows and a workflow-info intercept; new cases for the changelog panel, pinning a date, per-run bars and "Add all", URL hydration with "On chart" locks, and the zh mirror. 中文:首版仅对日期范围两端估价。/inference 的对比历史还会在控件下方显示配置变更日志, 并允许将单个日期或运行固定到图表上,本次补齐这部分:复用 ComparisonChangelog 与 useComparisonChangelogs;新增 i_dates 固定项状态并同步 URL;多运行日期展开为逐运行条目; 运行条目通过 runId + exactRun 获取;柱形、提示框、说明与 CSV 使用与变更日志一致的 "日期 #n" 标签;补充单元测试与 Cypress 用例(含双运行日期夹具与 workflow-info 拦截)。 * fix(profit-estimator): dedupe current-run pins, keep history-only chips, stabilise E2E Hand `buildComparisonDates` the run behind the main bars (`profitHistoryCurrentRunId`: latest enumerated run of the current date for the compared chips, else the global run selection) so pinning it from the Config Changelog adds no duplicate bar. Keep a chip that only priced on an earlier entry in the legend (`profitHistoryLegendKeys`) and name it as missing on the current date in the caption (`profitHistoryMissing`). Clear the range and pinned entries when a model switch prunes the whole chip selection. Cypress: assert on the UI rather than the address bar (share params live in memory and are stripped after load), wait for the first priced bar before opening the chip selector, reopen it per pick, expect the H200 fp8 option (the sparse-precision rule keeps fp8 in play), and fix the pre-existing MiniMax → Kimi route expectation to `/profit-estimator-per-gigawatt/kimi-k3`. 中文:将主柱形对应的运行 id 传入 `buildComparisonDates`,固定该运行不再产生重复柱形;仅在历史日期有数据的芯片保留在图例中并在说明文字中标注当日缺失;模型切换清空芯片选择时同时清空日期范围与固定条目。Cypress 用例改为基于界面断言、等待首个柱形后再打开选择器、每次选择后重新打开,并修正 H200 fp8 选项与 MiniMax → Kimi 路径期望。 * test(profit-estimator): hoist history test helpers to module scope `oxlint` (consistent-function-scoping) rejects helpers that capture nothing from their `describe` block; move `rc` and the caption label stubs to the top of the file. 中文:将 profit-history 测试中的 `rc` 与标签辅助函数提升到模块作用域,以通过 oxlint 的 consistent-function-scoping 规则。 * fix(profit-estimator): track the current run per chip, label history-only chips The main query is an as-of-date fetch with no run id, so each chip's current bar can come from a different run. `profitHistoryCurrentRunIds` maps each compared chip to the latest run of the current date that covered it (from the changelog's enumeration); `dropCurrentRunEntries` skips a pinned run only when every compared chip already shows it, and `buildProfitHistoryResults` skips that run per chip. The missing-bar caption labels a chip absent from today's rows via `getHardwareConfig`, as `rowLabel` does. 中文:主查询按日期取数、不带运行 id,各芯片的当前柱形可能来自不同运行。改为按芯片记录当前运行 id:仅当所有对比芯片都已显示该运行时才跳过固定条目,并在构建历史结果时按芯片跳过;缺失说明对当日无数据的芯片改用注册表标签。 * fix(profit-estimator): do not caption a chip's own current run as missing `profitHistoryMissing` takes the per-chip current run ids and skips a pinned run for the chip whose current bar already is that run, matching the skip in `buildProfitHistoryResults`. 中文:缺失说明按芯片跳过其当前柱形所对应的固定运行,与历史结果构建时的跳过逻辑一致。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps anthropics/claude-code-action from 04f907ba2a4c77706a56b4078c682d250716cc0c to cd77b50d2b0808657f8e6774085c8bf54484351c.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)