gmal-scope-builder/backend/app/services
DJP 3cb1973f57 Fix tier matching: use client tier to pick correct complexity variant
- Doc parser now extracts tier labels (Tier A, A, Gold, etc.) per asset
- Matching uses tier to find the correct GMAL complexity variant:
  - Claude matches to the GMAL family (asset type)
  - Post-match lookup: (asset_name + target_complexity_level) finds exact variant
  - e.g. "Banner - Tier A" with A=Complex → finds Complex variant by asset_name query
- Tier hint passed to Claude prompt for better matching
- No blind expansion - only the tier-appropriate GMAL is matched
- Expand to Tiers button still available for when client doesn't specify tiers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 15:17:20 -04:00
..
__init__.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
ai_descriptions.py AI-enhanced GMAL descriptions + matching fixes 2026-03-28 10:12:04 -04:00
ai_matching.py Fix tier matching: use client tier to pick correct complexity variant 2026-04-09 15:17:20 -04:00
doc_parser.py Fix tier matching: use client tier to pick correct complexity variant 2026-04-09 15:17:20 -04:00
excel_parser.py Improve matching, upload UX, collapse fix, full catalog approach 2026-03-27 19:22:08 -04:00
export_excel.py Fix: Brief analysis text input, Excel formulas on all sheets 2026-04-09 14:37:56 -04:00
export_pdf.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
match_refiner.py P2: Iterative prompting + RFP brief analysis engine 2026-04-09 14:15:31 -04:00
ratecard_builder.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
rfp_analysis.py P2: Iterative prompting + RFP brief analysis engine 2026-04-09 14:15:31 -04:00
team_shape.py P1: Role-specific efficiency profiles + BTG tool efficiencies 2026-04-09 13:48:30 -04:00
tier_expander.py Client tier mapping + GMAL complexity variant expansion 2026-04-09 15:02:45 -04:00