fix(ai): supersede old product picks
All checks were successful
CD Pipeline / deploy (push) Successful in 2m48s

This commit is contained in:
OoO
2026-05-01 16:24:15 +08:00
parent b3d00a011c
commit 9e2337764b
6 changed files with 32 additions and 5 deletions

View File

@@ -197,6 +197,8 @@ def test_ai_product_pick_agent_uses_real_competitor_data_and_dashboard_action():
assert "evidence_quality" in agent_source
assert "opportunity_score" in agent_source
assert "margin_rate" in agent_source
assert "_supersede_old_picks" in agent_source
assert "status = 'superseded'" in agent_source
assert "{date_col}::date" in agent_source
assert "conn.rollback()" in agent_source