13 counted, under 7 rules. “Not counted” marks a compiler error that restates a design-system violation, “Ignored” one the agent silenced with a comment.
page.tsx:33:19 · 800px`800px` is a raw length. Use a token.
page.tsx:34:17 · 2rem auto`2rem auto` is a raw length. Use a token.
page.tsx:40:39 · 2rem`2rem` is a raw length. Use a token.
page.tsx:70:39 · 2rem`2rem` is a raw length. Use a token.
page.tsx:6:6Type alias 'Shipment' is declared but never used.
Steps
One row per model call, with the tools it asked for. An agent that reads the guidelines before writing shows it here; what a checker or submit_view answered is under its call.
Step
Tools
Tokens in
Tokens out
Cost
0
read_file
842
50
$0.0000
1
write_file
1,402
1,122
$0.0000
2
stop
2,551
39
$0.0000
Output cap
20,000 tokens a step
2
3import data from "./fixture.json";
4import { css } from "styled-system/css";
5
6type Shipment = typeof data.shipment;
7type Package = typeof data.packages[0];
8type Event = typeof data.events[0];
9
10const totalWeight = data.packages.reduce((sum, pkg) => sum + pkg.weightKg, 0);
11
12export default function Page() {
13 const shipment = data.shipment;
14 const packages = data.packages;
15 // sort events newest first
16 const events = [...data.events].sort(
17 (a, b) => new Date(b.at).getTime() - new Date(a.at).getTime()
18 );
19
20 const formatDate = (iso: string) =>
21 new Date(iso).toLocaleString("en-US", {
22 year: "numeric",
23 month: "long",
24 day: "numeric",
25 hour: "numeric",
26 minute: "2-digit",
27 });
28
29 return (
30 <div
31 css={css}
32 style={{
33 maxWidth: "800px",
34 margin: "2rem auto",
35 fontFamily: "system-ui, sans-serif",
36 }}
37 >
38 <h1>Shipment Detail</h1>
39
40 <section style={{ marginBottom: "2rem" }}>
41 <h2>
42 {shipment.id} -{" "}
43 {shipment.status === "in_transit" ? "In transit" : shipment.status}
page.tsx:1:1Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `css` div