Skip to content

v0.9.0 — tunable detector config (--set)

Choose a tag to compare

@copyleftdev copyleftdev released this 01 Jun 19:42
· 9 commits to main since this release
d4a12f2

Tune any detector threshold from the CLI — reproducibly.

Added

  • scan / explain gain --set KEY=VALUE (repeatable) — override any DetectConfig field by name (--set point_threshold=4.0, --set dist_alpha=0.01, --set column_roles=false, …). The settable keys and their defaults are exactly what describe's config object reports. An unknown key, or a value that doesn't fit the field's type, is a hard error (exit 2).

Overrides flow into config_version (e.g. pt=3.5000pt=2.0000), so a tuned run is exactly as reproducible and self-describing as a default one — tuning is never silent. The common knobs keep their dedicated flags (--fdr, --cad-max-cv, --period, --cadence); --set is the general escape hatch for the rest. Implemented as a JSON round-trip over the serialized config, so every field is settable with no per-field code. No envelope/PROTOCOL change.

Gate

proptest + cargo-mutants 0 missed on main.rs.

Install: cargo install anomalyx

Full changelog: v0.8.0...v0.9.0