Commit 8c462dc
Fix the source count in two chapters, and catch that class in both editions
The architecture guide states 139 logical sources in its summary and in chapter
10, and 135 in two sentences of chapter 12 — including "you supplied 41 of 135
sources", in the passage that teaches a reader how to judge whether an export is
thorough enough to trust. That is the worst place on the page for the
denominator to be wrong.
Its own figure test passed throughout, because it asks only whether each number
appears SOMEWHERE on the page. 139 did appear, correctly, four chapters earlier.
The summary-sentence test that was added after the last drift covers exactly one
sentence. Neither could see this.
test_no_stale_denominator_survives_anywhere_in_the_prose now checks every number
that qualifies the word "sources", anywhere in the document. A partial is free —
"41 of 139" is a legitimate illustration — but the total is not.
It runs against BOTH editions separately. Written the way every other test in the
file is written, taking the `page` fixture, it passed with the Markdown edition
mutated: the same false pass that let the figure drift, reproduced inside the
test written to stop it. The two files are hand-maintained side by side and
either can rot alone, so each is now its own parametrised case, and each was
confirmed to fail on its own mutation.
Left alone deliberately: EXPORT_GUIDE.md's per-collector counts (14 sources for
sapcontrol, 16 for icf). Verifying them needs a live SAP host, and a number
changed without measuring it is the thing this commit is about.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent bf0fef8 commit 8c462dc
3 files changed
Lines changed: 47 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1230 | 1230 | | |
1231 | 1231 | | |
1232 | 1232 | | |
1233 | | - | |
| 1233 | + | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
1276 | | - | |
| 1276 | + | |
1277 | 1277 | | |
1278 | 1278 | | |
1279 | 1279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
184 | 227 | | |
185 | 228 | | |
186 | 229 | | |
| |||
0 commit comments