From b181d779fe5498b61cd70d9cba4b56f1a37160b4 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 2 Jun 2026 18:49:24 -0400 Subject: [PATCH] fix(test): default suggestion_threshold_general now 0.70 (alembic 0033) --- tests/test_api_ml_admin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_api_ml_admin.py b/tests/test_api_ml_admin.py index 547e78e..1692743 100644 --- a/tests/test_api_ml_admin.py +++ b/tests/test_api_ml_admin.py @@ -19,9 +19,10 @@ async def test_get_and_patch_settings(client): resp = await client.get("/api/ml/settings") assert resp.status_code == 200 body = await resp.get_json() - # Default lowered 0.95 → 0.50 on 2026-06-01 (alembic 0029) — 0.95 - # hid most general suggestions in the view modal. - assert body["suggestion_threshold_general"] == pytest.approx(0.50) + # Default raised 0.50 → 0.70 on 2026-06-02 (alembic 0033) — 0.50 + # was too noisy in practice. The 0.70 default keeps the rail + # signal-rich without hiding everything like the original 0.95. + assert body["suggestion_threshold_general"] == pytest.approx(0.70) # Retired threshold columns must not appear in the payload. assert "suggestion_threshold_artist" not in body assert "suggestion_threshold_copyright" not in body