35 lines
758 B
Python
35 lines
758 B
Python
from __future__ import annotations
|
|
|
|
|
|
def default_weights() -> dict[str, float]:
|
|
return {
|
|
"content": 30.0,
|
|
"skills": 25.0,
|
|
"location": 20.0,
|
|
"conditions": 10.0,
|
|
"employer": 10.0,
|
|
"preferences": 5.0,
|
|
"ai": 0.0,
|
|
}
|
|
|
|
|
|
def default_hard_rules() -> dict[str, object]:
|
|
return {
|
|
"excluded_title_terms": [],
|
|
"excluded_employment_types": ["freelance"],
|
|
"excluded_skills": [],
|
|
"unknown_is_insufficient": False,
|
|
}
|
|
|
|
|
|
def default_soft_preferences() -> dict[str, float]:
|
|
return {
|
|
"direct_employer": 0.9,
|
|
"public_sector": 0.7,
|
|
"limited_first_line_support": 0.8,
|
|
}
|
|
|
|
|
|
def default_follow_up_weekdays() -> list[int]:
|
|
return [0, 1, 2, 3, 4]
|