Say Search agents, Viewing as and the want feed score in the config comments, add the cv calibration band and shorten the comments that restated the ADR

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-05 09:32:43 +02:00
1 parent b64d77d224
commit c3bc2cd7f3
2 files changed
+62 -69

No files matched your search

+58 -65
View File
@@ -51,11 +51,10 @@ agent:
max_tokens: 8192 # the answer's cap per call max_tokens: 8192 # the answer's cap per call
cli_path: "" # where the `claude` binary is, if not on PATH cli_path: "" # where the `claude` binary is, if not on PATH
# Title and description in, gate columns out (app/jobs/extract.py). Off by # Title and description in, gate columns out: location, remote area, seniority,
# default: on the API backend every batch of 20 roles is a paid call. On, a # languages and deadline (app/jobs/extract.py). Off by default: on the API
# pull reads only the cut of every enabled agent (its limits, see agents # backend every batch of 20 roles is a paid call. On, a pull reads the cut of
# below), after a first score; a second score then applies the fetch gate and # every enabled agent (its limits, see agents below). `enabled` is only the
# the cut to what was filled. `enabled` is only the
# default for a fresh database: the switch under Settings, Sources, Runs (or # default for a fresh database: the switch under Settings, Sources, Runs (or
# `app stages extract on|off`) overrides it and needs no restart. # `app stages extract on|off`) overrides it and needs no restart.
extract: extract:
@@ -66,12 +65,11 @@ extract:
thinking: off # off | adaptive thinking: off # off | adaptive
# About 60 words on a role: what it is, the stack, where, the pay if stated # 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 top # (app/jobs/summarise.py). Off by default. On, each pull summarises the
# of every enabled agent's feed that has none yet, the best summarise_top (its # summarise_top (an agent's limits) best roles of each enabled agent's two
# limits) by the want feed score and the best summarise_top by the match # orders, What I'm looking for and What fits me, and every role liked or
# order (CV match, then CV closeness), and every role liked or saved, so the # saved, when they have no summary yet. The Summarise button on a role's page
# cost stays bounded however many roles are open. The Summarise button on # asks for that one role either way. `enabled` is only the
# 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 # default for a fresh database: the switch under Settings, Sources, Runs (or
# `app stages summarise on|off`) overrides it and needs no restart. # `app stages summarise on|off`) overrides it and needs no restart.
summarise: summarise:
@@ -84,12 +82,12 @@ summarise:
# Only extract reads it. # Only extract reads it.
# Each search agent's cut read against its CV: skills, experience and career 0 # Each search agent's cut read against its CV: skills, experience and career 0
# to 10, a total 0 to 100, and 1 to 3 strengths and gaps (app/jobs/judge.py), # to 10, and 1 to 3 strengths and gaps (app/jobs/judge.py); the CV match, which
# for the CV match order on Roles. Off by default. On, each pull judges the cut of # orders What fits me on Roles, weights the three. Off by default. On, each pull
# every enabled agent with a CV and a prompt, and only the roles not judged # judges the cut of every enabled agent with a CV and a prompt, once per change
# yet or judged from another CV, prompt, like, avoid or must text, or role # of its CV, prompts, likes, dislikes or must text, or of the role's text. The
# text. The CV rides in every call, so batches are # CV rides in every call, so batches are small. `enabled` is only the default
# small. `enabled` is only the default for a fresh database: the switch under # for a fresh database: the switch under
# Settings, Sources, Runs (or `app stages judge on|off`) overrides it and needs # Settings, Sources, Runs (or `app stages judge on|off`) overrides it and needs
# no restart. on_ingest is accepted and ignored, as for summarise. # no restart. on_ingest is accepted and ignored, as for summarise.
judge: judge:
@@ -110,25 +108,23 @@ fetch_text:
per_run: 1000 # reads per run per_run: 1000 # reads per run
retry_days: 7 # days before a page that gave no text is read again retry_days: 7 # days before a page that gave no text is read again
# A role and each agent's prompts as vectors, for the fit term of a score # A role, each agent's prompts and its CV as vectors, for prompt closeness and
# (app/jobs/embed.py). Needs the `embeddings` extra; without it `embed` posts # CV closeness (app/jobs/embed.py). Needs the `embeddings` extra; without it
# a notice and scores leave fit out. Changing the model re-embeds. # `embed` posts a notice and scores leave closeness out. Changing the model
# multilingual-e5-small, not English-only MiniLM, because the corpus is now # re-embeds. multilingual-e5-small, not English-only MiniLM, because the corpus
# European: measured against the "Copenhagen engineering" agent's intent, it # is European (see docs/decisions.md). An e5 model's "query: " / "passage: "
# separates engineering from non-engineering roles better, especially among # prefixes are added automatically, keyed off this name.
# Danish-country roles (see docs/decisions.md), for about 3x the CPU time. An # calibration maps a model's cosines to 0..1 levels, as [lo, hi] for fit (prompt
# e5 model's "query: " / "passage: " prefixes are added automatically, keyed # closeness), taste (job like) and cv (CV closeness, fit's band when left out):
# off this name. # lo is 0, hi is 1, clipped outside. multilingual-e5-small has built-in
# calibration maps a model's cosines to 0..1 levels, as [lo, hi] for fit and # constants (app/config.py, CALIBRATION); an entry here replaces them for that
# for taste: lo is 0, hi is 1, clipped outside. multilingual-e5-small has # model. A model with none is min-max scaled per run instead, so its levels are
# built-in constants (app/config.py, CALIBRATION); an entry here replaces # ranks, and the log says so.
# them for that model. A model with none is min-max scaled per run instead,
# so its fit is a rank, not a level, and the log says so.
embed: embed:
model: intfloat/multilingual-e5-small model: intfloat/multilingual-e5-small
per_run: 50000 per_run: 50000
calibration: {} calibration: {}
# intfloat/multilingual-e5-small: {fit: [0.75, 0.88], taste: [-0.14, 0.19]} # intfloat/multilingual-e5-small: {fit: [0.75, 0.88], taste: [-0.14, 0.19], cv: [0.77, 0.90]}
# One block per plugin, keyed by the plugin's name. The ats and search plugins # One block per plugin, keyed by the plugin's name. The ats and search plugins
# read their boards and searches from the subscriptions table, so they need # read their boards and searches from the subscriptions table, so they need
@@ -141,39 +137,36 @@ sources: {}
# search: # search:
# adzuna: {app_id: "...", app_key: "..."} # adzuna: {app_id: "...", app_key: "..."}
# Starter search agents, imported once into an empty `agents` table. The gates # Starter search agents, imported once into an empty `agents` table. The Search
# are the agent's fetch gate, each {field, values, mode: require|any|exclude}: # agents page lists and edits them afterwards, and the Viewing as select on
# a require gate is the region, the any gates are one group a role must match # Roles picks one by name. An agent has:
# one of ("in Denmark, or remote"), the place part, and an exclude gate leaves # - name, and enabled (default true; false leaves it out of the scores and the
# out the roles that match one of its values (title: the titles to leave # pull).
# out). A gate rejects only a role whose column is filled, since extract fills # - prompts, a list of {name, text}, each what the agent looks for; a role is
# the rest for the roles in the cut. A company set to All locations skips the # ranked by the prompt it is closest to. intent, as in config.yaml, is one
# any group, one set to All roles the exclude gates on title. Fields are # prompt named after the agent.
# place, country, remote, remote_from, seniority, function, salary_min, # - gates, its fetch gate, each {field, values, mode: require|any|exclude}: a
# currency, permit, languages, company and title. weights are the final # require gate is the region (the world), the any gates are one group a role
# score's, the feed's order, default {fit: 0.6, recency: 0.2, affinity: 0.2, # must match one of ("in Denmark, or remote"; the location), and an exclude
# taste: 0.2}; taste is how close a role is to the ones the agent liked minus # gate leaves out the roles that match one of its values (title: the titles
# the ones it passed. A country is an ISO code, filled from the board's # to leave out). A gate rejects only a role whose column is filled, since
# location line; EU is a role open anywhere in Europe. # extract fills the rest for the roles in the cut. A company set to All
# limits is the agent's cut, the roles that get fetch text, extract and # locations skips the any group, one set to All roles the exclude gates on
# judge: the best cut_fit_top by fit level at cut_fit_min or more, then the # title. Fields are place, country, remote, remote_from, seniority,
# best cut_cv_top by CV closeness at cut_cv_min or more that the first list # function, salary_min, currency, permit, languages, company and title. A
# leaves out, then every role liked or saved. Both levels are calibrated, so # country is an ISO code, filled from the board's location line; EU is a
# a minimum means the same in every run, and a liked company's roles sit # role open anywhere in Europe.
# about 0.05 higher, a favourite's about 0.1. summarise_top is how deep into # - weights, the want feed score's, which orders What I'm looking for: {fit:
# each order, want and match, summarise reads. The defaults are # 0.6, recency: 0.2, affinity: 0.2, taste: 0.2}, that is prompt closeness,
# {cut_fit_top: 500, cut_fit_min: 0.6, cut_cv_top: 150, cut_cv_min: 0.6, # newness, company like and job like; taste is how close a role is to the
# summarise_top: 30}. For a broad agent the count stops a list, for a narrow # ones the agent liked minus the ones it passed. cv_skills, cv_experience and
# one the minimum. An agent without a prompt that has text has no fit, so # cv_career {30, 25, 30} weight the judge's three numbers in the CV match.
# nothing of it is in the cut by fit. # - limits, the analytics filter and the summarise size: {cut_fit_top: 500,
# prompts is a list of {name, text}, each what the agent looks for; a role's # cut_fit_min: 0.6, cut_cv_top: 150, cut_cv_min: 0.6, summarise_top: 30}, the
# fit is its best prompt's, so one agent can hunt several kinds of role # count and the minimum by prompt closeness and by CV closeness, and how deep
# without blending them into one paragraph. Votes, gates and limits stay the # into each order summarise reads. See documentation/ADR Fetch prep and
# agent's, shared by its prompts. intent, as in config.yaml, is one prompt # score.md.
# named after the agent. # Two more, beside the starter in config.yaml:
# enabled (default true) leaves an agent out of the scores and the pull when
# false. The Search agents sub-tab lists and edits them; the order menu on
# Roles picks one by name. Two more, beside the starter in config.yaml:
agents: [] agents: []
# - name: Remote from Europe # - name: Remote from Europe
# prompts: # prompts:
+4 -4
View File
@@ -27,10 +27,10 @@ embed:
model: intfloat/multilingual-e5-small model: intfloat/multilingual-e5-small
sources: {} sources: {}
# The starter ranking, imported once into an empty table. Edit it under # The starter ranking, imported once into an empty table. Edit it under
# Settings, Ranking afterwards; this list is not read again. EU in a country # Settings, Search agents afterwards; this list is not read again. EU in a
# gate is a role open anywhere in Europe ("Remote - Europe", "EMEA"). Which # country gate is a role open anywhere in Europe ("Remote - Europe", "EMEA").
# roles get fetch text, extract and judge is each agent's cut, its `limits`, see # Which roles get fetch text, extract and judge is each agent's cut, its
# config.example.yaml, which has two more agents. # `limits`, see config.example.yaml, which has two more agents.
agents: agents:
- name: Copenhagen engineering - name: Copenhagen engineering
intent: >- intent: >-