Let the runner drop and count a row without an id, a title or a link, as ADR Plugins 3.8 has it, in one place for whole, paged and search reads: the count is stamped per target, logged, named on the board's row, and over 10% of the rows fails the read; the 28 readers hand every listing over instead of skipping it
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
38c31c830b
commit
911dfe8584
58 files changed
+479
-203
No files matched your search
@@ -179,7 +179,7 @@ ends the read, incomplete; `_runner.MAX_PAGES` pages a pull at most,
|
||||
|
||||
**Rows.** A `Row` (`_contract.Row`) is a dict with `source_id` (the host's
|
||||
own id for the role, unique on the board), `title`, `url` (http or https,
|
||||
checked with `_shared.is_web_url`) and `places`; `location` (the host's
|
||||
which the runner checks with `_shared.is_web_url`) and `places`; `location` (the host's
|
||||
one-line place, kept while storage reads it), `posted` (an aware datetime
|
||||
or None, see `_shared.parse_dt`), `department`, `description` (plain text,
|
||||
see `_shared.html_text`), `remote` (True, False, a word or None) and
|
||||
@@ -187,7 +187,12 @@ see `_shared.html_text`), `remote` (True, False, a word or None) and
|
||||
(yearly integers) and `currency` (ISO 4217), see `_shared.yearly_amount`;
|
||||
where it states them, `country` (ISO 3166 alpha-2), `seniority` and
|
||||
`employment`; `teaser`; and, on a search row, `company`. The runner keeps
|
||||
every stated key in `raw`, so a new field needs no change there.
|
||||
every stated key in `raw`, so a new field needs no change there. A reader
|
||||
never drops a listing: one it cannot make a whole row of (no id, no title or
|
||||
no link) it hands over with what it has, an empty string for what is
|
||||
missing, and the runner drops it and counts it (`_runner.valid`). A reader
|
||||
leaves out only what is not a listing of the board: an entry that is not an
|
||||
object, a second copy of an id, a role of another board.
|
||||
|
||||
**Places.** A role has a list of places: `places` is `[Place(text=...,
|
||||
remote=...)]`, one entry per place the host states, in the host's order, in
|
||||
|
||||
Reference in new issue
Block a user