Prep reads remote from a Danish or Swedish place line, and from a search role's title
The search providers stop mapping remote_word themselves (R2), so prep reads the same words: in any role's place line after remote_of, and in the title of a role from a search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d04ceae7e0
commit
56fad284a6
4 files changed
+48
-6
No files matched your search
+3
-2
@@ -85,8 +85,9 @@ def map_role(row: Mapping[str, Any], gaz: places.Gazetteer, folds: Mapping[str,
|
||||
"seniority_title": titled,
|
||||
"employment": words.employment(host, row["employment_host"], tables),
|
||||
"remote": words.remote(host, row["remote_host"] or None, (), "", tables),
|
||||
"remote_places": words.remote(host, None, _places(row["raw_places"]), row["place"],
|
||||
tables),
|
||||
"remote_places": words.remote(
|
||||
host, None, _places(row["raw_places"]), row["place"], tables,
|
||||
title=row["title"] if row["source"] == "search" else ""),
|
||||
"country": country(gaz, place_ids, row["country_host"]),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user