Open GiovanniBertuccio opened 1 year ago
I would have a preference of XML over CSV. Although a bit longer character-wise it's easier to query e.g. looking for all elements with a "Player Name" sub-element, or finding all medium laser results by finding all Attack elements with a "Medium laser" in a weapon_name attribute. Also easier to do summaries and basic analysis, and generate HTML reports, by applying standardized XSLT templates.
Environment
This should apply to all versions and platforms
Description
I'd like an alternate or additional game log format to make summarizing game stats easier.
A flat file that meets one of the Normal forms would be convenient. Something like below for each attack in the weapons and physicals phases is a good start, though I'm not sure the exact format that will work yet.
I have a rough prototype, but the existing format is difficult for a computer to parse and also uses conventions that are basically impossible to distinguish. Such as Clan and IS ER Large Lasers are both called "ER Large Laser" in the log, but have different damage values.
To entice a dev to do this, here is an example partial output from my current program. I use anydice.com right now for the visuals:
https://anydice.com/program/2d31e Press the "Graph" button for a chart of the probability curves for each team. These show how much damage each player could potentially do based on the to-hit targets they were rolling against. In this case, the Youngbloods team's to-hit were more likely to do more damage than the other team's to-hits, regardless of how of how well either player rolled.
Below is a by-unit comparison of the expected damage a unit could do based on their weapon damage and to-hit targets, and how much damage they really did after rolling. The "expdamage" column is the expected damage (as in base weapon damage * probability of hitting), "actualdamage" is how much damage the unit did after actually rolling, this is usually the base weapon damage, but is variable for cluster weapons. And "ratio" is the comparison of the two. Ratios above 1 mean the unit did more damage than expected, and between 0 and 1 mean the unit did less damage than expected.
Hunchback HBK-4G ID:13 did better than expected, AC/20s tends to be feast or famine. Whitworth WTH-1 ID:14 both produced a lot of expected damage, and got quite a bit lucky with their rolls. Galahad GLH-1D ID:4 also got lucky, doing 75% more damage than expected.
I've found this tool helpful to learn about how well I played, and how much luck had a factor in the game. I hope to make it reliable enough for anyone to use.