snipe/tests
pyr0ball 7005be02c2
Some checks are pending
CI / Python tests (push) Waiting to run
CI / Frontend typecheck + tests (push) Waiting to run
Mirror / mirror (push) Waiting to run
test: aggregator coverage for zero_feedback, long_on_market, significant_price_drop
Add 10 new tests covering the three previously untested flag paths:
- zero_feedback: flag fires + composite capped at 35 even with all-20 signals
- long_on_market: fires at >=5 sightings + >=14 days; NOT at <5 sightings or <14 days
- significant_price_drop: fires at >=20% below first-seen; NOT at <20% or no prior price
- established_retailer: duplicate_photo suppressed at feedback>=1000; fires below threshold

Also fix datetime.utcnow() deprecation in aggregator._days_since() and test helper
— replaced with timezone-aware datetime.now(timezone.utc) throughout.
2026-04-16 13:14:20 -07:00
..
db feat: snipe beta backlog batch (tickets #22/#28/#30/#34/#35/#36/#37/#38) 2026-04-13 19:32:50 -07:00
platforms feat: preferences store, community signals, a11y + API fixes 2026-04-14 16:15:09 -07:00
test_tasks feat: snipe beta backlog batch (tickets #22/#28/#30/#34/#35/#36/#37/#38) 2026-04-13 19:32:50 -07:00
trust test: aggregator coverage for zero_feedback, long_on_market, significant_price_drop 2026-04-16 13:14:20 -07:00
ui feat: snipe beta backlog batch (tickets #22/#28/#30/#34/#35/#36/#37/#38) 2026-04-13 19:32:50 -07:00
__init__.py feat: scaffold snipe repo 2026-03-25 13:08:54 -07:00
test_api_search_build.py feat: POST /api/search/build endpoint with tier gate and category cache wiring 2026-04-14 11:46:15 -07:00
test_ebay_categories.py feat: community category federation in EbayCategoryCache.refresh() 2026-04-14 11:38:12 -07:00
test_feedback.py feat: preferences store, community signals, a11y + API fixes 2026-04-14 16:15:09 -07:00
test_query_translator.py feat: QueryTranslator with domain-aware system prompt and category hint injection 2026-04-14 11:43:19 -07:00
test_tiers.py feat: add llm_query_builder tier gate (paid+) to tiers.py and SessionFeatures 2026-04-14 11:44:53 -07:00