test_the_intersection_pins_the_class_a_name_alone_cannot

Tests › tests/test_receiver_resolution.py

passed Passed in the packaged run.

What this test is for

Why it exists

RULE 2 WAS TOO STRICT AND THIS IS THE CASE THAT PROVES IT. `engine` is declared in four classes on entropic, so refusing on an ambiguous receiver name refuses the very call this feature exists for. Only ONE of those classes declares `run_turn`, so the PAIR pins it where neither half does alone.

Given

  1. classes = {"engine": {"entropic::AgentEngine", "AgentEngine", "EntropicEngine", "ChessEngine"}}
→

When

  1. survivors, verified = _narrow_by_receiver("engine", 1, ALL, classes, SCOPE_OF, ARGC_OF)
→

Then

  1. ✓ verified holds
  2. ✓ set(survivors) equals {ENGINE_A, ENGINE_B}

tests/test_receiver_resolution.py:81 · its file's page

What it checks (2)

  1. assert verified, "the receiver's type identified the owning class and should count as such" not attributed
  2. assert set(survivors) == {ENGINE_A, ENGINE_B}, ( f"the two file-local helpers must be ELIMINATED, not merely deprioritised — the " f"receiver's declared type says they cannot be the target. Got {survivors}" ) not attributed

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_the_intersection_pins_the_class_a_name_alone_cannot→_narrow_by_receiver

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

test_the_intersection_pins_the_class_a_name_alone_cannot · 2 checks_narrow_by_receiver_one_classallREQ-DDB-WIKI-054 · inferred
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.