From 677cd7394540cb3e183033a5bae6a37d529c6c33 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Fri, 30 Oct 2026 17:54:08 +0800 Subject: [PATCH] Fix Peec team bounds regression assertion --- apps/docs/tests/research.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/docs/tests/research.test.ts b/apps/docs/tests/research.test.ts index 8e21e5d..40d44e1 100644 --- a/apps/docs/tests/research.test.ts +++ b/apps/docs/tests/research.test.ts @@ -151,7 +151,14 @@ test("retracted ARR and projected margins remain excluded", () => { const forecast = snapshot.observations.find((o) => o.kind === "非GAAP毛利率预期")!; assert.equal(forecast.selection, "excluded"); const peec = snapshot.companies.find((c) => c.name === "Peec AI")!; - assert.equal(peec.teamBound, ">"); + assert.equal(peec.team, 100); + assert.equal(peec.teamBound, "≥"); + const currentTeam = snapshot.observations.find((o) => o.id === "PEEC-JOB-TEAM")!; + assert.equal(currentTeam.value, peec.team); + assert.equal(currentTeam.bound, peec.teamBound); + const historicalTeam = snapshot.observations.find((o) => o.id === "O067")!; + assert.equal(historicalTeam.value, 70); + assert.equal(historicalTeam.bound, ">"); assert.equal(snapshot.observations.filter((o) => o.company === peec.id && o.selection === "signal").length, 1); assert.ok(snapshot.observations.some((o) => o.company === peec.id && o.selection === "historical-estimate")); });