meatballs / DjAxelrod

A repository to reproduce Axelrod's iterated prisoner's dilemma as a Django based web application.
MIT License
5 stars 4 forks source link

Add turns, repetitions and noise #27

Closed meatballs closed 9 years ago

meatballs commented 9 years ago

to Tournament

meatballs commented 9 years ago

Work done so far is on branch 27, but I've hit a snag and would appreciate some help.

I've added turns, repetitions and noise to the tournament model, form and template. I've also created the migration. All good so far and the correct values are being stored in the db for the tournament definition.

However, the results are still coming back with 10 repetitions. I've even tried hard coding a value into the line that creates the axelrod.Tournament instance, and I still get results for 10 repetitions. What am I missing?

mmcardle commented 9 years ago

did you restart celery?

meatballs commented 9 years ago

It's the simple stuff that gets you every time! I'll try that later

meatballs commented 9 years ago

Yep - that did the trick. And highlighted the fact that 'noise' doesn't exist in version 0.0.8 of the Axelrod library!