Rank by the cut: fetch gate overrides in scoring, the cut per agent, stages read the cut, fetch text renamed from enrich, the feed kept to the fetch gate, and migration 32

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-10-04 15:11:43 +02:00
1 parent 060ccf66e6
commit 617356e60c
35 files changed
+1054 -751

No files matched your search

+44 -44
View File
@@ -66,9 +66,10 @@ extract:
thinking: off # off | adaptive
# About 60 words on a role: what it is, the stack, where, the pay if stated
# (app/jobs/summarise.py). Off by default. On, each pull summarises the best
# roles of every enabled agent that have none yet, by that agent's limits, so
# the cost stays bounded however many roles are open. The Summarise button on
# (app/jobs/summarise.py). Off by default. On, each pull summarises the top
# of every enabled agent's feed that has none yet, the best summarise_top by
# final score (its limits), and every role liked or saved, so the cost stays
# bounded however many roles are open. The Summarise button on
# a role's page asks for that one role either way. `enabled` is only the
# default for a fresh database: the switch under Settings, Sources, Runs (or
# `app stages summarise on|off`) overrides it and needs no restart.
@@ -81,12 +82,12 @@ summarise:
# runs summarise when it is on and a model is reachable (app/jobs/cascade.py).
# Only extract reads it.
# Each search agent's best roles read against its CV: skills, experience and
# career 0 to 100, a total, and 1 to 3 strengths and gaps (app/jobs/judge.py),
# for the CV match order on Roles. Off by default. On, each pull judges
# the best roles of every enabled agent with a CV, by that agent's judge
# limits, and only those not judged yet or judged from another CV, prompt,
# avoid or must text, or role text. The CV rides in every call, so batches are
# Each search agent's cut read against its CV: skills, experience and career 0
# to 100, a total, and 1 to 3 strengths and gaps (app/jobs/judge.py), for the
# CV match order on Roles. Off by default. On, each pull judges the cut of
# every enabled agent with a CV and a prompt, and only the roles not judged
# yet or judged from another CV, prompt, like, avoid or must text, or role
# text. The CV rides in every call, so batches are
# small. `enabled` is only the default for a fresh database: the switch under
# Settings, Sources, Runs (or `app stages judge on|off`) overrides it and needs
# no restart. on_ingest is accepted and ignored, as for summarise.
@@ -96,16 +97,14 @@ judge:
batch_size: 5 # roles per model call
thinking: off # off | adaptive
# Reading the best roles on their own pages, for the hosts whose list carries
# no text (app/jobs/enrich.py); asks no model. A role is read when it has no
# text and an enabled agent with a prompt ranks it ungated among its best
# `top` and at `min_score` or above. `enabled` is only the default for a fresh
# database: the switch under Settings, Sources, Runs (or `app stages enrich
# on|off`) overrides it and needs no restart.
enrich:
# Fetch text: reading a role's own page, for the hosts whose list carries no
# text (app/jobs/fetch_text.py); asks no model. A role is read when it has no
# text and is in the cut of an enabled agent (see limits below), so every role
# the model reads has its text first. `enabled` is only the default for a
# fresh database: the switch under Settings, Sources, Runs (or `app stages
# fetch_text on|off`) overrides it and needs no restart.
fetch_text:
enabled: true
top: 500 # rank depth per agent
min_score: 0.5 # 0..1, the score bar
per_board: 200 # reads per board and run
per_run: 1000 # reads per run
retry_days: 7 # days before a page that gave no text is read again
@@ -141,30 +140,31 @@ sources: {}
# search:
# adzuna: {app_id: "...", app_key: "..."}
# Starter search agents, imported once into an empty `agents` table. Each gate
# is {field, values, mode: require|any|prefer, weight}; the any gates are one
# group a role must match one of ("in Denmark, or remote"), and a gate rejects
# only a role whose column is filled, since extract fills the rest for the
# roles that rank. Fields are place, country,
# remote, seniority, function, salary_min, currency, permit, languages and
# company. weights default to {fit: 0.6, recency: 0.2, affinity: 0.2, taste:
# 0.2}; taste is how close a role is to the ones the agent liked minus the
# ones it passed. A country is an ISO code, filled from the board's location
# line; EU is a role open anywhere in Europe.
# limits is how deep into this agent's ranking the model stages read, each a
# top N (the backstop) and a minimum score (the real stop): extract reads the
# best extract_top roles at extract_min or more, summarise the best
# summarise_top at summarise_min or more, and judge the best judge_top at
# judge_min or more for an agent with a CV, and the judge_cv_top ungated roles
# closest to the CV that those leave out. Fit is a calibrated level, so a bar
# means the same in every run: a fresh role with the worst fit scores about
# 0.27 on the default weights, a perfect one about 0.87. The defaults are
# {extract_top: 500, extract_min: 0.55, summarise_top: 30, summarise_min:
# 0.65, judge_top: 150, judge_min: 0.55, judge_cv_top: 50}; measured for "Copenhagen engineering" on 16,841 open roles, 0.55
# admits about 300 roles to extract and 0.65 about 35 to summarise. A wide
# monitoring search lowers the bars and raises the counts, a narrow hunt the
# reverse. An agent without a prompt that has text has no fit and feeds
# neither stage.
# Starter search agents, imported once into an empty `agents` table. The gates
# are the agent's fetch gate, each {field, values, mode: require|any|exclude}:
# a require gate is the region, the any gates are one group a role must match
# one of ("in Denmark, or remote"), the place part, and an exclude gate leaves
# out the roles that match one of its values (title: the titles to leave
# out). A gate rejects only a role whose column is filled, since extract fills
# the rest for the roles in the cut. A company set to All countries skips the
# any group, one set to All roles the exclude gates on title. Fields are
# place, country, remote, remote_from, seniority, function, salary_min,
# currency, permit, languages, company and title. weights are the final
# score's, the feed's order, default {fit: 0.6, recency: 0.2, affinity: 0.2,
# taste: 0.2}; taste is how close a role is to the ones the agent liked minus
# the ones it passed. A country is an ISO code, filled from the board's
# location line; EU is a role open anywhere in Europe.
# limits is the agent's cut, the roles that get fetch text, extract and
# judge: the best cut_fit_top by fit level at cut_fit_min or more, then the
# best cut_cv_top by CV closeness at cut_cv_min or more that the first list
# leaves out, then every role liked or saved. Both levels are calibrated, so
# a minimum means the same in every run, and a liked company's roles sit
# about 0.05 higher, a favourite's about 0.1. summarise_top is how many of
# the best final scores summarise reads. The defaults are {cut_fit_top: 500,
# cut_fit_min: 0.6, cut_cv_top: 150, cut_cv_min: 0.6, summarise_top: 50}. For
# a broad agent the count stops a list, for a narrow one the minimum. An
# agent without a prompt that has text has no fit, so nothing of it is in
# the cut by fit.
# prompts is a list of {name, text}, each what the agent looks for; a role's
# fit is its best prompt's, so one agent can hunt several kinds of role
# without blending them into one paragraph. Votes, gates and limits stay the
@@ -190,7 +190,8 @@ agents: []
# - {field: country, values: [AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT,
# LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, IS, LI, NO,
# GB, CH, EU], mode: require}
# limits: {extract_top: 1000, extract_min: 0.45, summarise_top: 50, summarise_min: 0.6}
# limits: {cut_fit_top: 1000, cut_fit_min: 0.5, cut_cv_top: 150, cut_cv_min: 0.6,
# summarise_top: 50}
# - name: Europe hybrid
# intent: >-
# Senior backend or platform engineer in a European tech hub, hybrid or
@@ -199,7 +200,6 @@ agents: []
# - {field: country, values: [AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT,
# LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, IS, LI, NO,
# GB, CH, EU], mode: require}
# - {field: remote, values: [hybrid, remote], mode: prefer, weight: 0.05}
# Starter searches, imported once while there are no `search` subscriptions.
# provider is a search reader: jobindex (Denmark, no key: q, area, pages),