a62ace6b21c96cbda5862466928138eeec6177c0,optuna/storages/in_memory.py,InMemoryStorage,delete_study,#InMemoryStorage#Any#,70

Before Change


        // type: (int) -> None

        with self._lock:
            self._check_study_id(study_id)

            with self._lock:
                for trial in self._studies[study_id].trials:
                    del self._trial_id_to_study_id_and_number[trial._trial_id]
                study_name = self._studies[study_id].name

After Change


        // type: (int) -> None

        with self._lock:
            self._check_study_id(study_id)

            for trial in self._studies[study_id].trials:
                del self._trial_id_to_study_id_and_number[trial._trial_id]
            study_name = self._studies[study_id].name
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: a62ace6b21c96cbda5862466928138eeec6177c0
Time: 2020-05-12
Author: ytsmiling@gmail.com
File Name: optuna/storages/in_memory.py
Class Name: InMemoryStorage
Method Name: delete_study


Project Name: pfnet/optuna
Commit Name: a62ace6b21c96cbda5862466928138eeec6177c0
Time: 2020-05-12
Author: ytsmiling@gmail.com
File Name: optuna/storages/in_memory.py
Class Name: InMemoryStorage
Method Name: set_study_direction


Project Name: pfnet/optuna
Commit Name: a62ace6b21c96cbda5862466928138eeec6177c0
Time: 2020-05-12
Author: ytsmiling@gmail.com
File Name: optuna/storages/in_memory.py
Class Name: InMemoryStorage
Method Name: create_new_trial