Skip to content

Commit 5f9b934

Browse files
test: cover h2 img2img boundary gate
1 parent 73b0db1 commit 5f9b934

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

apps/web/src/app/(workspace)/workspace/settings/SettingsClient.test.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ describe("SettingsClient account verification", () => {
3030
signal_strength: "strong-controlled-seed-stable-cross-cache-transfer",
3131
admission_blocker: "research-side-response-cache-geometry-not-second-public-asset-or-product-contract",
3232
},
33+
{
34+
boundary_key: "h2-img2img-output-cloud-portability-weak-no-runtime-job",
35+
description: "H2 img2img output-cloud portability weak gate",
36+
status: "watch-only",
37+
signal_strength: "weak-or-unstable-not-distinct-from-simple-distance",
38+
admission_blocker: "img2img-portability-failed-admission-cache-and-simple-distance-distinctness",
39+
},
3340
{
3441
boundary_key: "rediffuse-stl10-bounded-scout-and-score-norm-completed-weak-results-no-runtime-job",
3542
description: "ReDiffuse STL-10 weak scout",
@@ -46,12 +53,14 @@ describe("SettingsClient account verification", () => {
4653
expect(markup).toContain("data-runner-boundary-panel");
4754
expect(markup).toContain("Runner admission gates");
4855
expect(markup).toContain("Watch-only");
49-
expect(markup).toContain(">2<");
56+
expect(markup).toContain(">3<");
5057
expect(markup).toContain("Admitted");
5158
expect(markup).toContain(">0<");
5259
expect(markup).toContain("Research candidates stay outside live jobs");
5360
expect(markup).toContain("H2 output-cloud geometry candidate");
5461
expect(markup).toContain("strong-controlled-seed-stable-cross-cache-transfer / research-side-response-cache-geometry-not-second-public-asset-or-product-contract");
62+
expect(markup).toContain("H2 img2img output-cloud portability weak gate");
63+
expect(markup).toContain("weak-or-unstable-not-distinct-from-simple-distance / img2img-portability-failed-admission-cache-and-simple-distance-distinctness");
5564
expect(markup).toContain("ReDiffuse STL-10 weak scout");
5665
expect(markup).toContain("weak-random-level / bounded-scout-and-score-norm-failed-membership-signal");
5766
});

apps/web/src/lib/research-boundaries.test.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ describe("getResearchBoundarySummary", () => {
1414
signal_strength: "strong-controlled-seed-stable-cross-cache-transfer",
1515
admission_blocker: "research-side-response-cache-geometry-not-second-public-asset-or-product-contract",
1616
},
17+
{
18+
boundary_key: "h2-img2img-output-cloud-portability-weak-no-runtime-job",
19+
description: "H2 img2img output-cloud portability weak gate",
20+
status: "watch-only",
21+
signal_strength: "weak-or-unstable-not-distinct-from-simple-distance",
22+
admission_blocker: "img2img-portability-failed-admission-cache-and-simple-distance-distinctness",
23+
},
1724
{
1825
key: "rediffuse-stl10-bounded-scout-and-score-norm-completed-weak-results-no-runtime-job",
1926
title: "ReDiffuse STL-10 weak scout",
@@ -24,17 +31,19 @@ describe("getResearchBoundarySummary", () => {
2431
}, "Unnamed boundary");
2532

2633
expect(summary).toMatchObject({
27-
boundaryCount: 2,
28-
watchOnlyBoundaryCount: 2,
34+
boundaryCount: 3,
35+
watchOnlyBoundaryCount: 3,
2936
admittedBoundaryCount: 0,
3037
ready: true,
3138
});
3239
expect(summary.previewLabels).toEqual([
3340
"H2 output-cloud geometry candidate",
41+
"H2 img2img output-cloud portability weak gate",
3442
"ReDiffuse STL-10 weak scout",
3543
]);
3644
expect(summary.previewDetails).toEqual([
3745
"strong-controlled-seed-stable-cross-cache-transfer / research-side-response-cache-geometry-not-second-public-asset-or-product-contract",
46+
"weak-or-unstable-not-distinct-from-simple-distance / img2img-portability-failed-admission-cache-and-simple-distance-distinctness",
3847
"watch",
3948
]);
4049
});

0 commit comments

Comments
 (0)