Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistics tracking over time #48

Open
deontologician opened this issue Mar 12, 2018 · 0 comments
Open

Statistics tracking over time #48

deontologician opened this issue Mar 12, 2018 · 0 comments
Labels
infrastructure Related to how the simulation is executed, not the game itself.

Comments

@deontologician
Copy link
Owner

deontologician commented Mar 12, 2018

Mostly, I don't actually care what the all-time total of statistics are. What I really want is to track statistics over time.

Stats to keep as a rate:

  • children born / second
  • kills / second
  • matings / second: should correlate with children born, but they can diverge a lot.
  • rounds / second

Stats to not keep anymore

  • mutations: this is a direct function of the mutation rate and the birth rate and isn't too interesting. Plus it requires we bubble up stats from deep in the mutation code.
  • feeders_eaten / second: this just isn't a very interesting stat

The idea is that we have the saver thread from #47 that we'll dump these stats to, and it can write them to disk in some format that allows us to save every data point (probably should be efficient, append-only and be cap-able in size.

@deontologician deontologician added the infrastructure Related to how the simulation is executed, not the game itself. label Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Related to how the simulation is executed, not the game itself.
Projects
None yet
Development

No branches or pull requests

1 participant