Commit graph

1 commit

Author SHA1 Message Date
jedarden
e1e74bcbdf test(scripts): add replay analysis tool for combat density verification
Adds analyze-replay.sh script to parse replay files and report:
- combat_death events per match
- zone_death events (type=zone_death, currently unused)
- bot_died events with reason=zone
- Deaths per turn metrics

Used for verifying zone forcing function per plan §3.7.1.

Test results (30 matches):
- 2-player: 90% matches with combat_deaths (exceeds 65-80% target)
- 4-player: 100% matches with combat_deaths
- 6-player: 100% matches with combat_deaths (meets target)

Note: zone_death events are never emitted; zone kills use bot_died with
reason=zone instead. This is a gap between plan and implementation.

Closes: bf-5y8b
2026-05-25 11:39:45 -04:00