Repository navigation
Commit e1b50d6
max_pages was capped at 3 by perQuery, on every dispatched collection
Found while comparing the two search providers, and it explains the thing
the comparison was set up to investigate.
collect.yml seeds exactly ONE query and left perQuery at the scaffold
default of 3. selectCandidates does `.slice(0, perQuery)`, so the effective
ceiling on a dispatched run is min(maxScrapes, queries x perQuery) = 3 -
whatever max_pages says. The input advertises 1..25 and anything above 3 was
inert.
Observed and unexplained at the time: run 35692202192 was dispatched with
--max-pages 4 and collected exactly 3. So were sea-assets and build-sea,
both asking for more and both collecting 3. Every corpus this repository
collected through the runner saw three candidates.
That reframes the search-quality question it was found by. "9 of 13
candidates were SEO tutorials" came from a LOCAL decompose run, which lists
what search returned; the runner never fetched beyond rank 3. So one poor
result was a third of the corpus, and the genuinely normative source could
sit at rank 4 and never be reachable. For the test query - HTTP 429
Retry-After - the local run surfaced rfc-editor.org and the dispatched runs
could not, because both providers ranked it below third.
perQuery now follows max_pages, and limit rises with it. Spend is unchanged:
maxScrapes still bounds the fetches, and this only widens the list they are
chosen from. live-collection.yml had the same ceiling and gets the same fix.
The provider comparison itself is not answerable yet. Both providers
returned MDN at rank 1 for the spec query and differed only at ranks 2-3,
which is too narrow a window to judge them by. It gets re-run against the
raised ceiling.
855 passed, 0 failed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 5f54d98 commit e1b50d6
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
377 | 385 | | |
378 | 386 | | |
379 | 387 | | |
380 | | - | |
| 388 | + | |
381 | 389 | | |
382 | 390 | | |
383 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
0 commit comments