MosswartOverlord/inventory-service
erik 0fd539bedf Fix suitbuilder early termination and add armor level scoring
Bug fixes:
- Remove "TEMPORARY FIX" that stopped search after finding first suit
- Add armor level as lowest-priority tiebreaker in scoring

Scoring formula now:
- Set completion: +1000 per complete set
- Missing pieces: -200 penalty each
- Crit damage: +10/20 per item
- Damage rating (clothes): +10/20/30
- Spell coverage: +100 per fulfilled spell
- Base item score: +5 per item
- Armor level: +1 per 100 AL (tiebreaker)

Updated design doc with audit findings - most features were already
working correctly. The magsuitalgo.md analysis was outdated.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:04:22 +00:00
..
enums added inventory, updated DB 2025-06-10 19:21:21 +00:00
complete_enum_database.json added inventory, updated DB 2025-06-10 19:21:21 +00:00
comprehensive_enum_database_v2.json Add client-side spell column sorting and improve inventory search 2026-01-28 15:32:54 +00:00
database.py Add client-side spell column sorting and improve inventory search 2026-01-28 15:32:54 +00:00
Dockerfile added inventory, updated DB 2025-06-10 19:21:21 +00:00
helpers.py Remove unused scripts and add missing modules to inventory-service 2026-01-28 15:47:51 +00:00
main.py Add client-side spell column sorting and improve inventory search 2026-01-28 15:32:54 +00:00
requirements.txt Debug and inventory 2025-06-19 17:46:19 +00:00
suitbuilder.py Fix suitbuilder early termination and add armor level scoring 2026-01-30 19:04:22 +00:00