-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Description
As described at #465, Hypothesis found a particular tournament configuration that crashed. This involved BackStabber and MindReader. I believe the reason that the entire tournament (with cheaters) didn't crash in this way is because in that case, strategies like MindControl changed BackStabber to Cooperator before it (or any other tricky match) could cause a crash.
- Tests currently fail on py2 #465 Describes the original bug (the title is misleading, but the comments clarify things: this had nothing to do with py2 v py3. Just Hypothesis finding a bug).
- In Adding in some examples for particular failures. #467 I wrote tests (that included another tournament setups:
MindReaderandThueMorsewhich was also found by hypothesis) that specify these bugs. - In Strategy transformer fix #469 @marcharper fixed the strategy transformer (used by
BackStabber), this is a straightforward fix. - In Eliminate use of copy.deepcopy in mindreader #468 @marcharper changed how
MindReaderworks, it no longer copies but clones strategies. This has the effect of increasing run time but fixes the bugs.
Metadata
Metadata
Assignees
Labels
No labels