Files
jobboard/app/prep/__init__.py
T
WolfandClaude Opus 5.5 e4c0de4465 Compose remote as model, host word, place line and map a remote role's area in prep
The area is the model's names, else the parts of the place texts that say remote, else the resolved places as their countries. VERSION 3 maps every open role again. run_roles maps the roles extract answered. "Remote Sensing" in a title is no remote work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:00:06 +02:00

25 lines
1.2 KiB
Python

"""Prep: every decision about a role that needs a rule or data across roles.
Readers scrape and hand on the host's own words (`Store.upsert_role` keeps
them in `roles.*_host`); prep maps them, once, centrally, between the pull
and embedding. One door: `from app.prep import ...`.
words.py seniority, employment and remote: the host's table, the
vocabulary itself, the shared remote words
country.py the country from the resolved places, else the host's
area.py a remote role's area: where a remote hire may live
hosts/ one table file per reader (`hosts.TABLES`)
stage.py `run`: the stage over the due roles, `unmapped` and the fold;
`run_roles`: a few roles at once, for `extract`
"""
from __future__ import annotations
from app.prep.country import country
from app.prep.hosts import TABLES
from app.prep.stage import STATE, Prepped, company, fingerprint, run, run_roles
from app.prep.words import REMOTE_WORDS, VOCABULARIES, employment, lookup, remote, seniority
__all__ = ["REMOTE_WORDS", "STATE", "TABLES", "VOCABULARIES", "Prepped", "company", "country",
"employment", "fingerprint", "lookup", "remote", "run", "run_roles", "seniority"]