You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SCORING.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,7 @@ Some problems are severe enough that no amount of other good behavior should com
168
168
|`auth-gate-detection`: 75%+ of pages require auth | 39 (F) | Most documentation is inaccessible. |
169
169
|`auth-gate-detection`: 50%+ of pages require auth | 59 (D) | Significant documentation is inaccessible. |
170
170
|`no-viable-path` diagnostic fires (see below) | 39 (F) | Agents have no effective way to access content at all. |
171
+
|`single-page-sample` diagnostic fires (see below) | 59 (D) | Too few pages discovered to produce a representative site-wide score. |
171
172
172
173
When multiple caps apply, the lowest one wins.
173
174
@@ -243,6 +244,8 @@ Some problems only become visible when you look at multiple checks together. The
243
244
244
245
**What it means**: Page-level category scores (page size, content structure, URL stability, etc.) are based on too few pages to be representative. These categories are marked as N/A in the score.
245
246
247
+
**Score impact**: This diagnostic caps the score at 59 (D). With page-level checks excluded, the remaining signal is too narrow to support a higher grade.
248
+
246
249
**What to do**: If your site has an llms.txt, ensure it contains working links so the tool can discover more pages. If testing a preview deployment, use `--canonical-origin` to rewrite cross-origin llms.txt links. You can also provide specific pages with `--urls`.
Copy file name to clipboardExpand all lines: docs/agent-score-calculation.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,14 +147,15 @@ Two checks have no warn state and are strictly pass/fail: `http-status-codes` an
147
147
148
148
Some problems are severe enough that no amount of other passing checks should compensate. When AFDocs detects a critical issue, we cap the score regardless of how well everything else performs.
|[No viable path](/interaction-diagnostics#no-viable-path-to-content) diagnostic fires | 39 (F) | Agents have no effective way to access content at all. |
|[No viable path](/interaction-diagnostics#no-viable-path-to-content) diagnostic fires | 39 (F) | Agents have no effective way to access content at all. |
158
+
|[Single-page sample](/interaction-diagnostics#single-page-sample) diagnostic fires | 59 (D) | Too few pages discovered to produce a representative score. |
158
159
159
160
When multiple caps apply, the lowest one wins.
160
161
@@ -169,6 +170,7 @@ When automatic page discovery finds fewer than 5 pages (using `random` or `deter
169
170
-**Page-level checks** (those that test sampled pages like `page-size-html`, `rendering-strategy`, `http-status-codes`, etc.) are marked as "not applicable" and excluded from the score.
170
171
-**Site-level checks** (llms.txt checks, coverage, auth-alternative-access) are scored normally.
171
172
-**Category scores** where all checks are not applicable display as a dash instead of a number.
173
+
-**The overall score is capped at 59 (D)**, since the remaining numerator covers only a narrow slice of site-wide signal and shouldn't drive a higher grade on its own.
172
174
173
175
This typically happens when a site has no llms.txt or its llms.txt links point to a different origin (common with preview deployments). A [`single-page-sample` diagnostic](/interaction-diagnostics#single-page-sample) fires to explain the situation.
Copy file name to clipboardExpand all lines: docs/interaction-diagnostics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ These diagnostics appear in the "Interaction Diagnostics" section of the `--form
94
94
95
95
This diagnostic does not fire when you explicitly choose pages with `--urls`, `--sampling curated`, or `--sampling none`.
96
96
97
-
**Score impact**: Page-level checks are excluded from the overall score and their categories show as N/A. Only site-level checks (llms.txt checks, coverage, auth-alternative-access) contribute to the score.
97
+
**Score impact**: Page-level checks are excluded from the overall score and their categories show as N/A. Only site-level checks (llms.txt checks, coverage, auth-alternative-access) contribute to the score, and the overall score is capped at 59 (D) so a narrow signal can't produce a misleadingly high grade.
0 commit comments