This python script calculates the battle outcomes based on WTR and HP pool. a WG-API-KEY is needed in wotreplay_parser.py first lines:
https://developers.wargaming.net/
usage (in the replays folder):
python replay_db_builder.py
it will scan all files in the current folder and provide a summary based on WTR and HP.