abbee966de8fbd69dbb00217fbfc683f9007948f,optuna/samplers/_search_space.py,IntersectionSearchSpace,calculate,#IntersectionSearchSpace#Any#Any#,27

Before Change


            if trial.state != optuna.trial.TrialState.COMPLETE:
                continue

            if trial.number in self._known_trials:
                continue

            self._known_trials.add(trial.number)

After Change


                raise ValueError("`IntersectionSearchSpace` cannot handle multiple studies.")

        next_cursor = self._cursor
        for trial in reversed(study.get_trials(deepcopy=False)):
            if self._cursor > trial.number:
                break

            if trial.state == optuna.trial.TrialState.RUNNING:
                next_cursor = trial.number

            if trial.state != optuna.trial.TrialState.COMPLETE:
                continue

            if self._search_space is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pfnet/optuna
Commit Name: abbee966de8fbd69dbb00217fbfc683f9007948f
Time: 2020-04-20
Author: contact@c-bata.link
File Name: optuna/samplers/_search_space.py
Class Name: IntersectionSearchSpace
Method Name: calculate


Project Name: pantsbuild/pants
Commit Name: fac976efbc71aef758382015854f550c57d96461
Time: 2015-11-13
Author: tansy.arron@gmail.com
File Name: src/python/pants/backend/core/tasks/sorttargets.py
Class Name: SortTargets
Method Name: console_output


Project Name: onnx/onnx-coreml
Commit Name: 7f7a30cae66e7d65917ceea966225292f582d809
Time: 2019-10-04
Author: bhushan.s.94@gmail.com
File Name: onnx_coreml/_transformers.py
Class Name: DeadCodeElimination
Method Name: __call__