POSYDON-code / POSYDON-code/POSYDON
[BUG]: pop.evolve() multiple causes binaries
- Dominant language
- Python
- Stars
- 45
- Forks
- 37
- Avg merge
- 8d 20h
- Merged PRs (30d)
- 5
Description
Describe the bug
When running pop.evolve() in Lab 1 multiple times in a row, you end up evolving multiple binaries again, appending them with the same index as the other binaries. This makes is difficult/impossible to use the resulting population.
pop.evolve() should warn if the binaries are already present in it and not rerun (or require an extra parameter to rerun).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Lab 1 population setup and the implementation of pop.evolve(). Reproduce two consecutive calls and inspect how binaries are appended. Done means repeated evolution warns or otherwise avoids rerunning when binaries are already present, with behavior verified by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100