d5d2a849496362535ceaeef92aff9bec4e2edeba,optuna/storages/in_memory.py,InMemoryStorage,get_all_study_summaries,#InMemoryStorage#,135

Before Change


        // type: () -> List[StudySummary]

        best_trial = None
        if any(t for t in self.trials if t.state == TrialState.COMPLETE):
            best_trial = self.get_best_trial(IN_MEMORY_STORAGE_STUDY_ID)

        datetime_start = None

After Change


                study_name=self._study_name[study_id],
                direction=self._direction[study_id],
                best_trial=self._trials[self._best_trial_id[study_id]] if self._best_trial_id[study_id] else None,
                user_attrs=copy.copy(self._study_user_attrs[study_id]),
                system_attrs=copy.copy(self._study_system_attrs[study_id]),
                n_trials=len(self._study_trials[study_id]),
                datetime_start=min([self._trials[tid].datetime_start for tid in self._study_trials[study_id]]) if self._study_trials[study_id] else None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: get_all_study_summaries


Project Name: 7ossam81/EvoloPy
Commit Name: b050fe8d132a7d8899173e1c24d5906dbb943745
Time: 2019-02-26
Author: raneem.qaddoura@gmail.com
File Name: GA.py
Class Name:
Method Name: pairSelection


Project Name: rtqichen/torchdiffeq
Commit Name: 47ba6dedb917847460b098c5f2b776a4c8bd0c1b
Time: 2021-01-05
Author: rtqichen@gmail.com
File Name: torchdiffeq/_impl/adjoint.py
Class Name:
Method Name: odeint_adjoint