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

daffidwilde / edo / 271
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: find-random-leak
DEFAULT BRANCH: master
Ran 24 Jul 2020 04:51PM UTC
Jobs 1
Files 17
Run time 2s
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
271

push

travis-ci-com

web-flow
Saving histories (individuals and their metadata) (#126)

* Remove `to_dict` method from `Distribution`.

* Fix the circle example test.

* Combine `Individual` to and from file tests.

* Implement new saving strategy.

Families provide their subtypes with a `to_dict` method that records the
name of the subtype's distribution, its subtype ID number and all of its
parameters as a dictionary.

Then when an individual is saved to file, the metadata is serialized as
JSON with these dictionaries. Simultaneously, each family is cached in
the same directory tree.

* Clean up optimiser with new strategy.

The optimiser can now pull usable individuals back in.

* Add a dev environment file.

* Add scipy to environment.yml

* Generalise paths for saving/loading individuals.

* [temporary] Remove parallel writing capabilities.

Because of how individuals and families are being stored, there were
some discrepancies when writing generations to file with multiple
processes. For now, that has been removed. However, the calculation of
fitnesses may still be done in parallel which is where most of the
savings likely come from anyway.

* Format codebase with isort, black and flake8.

605 of 605 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 271.1 24 Jul 2020 04:51PM UTC 0
100.0
Travis Job 271.1
Source Files on build 271
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #271
  • 95d8e86e on github
  • Prev Build on pickle-subtypes (#106)
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

© 2026 Coveralls, Inc