PriceGhost/backend
clucraft 8131017f3a Fix anchor price selection - prioritize anchor over method
The previous logic checked preferred method first, which could select
a wrong price even when anchor price was available. Now:

1. PRIORITY 1: Anchor price - if user confirmed a price, find closest
   match (within 10% tolerance) across ALL candidates
2. PRIORITY 2: Preferred method - only used if no anchor match found
3. PRIORITY 3: Consensus voting

Also added debug logging to trace anchor price saving and retrieval.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 19:01:15 -05:00
..
src Fix anchor price selection - prioritize anchor over method 2026-01-24 19:01:15 -05:00
.dockerignore Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00
.env.example Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00
Dockerfile Add Puppeteer fallback for Cloudflare-protected sites 2026-01-21 20:55:49 -05:00
package-lock.json Fix stock status false positives for in-stock items 2026-01-23 13:56:26 -05:00
package.json Fix stock status false positives for in-stock items 2026-01-23 13:56:26 -05:00
tsconfig.json Initial commit: PriceGhost price tracking application 2026-01-20 13:58:13 -05:00