B1.3: isStable real threshold (config-driven, replaces tautology)

The legacy stdDev < stdDev*2 was always true. New behaviour: stdDev <=
config.calibration.stabilityThreshold OR stdDev === 0. Default
threshold 0.01 in scaling-units. Schema field + editor UI added. 4
BUG-PRESERVED tests rewritten + 4 new edge tests. 101/101 pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-05-11 17:29:15 +02:00
parent e6e212a504
commit 497f05d92c
4 changed files with 79 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ class nodeClass extends BaseNodeAdapter {
},
smoothing: { smoothWindow: uiConfig.count, smoothMethod: uiConfig.smooth_method },
simulation: { enabled: uiConfig.simulator },
calibration: { stabilityThreshold: uiConfig.stabilityThreshold },
mode: { current: mode },
channels,
};