From 11364151a63c4aa8094dd11e0a00cfb0f06deb3a Mon Sep 17 00:00:00 2001 From: tobjend Date: Sun, 12 Jul 2026 03:26:22 +0200 Subject: [PATCH] fix: set DEFAULT_COVERAGE to 0.05 (experimentally determined sweet spot) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default min_coverage of 0.8 was filtering out almost all symbols before CRX could see them, making every other parameter tuning moot. At 0.8, only symbols present in 80%+ of methods survive — which means 0-2 symbols per group. At 0.05, 46 symbols survive for fastapi/src and CRX can actually find structure. This was the root cause of why max_unique_symbols gate never triggered and why CRX kept producing flat bags. --- bex/tag_preprocessor/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bex/tag_preprocessor/analyze.py b/bex/tag_preprocessor/analyze.py index 10a71cf..a8be5cc 100644 --- a/bex/tag_preprocessor/analyze.py +++ b/bex/tag_preprocessor/analyze.py @@ -173,7 +173,7 @@ def scan_directory(dir_path, gitignore_spec=None): return result -DEFAULT_COVERAGE = 0.8 +DEFAULT_COVERAGE = 0.05 VERBOSE = False _vstart = 0.0