Repository navigation
Move network figures into the benchmarks section - #23
Conversation
The three network figure cards, their footnote, and the tables link now sit in one labeled row after the single-brain scores. Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
Node's fetch of JetBrains Mono now returns /l/font?kit= URLs, which Next 16.2.11 rejects because they do not end in .woff2. Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
…nt URLs." This reverts commit 0c49ab8. Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
RodCor
left a comment
There was a problem hiding this comment.
design lead review at 55e1e54: changes needed (one item, plus housekeeping).
passes: the move is verbatim (values, details, footnote, link text unchanged; checked in the diff), existing km-text tokens only, no raw px/hex, h2 > h3 order, axe 0 new, focus order sane, 0 px pixelmatch vs 568b9ed, CLS 0. lighthouse mobile median of 5: 100 after vs 99 before (lab, local serve; after run 1 was an 89 / LCP 3763 ms outlier, median LCP 909 ms). heights: benchmarks 29% of page at 1440 and 33% at 390 (at the cap). network is still 39% / 41%, which item 2 (tail cut) handles. CI verify green at 55e1e54. no other open PRs touch these files.
fails:
- hierarchy / copy, benchmark-results.tsx:128. the new h3 "Kimetsu Network" sits over a card labeled "One Kimetsu brain" (1.77x vs no memory). the heading credits a single-brain number to the network, and the PR body's own reason ("keeps it apart from the single-brain scores") doesn't fit that card. passing looks like: an h3 that describes all three cards and still separates them from the accuracy scores above, e.g. back to "What Kimetsu adds", or something like "Gains over no memory (Token F1)". keep the test in sync.
housekeeping, same push:
- main is now f5e3c10 (#22 merged). merge it in so CI runs on the combined tree, and fix the body line "origin/main was still 88b8de6". #22 renders byte-identical, so the current shots stay valid. no reshoot needed unless the h3 text wraps differently; if it does, reshoot benchmarks at 1440 and 390 only.
| reranking, with no LLM calls. | ||
| </p> | ||
| <div className="mt-10"> | ||
| <h3 className="km-text-lg leading-7 font-semibold">Kimetsu Network</h3> |
There was a problem hiding this comment.
fails hierarchy/copy: "Kimetsu Network" labels a row whose first card is "One Kimetsu brain" (1.77x vs no memory), so it credits a single-brain figure to the network. passing: a label that covers all three cards and still separates them from the accuracy cards above, e.g. "What Kimetsu adds" (the old, accurate label) or "Gains over no memory (Token F1)". update the h3 regex in tests/homepage-network.test.mjs to match.
The first card is a single-brain comparison, so the row heading should cover all three figures. Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>
RodCor
left a comment
There was a problem hiding this comment.
design lead re-review at e52e31f: approved.
- blocker fixed: the h3 is now "What Kimetsu adds" (benchmark-results.tsx:128-130), which labels all three cards, the single-brain 1.77x included. the test regexes in tests/homepage-network.test.mjs match the new label.
- main f5e3c10 is merged in (d4250d5). the network-diagram.module.css and test changes in the compare are #22's and come through unchanged.
- the PR body is current: it names main f5e3c10 and the new label.
- verify is green on e52e31f.
- no reshoot needed: the screenshots are from 0c49ab8 and still show the old label, but the new 17-character h3 fits on one line at 390 px, so layout and heights don't change.
everything else passes as in the 55e1e54 review. still a draft: mark it ready before merging.
The three network figure cards, their footnote, and the tables link now sit in one labeled row inside Benchmarks. This branch includes
origin/mainatf5e3c10.Screenshots and Lighthouse were measured at
0c49ab86b7b477b39784e05629ad00543e5a9222. Before is localorigin/mainas it was then (88b8de6). After is that build. Both werenpm run buildoutput served withnpx serve out. The benchmarks crops were compared again after the heading rename and thef5e3c10merge. The h3 stays one line (28px) at 1440 and 390, and the section box is unchanged (915px and 1814px). Differing pixels are the heading glyphs. No reshoot.Changes
km-text-lgclasses. That is the heading these three cards had. Judged: it covers the single-brain card and the two network cards, and an h3 stays under the h2.Heights
Playwright Chromium,
deviceScaleFactor1, default motion. Page height isdocument.documentElement.scrollHeight. Section height isgetBoundingClientRect().height. Measured, in px.Grep of
out/index.htmlMeasured. In the rendered markup each string appears once, inside
#benchmarks, and zero times inside#network. The second file hit is the Next.js flight payload of that same text node.axe-core
0 violations before and after, at 1440×900 and 390×844. 0 new violations. Measured.
Focus order
On the after build, tab order goes through the header, hero, network controls, single-brain links, then "Tables and caveats", then Get started. Measured. At 1440 the quick-start host switcher (y=2677) follows "All installation options" (y=2825). That pair is in
quick-start.tsx, which this change does not edit, and the same pair is on the main build. Measured.Lighthouse
Performance only, one run at a time, fresh headless Chrome each run, before and after interleaved. Local
npx serve out, not the live site.Lighthouse 13.6.0. Chrome 157.0.8103.50 (
HeadlessChrome/157.0.0.0). Emulated device: moto g power (2022), form factor mobile, screen 412×823 at 1.75×. Simulated throttling: rtt 150 ms, throughput 1638.4 kbps, CPU slowdown 4×.LCP element on all 10 runs:
section#network > div.grid > div > p.km-text-md("The same project lessons follow you from machine to machine, in Grok Bot, Codex…"). Measured.The median score moved from 99 to 100 because Total Blocking Time moved (median metric score 0.98 to 0.99). Median FCP, LCP, Speed Index, and CLS scores stayed at 1. Measured. After run 1 (benchmarkIndex 3297) had LCP 3763 ms; the after median LCP is 909 ms and median CLS is 0.
Pixelmatch
After shots against
568b9ed, threshold 0. Differing pixels: full 1440×900 0, full 390×844 0, network 1440×900 0, network 390×844 0, benchmarks 1440×900 0, benchmarks 390×844 0. Measured. After the heading rename, the benchmarks crops differ from42d1312only in the heading glyphs (1304 pixels at each width). Outside that band: 0 pixels at 1440 and 1 antialiased pixel at 390. Measured.Screenshots
Pinned to
42d13123a5ba200189089a118dc546a67adb589eoncursor/pr-assets-proof. Taken at0c49ab86b7b477b39784e05629ad00543e5a9222.