From 4c3e64412e0f66ea83b1cedf2ea4a8bdcfd0c79f Mon Sep 17 00:00:00 2001
From: Pranav Mathad
- CodeXray measures how well a codebase keeps its own architecture decisions over
- time, before and after the team adopted AI coding tools, and tells you which
- exceptions to fix first.
-
+ CodeXray checks a repository against its architecture decisions and ranks the
+ exceptions it finds. Each finding links to its place on the module map and to the
+ lines of code.
+ snapshot {dates[0]}
+ Loading the list of reports…
+
+ The list of reports could not be loaded.{" "}
+ {summaries.why}
+
+ No report of a real repository is in bundles/index.json.
+
- Finding, counting and ranking are computed, with no AI model. An AI model writes
- prose in three places only: reading written decisions, judging the code behind an
- exception, and describing a module. Each of its sentences is checked against the
- stored facts and marked AI.
-
- {real.length} {real.length === 1 ? "repository" : "repositories"}
- {dates.length === 1 && ` · snapshot ${dates[0]}`}
-
- Loading the list of reports…
-
- The list of reports could not be loaded.{" "}
- {summaries.why}
-
- No report of a real repository is in bundles/index.json.
-
- Synthetic fixtures, for testing the screens:{" "}
- {fixtures.map((r, i) => (
-
- {i > 0 && " · "}
-
- {r.label}
-
-
- ))}
- {title}
+ {checked === 0
+ ? "No decision checked."
+ : `${checked} ${checked === 1 ? "decision" : "decisions"} checked: ${present
+ .map((s) => `${counts[s]} ${STATUS[s].label.toLowerCase()}`)
+ .join(", ")}`}
+
+ The rest of this card could not be loaded.
+
- Your team wrote down how the code should fit together.{" "}
- Is it still true?
-
-
+ Which architecture problems to fix first, with the code behind each
+
+
+ Reports
+
+ {dates.length === 1 && (
+
- {STEPS.map(([t, d], i) => (
-
-
+ {real.map((r) => (
+
- Reports
+
+ How it works
- {summaries.state === "ready" && (
-
- {real.map((r, i) => (
-
- )}
- {fixtures.length > 0 && (
- 2 ? "lg:grid-cols-5" : "lg:grid-cols-2",
+ )}
+ >
+ {stages.map(([name, text], i) => (
+
- {present.flatMap((s) =>
- Array.from({ length: counts[s] }, (_, k) => (
-
-
-