hm_ai_qc_report_tool/modules/hm_qc
nickviljoen fc15a2dda3 Rewrite filename check + add price/currency check to image QC
Filename check:
- Rewritten to flexibly parse multiple H&M naming conventions
  (Display, DOOH, OOH, SOME STATIC, Social, POS, DS)
- Extracts country code, language code, dimensions, campaign number
- Scores based on how much metadata was extracted (not rigid pattern)
- Tested against real filenames: BG_bg, ES_es, NO-no formats

Price/currency check (new):
- Detects prices in images via LLM vision API
- Validates currency against global pricing reference (deterministic)
- Falls back to LLM validation for unknown countries
- Optional campaign pricing sheet validation when has_pricing=True
- Added to profile with weight 30

Profile weights rebalanced: filename 30, quality 40, price 30

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:39:54 +02:00
..
checks Rewrite filename check + add price/currency check to image QC 2026-03-26 18:39:54 +02:00
launchers Consolidate legacy hm_qc and video_qc tools into main project 2026-02-25 11:40:53 +02:00
profiles Rewrite filename check + add price/currency check to image QC 2026-03-26 18:39:54 +02:00
templates/hm_qc Fix report download 404 and add campaign info to reports 2026-03-26 18:26:18 +02:00
utils Consolidate legacy hm_qc and video_qc tools into main project 2026-02-25 11:40:53 +02:00
__init__.py Add modular architecture, core framework, and web UI 2026-02-25 11:39:04 +02:00
batch_executor.py Add campaign presentation management and global pricing reference 2026-03-26 16:12:22 +02:00
blueprint.py Add modular architecture, core framework, and web UI 2026-02-25 11:39:04 +02:00
executor.py Rewrite filename check + add price/currency check to image QC 2026-03-26 18:39:54 +02:00
legacy_CLAUDE.md Update documentation for unified platform consolidation 2026-02-25 13:51:21 +02:00
legacy_config.py Consolidate legacy hm_qc and video_qc tools into main project 2026-02-25 11:40:53 +02:00
legacy_DEV_SETUP.md Update documentation for unified platform consolidation 2026-02-25 13:51:21 +02:00
legacy_orchestrator.py Consolidate legacy hm_qc and video_qc tools into main project 2026-02-25 11:40:53 +02:00
legacy_README.md v1.1.0: Add progress tracking, CSV export, multi-job support, batch processing, and security fixes 2026-03-13 09:43:20 +02:00
legacy_requirements.txt Consolidate legacy hm_qc and video_qc tools into main project 2026-02-25 11:40:53 +02:00
routes.py Fix report download 404 and add campaign info to reports 2026-03-26 18:26:18 +02:00
scoring.py Add modular architecture, core framework, and web UI 2026-02-25 11:39:04 +02:00