Bring the Python side to the ADR: the judge scores 0 to 10 with the cap at 4 and migration 33 clears every judgement, summarise reads the top 30 of the want and the match order, a hidden company's roles are never in the feed, and the company switch is called All locations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6cad9713ac
commit
6d82287402
27 files changed
+390
-247
No files matched your search
+3
-3
@@ -117,7 +117,7 @@ def test_a_company_tagged_all_roles_is_read_across_the_require_reach(store: Stor
|
||||
# Europe, and the base's remote, which a tag never reads less than.
|
||||
assert why == "countries" and {"DE", "FR", "DK"} <= wide.countries and wide.remote
|
||||
# The gate lists Europe's countries one by one; the line names the continent.
|
||||
assert reach.line(plan, subs["workday:mistral"]) == "all countries (Europe) · all roles"
|
||||
assert reach.line(plan, subs["workday:mistral"]) == "all locations (Europe) · all roles"
|
||||
assert plan.why(subs["workday:acme"]) == (plan.base, "agents")
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ def test_a_tag_asks_phenom_for_europe_in_one_request(store: Store) -> None:
|
||||
store.set_all_countries("mistral-ai", True)
|
||||
[sub] = store.subscriptions(source="ats")
|
||||
found = reach.plan(store)
|
||||
assert reach.line(found, sub) == "all countries (Europe) · remote not asked on Phenom · all roles"
|
||||
assert reach.line(found, sub) == "all locations (Europe) · remote not asked on Phenom · all roles"
|
||||
|
||||
|
||||
def test_an_agent_without_a_required_place_makes_the_tag_everywhere(store: Store) -> None:
|
||||
@@ -157,7 +157,7 @@ def test_an_agent_without_a_required_place_makes_the_tag_everywhere(store: Store
|
||||
[sub] = store.subscriptions(source="ats")
|
||||
assert plan.why(sub) == (reach.EVERYWHERE, "countries")
|
||||
assert plan.for_subscription(sub) is None
|
||||
assert reach.line(plan, sub) == "all countries (everywhere): read whole"
|
||||
assert reach.line(plan, sub) == "all locations (everywhere): read whole"
|
||||
|
||||
|
||||
def test_a_boards_own_reach_wins_over_the_tag(store: Store) -> None:
|
||||
|
||||
Reference in new issue
Block a user