Test migration 32, the cut, saved filters and the override rescore, and bring the READMEs and config comments to fetch text and the cut

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-10-04 15:16:38 +02:00
1 parent 617356e60c
commit 8b6c6d5ac3
9 files changed
+260 -37

No files matched your search

+7 -6
View File
@@ -770,7 +770,8 @@ Status = Literal["saved", "applied", "screen", "technical", "onsite", "offer",
"rejected", "withdrawn"]
STATUSES: tuple[str, ...] = get_args(Status)
#: -1 mute, 0 neutral, 1 interested, 2 favourite (skips the `any` gates).
#: -1 mute, 0 neutral, 1 interested, 2 favourite. Affinity raises a role's
#: score and its levels for the cut; it skips no part of the fetch gate.
AFFINITY = range(-1, 3)
#: Why a company is on the list checked by hand. `unread` is a host the app
@@ -1038,7 +1039,7 @@ def capped_career(career: int, broken: int = 0) -> int:
def cv_score(skills: int, experience: int, career: int,
weights: "Weights | None" = None, broken: int = 0) -> float | None:
weights: Weights | None = None, broken: int = 0) -> float | None:
"""The one number of a CV match, 0 to 100: the three numbers of the
judge averaged by the agent's `cv_skills`, `cv_experience` and
`cv_career` weights (30, 25 and 30 by default), career as
@@ -1562,10 +1563,10 @@ class Agent(Model):
and limits. The prompts are rows of `agent_prompts`, read alongside; their
cached vectors are columns this does not declare.
`fetch_terms` are words a role must match for a big board read with the
wide reach to send it (`app/jobs/reach.py`): the pull's terms are the
union over the enabled agents, and an agent with none means no board is
narrowed by words. They decide what is fetched, not what ranks.
`fetch_terms` are words a role must match for a big board to send it,
where its host can filter on them (`app/jobs/reach.py`): the pull's terms
are the union over the enabled agents, and an agent with none means no
board is narrowed by words. They decide what is fetched, not what ranks.
`cv_text`, `cv_languages`, `like_text`, `avoid_text` and `must_text` are
what `judge` reads a role against: the CV, the languages it states with