Replace dict comprehension with explicit loop so that non-list or empty grupo values are safely skipped, preventing KeyError: 0 on v[0]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace dict comprehension with explicit loop so that non-list or empty grupo values are safely skipped, preventing KeyError: 0 on v[0]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>