Commit 76f6f4f
committed
test: realign the AgentX frontier tests with #736
Pareto frontier from its selected axes without E2E normalized-interactivity
gating" — and shipped with "full checks intentionally skipped for this focused
change". Master has been red since: 3 unit tests and 3 e2e suites still assert
the gating, and the api-doc digest gate was left tripped. This updates the tests
to the behaviour that was chosen. No src behaviour changes.
Unit:
- overview-data: an agentic point dominated on total tokens and slower on E2E is
no longer dropped, so the tier-50 read lands on it (8100) instead of coming
back null.
- useThroughputData: buildGpuGroups keeps an e2e-dominated point, because
eligibility is now decided downstream from the selected axes.
- api-route-catalog: reviewed overview-data.ts for #736 and updated its digest.
Tier reads change value, but the Overview BFF parameters and the
OverviewPageData shape are byte-identical — verified by diffing the exported
surface against 08e1f7d — so no published contract moved.
E2E:
- The "Advanced" x-axis popover is gone and all four modes are flat tabs, so the
four specs that opened it now click the tab. Agentic also defaults to
Interactivity rather than E2E Normalized Interactivity.
- The derived-metrics stub moves to beforeEach. Cypress clears intercepts
between tests, and these specs relied on the old default fetching during
`before` while the stub was alive; React Query then held the result for the
spec. Nothing fetches on load now, so a later switch into that mode issued a
live request and rendered no chart.
- The URL-restored-mode regression test now restores TTFT. It asked for
Interactivity, which is the new default, so it could no longer fail.
- overlay-optimal-only asserted that overlay points are hidden because
trace-less rows cannot join the canonical frontier. They now stand or fall on
the selected axes like any other point, and all five fixture configs are
non-dominated there — throughput falls monotonically as interactivity rises —
so the suite would have asserted five visible either way. It gets a sixth,
deliberately dominated overlay config, so Optimal Only has something to drop;
making that point non-dominated fails the test.
Verified: 3363 unit tests, 598/602 e2e locally. Two local failures are not from
this change — zh-pages passes in isolation (page-load timeout under parallel
load), and inference-replay fails on a wall-clock animation assertion, imports
nothing touched here, and passed CI on #737.
中文:#736 有意移除了端到端归一化交互性的前沿门控,并"刻意跳过完整检查",导致 master
持续为红:3 项单测与 3 个 e2e 套件仍在断言已被移除的门控,API 文档摘要闸门也未更新。
本提交只把测试对齐到既定行为,不改动任何源码行为。单测:概览档位读数不再因总 token
被支配而丢弃该点(改为 8100);buildGpuGroups 保留被 e2e 支配的点;复核 overview-data.ts
后更新摘要(对外参数与响应结构逐字节一致)。E2E:Advanced 弹出菜单已移除,四个模式改为
平铺标签页;派生指标 stub 移至 beforeEach(Cypress 会在测试间清除拦截);URL 恢复模式
的回归测试改用 TTFT(原用 Interactivity 已与新默认值相同而无法失败);overlay-optimal-only
新增一个刻意被支配的配置,否则该断言无论过滤器如何都会通过。1 parent b367003 commit 76f6f4f
7 files changed
Lines changed: 203 additions & 119 deletions
File tree
- packages/app
- cypress
- e2e
- support
- src
- components/calculator
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
46 | 59 | | |
47 | 60 | | |
48 | 61 | | |
| |||
69 | 82 | | |
70 | 83 | | |
71 | 84 | | |
72 | | - | |
73 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
74 | 89 | | |
75 | | - | |
| 90 | + | |
76 | 91 | | |
77 | 92 | | |
78 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
15 | 27 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| |||
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | | - | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
41 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
42 | 60 | | |
43 | | - | |
44 | | - | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
48 | | - | |
49 | | - | |
| 64 | + | |
| 65 | + | |
50 | 66 | | |
51 | | - | |
| 67 | + | |
52 | 68 | | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
58 | 74 | | |
59 | | - | |
| 75 | + | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
63 | | - | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
67 | | - | |
| 83 | + | |
68 | 84 | | |
69 | 85 | | |
70 | 86 | | |
0 commit comments