spawningtool 2.12.0__tar.gz → 3.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. spawningtool-3.1.0/CHANGELOG.md +40 -0
  2. {spawningtool-2.12.0/spawningtool.egg-info → spawningtool-3.1.0}/PKG-INFO +14 -2
  3. {spawningtool-2.12.0 → spawningtool-3.1.0}/README.md +1 -1
  4. {spawningtool-2.12.0 → spawningtool-3.1.0}/setup.py +1 -1
  5. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/lotv_constants.py +295 -36
  6. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/parser.py +34 -10
  7. {spawningtool-2.12.0 → spawningtool-3.1.0/spawningtool.egg-info}/PKG-INFO +14 -2
  8. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool.egg-info/SOURCES.txt +10 -0
  9. spawningtool-3.1.0/tests/__main__.py +338 -0
  10. spawningtool-3.1.0/tests/__pycache__/__main__.cpython-312.pyc +0 -0
  11. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/patch_380_protoss.json +17 -17
  12. spawningtool-3.1.0/tests/patch_380_terran.json +1415 -0
  13. spawningtool-3.1.0/tests/patch_380_zerg.json +1589 -0
  14. spawningtool-3.1.0/tests/patch_4_6_0_pvt.json +10258 -0
  15. spawningtool-3.1.0/tests/patch_4_9_2_zvt.json +18246 -0
  16. spawningtool-3.1.0/tests/patch_5_0_10_pvz.json +14339 -0
  17. spawningtool-3.1.0/tests/patch_5_0_13_tvp.json +7742 -0
  18. spawningtool-3.1.0/tests/patch_5_0_14_tvp.json +6820 -0
  19. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/patch_5_0_16.json +149 -149
  20. spawningtool-3.1.0/tests/patch_5_0_16_hotfix.json +7451 -0
  21. spawningtool-3.1.0/tests/patch_5_0_16b.json +22355 -0
  22. spawningtool-3.1.0/tests/patch_5_0_4_pvt.json +5347 -0
  23. spawningtool-2.12.0/CHANGELOG.md +0 -28
  24. spawningtool-2.12.0/tests/__main__.py +0 -112
  25. spawningtool-2.12.0/tests/__pycache__/__main__.cpython-312.pyc +0 -0
  26. {spawningtool-2.12.0 → spawningtool-3.1.0}/LICENSE.md +0 -0
  27. {spawningtool-2.12.0 → spawningtool-3.1.0}/MANIFEST.in +0 -0
  28. {spawningtool-2.12.0 → spawningtool-3.1.0}/setup.cfg +0 -0
  29. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/__init__.py +0 -0
  30. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/__main__.py +0 -0
  31. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/analyzer.py +0 -0
  32. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/coop_constants.py +0 -0
  33. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/exception.py +0 -0
  34. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool/hots_constants.py +0 -0
  35. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool.egg-info/dependency_links.txt +0 -0
  36. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool.egg-info/entry_points.txt +0 -0
  37. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool.egg-info/requires.txt +0 -0
  38. {spawningtool-2.12.0 → spawningtool-3.1.0}/spawningtool.egg-info/top_level.txt +0 -0
  39. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/__init__.py +0 -0
  40. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/__pycache__/__init__.cpython-312.pyc +0 -0
  41. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/gameheart.json +0 -0
  42. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/kerrigan.json +0 -0
  43. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/patch_400.json +0 -0
  44. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/patch_5_0_11.json +0 -0
  45. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/tlo_v_thorzain.json +0 -0
  46. {spawningtool-2.12.0 → spawningtool-3.1.0}/tests/update_expected_results.py +0 -0
@@ -0,0 +1,40 @@
1
+ Changes
2
+ =======
3
+
4
+ * v3.1.0, November 23, 2026 -- update ladder data for balance patch 5.0.17 (October 7, 2026), which rolled most of 5.0.16 back to 5.0.15. Replays from the 5.0.16 era keep their 5.0.16 values:
5
+ * Warpgate Research no longer speeds up Gateway unit production
6
+ * Reaper 34->32, Adept 33->30. High/Dark Templar train time isn't mentioned in the notes, so it stays at 40
7
+ * a replay with no timestamp now gets its Warpgate Research modifier from its build number (5.0.16 = 97364, 5.0.16b = 97563, 5.0.17 = 98310, per Blizzard's s2protocol) instead of the current value
8
+ * starting supply is now read from the replay, so 5.0.16 games, which started with 8 workers, no longer report a starting supply of 6
9
+ * v3.0.0, July 29, 2026 -- build times are now selected by the date a replay was played, so replays are scored with the values that were live at the time rather than today's. Build order timings for older replays change as a result, hence the major version:
10
+ * `BUILD_TIME_CHANGES` in `lotv_constants.py` records every LotV build time change back to 3.8.0 (2016-11-22), sourced from the Blizzard patch notes. `BUILD_DATA_HISTORY` is derived from it, and each unit's recorded changes are verified at import to chain into its current value
11
+ * that check surfaced five errors: High/Dark Templar were raised 39->43 in 5.0.16 before the hotfix cut them to 40; the Void Ray was reduced 43->37 in 5.0.2 and restored to 43 in 5.0.9, which had been applied here in reverse; Hyperflight Rotors was left at 121s through both the 5.0.11 cut to 100s and the 5.0.15 cut to 79s; the Stalker's 5.0.14 cut from 30s to 27s was missing; and the March 25, 2019 balance update raised the Cybernetics Core air upgrades alongside the Forge ones to 129/154/179, which 5.0.11 then reduced for the Forge only, so air and ground now differ
12
+ * adds ladder data for 5.0.14 and 5.0.15, which had never been tracked, including the 5.0.14 revert to the 5.0.11 Cyclone (Mag-Field Accelerator back, Hurricane Engines gone)
13
+ * adds the 5.0.16 hotfix (Reaper 32->34, Adept 30->33, High/Dark Templar 43->40) and 5.0.16b (Warpgate Research Gateway reduction 40%->50%, effective 2026-07-16)
14
+ * adds eight test replays spanning 3.8.0, 4.6.0, 4.9.2, 5.0.4, 5.0.10, 5.0.13 and 5.0.14, all of which fail if the date-based lookup is bypassed
15
+ * the 5.0.14 Nanomuscular Swell upgrade and Energy Recharge ability still need their internal names before they can be added (#70)
16
+ * v2.12.0, June 24, 2026 -- adjust Gateway unit build times for Warpgate Research in patch 5.0.16
17
+ * v2.11.0, April 29, 2024 -- update ladder data for balance patch 5.0.12 and 5.0.13
18
+ * v2.10.0, February 13, 2023 -- update ladder data for balance patch 5.0.11
19
+ * v2.9.0, August 17, 2021 -- Fix Liberator build time, add more display names
20
+ * v2.8.0, October 28, 2020 -- add Mengsk
21
+ * v2.7.0, January 18, 2020 -- update ladder data for balance patch 4.11.0
22
+ * v2.6.1, October 14, 2019 -- bump sc2reader>=1.4.0, balance updates
23
+ * v2.6.0, August 9, 2019 -- add Stetmann, mark additional worker types
24
+ * v2.5.2, March 27, 2019 -- update Forge upgrade timing for March 25, 2019 balance update
25
+ * v2.5.1, March 8, 2019 -- remove changelings of Marines with Combat Shield
26
+ * v2.5.0, January 22, 2019 -- update ladder data for balance patch 4.8.2
27
+ * v2.4.0, November 21, 2018 -- update ladder data for balance patch 4.7.1
28
+ * v2.3.0, November 18, 2018 -- bump sc2reader==1.3.0 for StarCraft 4.7, add Zeratul
29
+ * v2.2.2, October 28, 2018 -- fix various LotV data, added more display names
30
+ * v2.2.1, October 24, 2018 -- fix pip packaging. Thanks Gusgus01
31
+ * v2.2.0, October 7, 2018 -- bump sc2reader==1.2.0 for StarCraft 4.6, add Tychus
32
+ * v2.1.0, June 13, 2018 -- fix Lair and Hive co-op build time, add Abathur building morph reduction, fix co-op generic build times, moved this file
33
+ * v2.0.0, May 18, 2018 -- continuous integration, StarCraft 2 4.0 support (new unit types, chronoboost, etc.), Co-op support
34
+ * v1.0.0, December 9, 2016 -- improved LotV chronoboost support, better unit type coverage, updated to LotV 3.8.0 data
35
+ * v0.2.1, December 12, 2015 -- Legacy of the Void support, HotS chrono boost
36
+ * v0.2.0, March 3, 2015 -- python3 support, analysis script examples, map details, caching
37
+ * v0.1.3, August 12, 2013 -- bump to sc2reader 0.6.0, unit tests, add unit change events to build order, add units lost, add ability extraction
38
+ * v0.1.2, June 15, 2013 -- Locking in sc2reader version, fix supply for it
39
+ * v0.1.1, May 12, 2013 -- Updating main to be accessible via the package, adding more metadata
40
+ * v0.1.0, May 12, 2013 -- Initial release
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spawningtool
3
- Version: 2.12.0
3
+ Version: 3.1.0
4
4
  Summary: Build order parser for StarCraft 2 replays
5
5
  Home-page: https://github.com/StoicLoofah/spawningtool
6
6
  Author: Kevin Leung
@@ -83,7 +83,7 @@ python tests/update_expected_results.py REPLAY_NAME # e.g. patch_400
83
83
 
84
84
  Support
85
85
  ============
86
- Please submit any issues you encounter to the [GitHub project](https://github.com/StoicLoofah/spawningtool/issues). You're also welcome to email Kevin directly at kevin@kevinleung.com.
86
+ Please submit any issues you encounter to the [GitHub project](https://github.com/StoicLoofah/spawningtool/issues). You're also welcome to email Kevin directly at github@kevin.kevinleung.com.
87
87
 
88
88
  Thanks To
89
89
  ============
@@ -95,6 +95,18 @@ Thanks To
95
95
  Changes
96
96
  =======
97
97
 
98
+ * v3.1.0, November 23, 2026 -- update ladder data for balance patch 5.0.17 (October 7, 2026), which rolled most of 5.0.16 back to 5.0.15. Replays from the 5.0.16 era keep their 5.0.16 values:
99
+ * Warpgate Research no longer speeds up Gateway unit production
100
+ * Reaper 34->32, Adept 33->30. High/Dark Templar train time isn't mentioned in the notes, so it stays at 40
101
+ * a replay with no timestamp now gets its Warpgate Research modifier from its build number (5.0.16 = 97364, 5.0.16b = 97563, 5.0.17 = 98310, per Blizzard's s2protocol) instead of the current value
102
+ * starting supply is now read from the replay, so 5.0.16 games, which started with 8 workers, no longer report a starting supply of 6
103
+ * v3.0.0, July 29, 2026 -- build times are now selected by the date a replay was played, so replays are scored with the values that were live at the time rather than today's. Build order timings for older replays change as a result, hence the major version:
104
+ * `BUILD_TIME_CHANGES` in `lotv_constants.py` records every LotV build time change back to 3.8.0 (2016-11-22), sourced from the Blizzard patch notes. `BUILD_DATA_HISTORY` is derived from it, and each unit's recorded changes are verified at import to chain into its current value
105
+ * that check surfaced five errors: High/Dark Templar were raised 39->43 in 5.0.16 before the hotfix cut them to 40; the Void Ray was reduced 43->37 in 5.0.2 and restored to 43 in 5.0.9, which had been applied here in reverse; Hyperflight Rotors was left at 121s through both the 5.0.11 cut to 100s and the 5.0.15 cut to 79s; the Stalker's 5.0.14 cut from 30s to 27s was missing; and the March 25, 2019 balance update raised the Cybernetics Core air upgrades alongside the Forge ones to 129/154/179, which 5.0.11 then reduced for the Forge only, so air and ground now differ
106
+ * adds ladder data for 5.0.14 and 5.0.15, which had never been tracked, including the 5.0.14 revert to the 5.0.11 Cyclone (Mag-Field Accelerator back, Hurricane Engines gone)
107
+ * adds the 5.0.16 hotfix (Reaper 32->34, Adept 30->33, High/Dark Templar 43->40) and 5.0.16b (Warpgate Research Gateway reduction 40%->50%, effective 2026-07-16)
108
+ * adds eight test replays spanning 3.8.0, 4.6.0, 4.9.2, 5.0.4, 5.0.10, 5.0.13 and 5.0.14, all of which fail if the date-based lookup is bypassed
109
+ * the 5.0.14 Nanomuscular Swell upgrade and Energy Recharge ability still need their internal names before they can be added (#70)
98
110
  * v2.12.0, June 24, 2026 -- adjust Gateway unit build times for Warpgate Research in patch 5.0.16
99
111
  * v2.11.0, April 29, 2024 -- update ladder data for balance patch 5.0.12 and 5.0.13
100
112
  * v2.10.0, February 13, 2023 -- update ladder data for balance patch 5.0.11
@@ -49,7 +49,7 @@ python tests/update_expected_results.py REPLAY_NAME # e.g. patch_400
49
49
 
50
50
  Support
51
51
  ============
52
- Please submit any issues you encounter to the [GitHub project](https://github.com/StoicLoofah/spawningtool/issues). You're also welcome to email Kevin directly at kevin@kevinleung.com.
52
+ Please submit any issues you encounter to the [GitHub project](https://github.com/StoicLoofah/spawningtool/issues). You're also welcome to email Kevin directly at github@kevin.kevinleung.com.
53
53
 
54
54
  Thanks To
55
55
  ============
@@ -1,6 +1,6 @@
1
1
  from setuptools import find_packages, setup
2
2
 
3
- __version__ = "2.12.0"
3
+ __version__ = "3.1.0"
4
4
 
5
5
  setup(
6
6
  name="spawningtool",