tune_weights
Tune per-repo semantic weights by analyzing ranking events from telemetry, with dry-run and min-events options to prevent overfitting.
Instructions
Online weight tuning. Reads ranking_events from ~/.doc-index/telemetry.db (requires JDOCMUNCH_PERF_TELEMETRY=1) and proposes a per-repo semantic_weight step. dry_run=true skips the disk write. min_events gates against early overfitting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional — single repo to tune. Omit to scan all repos with events. | |
| min_events | No | ||
| dry_run | No |