claude-memory/graph/decisions/fullcard-migration-card-layoutpy-ported-to-card-creation-rep-c76233.md
2026-02-25 16:27:03 -06:00

1.7 KiB

id type title tags importance confidence created updated relations
c7623317-ea0a-4b8a-9375-65fc3aac5303 decision FullCard Migration: card_layout.py ported to card-creation repo
paper-dynasty
card-creation
card_layout
fullcard
cardcolumn
migration
architecture
0.8 0.8 2026-02-25T22:26:22.293769+00:00 2026-02-25T22:27:03.842958+00:00
target type direction strength edge_id
52e4aa12-66ea-4c4b-9115-00099e4e4343 FOLLOWS incoming 0.8 b663a957-e95e-49c1-b254-17567fc837f4
target type direction strength edge_id
d637ad5b-0ad1-4164-b737-b870fce85ae1 FOLLOWS incoming 0.8 06095a46-699a-47bf-a1f1-418605b03d0f
target type direction strength edge_id
09bb95a5-2b2f-43e5-93a6-6b96b881461f RELATED_TO incoming 0.8 0b7eb89e-5ffa-4f42-9a07-b6f34c6d3990

Context\nOn branch feature/fullcard-migration, created /mnt/NV2/Development/paper-dynasty/card-creation/card_layout.py.\n\n## What Was Ported\nPorted PlayResult, PLAY_RESULTS, EXACT_CHANCES, get_chances(), CardResult, CardColumn, FullCard, FullBattingCard, FullPitchingCard from database/app/card_creation.py.\n\n## Key Adaptations\n- card_output() uses col_* key names (col_one_2d6, col_one_results, col_one_d20, col_two_2d6, col_two_results, col_two_d20, col_three_2d6, col_three_results, col_three_d20) to match planned DB column names — NOT the database version's one_2d6, two_2d6 etc.\n- get_chances() always returns Decimal(str(val)) to avoid float/Decimal comparison TypeError\n- FullBattingCard and FullPitchingCard do NOT embed a ratings model (no ratings= param) to avoid circular imports; only offense_col and alt_direction are passed