1c1d98a32406ed63e3a89ddd14db9bfe007bd0e9,tests/storages_tests/test_storages.py,,test_set_trial_param,#Any#,208

Before Change


    _set_distributions(
        storage, trial_id_2,
        {
            "t2-x": UniformDistribution(low=-1.0, high=1.0),
            "t2-y": CategoricalDistribution(choices=("Shibuya", "Ebisu", "Meguro")),
        }
    )

After Change


    with pytest.raises(ValueError):
        // Test setting incompatible distribution: CategoricalDistribution in different order.
        storage.set_trial_param(
            trial_id_2, "y", 2, CategoricalDistribution(choices=("Meguro", "Shibuya", "Ebisu")))

    // Setup trial_3: different study from trial_1.
    if isinstance(storage, InMemoryStorage):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pfnet/optuna
Commit Name: 1c1d98a32406ed63e3a89ddd14db9bfe007bd0e9
Time: 2018-06-07
Author: sano@preferred.jp
File Name: tests/storages_tests/test_storages.py
Class Name:
Method Name: test_set_trial_param


Project Name: pfnet/optuna
Commit Name: 300f62a785a26c35b00dbc1d89bf5d81e5376939
Time: 2020-05-20
Author: skripniuk.v@yandex.ru
File Name: tests/integration_tests/test_tensorboard.py
Class Name:
Method Name: test_study_name


Project Name: pfnet/optuna
Commit Name: 300f62a785a26c35b00dbc1d89bf5d81e5376939
Time: 2020-05-20
Author: skripniuk.v@yandex.ru
File Name: examples/tensorboard_simple.py
Class Name:
Method Name: