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>
This commit is contained in:
1 parent
706b127bc0
commit
fa4e1a657f
18 files changed
+528
-57
No files matched your search
Vendored
+13
@@ -27,6 +27,19 @@
|
||||
"published_at": "2026-09-01 00:00:00 UTC",
|
||||
"description": "",
|
||||
"salary": {"min": null, "max": null, "currency": null, "period": null}
|
||||
},
|
||||
{
|
||||
"id": 5003,
|
||||
"title": "Warehouse Coordinator",
|
||||
"slug": "warehouse-coordinator",
|
||||
"careers_url": "https://acme.example/o/warehouse-coordinator",
|
||||
"department": "Operations",
|
||||
"city": "Munich",
|
||||
"location": "Munich",
|
||||
"remote": false,
|
||||
"published_at": "2026-09-05 00:00:00 UTC",
|
||||
"description": "",
|
||||
"salary": {"min": 18, "max": 24, "currency": null, "period": "hour"}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user