How quentinwach/image-ranker works
Key Components to Include:
Frontend Layer
• Static assets component (CSS, images, and audio files)
• Templates component (HTML files)
Backend Layer
• Flask Web Server component
• TrueSkill ELO Engine component
• File System Interface component for local image handling
Data Flow Layer
• Image Storage (Local File System)
• Ranking Data Storage (CSV export/import)
┌─────────────────────────────────────────────┐
• Web Browser │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• Flask Web Server │
• ┌─────────────┐ ┌───────────────┐ │
• Templates │ │Static Assets │ │
• (HTML) │ │(CSS/MP3/Images)│ │
• ┘ └───────────────┘ │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• TrueSkill ELO Engine │
• (μ/σ calculation and global updates) │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• Local File System Interface │
• ┌─────────────┐ ┌───────────────┐ │
• Images │ │ CSV Rankings │ │
• Directory │ │ Export/Import │ │
• ┘ └───────────────┘ │
• ┘
Core Algorithms
• μ (mu) calculation
• σ (sigma) calculation
• Global ranking updates
• Sequential elimination option
• Smart shuffle mechanism
• User interactions (image comparisons)
• Ranking data updates
• File system operations
• CSV export/import paths
A small metrics/monitoring section showing
• Ranking progress
• Uncertainty levels
• Shuffle status
• Image comparison flow
• Ranking update process
• Shuffle mechanism