Support #12268
openworked on appforsolar project
70%
Subtasks
Related issues
Updated by Maruthi Bharath 8 days ago
Engineered the New Opportunity Pipeline: Built 12 modular classifiers, validators, and extractors that enforce strict evidence tethering, 100-point multi-dimensional qualification scoring, and 4-tier lifecycle gates (intent_status, qualification_status, review_status, delivery_status).
Fixed Core Crawler Engine Defects: Resolved the SimHash self-matching bug (Hamming distance 0 matching URLs against themselves), enabled URL revisit/refresh scheduling, allowed Reddit XML/Atom feeds, and fixed 429 backoffs.
Isolated Homeowner Leads from Contractors: Cleanly separated consumer leads from Google Places contractors, added business classification (Installers vs Cleaning vs Screens), and enforced same-state contractor matching.
Hardened Safety & Compliance: Re-enabled TLS certificate verification, added honest User-Agent headers, implemented RFC 9309 robots.txt enforcement, and required confirmation plus automated database backups before --fresh resets.
Comprehensive Verification: Implemented 78 unit & integration tests in test_opportunity_pipeline.py and a 24-sample natural-phrasing benchmark in benchmark_realistic.py (159 total passing tests across the repo).