Add NG_FriedmanSuite problem class #94
Merged
+292
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Problemso suites can be authored as solution code and scored inside the platform.Description
iohblade/problems/ng_friedman_suite.pyimplementingNG_FriedmanSuitewith prompts, example/format guidance, validation (_validate_suite), benchmarking (run_benchmark+NG_Evaluator) and scoring (get_friedman_val).problemsandmeta_dims(25 entries each) as authored code and wraps each function withiohon [-5,5]^d, runs the Nevergrad optimizers, collects logs viaioh.logger.Analyzerandiohinspector, and computes the mean IQR of Friedman ranks as the fitness.dependenciesandimportsstrings for evaluation environments (nevergrad, ioh, iohinspector, polars, scipy) and configure the problem interface (func_name = "problems", emptyinit_inputs/func_inputs/func_outputs).NG_FriedmanSuitefromiohblade/problems/__init__.pyso it is visible under the problems package.Testing
uv run isort iohblade/and code formatting withuv run black iohblade/, which reformatted files and updated the new module.uv run pytest tests/; collection failed due to missing external packages (ModuleNotFoundError during collection). The immediate missing modules reported includecloudpickle,ioh,numpy,httpx,mlflow, andmatplotlib, sopytestcould not complete.NG_FriedmanSuite(nevergrad/ioh/iohinspector/etc.).Codex Task