From 3c053040cd4760313599d14add57d68968ff91e5 Mon Sep 17 00:00:00 2001 From: Inference1 <68734681+Inference1@users.noreply.github.com> Date: Thu, 22 Oct 2026 23:14:47 +0800 Subject: [PATCH] test(recall): repin prepare statement ceiling after consolidation The default text-recall preparation now issues 17 statements for both 8 and 40 memories, but the guard still allowed 41, so a regression up to the old budget would pass silently. Pin the measured value with one statement of slack. --- tests/builtin/runtime/test_statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/builtin/runtime/test_statistics.py b/tests/builtin/runtime/test_statistics.py index 9789d5011a..3f09d5a0ee 100644 --- a/tests/builtin/runtime/test_statistics.py +++ b/tests/builtin/runtime/test_statistics.py @@ -626,7 +626,7 @@ async def scenario() -> None: # Measured on the default text-recall path; slack of one statement above the observed value. -_PREPARE_STATEMENT_CEILING = 41 +_PREPARE_STATEMENT_CEILING = 18 def test_prepare_context_statement_count_does_not_grow_with_memory_count() -> None: