Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/app/cypress/e2e/inference-chart.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ describe('Deprecated model source attribution', () => {
cy.get('#chart-0 svg[data-testid="d3-chart-svg"]').should('be.visible');
cy.get('#chart-0 [data-testid="result-context"]')
.should('contain.text', 'Source: SemiAnalysis InferenceX™')
.and(deprecated ? 'contain.text' : 'not.contain.text', '(deprecated)');
.and(deprecated ? 'contain.text' : 'not.contain.text', '(Deprecated)');
cy.get('.deprecated-watermark').should('not.exist');
}
});
Expand Down Expand Up @@ -450,7 +450,7 @@ describe('Deprecated model source attribution', () => {
});
cy.get('#chart-0 [data-testid="result-context"]').should(
'contain.text',
'Source: SemiAnalysis InferenceX™ (deprecated)',
'Source: SemiAnalysis InferenceX™ (Deprecated)',
);
let exportedPng = '';
let exportedCaption = '';
Expand All @@ -471,7 +471,7 @@ describe('Deprecated model source attribution', () => {
cy.get('[data-testid="export-png-button"]').click();
cy.window().should(() => {
expect(exportedPng).to.match(/^data:image\/png;base64,/u);
expect(exportedCaption).to.contain('Source: SemiAnalysis InferenceX™ (deprecated)');
expect(exportedCaption).to.contain('Source: SemiAnalysis InferenceX™ (Deprecated)');
});

cy.visit(`/inference/minimax-m3?i_seq=agentic-traces&unofficialrun=${OVERLAY_RUN_ID}`, {
Expand All @@ -481,15 +481,15 @@ describe('Deprecated model source attribution', () => {
cy.get('#chart-0 .unofficial-overlay-pt').should('have.length.greaterThan', 0);
cy.get('#chart-0 [data-testid="result-context"]').should(
'contain.text',
'Source: SemiAnalysis InferenceX™ + UNOFFICIAL overlays (deprecated)',
'Source: SemiAnalysis InferenceX™ + UNOFFICIAL overlays (Deprecated)',
);
cy.get('#chart-0 .unofficial-watermark-image').should('exist');
cy.get('.deprecated-watermark').should('not.exist');
cy.get('[aria-label="Dismiss historical-m3-overlay"]').click();
cy.get('#chart-0 .unofficial-overlay-pt').should('not.exist');
cy.get('#chart-0 [data-testid="result-context"]').should(
'contain.text',
'Source: SemiAnalysis InferenceX™ (deprecated)',
'Source: SemiAnalysis InferenceX™ (Deprecated)',
);

cy.viewport(375, 900);
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/components/ui/result-context.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ function renderContext(locale: 'en' | 'zh') {

describe('ResultContext', () => {
it.each([
['en', 'SemiAnalysis InferenceX™', 'Source: SemiAnalysis InferenceX™ (deprecated)'],
['en', 'SemiAnalysis InferenceX™', 'Source: SemiAnalysis InferenceX™ (Deprecated)'],
['zh', 'SemiAnalysis InferenceX™', '来源: SemiAnalysis InferenceX™ (已弃用)'],
[
'en',
'SemiAnalysis InferenceX™ + UNOFFICIAL overlays',
'Source: SemiAnalysis InferenceX™ + UNOFFICIAL overlays (deprecated)',
'Source: SemiAnalysis InferenceX™ + UNOFFICIAL overlays (Deprecated)',
],
[
'zh',
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/ui/result-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function ResultContext({
<dt className="inline font-medium text-foreground">{labels.source}:</dt>{' '}
<dd className="inline">
{source}
{deprecated && (locale === 'zh' ? ' (已弃用)' : ' (deprecated)')}
{deprecated && (locale === 'zh' ? ' (已弃用)' : ' (Deprecated)')}
</dd>
</div>
)}
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/lib/views-api/docs/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ export const operations: ApiOperation[] = [
path: '/api/v1/views/options',
summary: text('Discover every views-API option domain', '获取 views API 的全部选项域'),
description: text(
'Static discovery endpoint for the views API: models (with DB keys, category and release date), sequences, precisions, hardware (with vendor, architecture, TDP and per-provider hourly cost), frameworks, speculative-decoding methods, percentiles, x-axis and scale modes, chart metrics (bilingual labels, unit, polarity), quick-filter domains, reliability ranges, and overview/calculator/fleet option sets — plus the defaults the dashboard itself uses. Values come from the same registries the dashboard renders its controls from, so this response is the authoritative input catalog for the other /api/v1/views endpoints. Inference charts for models with category deprecated append (deprecated) to the source attribution, including PNG exports and unofficial-run overlays, without deprecated background watermarks. This is presentation only and does not change view data. No database access.',
'views API 的静态发现端点:模型(含数据库键、分类与发布日期)、序列、精度、硬件(含厂商、架构、TDP 及各供应商每小时成本)、推理框架、投机解码方法、百分位、x 轴与坐标缩放模式、图表指标(中英文标签、单位、极性)、快捷筛选域、可靠性时间范围,以及 overview/calculator/fleet 的选项集,并附仪表盘实际使用的默认值。所有取值直接来自仪表盘控件渲染所用的注册表,因此该响应是其余 /api/v1/views 端点的权威输入目录。分类为 deprecated 的模型会在推理图表的来源署名后添加 (已弃用),英文页面显示 (deprecated);PNG 导出和非官方 run overlay 中也保留该后缀,不再显示“已弃用”背景水印。此变更仅影响展示,不改变视图数据。不访问数据库。',
'Static discovery endpoint for the views API: models (with DB keys, category and release date), sequences, precisions, hardware (with vendor, architecture, TDP and per-provider hourly cost), frameworks, speculative-decoding methods, percentiles, x-axis and scale modes, chart metrics (bilingual labels, unit, polarity), quick-filter domains, reliability ranges, and overview/calculator/fleet option sets — plus the defaults the dashboard itself uses. Values come from the same registries the dashboard renders its controls from, so this response is the authoritative input catalog for the other /api/v1/views endpoints. Inference charts for models with category deprecated append (Deprecated) to the source attribution, including PNG exports and unofficial-run overlays, without deprecated background watermarks. This is presentation only and does not change view data. No database access.',
'views API 的静态发现端点:模型(含数据库键、分类与发布日期)、序列、精度、硬件(含厂商、架构、TDP 及各供应商每小时成本)、推理框架、投机解码方法、百分位、x 轴与坐标缩放模式、图表指标(中英文标签、单位、极性)、快捷筛选域、可靠性时间范围,以及 overview/calculator/fleet 的选项集,并附仪表盘实际使用的默认值。所有取值直接来自仪表盘控件渲染所用的注册表,因此该响应是其余 /api/v1/views 端点的权威输入目录。分类为 deprecated 的模型会在推理图表的来源署名后添加 (已弃用),英文页面显示 (Deprecated);PNG 导出和非官方 run overlay 中也保留该后缀,不再显示“已弃用”背景水印。此变更仅影响展示,不改变视图数据。不访问数据库。',
),
audience: 'public',
stability: 'beta',
Expand Down
2 changes: 1 addition & 1 deletion packages/skills/skills/inferencex-api/integrity.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"references/cli-contract.md": "4f070877eeefffad2860c58f79f68432fbe27aa21fc578a1c696f0309a3d7d7b",
"references/cli.md": "11e1183f7ed70d669019e8435ac16a6a9f873de027507b8850a9943f6659bfd9",
"references/collectivex.md": "f79cf8e2779a9289ab69f79f4a4b338e0b9a5f76a3750a3e969f33a744e726a1",
"references/dashboard-views.md": "cad0dfc02b105f91a333842328e674b8300fffa733600d6bdd9183dc160d1e97",
"references/dashboard-views.md": "2023f2c5d703a66917cd3f19053888c0402231d70e142fd2739be1b743d01474",
"references/offline-exports.md": "95aa565dcd4c9e592159baa560a9a58217bc61e395de1c6daf0576795c7f4ec9",
"references/pareto.md": "1b4d2d163f982e3f2d97addce310789eae9c1e5badd82dd7501708c9e0385027",
"references/powerx.md": "5af5527d54a7e6191a5769080c122638b333b1ceb59e19fdee7df662a5cd3c8f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ results or treat its interpolated values as separately measured operating points
MiniMax M3 has `category=deprecated` in `options.models`; it remains selectable
through explicit model parameters and overview `modelScope=all`. MiniMax M3.1
Flash remains in the default model group.
For models with `category=deprecated`, inference charts append `(deprecated)`
For models with `category=deprecated`, inference charts append `(Deprecated)`
to the source attribution, or `(已弃用)` in Chinese. The suffix is also included
in PNG exports and unofficial-run overlays; there are no deprecated background
watermarks. This is presentation only: view API values and filters are unchanged.

中文:对于 `category=deprecated` 的模型,推理图表在来源署名后添加 `(已弃用)`,
英文页面显示 `(deprecated)`。PNG 导出和非官方 run overlay 中也保留该后缀,
英文页面显示 `(Deprecated)`。PNG 导出和非官方 run overlay 中也保留该后缀,
不再显示“已弃用”背景水印。此变更仅影响展示,不改变视图 API 的数值或筛选行为。

2. Build one public HTTPS GET URL using `URLSearchParams`, especially for JSON
Expand Down
Loading