Files
codebase-memory-mcp/scripts
Andrew Hundt 52d2445f8b autotune.py: set DEFAULTS to best experiment results (calls_boost_excl_tests)
Previous defaults: edge_weight_calls=1.0, edge_weight_usage=0.7,
key_functions_exclude="" (no exclusions).

What changed:
- scripts/autotune.py DEFAULTS: edge_weight_calls 1.0 → 2.0 (call edges
  are the strongest signal for production importance)
- scripts/autotune.py DEFAULTS: edge_weight_usage 0.7 → 0.3 (type-reference
  edges add noise, dampening improves ranking signal)
- scripts/autotune.py DEFAULTS: key_functions_exclude "" → "graph-ui/**,
  tools/**,scripts/**,tests/**" (excluding non-production paths surfaces core
  library functions instead of test helpers)

Why: autotune run on 2026-03-26 scored calls_boost_excl_tests at 6/30 across
3 repos (codebase-memory-mcp, autorun, rtk), best of 8 experiments. Baseline
scored 0/30. These defaults are now the baseline that experiments diverge from,
so future autotune runs search the config space around the current best.

  Testable: python3 scripts/autotune.py  (baseline_25 now starts from these values)

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-03-26 05:31:05 -04:00
..