When i run evolve.py and can't go to the next generation (said Circuit object is not iterable)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- embedded-iot
Research direction
Start with src/evolve.py at population.evolve(), then read src/CircuitPopulation.py around evolve, __run_classic_tournament, and __group. Reproduce the failure by running evolve.py; done means evolution reaches the next generation without the Circuit-not-iterable TypeError.
Written by the indexing model from the issue text.
Description
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/evolve.py", line 28, in
population.evolve()
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 188, in evolve
self.__run_selection()
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 212, in __run_classic_tournament
for ckt1, ckt2 in CircuitPopulation.__group(population, 2):
File "/home/felix/Desktop/BitstreamEvolution/BitstreamEvolution-main/src/CircuitPopulation.py", line 376, in __group
args = [iter(iterable)] * n
TypeError: 'Circuit' object is not iterable
- Dominant language
- Python
- Stars
- 18
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
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.
More from evolvablehardware/BitstreamEvolution
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Refactoring Tasks Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
evolvablehardware/BitstreamEvolution#8 · 3 comments ·
-
bug
evolvablehardware/BitstreamEvolution#4 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
evolvablehardware/BitstreamEvolution#3 · 1 comment ·
All issues in evolvablehardware/BitstreamEvolution
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/skills#1811 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
speaches-ai/speaches#678 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
datalayer/mcp-compose#42 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
UKGovernmentBEIS/inspect_evals#2523 ·