Fixes migrations inside Docker container where postgres is at postgres:5432,
not localhost:5453 as hardcoded in alembic.ini.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The pure Shannon entropy score penalized well-designed ads with multiple
intentional visual elements (e.g. hero product + text + logo scored ~8/100).
New composite score (0-100) weights four components:
- Peak Dominance (30%): strength of #1 hotspot vs rest
- Hierarchy Clarity (25%): monotonic intensity ordering
- Gaze Coherence (25%): smooth spatial gaze path
- Entropy Concentration (20%): sqrt-softened entropy
The raw entropy score is preserved as entropy_score for users who want it,
visible in the ScoreCard hover tooltip and PDF report.
Also adds auto-create DB tables on startup for fresh Docker deploys.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Full-stack application for predicting where humans look in images using
DeepGaze saliency models. Includes heatmap overlays, gaze sequence prediction,
hotspot detection, AOI analysis, rule-based insights, optional Claude AI
design analysis, and professional PDF report generation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>