Ask extract where a remote hire may live and map its answer before the rescore
remote_where is a list of names, [] when not stated. Remote is remote with a regular office week and hybrid with set office days each week. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e4c0de4465
commit
6f2b1ff72a
2 files changed
+42
-8
No files matched your search
@@ -139,7 +139,8 @@ def test_closed_and_answered_roles_are_not_offered(
|
||||
conn.execute("UPDATE roles SET closed_at = '2026-09-22T00:00:00+00:00' "
|
||||
"WHERE source_id = 'closed'")
|
||||
conn.execute("UPDATE roles SET extracted_at = '2026-09-22T00:00:00+00:00', "
|
||||
"seniority_model = 'senior' WHERE source_id = 'done'")
|
||||
"seniority_model = 'senior', remote_where_model = '[]' "
|
||||
"WHERE source_id = 'done'")
|
||||
model = stub(monkeypatch, lambda roles: [answer(r["uid"]) for r in roles])
|
||||
|
||||
modeltask.run(extract.TASK, config, store)
|
||||
|
||||
Reference in new issue
Block a user