Files
jobboard/tests/fixtures/ats/lever.json
T
WolfandClaude Sonnet fa4e1a657f Keep a board's stated pay as salary_text, even when it does not normalise
Every ats parser now writes one human-readable pay line whether or not it
converts to yearly salary_min/salary_max/currency: hourly and daily rates,
Greenhouse's several pay zones, and a range with no currency all survive as
text instead of being dropped outright. Stored in roles.salary_text
(migration 12), replaced whole on every pull like title, so a board that
stops stating pay clears it rather than leaving a stale line. salary_state
is derived, not stored ('normalised', 'stated', or ''), and is what the
feed's new Pay filter and badge read; gates and scoring are unchanged, still
reading only the normalised columns.

Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
2026-09-29 15:08:45 +02:00

33 lines
1.1 KiB
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"}
},
{
"id": "2003",
"text": "Support Engineer",
"hostedUrl": "https://lever.example/3",
"createdAt": 1789430400000,
"categories": {"location": "Remote", "department": "Support"},
"workplaceType": "remote",
"description": "",
"salaryRange": {"min": 80000, "max": 100000, "currency": "", "interval": "per-year-salary"}
}
]