8f91b274aa5de0bfb6faf906024eeb24f1ff9a4c,tests/trial_tests/test_trial.py,,test_distributions,#,460
Before Change
return 1.0
study = create_study(storage_init_func())
study.optimize(objective, n_trials=1)
assert study.best_trial.distributions == {
"a": UniformDistribution(low=0, high=10),
"b": LogUniformDistribution(low=0.1, high=10),
After Change
with StorageSupplier(storage_mode) as storage:
study = create_study(storage=storage)
study.optimize(objective, n_trials=1)
assert study.best_trial.distributions == {
"a": UniformDistribution(low=0, high=10),
"b": LogUniformDistribution(low=0.1, high=10),

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: pfnet/optuna
Commit Name: 8f91b274aa5de0bfb6faf906024eeb24f1ff9a4c
Time: 2021-02-27
Author: k_nzw@klis.tsukuba.ac.jp
File Name: tests/trial_tests/test_trial.py
Class Name:
Method Name: test_distributions
Project Name: dit/dit
Commit Name: 07e3f728608b9d7ee48487d9f6e72d3067340239
Time: 2018-01-11
Author: ryangregoryjames@gmail.com
File Name: dit/divergences/hypercontractivity_coefficient.py
Class Name:
Method Name: hypercontractivity_coefficient
Project Name: pfnet/optuna
Commit Name: 8f91b274aa5de0bfb6faf906024eeb24f1ff9a4c
Time: 2021-02-27
Author: k_nzw@klis.tsukuba.ac.jp
File Name: tests/trial_tests/test_trial.py
Class Name:
Method Name: test_datetime_start