Part A: Ashby (?includeCompensation=true), Greenhouse (pay_transparency=true, already free on the list request), Lever (salaryRange), Recruitee (salary) and Personio (salaryInformation) all give structured pay; Workable and SmartRecruiters do not (checked live). Every host converts to a yearly salary_min/salary_max/currency, multiplying a monthly figure by 12 and skipping an hourly or daily one rather than annualising a number nobody stated. A range with no currency is ignored, and Greenhouse's own multi-zone ranges are skipped outright since nothing says which zone the role is at. Part B: classify() matched substrings, so " it" matched inside "Italy", filing European sales roles as engineering; it now matches on word boundaries (full boundary for the handful of short tokens that are themselves the start of an unrelated word, prefix matching kept for the stems). Title is checked before department (a hand-checked sample found title-first right about twice as often), nothing matching returns '' rather than "other", and a modest set of German/Dutch/Danish/Norwegian/Swedish/ French keywords covers the seed's other languages. function is not a board field, so it gets the opposite rule from every other raw column: extract's answer overwrites the classifier's guess outright, and once extracted_at is set no later pull may put the guess back. Migration 9 recomputes function for every not-yet-extracted role from its stored title and department. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
787 B
JSON
23 lines
787 B
JSON
[
|
|
{
|
|
"id": "2001",
|
|
"text": "Staff Engineer, Platform",
|
|
"hostedUrl": "https://lever.example/1",
|
|
"createdAt": 1789430400000,
|
|
"categories": {"location": "Remote", "department": "Engineering", "team": "Platform"},
|
|
"workplaceType": "remote",
|
|
"description": "<p>Own our <b>platform</b> reliability.</p>",
|
|
"salaryRange": {"min": 90000, "max": 120000, "currency": "EUR", "interval": "per-year-salary"}
|
|
},
|
|
{
|
|
"id": "2002",
|
|
"text": "Customer Success Manager",
|
|
"hostedUrl": "https://lever.example/2",
|
|
"createdAt": 0,
|
|
"categories": {"location": "New York", "department": "Customer Success"},
|
|
"workplaceType": "on-site",
|
|
"description": "",
|
|
"salaryRange": {"min": 25, "max": 35, "currency": "USD", "interval": "per-hour-wage"}
|
|
}
|
|
]
|