Repository navigation
Behaviour change. A page that serves fewer than twelve ads while the
response's owntotalsays more remain now makes the run incomplete:
stop_reason: short_page, statuspartial, exit 6 (was status
complete, exit 0). The ads it did serve are kept.Behaviour change.
--allow-emptynow writes an empty file only for a
genuine empty result, and its sidecar saysstatus: empty(was
failed). A blocked or failed run with--allow-emptyno longer
replaces an earlier output with an empty file. It keeps its exit code
(3 or 5) and leaves that output and its sidecar untouched.
Fixed
-
--allow-emptycould destroy the output it exists to protect. With
the flag, a blocked run or a run that never obtained its content wrote
an empty JSON and CSV over the previous good result, plus a sidecar
sayingfailed. A genuinely empty, complete run (the library's own
total: 0) was labelledfailedtoo, sodiff_runs.pyrefused it. Now:- A finished run whose answer was nothing writes
[], a header-only
CSV and a sidecar withstatus: emptyand itsstop_reason. It
exits 4. - Blocked (3), never obtained (5) and partial (6) keep their exit codes.
No empty row file is written for them, and an earlier output at the
same--outis kept byte for byte, sidecar included. - When nothing earlier exists, a blocked or failed
--allow-emptyrun
writes only a sidecar, withstatus: blockedorfailed. diff_runs.pycompares anemptyrun like a complete one.
- A finished run whose answer was nothing writes
-
A listing cut short was reported as a complete region. On
2026-10-13 the library served France two ads on page 1, with
has_more: falsebesidetotal: 17,071,905, and Germany eleven on
page 2. The run stopped those regions ashas_more_falseand ended
complete. The site's page size is twelve (45 of the 47 pages in the
canary artifacts from 2026-10-09 to 2026-10-15 carried exactly twelve)
and it documents no cap, so all three engines now record such a page
undershort_pagesin the sidecar and stop that region as
short_page. A short last page that brings the count up to the stated
total is still the end of the listing, and the run is complete.
Changed
- The canary's per-region floor follows the page contract, not a
count. It required at least 12 ads per region. It now requires a full
first page of twelve and at least one new ad on page 2 in every region,
fails on any recorded short page, and re-checks every dumped payload
for a short page the run did not record. - The canary no longer requires
creative_typeon every row. Some
records carry no creative at all: on 2026-10-15, 4 of 71 had
videos: []andimage_urls: []in the payload itself, and the
parser's null is the honest value for them. The canary now checks the
column against the dumped record. It must be null exactly when the
record carries neither a video nor an image.