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}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+28
@@ -40,6 +40,34 @@
|
||||
"location": {"name": "Anywhere"},
|
||||
"absolute_url": "data:text/html,hi",
|
||||
"departments": []
|
||||
},
|
||||
{
|
||||
"id": 1005,
|
||||
"title": "Regional Sales Manager",
|
||||
"location": {"name": "Remote - US"},
|
||||
"absolute_url": "https://gh.example/5",
|
||||
"updated_at": "2026-09-12T12:00:00-04:00",
|
||||
"departments": [{"id": 2, "name": "Sales"}],
|
||||
"content": "",
|
||||
"pay_input_ranges": [
|
||||
{"min_cents": 18000000, "max_cents": 22000000, "currency_type": "USD",
|
||||
"title": "Zone 1"},
|
||||
{"min_cents": 16000000, "max_cents": 20000000, "currency_type": "USD",
|
||||
"title": "Zone 2"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 1006,
|
||||
"title": "Support Specialist",
|
||||
"location": {"name": "Remote"},
|
||||
"absolute_url": "https://gh.example/6",
|
||||
"updated_at": "2026-09-13T12:00:00-04:00",
|
||||
"departments": [{"id": 3, "name": "Support"}],
|
||||
"content": "",
|
||||
"pay_input_ranges": [
|
||||
{"min_cents": 6500000, "max_cents": 8500000, "currency_type": "",
|
||||
"title": "Base salary range:"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+10
@@ -18,5 +18,15 @@
|
||||
"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"}
|
||||
}
|
||||
]
|
||||
Vendored
+18
@@ -41,4 +41,22 @@
|
||||
<createdAt>2026-09-21T14:53:35+00:00</createdAt>
|
||||
</position>
|
||||
|
||||
<position>
|
||||
<id>6003</id>
|
||||
<subcompany>Acme AG</subcompany>
|
||||
<office>Munich</office>
|
||||
<department>Operations</department>
|
||||
<name>Office Coordinator</name>
|
||||
<jobDescriptions></jobDescriptions>
|
||||
<employmentType>permanent</employmentType>
|
||||
<seniority>entry-level</seniority>
|
||||
<schedule>full-time</schedule>
|
||||
<createdAt>2026-09-05T09:00:00+00:00</createdAt>
|
||||
<salaryInformation>
|
||||
<min>3000</min>
|
||||
<max>3600</max>
|
||||
<type>monthly</type>
|
||||
</salaryInformation>
|
||||
</position>
|
||||
|
||||
</workzag-jobs>
|
||||
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