feat: 修复大粪扫描频率

This commit is contained in:
Horldsence
2026-09-11 09:50:56 +08:00
parent bd479b6d9d
commit f3dfa9c2a1
81 changed files with 40138 additions and 3478 deletions
+4 -2
View File
@@ -94,9 +94,11 @@ class BayesLoopAcceptanceTests(unittest.TestCase):
self.assertEqual(report["mismatches"], [])
def test_persistent_phase_resweeps_until_cap(self):
"""找全后持续复扫到虚拟安全余量 [用户决策 2026-09-11]。"""
"""复扫保险模式(--persistent):找全后复扫到虚拟安全余量。"""
config = replace(SMALL_CAP, search=replace(SMALL_CAP.search,
persistent_search=True))
sources = random_omni_scene(seed=5, count=10, config=CONFIG)
summary, _report, _simulator = _run_scene(sources, config=SMALL_CAP)
summary, _report, _simulator = _run_scene(sources, config=config)
truth = sorted(s.channel for s in sources)
self.assertTrue(summary["completed"])
self.assertEqual(summary["stop_reason"], "virtual_time_cap")