Fix deep extraction crash: unescaped curly braces in f-string

Root cause: "name 'name' is not defined" error on line 300
The f-string example {name:"KV 360", tier:"Tier B"} was interpreted
as Python set literal, not as JSON text. Changed to parentheses.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
DJP 2026-04-13 13:23:25 -04:00
parent c49f83a5a2
commit 06bb1b9bfd

View file

@ -297,7 +297,7 @@ STRUCTURAL ANALYSIS:
IMPORTANT GUIDELINES:
- Use the column mapping from the analysis to identify asset names, descriptions, tiers, and volumes
- CRITICAL: If the document has tier columns (Tier A/B/C etc.), create a SEPARATE entry for EACH tier where volume > 0 or status = "Yes"
- Example: "KV 360" with Tier A=No/0, Tier B=Yes/1, Tier C=Yes/1 TWO entries: {name:"KV 360", tier:"Tier B", volume:1} and {name:"KV 360", tier:"Tier C", volume:1}
- Example: "KV 360" with Tier A=No/0, Tier B=Yes/1, Tier C=Yes/1 TWO entries: (name="KV 360", tier="Tier B", volume=1) and (name="KV 360", tier="Tier C", volume=1)
- Do NOT create entries for tiers with volume=0 or status="No"
- Skip rows that are questions, metadata, or caveats those are not deliverables
- Carry forward category names from merged cells (the analysis explains the hierarchy)