Gates reject on evidence only, any gates are one group, remote is read off the location line
A require gate on an empty column gated the role ("country unknown"), and extract, the stage that fills the column, is bounded to the roles that rank, so 2,281 of 15,556 open roles could never come back: every board that writes "Remote", "Hybrid" or "Distributed" as its location. An empty column now neither passes nor fails a gate; the role ranks, extract reads it, the rescore decides.
`any` is a third gate mode: the any gates are one group a role must match one of, so a ranking can say "in Denmark, or remote", which require alone could not. The group is gated only when some member had evidence against it.
`remote_of(place)` fills `remote` from the location line the way `country_of` fills `country`, and the startup backfill does both, since Greenhouse writes "Hybrid" as the location and gives no flag.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
e602eb3388
commit
fb83ae5099
10 files changed
+143
-28
No files matched your search
+4
-3
@@ -46,9 +46,10 @@ def create_app(config: Config | None = None) -> FastAPI:
|
||||
store = Store(config.database)
|
||||
jobs.seed_agents(config, store)
|
||||
jobs.seed_searches(config, store)
|
||||
# Roles pulled before `country` was read from `place` have none; after the
|
||||
# first start only the places the lookup cannot place are left to read.
|
||||
store.backfill_country()
|
||||
# Roles stored before a word reached the place lookups have no country or
|
||||
# remote from it; after the first start only the lines the lookups cannot
|
||||
# read are left, and those are read again each start, which is cheap.
|
||||
store.backfill_from_place()
|
||||
|
||||
app = FastAPI(title="roledesk", docs_url="/api/docs",
|
||||
summary="ATS boards and job searches in, roles scored per search agent, "
|
||||
|
||||
Reference in new issue
Block a user