{"push_id":970660353,"size":24,"distinct_size":0,"ref":"refs/heads/master","head":"3f2bfd21456c01b3cbc3179d86e88c1a4520cd6f","before":"8935e31b8f34dacab481cf8523edbf3e420bdfe7","commits":[{"sha":"4f2155a02f76b8f11129ebed104f41bcb1bb993c","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Modify calculate_invasion() to accept dictionary\n\ncalculate_invasion() now accepts a dictionary of possible numbers of\nattackers and the chances of the attacker having certain numbers. This\nwill allow the future calculate_campaign() to compute the chances for\noutcomes of a combat with multiple potential attacker troop numbers in\nparallel, making it *much* more efficient.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/4f2155a02f76b8f11129ebed104f41bcb1bb993c"},{"sha":"879ac8833e9bd4691f8a49735d43e6f7391aa443","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Add basic calculate_campaign() skeleton","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/879ac8833e9bd4691f8a49735d43e6f7391aa443"},{"sha":"4454d50ba70c0403540bc5f3435fd885db806b06","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Complete calculate_campaign()\n\nFinished calculate_campaign(), but haven't tested yet. Accounting for\na_min attacker values made me realize there's a better way to handle\nminimums. See the issue.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/4454d50ba70c0403540bc5f3435fd885db806b06"},{"sha":"97240b4ac421f24feb4a6894acafe7899e71cdae","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Clean up code. Finish calculate_campaign()\n\nI still need to add a bit more UI to make calculate_campaign() usable.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/97240b4ac421f24feb4a6894acafe7899e71cdae"},{"sha":"89a52511a4d41d97738863a36ea479082f3b3a34","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Fix calculate_invasion() int argument issue, etc.\n\nReadjusted calculate_invasion() so it could accept both integers for\nsingle-territory attacks and dictionaries from calculate_campaign(). I\nalso changed stuff about main.py and user_interface.py, but I honestly\nforgot. I should use smaller, more frequent commits.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/89a52511a4d41d97738863a36ea479082f3b3a34"},{"sha":"f8e41f9f773868aaec661f790854ef3fff07c844","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Remove diagonal looping from calculate_invasion()\n\nTurns out that simply looping through each column of odds_grid works\nperfectly fine, probably runs faster and simplifies the code. :)","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/f8e41f9f773868aaec661f790854ef3fff07c844"},{"sha":"5020ceefa062581f7b54f1441b61bab15df3ed4c","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Add basic (non-functional) campaign UI\n\nIt doesn't quite work yet, but I have the components somewhat assembled\nand in place for a campaign UI. Still need error-checking, help, etc.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/5020ceefa062581f7b54f1441b61bab15df3ed4c"},{"sha":"6473530dddf0397b4be28f4182e6e99140bd6e5a","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Update main.py to calculate campaign odds\n\nI still need to add error-checking for campaign-related errors:\n* using the -g argument with multiple defenders\n* using the -i flag with multiple defenders (not yet developed)\n* passing the -v option with multiple defenders (not yet developed)","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/6473530dddf0397b4be28f4182e6e99140bd6e5a"},{"sha":"7eaa35e68889795ab206b9fccf233e643ea6ab04","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Merge 'dev' into 'campaign' for diagonal fix","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/7eaa35e68889795ab206b9fccf233e643ea6ab04"},{"sha":"98b07a493795f16047dfe4315ab783c951da423e","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Add argument error-checking for campaign errors\n\nSee the last commit (before the merge with dev) for specifics","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/98b07a493795f16047dfe4315ab783c951da423e"},{"sha":"9b5577091183f85919ddf2e973623e8febe8d48e","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Make calculate_campaign exclude unit left behind\n\nNow that calculate_campaign() accepts the number of attacking units\ninstead of number of units in the attacking territory, it's consistent\nwith calculate_invasion()","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/9b5577091183f85919ddf2e973623e8febe8d48e"},{"sha":"0c5183a94721ffe95a38931be7889f7f4a0fe230","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Minor refactoring","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/0c5183a94721ffe95a38931be7889f7f4a0fe230"},{"sha":"9a17e861a6bf5b13a7f13582d34398ee8c34331d","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Make minerva easy to install\n\nI blatantly copied kalgynirae and created a setup.py, but I understand\nthe code I'm writing, so it's ok :P. I think all of it works.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/9a17e861a6bf5b13a7f13582d34398ee8c34331d"},{"sha":"7b336cccd882975c954754e8ce979ee61fbff72c","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Put __init__.py in the correct place\n\nI knew I was forgetting something.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/7b336cccd882975c954754e8ce979ee61fbff72c"},{"sha":"0449e2f9c83f5f39ac7d952a8acf99d42f18c5ef","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Add an important note to the README","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/0449e2f9c83f5f39ac7d952a8acf99d42f18c5ef"},{"sha":"d00e2e19591abcf75130c24bbeec917b1f75ee53","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Add __license__ to __init__.py","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/d00e2e19591abcf75130c24bbeec917b1f75ee53"},{"sha":"ba128cadcb02b8bdfd167fd285ac788c908404e6","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Fix setup.py to point to (future) run() in main.py\n\nNow that the setup.py is fixed, all I need to do is put all of\nmain.py's code into a run() function.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/ba128cadcb02b8bdfd167fd285ac788c908404e6"},{"sha":"a064e9ae8156ba4275b9be74a6d138334ee12793","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Put all of main.py into a run() function.\n\nThis is just a quick hack; I'll divide it into more functions soon.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/a064e9ae8156ba4275b9be74a6d138334ee12793"},{"sha":"b26b398896e65841209250eb3be9bae247618c21","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Clean up main.py code. Make parse_args() function.\n\nI put all the argument parsing into my own arg_parse function.","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/b26b398896e65841209250eb3be9bae247618c21"},{"sha":"21b262db0ba4dfbf18bd773215cdcdc5c6c0c888","author":{"email":"33077d7807127bf47946b5240d60a328cec2542b@gmail.com","name":"Kyle Beatty"},"message":"Update a function description","distinct":false,"url":"https://api.github.com/repos/Nestor15/Minerva/commits/21b262db0ba4dfbf18bd773215cdcdc5c6c0c888"}]}