From b7b95bb84968fc6e42c956c90d9d3858d2488e65 Mon Sep 17 00:00:00 2001 From: Michael Winter Date: Thu, 12 Mar 2026 19:41:48 +0100 Subject: [PATCH] Remove movement_size weight as redundant with melodic threshold --- compact_sets.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/compact_sets.py b/compact_sets.py index e82c30f..fdadf55 100644 --- a/compact_sets.py +++ b/compact_sets.py @@ -744,7 +744,6 @@ class PathFinder: def _default_weights_config(self) -> dict: """Default weights configuration.""" return { - "movement_size": True, "contrary_motion": True, "direct_tuning": True, "voice_crossing": True, @@ -809,15 +808,6 @@ class PathFinder: weights.append(w) continue - # Movement size weight - if config.get("movement_size", False): - if cent_diffs: - max_diff = max(cent_diffs) - if max_diff < 100: - w *= 1000 - elif max_diff < 200: - w *= 10 - # Contrary motion weight if config.get("contrary_motion", False): if len(cent_diffs) >= 3: