-
Notifications
You must be signed in to change notification settings - Fork 182
Update master branch from develop #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Convert unit class to dataclass (#147) * Start converting Unit class to use dataclass * Finish converting Unit class to dataclass * Run "python -m pytest" instead of "pytest" to add root folder to path * Attempt to fix CI tests * Attempt to fix testbots * Fix tests * Fix upgradestest bot * Fix upgradestest bot again * Fix damage-test bot and queries-test bot * Update tests * Remove commented out code * Add benchmark_bot_ai_init to ci * Fix queries_test_bot * Rewrite post init as properties * Add _prepare_units benchmark * Add docstring, remove post_init and fix EffectId * Convert game_data to dataclass (#150) * Convert game_data to dataclass * Fix structure_type_build_progress for units without creation ability * Fix typo * Refactor game_info and power_source (#151) * Refactor game_info and power_source * Improve calculation * Refactor Ramp to be a dataclass * Refactor game_info to be a dataclass but keeps using proto data * Rename from_proto_string to from_proto_dict * Add test to check protobuf implementation * Add pre-commit hook to tests * Fix tests * Add dict generation to CI * Supress importerror * Change hook-stage to push * Force exit code 0 * Improve bot_ai benchmark * Upload generated dicts as artifact * Refactor CI into one file * Fix ci.yml * Clean up ci.yml * Remove running test from pre-commit hook * Remove pycache before comparing generated dict with previous * Undo dataclasses for GameInfo, GameState and Unit * Fix generate dicts file * Comment out RepeatedScalarContainer * Cache pre-commit in CI * Fix missed undos * Add missing _find_ramps_and_vision_blockers * Refactor to using if statement * Fix RallyTarget from_proto
Start locations position rounding, they are sligthy offset in some maps, like in InsideAndOutAIE (33.499755859375, 30.5) instead of (33.5, 30.5)
Start locations position rounding
…use 'squashed' docker image to run tests
Update to patch 5.0.11
This fix allows all expansions on GoldenauraAIE to be found correctly
…o fix/terrain-height-check-for-expansion-locations
Some older maps have inconsistent height values even at the same base location
…xpansion-locations
… fix_creation_ability_error
…are based on. Latest 5.0.14 (94137) is bugged on the API, i.e. missing a lot of Upgrades. This commit allows sc2-techtree to this version, by supplying `run_game` with: `, sc2_version="5.0.14.93333")`
…andom Race for player_id 0(zero)
Add abilities with empty 'buttonname' in stableid.json
Makes unit.tag be @cached_property
Adds `ActionObserverCameraMove.distance` enabling wide zoom-out
…urns/python-sc2 into dysonreturns-old-launcher-accept-sc2_version
…sion Allow passing in sc2_version to all legacy host and launch methods
…nto dysonreturns-observer-fixes
Returns ObserverAI to working order
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.