Skip to content

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 20:40
· 66 commits to master since this release

This release adds a lot of new functionality to help with managing breeding strength and to improve performance.

  • Dates of key life history events are cached to allow much quicker lookups of animal status
  • Inbreeding and kinship coefficients are calculated in the database (and cached)
  • Modeling of animal addition and removal is more sophisticated to distinguish between expected and unexpected deaths
  • This allows us to get useful information about breeding outcomes (e.g. proportion of fertile eggs and thrifty chicks) and family history (average lifespans of parents and grandparents)
  • Locations can now be nested in Rooms to help organize these views.

If you're upgrading from 0.12, you'll need to edit your status codes. The adds field should reflect whether the event adds an unborn animal (e.g., an egg), adds an animal from within the colony (a birth) or adds an animal from outside the colony (transfer or capture). The removes fields should reflect whether the event was expected (release, transfer out, experimental use, death due to accidents) or unexpected (death due to illness or unknown causes).

Once you've migrated your status code, there are some management commands that will populate the life history cache:

manage.py update_life_history --all
manage.py update_pedigree