LearningCircuit
LearningCircuit
PUNCHLIST flagged this test as H5_SWALLOWS_ERROR claiming PR #2235 contract violation. This is a false positive — PR #2118 walked back PR #2235's contract because startup errors masking caused runtime...
Tier 3, same pattern as #4283, #4284. 3 tests patch 8-10 internal methods each and only assert mock.assert_called() or a weak isinstance check. Other tests in TestExploreLoop (test_diversity_threshold_met_breaks_loop, test_empty_queries_breaks_loop, test_skips_already_explored_queries)...
Tier 3, same pattern as #4283. Both tests patch internal methods (_deduplicate_candidates, _rank_candidates_by_relevance) and only assert mock.assert_called(). They pin implementation not outcome. Outcome coverage exists in sibling tests in TestExploreMethod.
Three tests in tests/security/test_path_validator.py were marked @pytest.mark.xfail because the corresponding SUT detection wasn't implemented. This PR implements the missing detection and flips the tests to passing. Detects: (1) URL-encoded traversal...
Tier 5: this test has `assert small_cache.get('query_0', 'engine1') is not None or True` — `X or True` is always True for any X. The test's own comment says 'we can't...
Tier 3: 7 tests patch internal methods on explorer and assert only `mock.assert_called()`. They pin implementation (which internal method names get invoked) not contract (that exploration actually dedupes / ranks...
Tier 2: 4 tests flagged NO_ASSERTIONS. Each is one of: hasattr-only check (test_call_stack_push, test_nested_call_tracking), literal `assert True` (test_call_depth_calculation), or try/except/pass H2 swallow (test_invalid_token_values). Real behavior is covered by other tests...
Tier 3 cleanup of 3 files (7 tests). test_text_cleaner_exception_path.py and test_text_cleaner_fallback_coverage.py: every test inlines the fallback logic instead of calling remove_surrogates; some even REPLACE the SUT function with a local...
## Summary Follow-up to #4125 (which deleted 14 news shadow files). This PR catches **45 more news shadow files** I missed in the original sweep. All 45 have ZERO mentions...
## Summary Deletes 26 shadow test files that had zero imports from \`local_deep_research\` and exercised no production code. Each file tested either: - Inline reimplementations of SUT logic (the function...