Closed JEF1056 closed 2 years ago
How's this going? If you want some additional discussion, I am available for a video chat.
Not sure if that fix makes much sense logically because there was no "default value" in the original implementation. As far as I am concerned, that last commit before this acheived everything needed: computation only once, readable, and fixes the original missing key issue.
Feel free to make any more changes as nessasary to merge.
lgtm Good work!
Fixes two issues:
dist[a] += float(1 - bestProb) / len(legalActions)
; the += action cannot be applied to non-existent keys.