Loop 2 layer 4: length-weighted ranking #9

Open
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 added
P3
and removed
P2
labels 2026-05-31 07:01:24 +00:00
Commenting is not possible because the repository is archived.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/voice-flow-learning-loop#9
No description provided.