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

Bug fixes in verbosity and logfile #296

Merged
merged 8 commits into from
Nov 18, 2023
Merged

Conversation

gAldeia
Copy link
Contributor

@gAldeia gAldeia commented Nov 17, 2023

This is one of the best CPP sources I've ever seen. It was easy to follow along with what the source code does!

I was playing around trying to implement Pareto Lexicase Selection and found small improvements regarding reporting the stats.

While these fixes don't change anything in the library, they improve the verbosity and logfile. This is useful for people using the package who are interested in obtaining stats from the evolution.

I also updated the documentation for functions and improved testing of the CPP implementation.

Just to mention, I encountered an issue when trying to compile the CPP test suite with undefined reference to memcpy@GLIBC_2.14'`. Somehow, I managed to get it to work on my machine, but I've made several changes, and I'm not exactly sure what exactly fixed the problem. I'm going to open an issue to formalize it.

gAldeia and others added 8 commits November 17, 2023 16:45
Previously, complexity was set just if `use_arch=true` or one of
`sel` or `surv` parameters would use a pareto dominance criteria
(because they are calculated only if strictly needed).

If we want a logfile, but `use_arch=false` and no pareto dominance
is calculated in `sel` or `surv`, then the logfile would have
all zeros for complexity statistics.

Now we make sure we calculate the stats if they are being reported
to the user, regardless if is in archive, in verbosity, or in
a logfile.
@lacava
Copy link
Member

lacava commented Nov 18, 2023

the memcpy error might have to do with gcc version used to compile. thanks for the bug fixes and log improvements!!

@lacava lacava merged commit 459e021 into cavalab:master Nov 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants