Loop 2 layer 4: length-weighted ranking #9

Closed
opened 2026-05-23 20:55:37 +00:00 by coilysiren · 0 comments
Owner

Originally filed by @coilysiren on 2026-05-20T12:01:06Z - https://github.com/coilysiren/voice-flow-learning-loop/issues/8

Context

Layer 4 of the 8-layer build path for Loop 2 documented in README.md.

Goal

Switch from raw frequency to a length-weighted value metric. A 5-character phrase repeating 100 times is less worth snippet-izing than a 60-character phrase repeating 30 times because the time-saved-per-snippet differs.

  • Default ranking: value = frequency × length. Tunable via CLI flag or env var.
  • Existing raw-frequency output remains available as a --raw mode for debugging.
  • Drop candidates below a tunable value threshold.

Done when

  • The Luca route (or layer 2 script directly) ranks by length-weighted value by default.
  • --raw mode produces the layer 2/3 output for comparison.
  • Threshold is tunable.

Depends on: layer 3 (or layer 2 if Luca route is deferred). Unblocks: layer 5.

_Originally filed by @coilysiren on 2026-05-20T12:01:06Z - [https://github.com/coilysiren/voice-flow-learning-loop/issues/8](https://github.com/coilysiren/voice-flow-learning-loop/issues/8)_ **Context** Layer 4 of the 8-layer build path for Loop 2 documented in [README.md](../blob/main/README.md). **Goal** Switch from raw frequency to a length-weighted value metric. A 5-character phrase repeating 100 times is less worth snippet-izing than a 60-character phrase repeating 30 times because the time-saved-per-snippet differs. - Default ranking: `value = frequency × length`. Tunable via CLI flag or env var. - Existing raw-frequency output remains available as a `--raw` mode for debugging. - Drop candidates below a tunable value threshold. **Done when** - The Luca route (or layer 2 script directly) ranks by length-weighted value by default. - `--raw` mode produces the layer 2/3 output for comparison. - Threshold is tunable. **Depends on:** layer 3 (or layer 2 if Luca route is deferred). **Unblocks:** layer 5.
coilysiren 2026-06-17 08:24:08 +00:00
Commenting is not possible because the repository is archived.
No description provided.