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

daffidwilde / edo / 271 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: find-random-leak
DEFAULT BRANCH: master
Ran 24 Jul 2020 04:51PM UTC
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

24 Jul 2020 04:49PM UTC coverage: 100.0%. Remained the same
271.1

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

Source Files on job 271.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 276
  • Travis Job 271.1
  • 95d8e86e on github
  • Prev Job for on pickle-subtypes (#106.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

© 2026 Coveralls, Inc