From 00537eb84cc7c1da4f413d25613a8cbc6c4c1f4c Mon Sep 17 00:00:00 2001 From: Kev Date: Fri, 17 Jul 2026 01:36:53 -0400 Subject: [PATCH] =?UTF-8?q?P1-8:=20truth=20in=20Compare=20verdict=20?= =?UTF-8?q?=E2=80=94=20no=20phantom=20"tonight",=20cite=20what=20actually?= =?UTF-8?q?=20wins?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phone audit: the Compare verdict read "the edge tonight tilts his way" for Jokić vs Wembanyama — an NBA claim in July, when NBA has 0 games. The page is sample/form data with no game resolution, so "tonight" can never be verified. Reframed to "on current form" (the rows ARE L10 form) — always honest, in or out of season. Also fixed the cited dimensions: the verdict claimed "usage", but in the sample Jokić's Usage% (29.1) is LOWER than Wemby's (31.0) — he wins scoring, boards, and playmaking, not usage. Copy now matches the data. Locks both P1-7 and P1-8 in vyndrParityQA. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/unit/vyndrParityQA.test.js | 17 +++++++++++++++++ web/src/app/compare/page.tsx | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/tests/unit/vyndrParityQA.test.js b/tests/unit/vyndrParityQA.test.js index 4a2e25e..824ff35 100644 --- a/tests/unit/vyndrParityQA.test.js +++ b/tests/unit/vyndrParityQA.test.js @@ -281,3 +281,20 @@ describe('P1-5 — dense rows CONTAIN at 390px (not just html overflow-x:hidden) expect((gc.match(/flexWrap: 'wrap', minWidth: 0/g) || []).length).toBeGreaterThanOrEqual(2); }); }); + +// ── P1-7 lock — the flat edge board never leads with a fabricated edge ─────── +describe('P1-7 — edge board guards the broken edge placeholder', () => { + it('EdgeCell + flattenToEdgeBoard both cap a sane market edge (absent > fake)', () => { + expect(read('components/vyndr/MobileEdgeBoard.tsx')).toMatch(/SANE_EDGE_MAX/); + expect(read('lib/slateAdapter.js')).toMatch(/EDGE_BOARD_SANE_MAX/); + }); +}); + +// ── P1-8 lock — Compare verdict makes no unverifiable "tonight" claim ──────── +describe('P1-8 — Compare verdict is time-honest (form, not a phantom game)', () => { + const compare = read('app/compare/page.tsx'); + it('the sample verdict never claims "tonight" (NBA has 0 games in July)', () => { + expect(compare).not.toMatch(/edge tonight/i); + expect(compare).toMatch(/on current form/i); + }); +}); diff --git a/web/src/app/compare/page.tsx b/web/src/app/compare/page.tsx index 387a83b..78ac651 100644 --- a/web/src/app/compare/page.tsx +++ b/web/src/app/compare/page.tsx @@ -59,7 +59,7 @@ export default function ComparePage() {
VYNDR VERDICT
- {SAMPLE.a.name} carries the higher floor on usage and playmaking — the edge tonight tilts his way. + {SAMPLE.a.name} carries the higher floor on scoring, boards, and playmaking — on current form, the edge tilts his way.