Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meaningful printing of Population objects #331

Open
jakobj opened this issue Jun 24, 2021 · 0 comments
Open

Meaningful printing of Population objects #331

jakobj opened this issue Jun 24, 2021 · 0 comments
Labels
good first issue Good for newcomers UX It's all about the experience
Milestone

Comments

@jakobj
Copy link
Member

jakobj commented Jun 24, 2021

Currently, no __repr__ is implemented for Population:

>>> print(pop)
<cgp.population.Population object at 0x7f1f8e80d780>

We should support easily printing a summary of the a population instance, for example including information about parameters, champions, generations etc.

@jakobj jakobj added the UX It's all about the experience label Jun 24, 2021
@jakobj jakobj added this to the 0.4.0 milestone Jun 24, 2021
@jakobj jakobj added the good first issue Good for newcomers label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers UX It's all about the experience
Projects
None yet
Development

No branches or pull requests

1 participant