d5d2a849496362535ceaeef92aff9bec4e2edeba,optuna/storages/in_memory.py,InMemoryStorage,delete_study,#InMemoryStorage#Any#,61

Before Change


        self._check_study_id(study_id)

        with self._lock:
            self.trials = []
            self.best_trial_id = None
            self.param_distribution = {}
            self.direction = StudyDirection.NOT_SET
            self.study_user_attrs = {}

After Change


                self._trials[trial_id] = None
                del self._trial_id_to_study_id_and_number[trial_id]
            del self._study_trials[study_id]
            if study_id in self._best_trial_id:
                del self._best_trial_id[study_id]
            if study_id in self._param_distribution:
                del self._param_distribution[study_id]
            if study_id in self._direction:
                del self._direction[study_id]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


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


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


Project Name: ContextLab/hypertools
Commit Name: 7c2673280add4356814a56e5a4253bd959630e95
Time: 2016-12-22
Author: andrew.heusser@gmail.com
File Name: python/hypertools/plot/plot.py
Class Name:
Method Name: plot


Project Name: ContextLab/hypertools
Commit Name: 529c4bc269f6c3a265d49b97393cbc6ecbcf5f94
Time: 2016-12-22
Author: andrew.heusser@gmail.com
File Name: python/hypertools/plot/plot.py
Class Name:
Method Name: plot