Kaszanas / SC2_Datasets

https://sc2-datasets.readthedocs.io/
GNU General Public License v3.0
8 stars 3 forks source link

Negative values in PlayerStats #7

Closed Kaszanas closed 1 year ago

Kaszanas commented 2 years ago

Some negative values were found where they are (maybe) not supposed to be? This needs to be looked into.

        "scoreValueMineralsLostArmy": 1875,
        "scoreValueMineralsLostEconomy": 831,
        "scoreValueMineralsLostTechnology": -107,
Kaszanas commented 2 years ago

Negative values like that can be a result of the following sequence of events by a player:

  1. Player began building a Drone unit
  2. Player cancelled a drone unit.

The logic behind this value is tricky as the drone costs 50 minerals and the player gets back 25 minerals upon cancelling the production.

Thank you breath20 for the information.

Kaszanas commented 1 year ago

As this issue was resolved, I am closing this.