
    def test_enumerate_monitored_all_keeps_every_direction():
        docs = [
            _scalp_job("sho", direction="short_only"),
            _scalp_job("bth", direction="both"),
            _scalp_job("lng", direction="long_only"),
        ]
        cands = sim.enumerate_monitored_candidates(
            "2026-07-02", side="all", db_factory=_jobs_db_factory(docs),
        )
>       assert {c["symbol"] for c in cands} == {"SHO", "BTH", "LNG"}
E       AssertionError: assert set() == {'BTH', 'LNG', 'SHO'}
E         
E         Extra items in the right set:
E         'LNG'
E         'BTH'
E         'SHO'
E         
E         Full diff:...
E         
E         ...Full output truncated (6 lines hidden), use '-vv' to show

tests/services/test_scalp_r2_backtest.py:407: AssertionError
