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
+34
@@ -29,6 +29,40 @@
|
||||
"publishedAt": "2026-08-28T21:20:40.792+00:00",
|
||||
"jobUrl": "https://ashby.example/2",
|
||||
"descriptionHtml": ""
|
||||
},
|
||||
{
|
||||
"id": "3003",
|
||||
"title": "Sales Development Rep",
|
||||
"department": "Sales",
|
||||
"team": "Sales",
|
||||
"location": "Remote",
|
||||
"isRemote": true,
|
||||
"publishedAt": "2026-08-20T00:00:00Z",
|
||||
"jobUrl": "https://ashby.example/3",
|
||||
"descriptionHtml": "",
|
||||
"compensation": {
|
||||
"compensationTierSummary": "Competitive OTE, details on request",
|
||||
"summaryComponents": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "3004",
|
||||
"title": "Support Engineer (Contract)",
|
||||
"department": "Support",
|
||||
"team": "Support",
|
||||
"location": "Remote",
|
||||
"isRemote": true,
|
||||
"publishedAt": "2026-08-21T00:00:00Z",
|
||||
"jobUrl": "https://ashby.example/4",
|
||||
"descriptionHtml": "",
|
||||
"compensation": {
|
||||
"summaryComponents": [
|
||||
{"compensationType": "Salary", "interval": "1 HOUR", "currencyCode": "USD",
|
||||
"minValue": 45, "maxValue": 60},
|
||||
{"compensationType": "Bonus", "interval": "1 YEAR", "currencyCode": "USD",
|
||||
"minValue": 5000, "maxValue": 10000}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user