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

Axelrod-Python / Axelrod / 5028 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2018 02:15PM UTC
Files 170
Run time 17s
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

06 Apr 2018 01:41PM UTC coverage: 100.0%. Remained the same
5028.2

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%)

1.0 hits per line

Source Files on job 5028.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 5028.2
  • cf65f332 on github
  • Prev Job for on master (#5019.2)
  • Next Job for on master (#5030.1)
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