Every vendor registered with Massachusetts COMMBUYS, Nevada NevadaEPro and Illinois BidBuy: company, status, emails, phones and every address with its contact name. Full, new-vendor and sample runs.
TODO.md: records the flagged rows pulled for the four vendors whose
Address tab always fails (saved beside the full-pull archives), the Apify
versions deleted to get under the 10-version limit, and the state of the
daily archive job on the Hermes fleet (Brief 13: built, tested, waiting on
its first scheduled run). No change to what the actor does.
[0.13.0] - 2026-11-12
Changed
.dockerignore leaves snapshots/ (local archives of full pulls, which
hold personal data and run to about 205 MB) and assets/ (the Store logo)
out of the build. No change to what the actor does.
TODO.md: records the archive of the three full-run datasets and the
hand-off of the daily archive job to the Hermes fleet (Brief 13).
[0.12.0] - 2026-11-12
Changed
A vendor that has disappeared from the portal is no longer fetched by every
delta run forever. Before, an id a run left unresolved was stored in
TOP_IDS, and when the portal later said there was no vendor at that id,
the next delta listed it as unresolved again and stored it again, so it
showed up in every VERIFICATION from then on. Now, when a delta fetches a
stored id and the portal says there is no vendor there, the vendor is
treated as gone: it ships no row, is listed under gone in
VERIFICATION, and is dropped from the stored list. A vendor is dropped
only after one run left it without a row and a later one found it reported
missing: an id held back in the same run that the portal reports missing
stays unresolved and gets one more try in the next delta. A stored id
whose page fails any other way (an error page or an unexpected status)
stays on the list as before.
Added
VERIFICATION fields gone (the ids dropped as above) and gone_count,
next to unresolved. The reconciliation line in the run log names them
when there are any.
[0.11.0] - 2026-11-12
Fixed
A run with a maximum cost below the cost of the pull lost rows and said it
had finished. Measured on 2026-11-12: a run with a $0.10 limit on 120
Nevada ids got 33 rows into the dataset (33 at $0.003); the platform
dropped the rest without an error, and the actor walked all 120 ids, wrote
VERIFICATION with rows_pushed: 85 and finished: true, and ended as
succeeded. Its checkpoint said the walk was done, so resurrecting it with a
higher limit fetched nothing. Versions before 0.11.0 behave this way under
any maximum cost lower than the pull. The walk now checks the rows the run
may still be charged for before each fetch. When the next rows would not
fit, it pushes the rows it holds, checkpoints without marking the walk
done, and stops: no row goes past the limit, VERIFICATION says
finished: false with the reason under stopped, the remaining states
are not walked, TOP_IDS is left as it was for that state, and the run
ends as succeeded with a status message saying it stopped at the run's
maximum cost. Resurrecting it with a higher limit continues at the next id
with no vendor skipped or repeated. The reconciliation line of a walk that
did not finish no longer compares it with the portal's search total.
Added
README section "Spending limit for a full pull": the measured row counts,
setting Maximum cost per run before a full pull, and how to resurrect a run
that stopped at the limit.
Changed
README, full mode: the actor's default run timeout on Apify is now 72
hours (it was 1800 s when the README told you to raise it), so the advice
is to keep it above the run times given there.
[0.10.0] - 2026-11-12
Changed
Store listing copy in .actor/actor.json: the title is now "MA, NV, IL
State Vendor Registries with Contacts" (48 characters, inside Apify's 40 to
50 guidance; it was 63) and the description is cut from 296 to 198
characters. No change to what the actor does.
Added
assets/logo.png, a 1024 by 1024 logo for the Store listing (three rows
labelled MA, NV and IL, each with a contact mark). It is uploaded by hand in
the Console's Publishing tab; nothing reads it at run time.
[0.9.0] - 2026-11-12
Fixed
Vendors with more than 25 contracts got only the first 25. The portals show
the contracts list 25 rows at a time, and the actor read only the first
page. It now reads every page, so contracts holds every row and
contract_count is the full count. For example, COMMBUYS vendor 00000068
has 69 contracts; earlier versions returned 25 with a contract_count of
25. The Address tab is read the same way if it ever shows a pager; no
vendor with a paged address list has been seen.
A page that fails, does not continue the list (the portal ignored the page
number, or the pager is missing), or holds a different number of rows than
its pager says counts as the tab failing, exactly as a failed tab did
before: the vendor is held back and fetched once more, and if the tab fails
again the row ships with addresses_unavailable or contracts_unavailable
set and no partial list. A row carries the list the pager described or
none (flagged).
Changed
Datasets pulled with includeContracts before 0.9.0 are short for every
vendor with more than 25 contracts. Pull them again to get the full lists.
Each further page is one more request, at the same pace and under the same
stop rules as the others.
[0.8.0] - 2026-11-12
Changed
A vendor whose Address tab (or, with includeContracts, Contracts tab)
fails again in the retry pass now gets a row instead of none. Some vendors'
Address tab fails on every request (Nevada VEN6193, VEN7900 and VEN8209,
Illinois V00009669), so until now they never appeared in the dataset. The
row carries everything the Organization tab shows, with the failed tab
flagged (see below). Such vendors are listed under incomplete in
VERIFICATION, no longer under unresolved, and are not kept in
TOP_IDS for later delta runs to fetch again. A vendor whose Organization
page gives no answer on the second try still ships no row and stays
unresolved, as before.
A vendor is still held back at first sight when a tab fails, and fetched
once more after the walk; only the outcome of that second try changed.
Checkpoints written by 0.7.0 still load.
Added
Two fields on every row: addresses_unavailable, true when the Address tab
could not be read (addresses is then empty and address_count 0), and
contracts_unavailable, true when contracts were requested and the
Contracts tab could not be read (contracts and contract_count are then
null). Both are false on every other row. To get the 0.7.0 dataset, filter
out rows with addresses_unavailable or contracts_unavailable set.
VERIFICATION per state: incomplete and incomplete_count, the ids
whose tab failed again in the retry pass. Each has a flagged row, except an
Inactive vendor when includeInactive is off. The reconciliation line
mentions them, and the run log carries a warning naming the first five.
[0.7.0] - 2026-11-11
Changed
A vendor left unresolved by a full or delta walk is no longer lost to later
delta runs. Once a walk finished, TOP_IDS moved above it and no delta ever
fetched it again. TOP_IDS now keeps, per state, an unresolved list of the
ids that finished walk left without a row (including ids still waiting when
it stopped in the retry pass), and each delta run starts with those ids
queued for its retry pass. The list is replaced by every full or delta walk
that got past its stop rule (even one stopped later, in the legacy ids or
the retry pass), and written even when the top id did not move. A full walk
keeps any stored Massachusetts legacy id it did not reach (or, with
includeLegacyIds off, did not walk at all). Sample and range runs, and
walks stopped before the stop rule fires, leave it alone. A TOP_IDS record
written by 0.6.0 or earlier, with no list, still loads.
A carried-in vendor was counted as found by the run that first saw it, so a
delta run counts it only under retried, resolved or unresolved,
requests and rows_pushed. On a delta, rows_pushed can therefore exceed
vendors_found.
The CHECKPOINT keeps unresolved ids with their id space, so the
Massachusetts legacy id 5072 and the 8-digit 00005072 stay different
vendors through a retry. Checkpoints written by 0.6.0 still load.
The resume point in the log and in resumed_from now reads correctly for
every portal: Nevada and Illinois no longer show a Massachusetts legacy id
once their sequence is done, and a run resumed in the retry pass names the
next id to retry. The actor and the local runner share one label.
The User-Agent carries the release version (it still said 0.1), and a test
keeps it in step with .actor/actor.json.
Added
VERIFICATION per state: carried_in, how many ids the walk started with
from the stored unresolved list. The reconciliation line mentions them when
there are any.
[0.6.0] - 2026-11-11
Changed
The stop after 25 ids that end in an error and no row no longer needs those
ids back to back. An id with no vendor leaves the count alone; only a vendor
that comes back complete resets it. With about a quarter of ids missing, the
old rule needed 25 live ids with no gap, which takes about 5,000 ids on
average, so an Address tab outage held back thousands of vendors before it
stopped the run, and a shorter outage did not stop it at all.
The stop message now reads "ids ended in an error and no row, with no
complete vendor between them".
Added
A warning in the run log (and from the local runner) for each state with
vendors still unresolved after the retry pass, naming the first five ids.
[0.5.0] - 2026-11-11
Changed
A vendor whose Address tab fails (or whose contracts tab fails with
includeContracts on) is no longer pushed with an empty address list. The
id is held back and fetched once more in a retry pass after the walk, before
the VERIFICATION record is written. A complete answer ships the row then;
an id that fails again ships no row. Found on the first Illinois full run,
where V00009669 shipped with no addresses after one HTTP 500.
Vendors found and Active and Inactive counts still count a held-back vendor
at first sight; rows_pushed counts only rows that shipped. Held-back ids
survive a checkpoint and a resume, and checkpoints written by 0.4.0 still
load.
The message for the 25-errors-in-a-row stop now reads "ended in an error and
no row", since a held-back vendor counts toward it.
Added
VERIFICATION per state: retried, resolved, unresolved with
unresolved_count, and deferred_ids with deferred_pending for a run
that stopped before the retry pass. The log line names unresolved ids.
[0.4.0] - 2026-11-09
Added
Illinois (BidBuy) as a third state. It runs the same Periscope S2G protocol
as COMMBUYS and NevadaEPro, so it is a new portal config with no parser
change: ids are V plus 8 zero-padded digits, V00000002 to V00051690, with
39,236 Active in the portal's search on 2026-11-09. Checked live with a
50-vendor sample only; full and delta modes have not been run on Illinois.
Captured BidBuy fixtures and fixtures/capture_search.py.
Changed
states now defaults to MA, NV and IL, so a run that does not narrow it
also walks Illinois.
The VERIFICATION record's expected_active_note gives each portal's own
measurement date instead of one shared date.
[0.3.0] - 2026-11-09
Changed
.claude-context.md and TODO.md: record the first release (GitLab
project created with Auto DevOps off, 0.1.0 merged and tagged v0.1.0,
apify push run) and set the next step to the first Console run and the
full runs. Notes that this directory is worked only from a session opened
here. No code change.
[0.2.0] - 2026-10-20
Changed
.claude-context.md title line: replace the em dash before "Session
Handoff" with "(session handoff)", matching the fixed handoff generator
(gov-data-actors-research/tools/new_actor.py). No other change.
[0.1.0] - 2026-10-07
Added
First release. One row per registered vendor from two Periscope S2G
procurement portals, Massachusetts (COMMBUYS) and Nevada (NevadaEPro), read
from the public Org, Address and (optionally) Contracts tabs of each vendor
profile over plain HTTP.
Four modes: sample (newest vendors first, the Store prefill), full
(floor to a discovered ceiling, plus the 1,005 COMMBUYS legacy ids),
delta (from the stored TOP_IDS record upward) and range.
A stop rule that ends a full or delta walk only after stopAfterMisses
consecutive missing ids above the known ceiling, so sparse stretches below
the top never end it early.
An HTTP 500 with an empty body on the Org tab counted as a gap, never
retried; a 500 with a body is an application error, and 25 unexpected pages
in a row stop the run. 403, 429 and block pages stop the run at once; 502,
503, 504 and timeouts get three attempts with exponential backoff, then
stop. Any failure still writes the VERIFICATION record. Every stop
checkpoints first.
A checkpoint saved only after its rows are pushed (every batch of 50, at
least every 200 ids, and on PERSIST_STATE), with a clean stop and reboot
on MIGRATING, so a resurrected run never skips a vendor and repeats one
only if the container dies between a push and the checkpoint that follows
it (see docs/DEVELOPMENT.md).
The stop rule counts missing ids only above the known ceiling, so a sparse
stretch below it can never end a walk early; errors do not count as misses.
TOP_IDS (the start of the next delta run) moves only after a full or delta
walk reaches its end; sample and range runs leave it alone.
A VERIFICATION record per state that reconciles the Active count with
the portals' search totals measured on 2026-10-07 and warns on a coverage
gap of more than 3 points in a full pull.
A local CLI (python -m src.cli) with file-based resume, the Store README,
dataset and output schemas, and an offline test suite over saved pages.