KoalaTrapLord
9fd39e42c7
feat(phase-10): add DeckBuilderAdapter unit tests
2026-03-19 14:35:00 -04:00
KoalaTrapLord
72107df2ae
feat(phase-10): add comprehensive Pydantic model tests
2026-03-19 14:32:43 -04:00
KoalaTrapLord
e0fe4144ae
Create test_collection_filter.py
2026-03-19 10:49:06 -04:00
KoalaTrapLord
68aa6eac3f
Create test_rules_engine.py
2026-03-19 10:48:23 -04:00
KoalaTrapLord
c870dd35fb
Create __init__.py
2026-03-19 10:47:49 -04:00
KoalaTrapLord
e3f0787c73
Optimize deckgen: push colour-identity filtering into SQL with json_each
...
- Replace SELECT * + Python-side color loop in _get_collection_for_colors()
with projected SELECT + NOT EXISTS json_each() sub-query
- Apply same pattern to _build_collection_summary(), removing card_fits_identity()
- Add partial index idx_ce_quantity on collection_entries(quantity) WHERE qty > 0
- Handle NULL and empty-string color_identity via CASE guard
- Fix colorless commander bug: old code skipped color check entirely for []
- Add scripts/bench_deckgen.py benchmark (3-5x speedup on filtered queries)
- Add tests/test_deckgen_color_filter.py with 7 regression tests
2026-03-19 06:18:32 +00:00
KoalaTrapLord
463b7c1483
Phase 8: Full multiplayer — lobby, private hands, LAN discovery, spectator mode, chat
2026-03-14 23:04:32 -04:00
KoalaTrapLord
a093ab4949
Phase 7: Integration tests, AI benchmarking suite, conftest, pytest config, coverage setup
2026-03-14 21:13:26 -04:00
KoalaTrapLord
b6b1616dad
Phase 6: AI politics engine (deal-making, threat comms, spite logic) + targeting memory
2026-03-14 20:42:48 -04:00
KoalaTrapLord
92bb9b9445
Phase 5: FastAPI server, WebSocket game channel, Scryfall art proxy, REST API, static web client, tests
2026-03-14 20:36:06 -04:00
KoalaTrapLord
3c3dceb737
Phase 4: Add Pygame prototype GUI (gui/ package + tests/test_phase4.py)
2026-03-14 20:10:43 -04:00
KoalaTrapLord
605ff774ed
Phase 3: Add turn_manager.py, threat_assessor.py, tests/test_phase3.py
2026-03-14 19:35:50 -04:00
KoalaTrapLord
441ba7dd74
Phase 2: Add ai_opponent.py, personality_prompts.py, tests/test_phase2.py
2026-03-14 16:53:43 -04:00
KoalaTrapLord
d0e2824038
Phase 1: Add game_state.py, prompt_builder.py, state_logger.py
2026-03-14 16:43:16 -04:00
KoalaTrapLord
812e5b34ca
feat(tests): add pytest infrastructure and test coverage for models, rules, and sim engine ( closes #28 )
2026-03-13 22:30:40 -04:00