• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Axelrod-Python / Axelrod / 5028
100%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2018 02:05PM UTC
Jobs 2
Files 170
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5028

push

travis-ci

marcharper
add implementation of a generic memory two + 2 strategies (#1171)

* add implementation of a generic memory two + 2 strategies

Close #1063

A generic class for memory two players, similar to the MemoryOnePlayer class.
If transition rates are not given the the player is set to default which
is Cooperator.

I have added the equivilent tests and a reference from issue #1063.

Moreover, this implements two strategies of interest from #1063:

- AON2 and Delayed AON1

Each strategy has 16 states. I have added tests for most of the states.

* add AON2 and Delayed AON1 to all strategies

* add to the documentation of the strategies

Add information about the vectors which are reported as equivilent.
I am not sure I can say that they are actually different
in the documentation without saying why and without adding the
fingerprints.

* Fix type hint. (#8)

* remove initial action option

* minor tweak to documentation

* add to tests initialisation of stochastic mem two

* fix doc test

* test stochastic behaviour of memory two player

Added tests against two opponents. For different seed
the behaviour of the memory two strategy changes.

* address comments on pr by Marc

15405 of 15405 relevant lines covered (100.0%)

2.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5028.1 06 Apr 2018 02:05PM UTC 0
100.0
Travis Job 5028.1
2 5028.2 06 Apr 2018 02:15PM UTC 0
100.0
Travis Job 5028.2
Source Files on build 5028
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5028
  • cf65f332 on github
  • Prev Build on master (#5019)
  • Next Build on master (#5030)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc