Budget: 2400 USD Deadline: 30 days
BENCHMARK
I’ve reviewed the attached Technical Hiring Brief and understand this is production hardening of an existing FastAPI-based vehicle analytics system — not greenfield development.
Below is my structured estimate.
1) Estimated Total Hours
Initial estimate: 160–190 hours
(Subject to ±15% after initial repository audit)
2) Breakdown by Workstream
Backend Stabilization & Hardening
20–25h
• Remove crash paths & unsafe DB access
• Enforce deterministic behavior
• Add structured logging
• Fix SQL predicate bugs
• Add constraints & indexes
WebSocket System (Auth + Multi-instance + Redis)
30–35h
• Replace in-memory socket maps
• Implement Redis async pub/sub
• Authenticated handshake validation
• Deterministic broadcast iteration
• Multi-instance safety
• Async test coverage
Deterministic Pricing Engine
25–30h
• Tiered comparable selection
• Deterministic widening fallback
• Outlier filtering
• Strict Decimal rounding
• Persist benchmark metadata
• Backfill script
• Full formula tests
Deterministic Similar Listings Engine
20–25h
• Weighted scoring model
• Configurable weights
• Hard filters + widening fallback
• Deterministic tie-breaking
• Indexed query optimization
Smart Review (AI + Cache Layer)
25–30h
• Vehicle fingerprint generation
• Web evidence retrieval
• LLM synthesis (evidence-only constraint)
• Redis + DB cache layer
• Versioning + TTL invalidation
• Unique DB index
• Optional force refresh
Notification Lifecycle Completion
10–15h
• Ownership enforcement
• Fix update predicates
• Remove orphaned records
• Transactional consistency
• Endpoint test coverage
Catalog Search Replacement
10–15h
• Real filter-based search
• Validated pagination
• Structured logging
• Integration tests
Facebook Integration
10–15h
• Integrate module
• Resolve schema alignment
• Proxy/account stabilization
Testing + CI Hardening
20–25h
• pytest + pytest-asyncio
• Deterministic snapshot tests
• WebSocket async tests
• Critical flow coverage
• CI compatibility
3) Risks / Unknowns
• Hidden coupling between ranking & pricing logic
• Inconsistent historical data affecting determinism
• WebSocket lifecycle assumptions in current code
• LLM cost management + evidence reliability
• Partial DB migrations
4) Proposed Milestones
Codebase audit + architecture proposal
WebSocket stabilization
Deterministic pricing engine
Deterministic similarity engine
AI smart review + cache layer
DB hardening + backfills
Notification + catalog completion
Test coverag