{"push_id":673117367,"size":2,"distinct_size":2,"ref":"refs/heads/realistic-core","head":"8013be7433d70009db5ea4c610fea4d8a1fb15eb","before":"cbb08a70358135da0e24889eb8baf1ef7ef8e5a7","commits":[{"sha":"7e1dc3c7ca163480ad810469f6fd306b4a9f7e80","author":{"email":"b74912c383e44f2c1b77bc1e5b1fdd8c697ebe7e@ucdavis.edu","name":"trisdan"},"message":"Found out problem with fight staying random.\n\nI was doing something like (binding [] (repeatedly 10 (fight sayaka gertrud)))\nto do a few rounds of a fight and see if they're all the same. But dynamic\nscope and laziness interact in weird ways. Since lazy seqs don't execute\ntheir producer functions until after leaving the dynamic scope of the binding\nform, they don't see the rebinding at all.\n\nIt works if you write (binding [] (doall (repeatedly ...))). That forces\nthe lazy seq to realize itself within the current dynamic scope.\n\nEven though determine-outcome is still all screwed up, everything somehow\nstill works for now. I wrote a test for fight that seeds and gets the same\nresults consistently.","distinct":true,"url":"https://api.github.com/repos/tsleyson/MadokaPopulation/commits/7e1dc3c7ca163480ad810469f6fd306b4a9f7e80"},{"sha":"8013be7433d70009db5ea4c610fea4d8a1fb15eb","author":{"email":"b74912c383e44f2c1b77bc1e5b1fdd8c697ebe7e@ucdavis.edu","name":"trisdan"},"message":"Removed display_utils.clj since its only function became part of the backend and was moved to events.clj.","distinct":true,"url":"https://api.github.com/repos/tsleyson/MadokaPopulation/commits/8013be7433d70009db5ea4c610fea4d8a1fb15eb"}]}