Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(ui): quiet Code Health and Coverage, describe this release's score changes, and stop pages over-scrolling (#3031)
Raghav Chamadiya37273ba09b21
diff --git a/packages/ui/__tests__/health/inferred-tests.test.tsx b/packages/ui/__tests__/health/inferred-tests.test.tsxindex 1b62d839f..4982d59b1 100644--- a/packages/ui/__tests__/health/inferred-tests.test.tsx+++ b/packages/ui/__tests__/health/inferred-tests.test.tsx@@ -87,20 +87,17 @@ describe("RiskCoverageScatter, inferred basis", () => {expect(screen.queryByText("a test reaches it")).not.toBeInTheDocument();});- it("paints the dots by column in the sunset pair, never the health ramp", () => {- // Health is already the Y axis, so a health-banded dot would re-say its own- // position and leave nothing carrying the split. It would also paint a- // static reading in the colours reserved for measured health bands.+ it("keeps dots neutral and colours only weak files nothing reaches", () => {const { container } = render(<RiskCoverageScatter basis="inferred" points={points} />,);- const fillOf = (path: string) =>- container.querySelector(`circle[data-file="${path}"]`)?.getAttribute("fill");+ const classOf = (path: string) =>+ container.querySelector(`circle[data-file="${path}"]`)?.getAttribute("class") ?? "";- expect(fillOf("src/a.py")).toBe("var(--color-accent-fill)");- expect(fillOf("src/b.py")).toBe("var(--color-accent-secondary)");- // src/b.py scores 3, which on the measured chart would be the error band.- expect(container.innerHTML).not.toContain("--color-error");+ // src/a.py is reached by a test: quiet neutral mark.+ expect(classOf("src/a.py")).toContain("--color-text-tertiary");+ // src/b.py scores 3 and nothing reaches it: the one coloured kind.+ expect(classOf("src/b.py")).toContain("--color-error");expect(container.innerHTML).not.toContain("--color-success");});diff --git a/packages/ui/src/chat/source-citations.tsx b/packages/ui/src/chat/source-citations.tsxindex 3757afb40..6974a72a5 100644--- a/packages/ui/src/chat/source-citations.tsx+++ b/packages/ui/src/chat/source-citations.tsx@@ -221,10 +221,10 @@ export function SourceCitations({if (sources.length === 0) return null;return (- <details className="group mt-5 border-t border-[var(--color-border-default)] pt-3">+ <details className="group/cites mt-5 border-t border-[var(--color-border-default)] pt-3"><summary className="flex min-h-8 cursor-pointer list-none items-center gap-2 font-mono text-[10px] uppercase tracking-[0.12em] text-[var(--color-text-tertiary)] marker:hidden focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)] [&::-webkit-details-marker]:hidden"><span>Sources · {sources.length}</span>- <span aria-hidden className="transition-transform group-open:rotate-90">›</span>+ <span aria-hidden className="transition-transform group-open/cites:rotate-90">›</span></summary>{/* Links, not chips. Each one goes somewhere, so the accent is earned onhover; a border and a ground on every entry turned a list of eightdiff --git a/packages/ui/src/docs/docs-reader.tsx b/packages/ui/src/docs/docs-reader.tsxindex babed4d4f..70f2f57c7 100644--- a/packages/ui/src/docs/docs-reader.tsx+++ b/packages/ui/src/docs/docs-reader.tsx@@ -581,9 +581,9 @@ function DocsReaderBody({after. Collapsed by default — it answers a question, it does notraise one. */}{sources.length > 0 && (- <details className="group mb-6 rounded-lg border border-[var(--color-border-default)]">+ <details className="group/toc mb-6 rounded-lg border border-[var(--color-border-default)]"><summary className="flex cursor-pointer list-none items-center gap-2 px-3.5 py-2 text-xs text-[var(--color-text-secondary)]">- <ChevronRight className="h-3 w-3 shrink-0 text-[var(--color-text-tertiary)] transition-transform group-open:rotate-90" />+ <ChevronRight className="h-3 w-3 shrink-0 text-[var(--color-text-tertiary)] transition-transform group-open/toc:rotate-90" /><span>Built from {sources.length} source{sources.length === 1 ? "" : " files"}</span>diff --git a/packages/ui/src/health/code-health-lede.tsx b/packages/ui/src/health/code-health-lede.tsxindex 44f52968f..21ddc44f5 100644--- a/packages/ui/src/health/code-health-lede.tsx+++ b/packages/ui/src/health/code-health-lede.tsx@@ -349,7 +349,7 @@ export function CodeHealthLede({if (variant === "lead") return full;return (- <details className="group">+ <details className="group/lede"><summary className="flex cursor-pointer list-none flex-wrap items-baseline gap-x-2.5 gap-y-1 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)] [&::-webkit-details-marker]:hidden"><span className="font-mono text-[10px] uppercase tracking-[0.12em] text-[var(--color-text-tertiary)]">Code health@@ -373,10 +373,10 @@ export function CodeHealthLede({{healthChip.label}</span>) : null}- <span className="text-xs font-medium text-[var(--color-accent-primary)] group-open:hidden">+ <span className="text-xs font-medium text-[var(--color-accent-primary)] group-open/lede:hidden">More</span>- <span className="hidden text-xs font-medium text-[var(--color-accent-primary)] group-open:inline">+ <span className="hidden text-xs font-medium text-[var(--color-accent-primary)] group-open/lede:inline">Less</span></summary>diff --git a/packages/ui/src/health/coverage-bar.tsx b/packages/ui/src/health/coverage-bar.tsxindex d586ce3fb..af379a54a 100644--- a/packages/ui/src/health/coverage-bar.tsx+++ b/packages/ui/src/health/coverage-bar.tsx@@ -1,4 +1,6 @@-import { coverageColor as color } from "./tokens";+/** Neutral at rest; one restrained colour only for thin coverage. */+const color = (pct: number) =>+ pct < 30 ? "bg-[var(--color-error)]/70" : "bg-[var(--color-text-tertiary)]";export interface CoverageBarProps {value: number | null | undefined;diff --git a/packages/ui/src/health/coverage-view.tsx b/packages/ui/src/health/coverage-view.tsxindex e72ac0a71..51b87b59a 100644--- a/packages/ui/src/health/coverage-view.tsx+++ b/packages/ui/src/health/coverage-view.tsx@@ -50,7 +50,16 @@ import {buildCoverageAiPrompt,type CoverageFilePromptInput,} from "./ai-prompt-builder";-import { scoreBadgeClass } from "./tokens";+import { bandForScore } from "@repowise-dev/types/health";+import { scoreTextColor } from "./tokens";++/** Plain figure; the band colour appears only where health is actually weak. */+function quietScoreText(score: number): string {+ const band = bandForScore(score);+ return band === "needs_work" || band === "at_risk"+ ? scoreTextColor(score)+ : "text-[var(--color-text-secondary)]";+}import { COVERAGE_REPORT_FORMATS_LABEL } from "./coverage-formats";import { CiHint } from "../shared/ci-hint";import type { CodeHealthAdapter } from "./code-health-adapter";@@ -340,9 +349,7 @@ function CoverageBody({f.health_score == null ? (<span className="text-[var(--color-text-tertiary)]">—</span>) : (- <span- className={`inline-block rounded px-1.5 py-0.5 text-xs font-semibold ${scoreBadgeClass(f.health_score)}`}- >+ <span className={`text-xs font-medium tabular-nums ${quietScoreText(f.health_score)}`}>{f.health_score.toFixed(1)}</span>),@@ -600,9 +607,7 @@ const gapColumns: ResponsiveColumn<ReachedFileRow>[] = [f.health_score == null ? (<span className="text-[var(--color-text-tertiary)]">—</span>) : (- <span- className={`inline-block rounded px-1.5 py-0.5 text-xs font-semibold ${scoreBadgeClass(f.health_score)}`}- >+ <span className={`text-xs font-medium tabular-nums ${quietScoreText(f.health_score)}`}>{f.health_score.toFixed(1)}</span>),diff --git a/packages/ui/src/health/fix-first/fix-first-item.tsx b/packages/ui/src/health/fix-first/fix-first-item.tsxindex 33c3529b7..98b2bd199 100644--- a/packages/ui/src/health/fix-first/fix-first-item.tsx+++ b/packages/ui/src/health/fix-first/fix-first-item.tsx@@ -39,6 +39,10 @@ const MICRO = "font-mono text-[10px] uppercase tracking-[0.12em] text-[var(--colconst LINK ="rounded text-[var(--color-accent-primary)] underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)]";+/** File paths are reference text: muted at rest, readable on hover, never accent. */+const PATH_LINK =+ "rounded text-[var(--color-text-secondary)] underline-offset-2 hover:text-[var(--color-text-primary)] hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)]";+export interface FixFirstItemProps {item: FixItem;expanded: boolean;@@ -90,14 +94,14 @@ export function FixFirstItem({onClick={onToggle}aria-expanded={expanded}aria-controls={panelId}- className="group flex w-full min-w-0 items-start justify-between gap-3 rounded text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)]"+ className="group/row flex w-full min-w-0 items-start justify-between gap-3 rounded text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)]">- <span className="min-w-0 text-[13px] font-medium leading-5 text-[var(--color-text-primary)] [overflow-wrap:anywhere] group-hover:text-[var(--color-accent-primary)]">+ <span className="min-w-0 text-[13px] font-medium leading-5 text-[var(--color-text-primary)] [overflow-wrap:anywhere]">{item.title}</span><ChevronDownaria-hidden- className={`mt-[3px] h-3.5 w-3.5 shrink-0 text-[var(--color-text-tertiary)] transition-transform ${+ className={`mt-[3px] h-3.5 w-3.5 shrink-0 text-[var(--color-text-tertiary)] transition-[transform,color] group-hover/row:text-[var(--color-text-primary)] ${expanded ? "rotate-180" : ""}`}/>@@ -105,7 +109,7 @@ export function FixFirstItem({<p className="flex min-w-0 flex-wrap items-baseline gap-x-3 text-xs leading-4">{href ? (- <Link href={href} className={`font-mono [overflow-wrap:anywhere] ${LINK}`}>+ <Link href={href} className={`font-mono [overflow-wrap:anywhere] ${PATH_LINK}`}>{location}</Link>) : (@@ -212,7 +216,7 @@ function Steps({</p><p className="mt-0.5 font-mono text-xs [overflow-wrap:anywhere]">{href ? (- <Link href={href} className={LINK}>+ <Link href={href} className={PATH_LINK}>{where}</Link>) : (diff --git a/packages/ui/src/health/risk-coverage-scatter.tsx b/packages/ui/src/health/risk-coverage-scatter.tsxindex d43a96801..9e17985ae 100644--- a/packages/ui/src/health/risk-coverage-scatter.tsx+++ b/packages/ui/src/health/risk-coverage-scatter.tsx@@ -1,8 +1,7 @@"use client";import { useEffect, useMemo, useRef, useState } from "react";-import { GOOD_MIN, bandForScore, formatScore, type CoverageBasis } from "@repowise-dev/types/health";-import { HEALTH_BAND_FILL } from "./tokens";+import { GOOD_MIN, formatScore, type CoverageBasis } from "@repowise-dev/types/health";export interface RiskCoveragePoint {file_path: string;@@ -116,7 +115,7 @@ export function RiskCoverageScatter({const maxNloc = Math.max(...data.map((d) => d.nloc), 1);const xScale = (pct: number) => padL + (pct / 100) * plotW;const yScale = (score: number) => padT + ((10 - score) / 10) * plotH;- const radius = (nloc: number) => 2 + Math.min(7, Math.sqrt(nloc / maxNloc) * 7);+ const radius = (nloc: number) => 1.5 + Math.min(3.5, Math.sqrt(nloc / maxNloc) * 3.5);// Column centres and the half-width the swarm may spread into. Kept clear// of the divider so the two clouds never touch and the split stays legible// at any container width.@@ -163,9 +162,8 @@ export function RiskCoverageScatter({cx={geom.xOf(p)}cy={geom.yScale(p.health_score)}r={geom.radius(p.nloc)}- className={`${inferred ? "" : bandFill(p.health_score)} ${onSelect ? "cursor-pointer" : ""}`}- {...(inferred ? { fill: reachedFill(p.reached) } : {})}- fillOpacity={0.75}+ className={`${markFill(p, inferred)} ${onSelect ? "cursor-pointer" : ""}`}+ fillOpacity={isCritical(p, inferred) ? 0.7 : 0.35}/>))}</g>@@ -215,65 +213,54 @@ export function RiskCoverageScatter({if (point) onSelect(point);}}>- {inferred ? null : (- <>- {/* Quadrant tinting. Faint enough to read as ground rather than as- four coloured panels the dots sit on top of. */}- <rect x={padL} y={padT} width={midX - padL} height={midY - padT} fill="currentColor" className="text-[var(--color-warning)]/5" />- <rect x={midX} y={padT} width={W - padR - midX} height={midY - padT} fill="currentColor" className="text-[var(--color-success)]/5" />- <rect x={padL} y={midY} width={midX - padL} height={H - padB - midY} fill="currentColor" className="text-[var(--color-error)]/8" />- <rect x={midX} y={midY} width={W - padR - midX} height={H - padB - midY} fill="currentColor" className="text-[var(--color-caution)]/5" />- </>- )}-{/* Axes and the two thresholds */}- <line x1={padL} y1={padT} x2={padL} y2={H - padB} stroke="currentColor" strokeOpacity={0.2} />- <line x1={padL} y1={H - padB} x2={W - padR} y2={H - padB} stroke="currentColor" strokeOpacity={0.2} />- <line x1={midX} y1={padT} x2={midX} y2={H - padB} stroke="currentColor" strokeOpacity={0.1} strokeDasharray="3 3" />- <line x1={padL} y1={midY} x2={W - padR} y2={midY} stroke="currentColor" strokeOpacity={0.1} strokeDasharray="3 3" />+ <line x1={padL} y1={padT} x2={padL} y2={H - padB} className="stroke-[var(--color-border-default)]" />+ <line x1={padL} y1={H - padB} x2={W - padR} y2={H - padB} className="stroke-[var(--color-border-default)]" />+ <line x1={midX} y1={padT} x2={midX} y2={H - padB} strokeDasharray="3 3" className="stroke-[var(--color-border-hover)]" />+ <line x1={padL} y1={midY} x2={W - padR} y2={midY} strokeDasharray="3 3" className="stroke-[var(--color-border-hover)]" />{inferred ? (<>- <text x={geom.colLeft} y={H - padB + 15} fontSize={10} textAnchor="middle" fill="currentColor" opacity={0.6}>+ <text x={geom.colLeft} y={H - padB + 15} fontSize={10} textAnchor="middle" className="fill-[var(--color-text-tertiary)]">no test reaches it</text>- <text x={geom.colRight} y={H - padB + 15} fontSize={10} textAnchor="middle" fill="currentColor" opacity={0.6}>+ <text x={geom.colRight} y={H - padB + 15} fontSize={10} textAnchor="middle" className="fill-[var(--color-text-tertiary)]">a test reaches it</text></>) : ([0, 25, 50, 75, 100].map((v) => (- <text key={`x${v}`} x={xScale(v)} y={H - padB + 15} fontSize={10} textAnchor="middle" fill="currentColor" opacity={0.5}>+ <text key={`x${v}`} x={xScale(v)} y={H - padB + 15} fontSize={10} textAnchor="middle" className="fill-[var(--color-text-tertiary)]">{v}%</text>)))}{[0, 2, 4, 6, 8, 10].map((v) => (- <text key={`y${v}`} x={padL - 7} y={yScale(v) + 3} fontSize={10} textAnchor="end" fill="currentColor" opacity={0.5}>+ <text key={`y${v}`} x={padL - 7} y={yScale(v) + 3} fontSize={10} textAnchor="end" className="fill-[var(--color-text-tertiary)]">{v}</text>))}{!inferred && (- <text x={padL + (W - padL - padR) / 2} y={H - 3} fontSize={10} textAnchor="middle" fill="currentColor" opacity={0.6}>+ <text x={padL + (W - padL - padR) / 2} y={H - 3} fontSize={10} textAnchor="middle" className="fill-[var(--color-text-tertiary)]">Line coverage</text>)}- <text x={11} y={H / 2} fontSize={10} textAnchor="middle" fill="currentColor" opacity={0.6} transform={`rotate(-90 11 ${H / 2})`}>+ <text x={11} y={H / 2} fontSize={10} textAnchor="middle" className="fill-[var(--color-text-tertiary)]" transform={`rotate(-90 11 ${H / 2})`}>Health score</text>{/* Region captions. These stay on the canvas because they name a partof it; the chart's key, which does not, sits underneath. */}{inferred ? (- <text x={padL + 8} y={H - padB - 8} fontSize={10} fill="currentColor" opacity={0.55}>+ <text x={padL + 8} y={H - padB - 8} fontSize={10} className="fill-[var(--color-text-tertiary)]">Weak, and nothing runs it</text>) : (<>- <text x={padL + 8} y={padT + 14} fontSize={10} fill="currentColor" opacity={0.5}>Risky, needs tests</text>- <text x={W - padR - 8} y={padT + 14} fontSize={10} textAnchor="end" fill="currentColor" opacity={0.5}>Sweet spot</text>- <text x={padL + 8} y={H - padB - 8} fontSize={10} fill="currentColor" opacity={0.5}>Critical hotspot</text>- <text x={W - padR - 8} y={H - padB - 8} fontSize={10} textAnchor="end" fill="currentColor" opacity={0.5}>Tested but messy</text>+ <text x={padL + 8} y={padT + 14} fontSize={10} className="fill-[var(--color-text-tertiary)]">Risky, needs tests</text>+ <text x={W - padR - 8} y={padT + 14} fontSize={10} textAnchor="end" className="fill-[var(--color-text-tertiary)]">Sweet spot</text>+ <text x={padL + 8} y={H - padB - 8} fontSize={10} className="fill-[var(--color-text-tertiary)]">Critical hotspot</text>+ <text x={W - padR - 8} y={H - padB - 8} fontSize={10} textAnchor="end" className="fill-[var(--color-text-tertiary)]">Tested but messy</text></>)}@@ -286,8 +273,7 @@ export function RiskCoverageScatter({cx={xOf(active)}cy={yScale(active.health_score)}r={geom.radius(active.nloc) * 1.5}- className={inferred ? "" : bandFill(active.health_score)}- {...(inferred ? { fill: reachedFill(active.reached) } : {})}+ className={markFill(active, inferred)}fillOpacity={0.9}stroke="var(--color-text-primary)"strokeWidth={1.5}@@ -324,7 +310,7 @@ export function RiskCoverageScatter({<p className="border-t border-[var(--color-border-default)] pt-2 font-mono text-[10px] uppercase tracking-[0.12em] tabular-nums text-[var(--color-text-tertiary)]">{inferred- ? `${data.length.toLocaleString()} files · ${reachedCount.toLocaleString()} reached by a test · colour repeats the column · dot size = lines of code · height is the health score · horizontal spread carries no meaning`+ ? `${data.length.toLocaleString()} files · ${reachedCount.toLocaleString()} reached by a test · dot size = lines of code · height is the health score · horizontal spread carries no meaning`: `${data.length.toLocaleString()} files · dot size = lines of code · thresholds at 60% coverage and 7.0 health`}</p></div>@@ -332,26 +318,20 @@ export function RiskCoverageScatter({}/**- * Fill by which column the file sits in, on the inferred basis.- *- * The sunset pair, and deliberately not the health ramp. Green/amber/red carry a- * band, so spending them here would dress a static reading as a measurement -- * and it would be redundant besides, because the Y axis already *is* the health- * score. Hue is the only thing left to carry the split, which is the one fact- * this chart exists to show.- *- * Tried first as a 6% wash behind the dots, which failed twice over: plum at- * that opacity is indistinguishable from grey on a light ground, and the- * health-banded dots on top took the whole visual budget to re-say what their- * own vertical position already said.+ * A point is drawn in colour only when it is the thing the chart exists to+ * find: weak health with nothing guarding it (under 60% coverage, or no test+ * reaching it). Every other file is a quiet neutral mark, so the few that+ * matter are the only ones that read.*/-function reachedFill(reached: boolean | undefined): string {- return reached ? "var(--color-accent-fill)" : "var(--color-accent-secondary)";+function isCritical(p: RiskCoveragePoint, inferred: boolean): boolean {+ if (p.health_score >= GOOD_MIN) return false;+ return inferred ? !p.reached : (p.line_coverage_pct ?? 100) < 60;}-/** Fill by health band. */-function bandFill(score: number): string {- return HEALTH_BAND_FILL[bandForScore(score)];+function markFill(p: RiskCoveragePoint, inferred: boolean): string {+ return isCritical(p, inferred)+ ? "fill-[var(--color-error)]"+ : "fill-[var(--color-text-tertiary)]";}/**diff --git a/packages/ui/src/health/untested-hotspot-warning.tsx b/packages/ui/src/health/untested-hotspot-warning.tsxindex 0d9189713..1f3848787 100644--- a/packages/ui/src/health/untested-hotspot-warning.tsx+++ b/packages/ui/src/health/untested-hotspot-warning.tsx@@ -81,7 +81,7 @@ export function UntestedHotspotWarning({className="group flex w-full items-baseline gap-x-4 py-2.5 text-left hover:bg-[var(--color-bg-elevated)]">{body}- <ArrowUpRight className="h-3 w-3 shrink-0 self-center text-[var(--color-text-tertiary)] group-hover:text-[var(--color-accent-primary)]" />+ <ArrowUpRight className="h-3 w-3 shrink-0 self-center text-[var(--color-text-tertiary)] group-hover/row:text-[var(--color-accent-primary)]" /></button>) : (<div className="flex w-full items-baseline gap-x-4 py-2.5">{body}</div>diff --git a/packages/ui/src/overview/section.tsx b/packages/ui/src/overview/section.tsxindex a251a6a26..b22cc2c2f 100644--- a/packages/ui/src/overview/section.tsx+++ b/packages/ui/src/overview/section.tsx@@ -77,10 +77,10 @@ export function OverviewSection({className,)}>- <details open={defaultOpen} className="group flex flex-col gap-3">+ <details open={defaultOpen} className="group/section flex flex-col gap-3"><summary className="flex cursor-pointer list-none flex-wrap items-baseline gap-x-2 gap-y-1 rounded focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-accent-primary)]"><span- className="text-[var(--color-text-tertiary)] transition-transform group-open:rotate-90"+ className="text-[var(--color-text-tertiary)] transition-transform group-open/section:rotate-90"aria-hidden>▸diff --git a/packages/web/src/app/layout.tsx b/packages/web/src/app/layout.tsxindex e22bf7b75..1969f5bdb 100644--- a/packages/web/src/app/layout.tsx+++ b/packages/web/src/app/layout.tsx@@ -104,7 +104,7 @@ export default async function RootLayout({it could not be clicked. */}<mainid="main-content"- className="flex flex-1 flex-col overflow-auto min-w-0"+ className="relative flex flex-1 flex-col overflow-auto min-w-0">{children}</main>diff --git a/packages/web/src/app/repos/[id]/code-health/page.tsx b/packages/web/src/app/repos/[id]/code-health/page.tsxindex d5d9e6f4a..745391e37 100644--- a/packages/web/src/app/repos/[id]/code-health/page.tsx+++ b/packages/web/src/app/repos/[id]/code-health/page.tsx@@ -534,15 +534,17 @@ export default function CodeHealthPage() {</div>}>- {/* Keyed by id alone: this notice is about one scoring change, so it is- dismissible for good and a later change introduces its own. */}- <ReleaseNotice id="health-cochange-scoring">+ {/* Replaced each release that moves health scores, and keyed with that+ release's version so a reader who dismissed an earlier one sees it. */}+ <ReleaseNotice id="health-scoring" version="0.55.0"><span className="font-medium text-[var(--color-text-primary)]">Health scores changed in this release.</span>{" "}- Co-change coupling is now measured relative to your repository and decays with- commit history rather than calendar time, so roughly one file in ten moves a- band. Scores are not comparable to snapshots taken before this release.+ Most files score higher: cohesion, duplication, hotspot and complexity findings+ that did not hold up are gone, and test code no longer counts against production files. Files in languages health cannot analyse used+ to count as 10.0; they now read "Not analysed" and leave the average, so a+ repository with many of them can read lower. Scores are not comparable to+ snapshots taken before this release.</ReleaseNotice>{meta ? (