snipe/app/trust
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
..
__init__.py feat: snipe beta backlog batch (tickets #22/#28/#30/#34/#35/#36/#37/#38) 2026-04-13 19:32:50 -07:00
aggregator.py test: aggregator coverage for zero_feedback, long_on_market, significant_price_drop 2026-04-16 13:14:20 -07:00
metadata.py feat: preferences store, community signals, a11y + API fixes 2026-04-14 16:15:09 -07:00
photo.py feat: preferences store, community signals, a11y + API fixes 2026-04-14 16:15:09 -07:00