Analyzes the data from STFC armadas
The part of the combat log which shows what happens on a round-by-round basis sometimes has inconsistent numbers of columns. Normally, every row has 26 columns. I have an Ex-Borg favor which repairs a small amount of hull health between combat rounds, and that event is exported to the CSV with only 24 columns and with some funky values. ``` // column headers Round Battle Event Type Attacker Name Attacker Alliance Attacker Ship Attacker - Is Armada? Target Name Target Alliance Target Ship Target - Is Armada? Critical Hit? Hull Damage Shield Damage Mitigated Damage Mitigated Isolytic Damage Mitigated Apex Barrier Total Damage Total Isolytic Damage Ability Type Ability Value Ability Name Ability Owner Name Target Defeated Target Destroyed Charging Weapons % ... // normal row 1 16 Charging Weapons pfaffle ROEandPEACE VALDORE NO Klingon Trader -- H-CLASS FREIGHTER NO -- -- -- -- -- -- -- -- -- -- -- -- -- -- 100 // invalid row 2 18 battle_action_type_{0} pfaffle ROEandPEACE DEFENSE PLATFORM A NO -- -- DEFENSE PLATFORM A NO -- -- -- -- -- -- -- -- HullRepair 3119 -- -- -- ``` I'm working around this for now by telling `csv` to be less strict about the number of columns when parsing, and to make the `RoundsLog` schema allow it.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by pfaffle and has received 0 comments.