-
Notifications
You must be signed in to change notification settings - Fork 85
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
Adds coherence to the upgrade names as a first step. #173
base: master
Are you sure you want to change the base?
Conversation
You'll notice that the change in names has caused some tests to fail, if it is necessary to change tests to keep them passing with these changes please do so. Because these sorts of changes are not backwards compatible it would be far better if they were done in one large, complete, update. I'll hold on merging anything to master until we have something that resembles a complete solution. There is currently no mapping for |
Yep, the log on Travis tells that the problem come from the Coveralls installation. No sc2reader tests have failed.
I completely agree with that, hence my question you answer to after.
I'll do this that way so. Thanks :) |
I've test it against all the replays from the last DreamHack. |
I'm running it on all the WCS replays. Please wait until it is finished to merge. |
This commit passes all the replays from the WCS. |
Can you talk about what sort of testing your "running it on all the WCS replays" entails? Is there some specific script you are running to make sure all the mappings make sense or are you just trying to weed out any unrelated bugs in the upgrade handling? I have two remaining concerns re: your pull request.
Otherwise, thanks for the effort @EHadoux. I'll take a look at your pull request in more detail in the next couple days. |
You're right I forgot that. I have tested that every finishing upgrade matches an upgrade that have been launched earlier.
I've tried to do that but I didn't manage to find a way to get the dict from outside this file (I'm rather new at Python).
No problem, I'll try that but I cannot guarantee you a result. It will worth the effort but maybe in a second time.
Ok, i'll add that. |
I will definitely add an upgrade object to have the time until completion because you cannot really know when an update is started if it is queued (unless you know some way). However, i'll do this a bit after, in an other pull request. |
Coverage increased (+0.08%) when pulling 33b011f602b62c5c452c7a23c064b50b8ca8bcde on MakozFriends:hotfix/upgradenames into 1a6220b on GraylinKim:master. |
Unless other comments, I have no other commit to do in this pull request. |
Hi, sorry, not ignoring you. I am currently moving to a new apartment and can't look at this right now. I'll review and merge as soon as possible, thanks for the work! |
No worries, thank you :) |
Hi, feel free to change some stuffs in the docs to comply with your standards :) |
Coverage increased (+0.08%) when pulling c333e6e59d5465a76c3b802dfe1b8c99bf983c50 on MakozFriends:hotfix/upgradenames into 1a6220b on GraylinKim:master. |
I just rebase the branch with the last commits from @dsjoerg. |
I started with giving coherence to all the upgrade names such that:
Upgrade{Race}{Type}Level{n}.
This impacts
BasicCommandEvent.ability_name
. This change reflectsUpgradeCompleteEvent
names for the upgrades.However, some names have to be changed in the later, like ShieldWall or PunisherGrenades because the name in
ability_lookup.csv
(and thus inBasicCommandEvent.ability_name
) is more suitable.Where can I do that?
Maybe do not merge this pull-request until this and further tests have been done.
I also fixed a typo for the file to be displayed properly in Github (with the nice table and stuff like that).