- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
25 lines
896 B
Markdown
25 lines
896 B
Markdown
---
|
|
id: 332764d5-30ae-488c-969e-e01fb0239eaa
|
|
type: solution
|
|
title: "Fixed Paper Dynasty gauntlet-9 KeyError: 'human'"
|
|
tags: [paper-dynasty, database, gauntlet, keyerror, bug-fix, cardsets]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2026-02-04T15:00:16.354282+00:00"
|
|
updated: "2026-02-04T15:00:16.354282+00:00"
|
|
---
|
|
|
|
Error: KeyError: 'human' in /api/v2/cards/legal-check/gauntlet-9
|
|
Location: database/app/routers_v2/cards.py:242
|
|
Root cause: CARDSETS['gauntlet-9'] missing 'human' key in database/app/db_engine.py
|
|
|
|
All other gauntlet events (3-8) had 'human' key, but gauntlet-9 didn't.
|
|
|
|
Fix: Added to database/app/db_engine.py line 119:
|
|
'human': [x for x in range(1, 30)]
|
|
|
|
This allows the legal-check endpoint to validate which cardsets are allowed for human players in gauntlet-9.
|
|
|
|
Deployed: v1.5.5 to production (akamai/pd_api)
|
|
Verified: Container healthy, CARDSETS['gauntlet-9']['human'] present
|