POSYDON-code / POSYDON-code/POSYDON

[BUG]: pop.evolve() multiple causes binaries

Open
#906 0 comments 0 reactions 0 assignees View on GitHub

@maxbriel is already working on this.

Since Aug 24, 2026.

  • #909 by @maxbriel — open
bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.