Skip to content

Show clipped benchmark rows in inference tables / 在推理表格中显示裁剪数据行 - #708

Merged
Oseltamivir merged 1 commit into
masterfrom
agent/retain-clipped-inference-table
Aug 9, 2026
Merged

Show clipped benchmark rows in inference tables / 在推理表格中显示裁剪数据行#708
Oseltamivir merged 1 commit into
masterfrom
agent/retain-clipped-inference-table

Conversation

@Oseltamivir

@Oseltamivir Oseltamivir commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • restore cost- and latency-clipped benchmark points in inference table mode while keeping chart display limits unchanged
  • include clipped points in official and ?unofficialrun= overlay visibility scopes
  • add component regression coverage using the B200 TP4 $4.0/M and TP8 $7.016/M case plus an unofficial overlay

Root cause

The inference chart correctly retains values above its $5/M visual cap in clippedData so chart mode can draw boundary continuations. Table mode rendered only graph.data, however, silently omitting the B200 TP8 $7.016/M row even though the calculator correctly consumed it from the API.

Impact

Inference tables now list every measured row, including values intentionally excluded from the plotted domain. The TP8 $7.016/M row appears alongside TP4 $4.0/M; chart axes and boundary-continuation behavior remain unchanged.

Works for both official runs and ?unofficialrun= overlays.

Validation

  • bun run fmt
  • bun run lint
  • bun run typecheck
  • TZ=UTC bun run test:unit (3,731 tests passed)
  • bun run --cwd packages/app test:e2e:quick:component (25 tests passed)
  • local integration smoke attempted; DB-backed inference cases cannot run because DATABASE_READONLY_URL is unavailable in this environment

中文说明

摘要

  • 推理表格恢复因成本或延迟超出图表显示上限而被裁剪的基准测试点,同时保持图表显示范围不变
  • 官方运行和 ?unofficialrun= overlay 的可见范围均纳入裁剪点
  • 使用 B200 TP4 $4.0/M、TP8 $7.016/M 以及 unofficial overlay 场景补充组件回归测试

根因

推理图表会将超过 $5/M 显示上限的数值正确保留在 clippedData 中,以便图表模式绘制边界延伸线。但表格模式只渲染 graph.data,导致 B200 TP8 $7.016/M 行被静默遗漏,而计算器仍会从 API 正确读取该数据。

影响

推理表格现在会列出所有实测数据,包括为保持图表易读性而排除在绘图区之外的数值。TP8 $7.016/M 会与 TP4 $4.0/M 同时显示;图表坐标轴和边界延伸线行为保持不变。

官方运行和 ?unofficialrun= overlay 均已覆盖。

验证

  • bun run fmt
  • bun run lint
  • bun run typecheck
  • TZ=UTC bun run test:unit(3,731 项测试通过)
  • bun run --cwd packages/app test:e2e:quick:component(25 项测试通过)
  • 已尝试本地 integration smoke;当前环境未提供 DATABASE_READONLY_URL,因此无法运行依赖数据库的推理用例

Note

Low Risk
UI-only inference display logic with targeted component regression coverage; chart rendering paths are unchanged.

Overview
Inference table mode now merges clippedData into the row set for official graphs and unofficial overlays before legend and filter gates, so cost- or latency-capped points (e.g. B200 TP8 above a $5/M chart cap) appear in the table while chart plotting and display limits stay the same.

Scope and stub charts also count clipped overlay and official points when building officialScope / overlayScope and when deciding whether overlay-only data should synthesize empty stub graphs.

A Cypress case in scatter-graph.cy.tsx asserts four table rows for clipped official and overlay cost points.

Reviewed by Cursor Bugbot for commit a2fcc97. Bugbot is set up for automated code reviews on this repo. Configure here.

Restore cost- and latency-clipped points when rendering inference tables while preserving chart display limits. Include clipped official and unofficial rows in visibility scopes and add component regression coverage.

中文:修复推理表格遗漏超出图表显示上限的数据行。表格恢复成本和延迟裁剪点,同时保留图表显示限制;官方与 unofficial overlay 路径均纳入可见范围并补充组件回归测试。
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview Aug 9, 2026 12:39pm

Request Review

@Oseltamivir
Oseltamivir marked this pull request as ready for review August 9, 2026 12:41
@Oseltamivir
Oseltamivir requested a review from adibarra as a code owner August 9, 2026 12:41
@Oseltamivir
Oseltamivir merged commit 9c1cee2 into master Aug 9, 2026
31 checks passed
@Oseltamivir
Oseltamivir deleted the agent/retain-clipped-inference-table branch August 9, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant