Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ***********************************************************************************************
- BUILD LOG FROM /nix/store/a0pqrq0qa8w5l5g20fkdfdqwr0jwdz2b-python3.7-nevergrad-0.3.2.drv
- ***********************************************************************************************
- Sourcing python-remove-tests-dir-hook
- Sourcing python-catch-conflicts-hook.sh
- Sourcing python-remove-bin-bytecode-hook.sh
- Sourcing setuptools-build-hook
- Using setuptoolsBuildPhase
- Using setuptoolsShellHook
- Sourcing pip-install-hook
- Using pipInstallPhase
- Sourcing python-imports-check-hook.sh
- Using pythonImportsCheckPhase
- Sourcing setuptools-check-hook
- @nix { "action": "setPhase", "phase": "unpackPhase" }
- unpacking sources
- unpacking source archive /nix/store/sxygn792kr7fihn68gslmg54qf5d5gpb-source
- source root is source
- setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/setup.py
- @nix { "action": "setPhase", "phase": "patchPhase" }
- patching sources
- @nix { "action": "setPhase", "phase": "configurePhase" }
- configuring
- no configure script, doing nothing
- @nix { "action": "setPhase", "phase": "buildPhase" }
- building
- Executing setuptoolsBuildPhase
- ['pytest>=4.3.0', 'pytest-cov>=2.6.1', 'mypy>=0.730', 'sphinx>=2.1.0', 'sphinx_rtd_theme>=0.4.3', 'recommonmark>=0.5.0', 'wheel>=0.33.6', 'setuptools>=28.8.0', 'numpy-stubs @ git+https://github.com/numpy/numpy-stubs@master']
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib
- creating build/lib/nevergrad
- copying nevergrad/__init__.py -> build/lib/nevergrad
- creating build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/utils.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/transforms.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/test_utils.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/test_transforms.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/test_parameter.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/test_instantiate.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/test_discretization.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/parameter.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/instantiate.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/helpers.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/discretization.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/data.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/core.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/container.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/choice.py -> build/lib/nevergrad/parametrization
- copying nevergrad/parametrization/__init__.py -> build/lib/nevergrad/parametrization
- creating build/lib/nevergrad/optimization
- copying nevergrad/optimization/utils.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_utils.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_sequences.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_recaster.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_optimizerlib.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_mutations.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_callbacks.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/test_base.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/sequences.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/rescaledoneshot.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/requirements_check.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/recastlib.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/recaster.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/optimizerlib.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/oneshot.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/mutations.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/families.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/es.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/differentialevolution.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/callbacks.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/base.py -> build/lib/nevergrad/optimization
- copying nevergrad/optimization/__init__.py -> build/lib/nevergrad/optimization
- creating build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/variables.py -> build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/test_variables.py -> build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/test_multivariables.py -> build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/multivariables.py -> build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/core.py -> build/lib/nevergrad/instrumentation
- copying nevergrad/instrumentation/__init__.py -> build/lib/nevergrad/instrumentation
- creating build/lib/nevergrad/functions
- copying nevergrad/functions/utils.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/test_utils.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/test_functionlib.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/test_corefuncs.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/test_base.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/functionlib.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/corefuncs.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/base.py -> build/lib/nevergrad/functions
- copying nevergrad/functions/__init__.py -> build/lib/nevergrad/functions
- creating build/lib/nevergrad/common
- copying nevergrad/common/typetools.py -> build/lib/nevergrad/common
- copying nevergrad/common/tools.py -> build/lib/nevergrad/common
- copying nevergrad/common/testing.py -> build/lib/nevergrad/common
- copying nevergrad/common/test_tools.py -> build/lib/nevergrad/common
- copying nevergrad/common/test_testing.py -> build/lib/nevergrad/common
- copying nevergrad/common/test_decorators.py -> build/lib/nevergrad/common
- copying nevergrad/common/decorators.py -> build/lib/nevergrad/common
- copying nevergrad/common/__init__.py -> build/lib/nevergrad/common
- creating build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/xpbase.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/test_xpbase.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/test_plotting.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/test_experiments.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/test_execution.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/test_core.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/plotting.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/frozenexperiments.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/exporttable.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/experiments.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/execution.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/core.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/__main__.py -> build/lib/nevergrad/benchmark
- copying nevergrad/benchmark/__init__.py -> build/lib/nevergrad/benchmark
- creating build/lib/nevergrad/functions/stsp
- copying nevergrad/functions/stsp/test_core.py -> build/lib/nevergrad/functions/stsp
- copying nevergrad/functions/stsp/core.py -> build/lib/nevergrad/functions/stsp
- copying nevergrad/functions/stsp/__init__.py -> build/lib/nevergrad/functions/stsp
- creating build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/test_envs.py -> build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/test_agents.py -> build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/envs.py -> build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/base.py -> build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/agents.py -> build/lib/nevergrad/functions/rl
- copying nevergrad/functions/rl/__init__.py -> build/lib/nevergrad/functions/rl
- creating build/lib/nevergrad/functions/powersystems
- copying nevergrad/functions/powersystems/test_core.py -> build/lib/nevergrad/functions/powersystems
- copying nevergrad/functions/powersystems/core.py -> build/lib/nevergrad/functions/powersystems
- copying nevergrad/functions/powersystems/__init__.py -> build/lib/nevergrad/functions/powersystems
- creating build/lib/nevergrad/functions/photonics
- copying nevergrad/functions/photonics/test_core.py -> build/lib/nevergrad/functions/photonics
- copying nevergrad/functions/photonics/photonics.py -> build/lib/nevergrad/functions/photonics
- copying nevergrad/functions/photonics/core.py -> build/lib/nevergrad/functions/photonics
- copying nevergrad/functions/photonics/__init__.py -> build/lib/nevergrad/functions/photonics
- creating build/lib/nevergrad/functions/multiobjective
- copying nevergrad/functions/multiobjective/test_core.py -> build/lib/nevergrad/functions/multiobjective
- copying nevergrad/functions/multiobjective/pyhv.py -> build/lib/nevergrad/functions/multiobjective
- copying nevergrad/functions/multiobjective/core.py -> build/lib/nevergrad/functions/multiobjective
- copying nevergrad/functions/multiobjective/__init__.py -> build/lib/nevergrad/functions/multiobjective
- creating build/lib/nevergrad/functions/mlda
- copying nevergrad/functions/mlda/test_problems.py -> build/lib/nevergrad/functions/mlda
- copying nevergrad/functions/mlda/test_datasets.py -> build/lib/nevergrad/functions/mlda
- copying nevergrad/functions/mlda/problems.py -> build/lib/nevergrad/functions/mlda
- copying nevergrad/functions/mlda/datasets.py -> build/lib/nevergrad/functions/mlda
- copying nevergrad/functions/mlda/__init__.py -> build/lib/nevergrad/functions/mlda
- creating build/lib/nevergrad/functions/games
- copying nevergrad/functions/games/test_game.py -> build/lib/nevergrad/functions/games
- copying nevergrad/functions/games/game.py -> build/lib/nevergrad/functions/games
- copying nevergrad/functions/games/__init__.py -> build/lib/nevergrad/functions/games
- creating build/lib/nevergrad/functions/arcoating
- copying nevergrad/functions/arcoating/test_core.py -> build/lib/nevergrad/functions/arcoating
- copying nevergrad/functions/arcoating/core.py -> build/lib/nevergrad/functions/arcoating
- copying nevergrad/functions/arcoating/__init__.py -> build/lib/nevergrad/functions/arcoating
- copying nevergrad/py.typed -> build/lib/nevergrad
- installing to build/bdist.linux-x86_64/wheel
- running install
- running install_lib
- creating build/bdist.linux-x86_64
- creating build/bdist.linux-x86_64/wheel
- creating build/bdist.linux-x86_64/wheel/nevergrad
- copying build/lib/nevergrad/py.typed -> build/bdist.linux-x86_64/wheel/nevergrad
- creating build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/__main__.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/execution.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/experiments.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/exporttable.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/frozenexperiments.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/plotting.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/test_execution.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/test_experiments.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/test_plotting.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/test_xpbase.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- copying build/lib/nevergrad/benchmark/xpbase.py -> build/bdist.linux-x86_64/wheel/nevergrad/benchmark
- creating build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/decorators.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/test_decorators.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/test_testing.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/test_tools.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/testing.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/tools.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- copying build/lib/nevergrad/common/typetools.py -> build/bdist.linux-x86_64/wheel/nevergrad/common
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/arcoating
- copying build/lib/nevergrad/functions/arcoating/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/arcoating
- copying build/lib/nevergrad/functions/arcoating/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/arcoating
- copying build/lib/nevergrad/functions/arcoating/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/arcoating
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/games
- copying build/lib/nevergrad/functions/games/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/games
- copying build/lib/nevergrad/functions/games/game.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/games
- copying build/lib/nevergrad/functions/games/test_game.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/games
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- copying build/lib/nevergrad/functions/mlda/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- copying build/lib/nevergrad/functions/mlda/datasets.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- copying build/lib/nevergrad/functions/mlda/problems.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- copying build/lib/nevergrad/functions/mlda/test_datasets.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- copying build/lib/nevergrad/functions/mlda/test_problems.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/mlda
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/multiobjective
- copying build/lib/nevergrad/functions/multiobjective/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/multiobjective
- copying build/lib/nevergrad/functions/multiobjective/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/multiobjective
- copying build/lib/nevergrad/functions/multiobjective/pyhv.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/multiobjective
- copying build/lib/nevergrad/functions/multiobjective/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/multiobjective
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/photonics
- copying build/lib/nevergrad/functions/photonics/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/photonics
- copying build/lib/nevergrad/functions/photonics/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/photonics
- copying build/lib/nevergrad/functions/photonics/photonics.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/photonics
- copying build/lib/nevergrad/functions/photonics/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/photonics
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/powersystems
- copying build/lib/nevergrad/functions/powersystems/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/powersystems
- copying build/lib/nevergrad/functions/powersystems/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/powersystems
- copying build/lib/nevergrad/functions/powersystems/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/powersystems
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/agents.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/base.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/envs.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/test_agents.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- copying build/lib/nevergrad/functions/rl/test_envs.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/rl
- creating build/bdist.linux-x86_64/wheel/nevergrad/functions/stsp
- copying build/lib/nevergrad/functions/stsp/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/stsp
- copying build/lib/nevergrad/functions/stsp/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/stsp
- copying build/lib/nevergrad/functions/stsp/test_core.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions/stsp
- copying build/lib/nevergrad/functions/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/base.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/corefuncs.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/functionlib.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/test_base.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/test_corefuncs.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/test_functionlib.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/test_utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- copying build/lib/nevergrad/functions/utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/functions
- creating build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/multivariables.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/test_multivariables.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/test_variables.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- copying build/lib/nevergrad/instrumentation/variables.py -> build/bdist.linux-x86_64/wheel/nevergrad/instrumentation
- creating build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/base.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/callbacks.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/differentialevolution.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/es.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/families.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/mutations.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/oneshot.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/optimizerlib.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/recaster.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/recastlib.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/requirements_check.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/rescaledoneshot.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/sequences.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_base.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_callbacks.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_mutations.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_optimizerlib.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_recaster.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_sequences.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/test_utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- copying build/lib/nevergrad/optimization/utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/optimization
- creating build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/choice.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/container.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/core.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/data.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/discretization.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/helpers.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/instantiate.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/parameter.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/test_discretization.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/test_instantiate.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/test_parameter.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/test_transforms.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/test_utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/transforms.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/parametrization/utils.py -> build/bdist.linux-x86_64/wheel/nevergrad/parametrization
- copying build/lib/nevergrad/__init__.py -> build/bdist.linux-x86_64/wheel/nevergrad
- running install_egg_info
- running egg_info
- creating nevergrad.egg-info
- writing nevergrad.egg-info/PKG-INFO
- writing dependency_links to nevergrad.egg-info/dependency_links.txt
- writing requirements to nevergrad.egg-info/requires.txt
- writing top-level names to nevergrad.egg-info/top_level.txt
- writing manifest file 'nevergrad.egg-info/SOURCES.txt'
- reading manifest file 'nevergrad.egg-info/SOURCES.txt'
- reading manifest template 'MANIFEST.in'
- writing manifest file 'nevergrad.egg-info/SOURCES.txt'
- Copying nevergrad.egg-info to build/bdist.linux-x86_64/wheel/nevergrad-0.3.2-py3.7.egg-info
- running install_scripts
- adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
- creating build/bdist.linux-x86_64/wheel/nevergrad-0.3.2.dist-info/WHEEL
- creating 'dist/nevergrad-0.3.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
- adding 'nevergrad/__init__.py'
- adding 'nevergrad/py.typed'
- adding 'nevergrad/benchmark/__init__.py'
- adding 'nevergrad/benchmark/__main__.py'
- adding 'nevergrad/benchmark/core.py'
- adding 'nevergrad/benchmark/execution.py'
- adding 'nevergrad/benchmark/experiments.py'
- adding 'nevergrad/benchmark/exporttable.py'
- adding 'nevergrad/benchmark/frozenexperiments.py'
- adding 'nevergrad/benchmark/plotting.py'
- adding 'nevergrad/benchmark/test_core.py'
- adding 'nevergrad/benchmark/test_execution.py'
- adding 'nevergrad/benchmark/test_experiments.py'
- adding 'nevergrad/benchmark/test_plotting.py'
- adding 'nevergrad/benchmark/test_xpbase.py'
- adding 'nevergrad/benchmark/xpbase.py'
- adding 'nevergrad/common/__init__.py'
- adding 'nevergrad/common/decorators.py'
- adding 'nevergrad/common/test_decorators.py'
- adding 'nevergrad/common/test_testing.py'
- adding 'nevergrad/common/test_tools.py'
- adding 'nevergrad/common/testing.py'
- adding 'nevergrad/common/tools.py'
- adding 'nevergrad/common/typetools.py'
- adding 'nevergrad/functions/__init__.py'
- adding 'nevergrad/functions/base.py'
- adding 'nevergrad/functions/corefuncs.py'
- adding 'nevergrad/functions/functionlib.py'
- adding 'nevergrad/functions/test_base.py'
- adding 'nevergrad/functions/test_corefuncs.py'
- adding 'nevergrad/functions/test_functionlib.py'
- adding 'nevergrad/functions/test_utils.py'
- adding 'nevergrad/functions/utils.py'
- adding 'nevergrad/functions/arcoating/__init__.py'
- adding 'nevergrad/functions/arcoating/core.py'
- adding 'nevergrad/functions/arcoating/test_core.py'
- adding 'nevergrad/functions/games/__init__.py'
- adding 'nevergrad/functions/games/game.py'
- adding 'nevergrad/functions/games/test_game.py'
- adding 'nevergrad/functions/mlda/__init__.py'
- adding 'nevergrad/functions/mlda/datasets.py'
- adding 'nevergrad/functions/mlda/problems.py'
- adding 'nevergrad/functions/mlda/test_datasets.py'
- adding 'nevergrad/functions/mlda/test_problems.py'
- adding 'nevergrad/functions/multiobjective/__init__.py'
- adding 'nevergrad/functions/multiobjective/core.py'
- adding 'nevergrad/functions/multiobjective/pyhv.py'
- adding 'nevergrad/functions/multiobjective/test_core.py'
- adding 'nevergrad/functions/photonics/__init__.py'
- adding 'nevergrad/functions/photonics/core.py'
- adding 'nevergrad/functions/photonics/photonics.py'
- adding 'nevergrad/functions/photonics/test_core.py'
- adding 'nevergrad/functions/powersystems/__init__.py'
- adding 'nevergrad/functions/powersystems/core.py'
- adding 'nevergrad/functions/powersystems/test_core.py'
- adding 'nevergrad/functions/rl/__init__.py'
- adding 'nevergrad/functions/rl/agents.py'
- adding 'nevergrad/functions/rl/base.py'
- adding 'nevergrad/functions/rl/envs.py'
- adding 'nevergrad/functions/rl/test_agents.py'
- adding 'nevergrad/functions/rl/test_envs.py'
- adding 'nevergrad/functions/stsp/__init__.py'
- adding 'nevergrad/functions/stsp/core.py'
- adding 'nevergrad/functions/stsp/test_core.py'
- adding 'nevergrad/instrumentation/__init__.py'
- adding 'nevergrad/instrumentation/core.py'
- adding 'nevergrad/instrumentation/multivariables.py'
- adding 'nevergrad/instrumentation/test_multivariables.py'
- adding 'nevergrad/instrumentation/test_variables.py'
- adding 'nevergrad/instrumentation/variables.py'
- adding 'nevergrad/optimization/__init__.py'
- adding 'nevergrad/optimization/base.py'
- adding 'nevergrad/optimization/callbacks.py'
- adding 'nevergrad/optimization/differentialevolution.py'
- adding 'nevergrad/optimization/es.py'
- adding 'nevergrad/optimization/families.py'
- adding 'nevergrad/optimization/mutations.py'
- adding 'nevergrad/optimization/oneshot.py'
- adding 'nevergrad/optimization/optimizerlib.py'
- adding 'nevergrad/optimization/recaster.py'
- adding 'nevergrad/optimization/recastlib.py'
- adding 'nevergrad/optimization/requirements_check.py'
- adding 'nevergrad/optimization/rescaledoneshot.py'
- adding 'nevergrad/optimization/sequences.py'
- adding 'nevergrad/optimization/test_base.py'
- adding 'nevergrad/optimization/test_callbacks.py'
- adding 'nevergrad/optimization/test_mutations.py'
- adding 'nevergrad/optimization/test_optimizerlib.py'
- adding 'nevergrad/optimization/test_recaster.py'
- adding 'nevergrad/optimization/test_sequences.py'
- adding 'nevergrad/optimization/test_utils.py'
- adding 'nevergrad/optimization/utils.py'
- adding 'nevergrad/parametrization/__init__.py'
- adding 'nevergrad/parametrization/choice.py'
- adding 'nevergrad/parametrization/container.py'
- adding 'nevergrad/parametrization/core.py'
- adding 'nevergrad/parametrization/data.py'
- adding 'nevergrad/parametrization/discretization.py'
- adding 'nevergrad/parametrization/helpers.py'
- adding 'nevergrad/parametrization/instantiate.py'
- adding 'nevergrad/parametrization/parameter.py'
- adding 'nevergrad/parametrization/test_discretization.py'
- adding 'nevergrad/parametrization/test_instantiate.py'
- adding 'nevergrad/parametrization/test_parameter.py'
- adding 'nevergrad/parametrization/test_transforms.py'
- adding 'nevergrad/parametrization/test_utils.py'
- adding 'nevergrad/parametrization/transforms.py'
- adding 'nevergrad/parametrization/utils.py'
- adding 'nevergrad-0.3.2.dist-info/LICENSE'
- adding 'nevergrad-0.3.2.dist-info/METADATA'
- adding 'nevergrad-0.3.2.dist-info/WHEEL'
- adding 'nevergrad-0.3.2.dist-info/top_level.txt'
- adding 'nevergrad-0.3.2.dist-info/RECORD'
- removing build/bdist.linux-x86_64/wheel
- Finished executing setuptoolsBuildPhase
- @nix { "action": "setPhase", "phase": "installPhase" }
- installing
- Executing pipInstallPhase
- /build/source/dist /build/source
- Processing ./nevergrad-0.3.2-py3-none-any.whl
- Requirement already satisfied: pandas>=0.23.4 in /nix/store/34240933ra3w4xgn1j54hgdz0bs0l10c-python3.7-pandas-1.0.3/lib/python3.7/site-packages (from nevergrad==0.3.2) (1.0.3)
- Requirement already satisfied: bayesian-optimization>=1.0.1 in /nix/store/s8yajvs2yhx6mvkq1gl75v0cf7jai4rh-python3.7-bayesian-optimization-1.1.0/lib/python3.7/site-packages (from nevergrad==0.3.2) (1.1.0)
- Requirement already satisfied: numpy>=1.15.0 in /nix/store/v6rdicqjk67y15s7pskn0clm4wy87asb-python3.7-numpy-1.18.1/lib/python3.7/site-packages (from nevergrad==0.3.2) (1.18.1)
- Requirement already satisfied: typing-extensions>=3.6.6 in /nix/store/2dslvyrbi9zrgd2avxxknlvpcsf70h2r-python3.7-typing_extensions-3.7.4.1/lib/python3.7/site-packages (from nevergrad==0.3.2) (3.7.4.1)
- Requirement already satisfied: cma>=2.6.0 in /nix/store/qzdqrmq7q6mm3ql510cdzjr1qcc2jpsn-python3.7-cma-2.7.0/lib/python3.7/site-packages (from nevergrad==0.3.2) (2.7.0)
- Requirement already satisfied: python-dateutil>=2.6.1 in /nix/store/cipbq5jglx2cwgcf43rkppnc92i04p30-python3.7-python-dateutil-2.8.1/lib/python3.7/site-packages (from pandas>=0.23.4->nevergrad==0.3.2) (2.8.1)
- Requirement already satisfied: pytz>=2017.2 in /nix/store/d34s1brl7h9wgjkv2n9s81bzvjrp11ly-python3.7-pytz-2019.3/lib/python3.7/site-packages (from pandas>=0.23.4->nevergrad==0.3.2) (2019.3)
- Requirement already satisfied: scikit-learn>=0.18.0 in /nix/store/fa7xap5y1g9vzbxgb2glx5hl6xx75zjf-python3.7-scikit-learn-0.21.3/lib/python3.7/site-packages (from bayesian-optimization>=1.0.1->nevergrad==0.3.2) (0.21.3)
- Requirement already satisfied: scipy>=0.14.0 in /nix/store/fl2y7ax8apij16m96cpw4dmh47rgmbyq-python3.7-scipy-1.4.1/lib/python3.7/site-packages (from bayesian-optimization>=1.0.1->nevergrad==0.3.2) (1.4.1)
- Requirement already satisfied: six>=1.5 in /nix/store/l6sv4zakmyp687vy837ivw20kcm7pdpj-python3.7-six-1.14.0/lib/python3.7/site-packages (from python-dateutil>=2.6.1->pandas>=0.23.4->nevergrad==0.3.2) (1.14.0)
- Requirement already satisfied: joblib>=0.11 in /nix/store/jzgvf7j1i5yglchlik80n6h3p1lhc7f6-python3.7-joblib-0.14.1/lib/python3.7/site-packages (from scikit-learn>=0.18.0->bayesian-optimization>=1.0.1->nevergrad==0.3.2) (0.14.1)
- Installing collected packages: nevergrad
- Successfully installed nevergrad-0.3.2
- /build/source
- Finished executing pipInstallPhase
- @nix { "action": "setPhase", "phase": "fixupPhase" }
- post-installation fixup
- shrinking RPATHs of ELF executables and libraries in /nix/store/6r36b9pygk20wadp72m6gnj3qlgkpz50-python3.7-nevergrad-0.3.2
- strip is /nix/store/nfs9wf6ipffr9g9ylzb4i9c1i607nxvq-binutils-2.31.1/bin/strip
- stripping (with command strip and flags -S) in /nix/store/6r36b9pygk20wadp72m6gnj3qlgkpz50-python3.7-nevergrad-0.3.2/lib
- patching script interpreter paths in /nix/store/6r36b9pygk20wadp72m6gnj3qlgkpz50-python3.7-nevergrad-0.3.2
- checking for references to /build/ in /nix/store/6r36b9pygk20wadp72m6gnj3qlgkpz50-python3.7-nevergrad-0.3.2...
- Executing pythonRemoveTestsDir
- Finished executing pythonRemoveTestsDir
- @nix { "action": "setPhase", "phase": "installCheckPhase" }
- running install tests
- ============================= test session starts ==============================
- platform linux -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
- rootdir: /build/source
- collecting ...
- collecting 13 items
- collected 1478 items
- nevergrad/benchmark/test_core.py ............. [ 0%]
- nevergrad/benchmark/test_execution.py ..... [ 1%]
- nevergrad/benchmark/test_experiments.py ................................ [ 3%]
- ............... [ 4%]
- nevergrad/benchmark/test_plotting.py ........... [ 5%]
- nevergrad/benchmark/test_xpbase.py ........... [ 5%]
- nevergrad/common/test_decorators.py ... [ 6%]
- nevergrad/common/test_testing.py ......... [ 6%]
- nevergrad/common/test_tools.py .................. [ 7%]
- nevergrad/functions/test_base.py ......... [ 8%]
- nevergrad/functions/test_corefuncs.py .................................. [ 10%]
- ....................................... [ 13%]
- nevergrad/functions/test_functionlib.py ........................... [ 15%]
- nevergrad/functions/test_utils.py . [ 15%]
- nevergrad/functions/arcoating/test_core.py ... [ 15%]
- nevergrad/functions/games/test_game.py ..... [ 15%]
- nevergrad/functions/mlda/test_datasets.py .......... [ 16%]
- nevergrad/functions/mlda/test_problems.py ......... [ 17%]
- nevergrad/functions/multiobjective/test_core.py .. [ 17%]
- nevergrad/functions/photonics/test_core.py ............................. [ 19%]
- [ 19%]
- nevergrad/functions/powersystems/test_core.py . [ 19%]
- nevergrad/functions/rl/test_agents.py ..... [ 19%]
- nevergrad/functions/rl/test_envs.py ........ [ 20%]
- nevergrad/functions/stsp/test_core.py . [ 20%]
- nevergrad/instrumentation/test_multivariables.py .... [ 20%]
- nevergrad/instrumentation/test_variables.py ........................... [ 22%]
- nevergrad/optimization/test_base.py .................... [ 23%]
- nevergrad/optimization/test_callbacks.py . [ 23%]
- nevergrad/optimization/test_mutations.py .............. [ 24%]
- nevergrad/optimization/test_optimizerlib.py ............................ [ 26%]
- ........................................................................ [ 31%]
- ...............capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- ......................................................... [ 36%]
- ........................................................................ [ 41%]
- ........................................................................ [ 46%]
- ........................................................................ [ 51%]
- ........................................................................ [ 55%]
- ........................................................................ [ 60%]
- .....................................capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- .capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- .................................. [ 65%]
- ..................FF..F...............F....F.F.F.F...................... [ 70%]
- ...capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- .capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- .................................................................... [ 75%]
- ......................................................................capi_return is NULL
- Call-back cb_calcfc_in__cobyla__user__routines failed.
- .. [ 80%]
- ..............................ss...................sssss...............s [ 85%]
- sssssssssssssssssssssss............... [ 87%]
- nevergrad/optimization/test_recaster.py ....... [ 88%]
- nevergrad/optimization/test_sequences.py .......... [ 88%]
- nevergrad/optimization/test_utils.py ............ [ 89%]
- nevergrad/parametrization/test_discretization.py .............. [ 90%]
- nevergrad/parametrization/test_instantiate.py .................... [ 91%]
- nevergrad/parametrization/test_parameter.py ............................ [ 93%]
- ..................................... [ 96%]
- nevergrad/parametrization/test_transforms.py .......................... [ 98%]
- nevergrad/parametrization/test_utils.py ............................ [100%]
- =================================== FAILURES ===================================
- ______________________ test_optimizers_recommendation[BO] ______________________
- name = 'BO'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 2 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 5.2002641
- E Max relative difference: 1.09616691
- E x: array([-1.72, -0.07, -0.23, -0.02])
- E y: array([-1.12, -0.56, 2.35, 5.18])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- _____________________ test_optimizers_recommendation[RBO] ______________________
- name = 'RBO'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 2 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 3.73695334
- E Max relative difference: 1.12527195
- E x: array([ 0.25, 0.54, 0.07, -0.42])
- E y: array([3.92, 1.27, 1.13, 3.32])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- _____________________ test_optimizers_recommendation[LBO] ______________________
- name = 'LBO'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 2 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 2.27519407
- E Max relative difference: 4.65793869
- E x: array([-0.46, 0.83, 0.32, -3.09])
- E y: array([-0.1 , -0.23, -1.63, -0.82])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- _________________ test_optimizers_recommendation[chainBOwithR] _________________
- name = 'chainBOwithR'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 5 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 3.80132066
- E Max relative difference: 1.16114932
- E x: array([ 0.36418, 0.4068 , 0.14466, -0.52756])
- E y: array([4.03089, 1.26941, 1.15377, 3.27376])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- ______________ test_optimizers_recommendation[chainBOwithLHSsqrt] ______________
- name = 'chainBOwithLHSsqrt'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 5 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 2.42782575
- E Max relative difference: 10.77830841
- E x: array([ 2.19037, 0.87498, -1.55962, 0.37103])
- E y: array([-0.224 , -0.32305, 0.86821, 0.5878 ])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- ________________ test_optimizers_recommendation[chainBOwithLHS] ________________
- name = 'chainBOwithLHS'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 5 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 0.06244087
- E Max relative difference: 0.24462797
- E x: array([-0.11467, 0.16282, -0.44595, 0.79784])
- E y: array([-0.15181, 0.14412, -0.38351, 0.81411])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- ________ test_optimizers_recommendation[chainBOwithMetaRecenteringsqrt] ________
- name = 'chainBOwithMetaRecenteringsqrt'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 5 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 0.00308294
- E Max relative difference: 0.13945968
- E x: array([-0.04807, 0.01902, -0.07441, 0.24489])
- E y: array([-0.04579, 0.02211, -0.07227, 0.24333])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- __________ test_optimizers_recommendation[chainBOwithMetaRecentering] __________
- name = 'chainBOwithMetaRecentering'
- recomkeeper = <nevergrad.optimization.test_optimizerlib.RecommendationKeeper object at 0x7fffd093dd50>
- @pytest.mark.parametrize("name", [name for name in registry]) # type: ignore
- def test_optimizers_recommendation(name: str, recomkeeper: RecommendationKeeper) -> None:
- # set up environment
- optimizer_cls = registry[name]
- if name in UNSEEDABLE:
- raise SkipTest("Not playing nicely with the tests (unseedable)")
- np.random.seed(None)
- if optimizer_cls.recast or "SplitOptimizer" in name:
- np.random.seed(12)
- random.seed(12) # may depend on non numpy generator
- # budget=6 by default, larger for special cases needing more
- budget = {"WidePSO": 100, "PSO": 100, "MEDA": 100, "EDA": 100, "MPCEDA": 100, "TBPSA": 100}.get(name, 6)
- if isinstance(optimizer_cls, (optlib.DifferentialEvolution, optlib.EvolutionStrategy)):
- budget = 80
- dimension = min(16, max(4, int(np.sqrt(budget))))
- # set up problem
- fitness = Fitness([0.5, -0.8, 0, 4] + (5 * np.cos(np.arange(dimension - 4))).tolist())
- with warnings.catch_warnings():
- # tests do not need to be efficient
- warnings.filterwarnings("ignore", category=base.InefficientSettingsWarning)
- optim = optimizer_cls(parametrization=dimension, budget=budget, num_workers=1)
- optim.parametrization.random_state.seed(12)
- np.testing.assert_equal(optim.name, name)
- # the following context manager speeds up BO tests
- # BEWARE: BO tests are deterministic but can get different results from a computer to another.
- # Reducing the precision could help in this regard.
- patched = partial(acq_max, n_warmup=10000, n_iter=2)
- with patch("bayes_opt.bayesian_optimization.acq_max", patched):
- candidate = optim.minimize(fitness)
- if name not in recomkeeper.recommendations.index:
- recomkeeper.recommendations.loc[name, :dimension] = tuple(candidate.args[0])
- raise ValueError(f'Recorded the value for optimizer "{name}", please rerun this test locally.')
- # BO slightly differs from a computer to another
- decimal = 2 if isinstance(optimizer_cls, optlib.ParametrizedBO) else 5
- np.testing.assert_array_almost_equal(
- candidate.args[0],
- recomkeeper.recommendations.loc[name, :][:dimension],
- decimal=decimal,
- > err_msg="Something has changed, if this is normal, delete the following "
- f"file and rerun to update the values:\n{recomkeeper.filepath}",
- )
- E AssertionError:
- E Arrays are not almost equal to 5 decimals
- E Something has changed, if this is normal, delete the following file and rerun to update the values:
- E /build/source/nevergrad/optimization/recorded_recommendations.csv
- E Mismatched elements: 4 / 4 (100%)
- E Max absolute difference: 0.18106251
- E Max relative difference: 1.
- E x: array([0. , 0. , 0.07768, 0.15178])
- E y: array([0.06514, 0.00632, 0.25874, 0.17846])
- nevergrad/optimization/test_optimizerlib.py:215: AssertionError
- =============================== warnings summary ===============================
- /nix/store/qzdqrmq7q6mm3ql510cdzjr1qcc2jpsn-python3.7-cma-2.7.0/lib/python3.7/site-packages/cma/utilities/utils.py:8
- /nix/store/qzdqrmq7q6mm3ql510cdzjr1qcc2jpsn-python3.7-cma-2.7.0/lib/python3.7/site-packages/cma/utilities/utils.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
- from collections import MutableMapping # since Python 2.4?
- /nix/store/w5ydhkm2z38x5kg2fcacdkl91cd2zsp4-python3.7-nose-1.3.7/lib/python3.7/site-packages/nose/importer.py:12
- /nix/store/w5ydhkm2z38x5kg2fcacdkl91cd2zsp4-python3.7-nose-1.3.7/lib/python3.7/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
- from imp import find_module, load_module, acquire_lock, release_lock
- nevergrad/instrumentation/variables.py:301
- nevergrad/instrumentation/test_variables.py::test_log[0-0.01]
- nevergrad/instrumentation/test_variables.py::test_log[10-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[-10-0.001]
- nevergrad/instrumentation/test_variables.py::test_log[20-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[9-0.07943]
- nevergrad/instrumentation/test_variables.py::test_log_int
- nevergrad/instrumentation/test_variables.py::test_log_9[0-0.9482]
- nevergrad/instrumentation/test_variables.py::test_log_9[-11-0.9]
- nevergrad/instrumentation/test_variables.py::test_log_9[10-0.999]
- /build/source/nevergrad/instrumentation/variables.py:301: DeprecationWarning: ng.var.Log variable will disappear in the next version, please update your code to use ng.p.Log instead (slightly different API).
- "please update your code to use ng.p.Log instead (slightly different API).", DeprecationWarning)
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/variables.py:273
- nevergrad/instrumentation/test_variables.py::test_scalar
- nevergrad/instrumentation/test_variables.py::test_log[0-0.01]
- nevergrad/instrumentation/test_variables.py::test_log[10-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[-10-0.001]
- nevergrad/instrumentation/test_variables.py::test_log[20-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[9-0.07943]
- nevergrad/instrumentation/test_variables.py::test_log_int
- nevergrad/instrumentation/test_variables.py::test_log_9[0-0.9482]
- nevergrad/instrumentation/test_variables.py::test_log_9[-11-0.9]
- nevergrad/instrumentation/test_variables.py::test_log_9[10-0.999]
- /build/source/nevergrad/instrumentation/variables.py:273: DeprecationWarning: ng.var.Scalar variable will disappear in the next version, please update your code to use ng.p.Scalar instead (slightly different API).
- "please update your code to use ng.p.Scalar instead (slightly different API).", DeprecationWarning)
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/variables.py:133
- nevergrad/instrumentation/test_variables.py::test_scalar
- nevergrad/instrumentation/test_variables.py::test_array_as_ascalar
- nevergrad/instrumentation/test_variables.py::test_array_as_ascalar
- nevergrad/instrumentation/test_variables.py::test_array_as_ascalar
- nevergrad/instrumentation/test_variables.py::test_array_as_ascalar
- nevergrad/instrumentation/test_variables.py::test_array_as_ascalar
- nevergrad/instrumentation/test_variables.py::test_array
- nevergrad/instrumentation/test_variables.py::test_log[0-0.01]
- nevergrad/instrumentation/test_variables.py::test_log[10-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[-10-0.001]
- nevergrad/instrumentation/test_variables.py::test_log[20-0.1]
- nevergrad/instrumentation/test_variables.py::test_log[9-0.07943]
- nevergrad/instrumentation/test_variables.py::test_log_int
- nevergrad/instrumentation/test_variables.py::test_log_9[0-0.9482]
- nevergrad/instrumentation/test_variables.py::test_log_9[-11-0.9]
- nevergrad/instrumentation/test_variables.py::test_log_9[10-0.999]
- /build/source/nevergrad/instrumentation/variables.py:133: DeprecationWarning: ng.var.Array variable will disappear in the next version, please update your code to use ng.p.Array instead (slightly different API).
- "please update your code to use ng.p.Array instead (slightly different API).", DeprecationWarning)
- nevergrad/instrumentation/variables.py:57
- nevergrad/instrumentation/variables.py:57
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_init_error
- nevergrad/instrumentation/test_variables.py::test_gaussian
- /build/source/nevergrad/instrumentation/variables.py:57: DeprecationWarning: Gaussian variable will disappear in the next version, please update your code to use ng.p.Array instead (different API).
- "please update your code to use ng.p.Array instead (different API).", DeprecationWarning)
- nevergrad/instrumentation/variables.py:40
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- /build/source/nevergrad/instrumentation/variables.py:40: DeprecationWarning: OrderedDiscrete and UnorderedDiscrete will disappear in the next version, please update your code to use ng.p.TransitionChoice instead.
- "please update your code to use ng.p.TransitionChoice instead.", DeprecationWarning)
- nevergrad/benchmark/test_experiments.py::test_experiments_registry[mlda]
- nevergrad/benchmark/test_experiments.py::test_experiments_registry[realworld]
- /build/source/nevergrad/functions/mlda/problems.py:46: RuntimeWarning: invalid value encountered in true_divide
- self._points /= np.std(self._points, axis=0, keepdims=True)
- nevergrad/benchmark/test_experiments.py::test_experiments_registry[mlda]
- nevergrad/benchmark/test_experiments.py::test_experiments_registry[realworld]
- /build/source/nevergrad/functions/mlda/problems.py:185: RuntimeWarning: invalid value encountered in true_divide
- raw_data /= np.std(raw_data, axis=0, keepdims=True)
- nevergrad/functions/multiobjective/test_core.py::test_readme_example
- nevergrad/optimization/test_base.py::test_optimize_and_dump
- nevergrad/optimization/test_base.py::test_dump_deprecated_init_optimizer
- nevergrad/optimization/test_utils.py::test_get_nash
- /build/source/nevergrad/optimization/base.py:74: DeprecationWarning: "instrumentation" __init__ parameter has been renamed to "parametrization" for consistency. using it will not be supported starting at v0.4.0 (coming soon!)
- "using it will not be supported starting at v0.4.0 (coming soon!)", DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical_deterministic
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical_deterministic
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical
- /build/source/nevergrad/instrumentation/variables.py:32: DeprecationWarning: SoftmaxCategorical will disappear in the next version, please update your code to use ng.p.Choice instead.
- "please update your code to use ng.p.Choice instead.", DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_init_error
- /build/source/nevergrad/instrumentation/multivariables.py:17: DeprecationWarning: Instrumentation has been moved and is no more necessary to parametrize an optimizer, if you still need it anyway, you should import it like other parameters as nevergrad.p.Instrumentation.
- "nevergrad.p.Instrumentation.", DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_data_to_arguments
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical_deterministic
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- nevergrad/instrumentation/test_variables.py::test_expected_value[var10-data10-91]
- /build/source/nevergrad/parametrization/container.py:153: DeprecationWarning: "data_to_arguments" is deprecated, please use "set_standardized_data" instead
- warnings.warn('"data_to_arguments" is deprecated, please use "set_standardized_data" instead', DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation
- nevergrad/instrumentation/test_variables.py::test_softmax_categorical
- nevergrad/instrumentation/test_variables.py::test_ordered_discrete
- /build/source/nevergrad/parametrization/container.py:133: DeprecationWarning: "arguments_to_data" is deprecated, please use "get_standardized_data" instead
- warnings.warn('"arguments_to_data" is deprecated, please use "get_standardized_data" instead', DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- /build/source/nevergrad/parametrization/container.py:94: DeprecationWarning: "with_name" is deprecated, please use "set_name" instead
- warnings.warn('"with_name" is deprecated, please use "set_name" instead', DeprecationWarning)
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- /build/source/nevergrad/parametrization/container.py:158: UserWarning: set_cheap_constraint_checker is deprecated in favor of register_cheap_constraint with slightly different API:
- the registered function must only take one argument (the value of the parameter, for an Instrumentation, this is a tuple countaining the tuple of args and the dict of kwargs
- warnings.warn("set_cheap_constraint_checker is deprecated in favor of register_cheap_constraint with "
- nevergrad/instrumentation/test_multivariables.py::test_instrumentation_copy
- /build/source/nevergrad/parametrization/container.py:99: DeprecationWarning: cheap_constraint_check(*args, **kwargs) is deprecated, use satisfies_constraints() instead
- DeprecationWarning)
- nevergrad/parametrization/test_parameter.py::test_endogeneous_constraint
- /build/source/nevergrad/parametrization/core.py:271: UserWarning: Lambda as constraint is not advice because it may not be picklable
- warnings.warn("Lambda as constraint is not advice because it may not be picklable")
- nevergrad/parametrization/test_utils.py::test_random_crossover
- /build/source/nevergrad/parametrization/utils.py:180: UserWarning: Crossover can only handle up to 30 arrays
- warnings.warn("Crossover can only handle up to 30 arrays")
- -- Docs: https://docs.pytest.org/en/latest/warnings.html
- ===== 8 failed, 1439 passed, 31 skipped, 184 warnings in 170.67s (0:02:50) =====
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement