With fit as (cos + 1) / 2 the real run spanned about 0.55 to 0.79, so a prefer gate at weight 0.2 moved a score more than the whole spread of fit. fit is now the cosine min-max scaled across the roles an agent scores in that run: the closest is 1, the farthest 0, a single role 1, and a role a require gate rules out stays out of the range. The starter agents' prefer weights drop to 0.05, enough to break a tie. A regression test pins the case: two close cosines that the old mapping let a 0.05 gate reorder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
# roledesk's default config, committed. config.example.yaml documents every
|
|
# key; anything left out here takes the default written there.
|
|
server:
|
|
host: 127.0.0.1
|
|
port: 8790
|
|
database: roledesk.db
|
|
timezone: Europe/Berlin
|
|
auth:
|
|
rp_name: roledesk
|
|
cookie: roledesk_session
|
|
plugin_paths:
|
|
- plugins
|
|
workers:
|
|
llm: 4
|
|
http: 8
|
|
cpu: 1
|
|
extract:
|
|
enabled: false
|
|
model: claude-haiku-4-5-20251001
|
|
embed:
|
|
model: sentence-transformers/all-MiniLM-L6-v2
|
|
sources: {}
|
|
# Starter search agents, imported once into an empty table. Edit them on the
|
|
# Agents tab afterwards; this list is not read again.
|
|
agents:
|
|
- name: Berlin backend
|
|
intent: >-
|
|
Senior backend engineer. Python and Go services, PostgreSQL, event-driven
|
|
systems, APIs and data pipelines on Kubernetes in the cloud. Wants
|
|
ownership of production systems in a product company.
|
|
gates:
|
|
- {field: place, values: [Berlin], mode: require}
|
|
- {field: remote, values: [hybrid, remote], mode: prefer, weight: 0.05}
|
|
- name: Remote EU stretch
|
|
intent: >-
|
|
Staff or lead engineer role, fully remote from Europe. Platform and
|
|
infrastructure work, distributed systems, developer tooling, technical
|
|
leadership across teams.
|
|
gates:
|
|
- {field: remote, values: [remote], mode: require}
|
|
- {field: country, values: [DE, NL, AT, CH], mode: prefer, weight: 0.05}
|