a12574f3c5
MatchResp ora include diag dict (CC feature). UI rendering: - Nuovo pannello pieghevole "🔍 Diagnostica" sotto i tempi - Per ogni match mostra: * pipeline pruning (vars total → top_eval → top_pass → full_eval) * candidati (raw → pre_nms → final) * drop reasons (NCC, score, recall, bbox, NMS) con counter * soglie effettive applicate * flag attivi (polarity, soft, subpix-LM) - Quando 0 match → pannello si apre automaticamente + mostra hint contestuale specifico: * "0 candidati top" → suggerisce ↓ min_score / top_thresh * "tutti dropped da NCC" → ↓ verify_threshold (filtro_fp) * "score post-NCC sotto" → ↓ min_score * "recall basso" → ↓ min_recall * "bbox out-of-scene" → check pose / search_roi Risolve il pattern "0 match perche'?" con guida actionable invece del black-box. Tutti e 3 endpoint match (/match, /match_simple, /match_recipe) propagano il diag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>