- Use !== instead of != for null/undefined comparisons
- Replace non-null assertions with type-predicate filters
- Use Array#toSorted() instead of mutating sort()
- Replace manual thenable mock with a real Promise + attached orderBy
- Remove unused imports/variables (Badge, CardHeader, CardTitle, eliminated, advanced, ownershipMap)
- Hoist makeChampionsQpConfig to module scope since it captures no closure variables
https://claude.ai/code/session_01RYK7NCjcaah545979wupcM