fix(ui): lead with revenue comparison coverage
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-14 21:19:53 +08:00
parent 0d7f24ca56
commit df9333546c
4 changed files with 23 additions and 8 deletions

View File

@@ -318,9 +318,12 @@ def test_dashboard_exposes_count_and_revenue_coverage_without_a_text_wall():
template = Path("templates/dashboard_v2.html").read_text(encoding="utf-8")
assert "正式比價覆蓋" in template
assert "業績涵蓋" in template
assert "growth.comparison_revenue_coverage_rate" in template
assert "業績比價覆蓋" in template
assert "growth.comparison_revenue_coverage_rate | default(0)" in template
assert "growth.comparison_revenue_coverage_width | default(0)" in template
assert "growth.comparison_ready_sales_7d" in template
assert "growth.comparison_total_sales_7d" in template
assert "growth.mapped_count" in template
def test_same_item_reconciliation_route_returns_durable_readback(monkeypatch):