4cb81c0b6fcc39be3d782d81cb0ff776f31cc6b2,optuna/trial/_trial.py,Trial,report,#Trial#Any#Any#,507

Before Change


                If trial is being used for multi-objective optimization.
        

        return self.study.report(self, value=value, step=step)

    def should_prune(self) -> bool:
        Suggest whether the trial should be pruned or not.

After Change


            // Do nothing if already reported.
            // TODO(hvy): Consider raising a warning or an error.
            // See https://github.com/optuna/optuna/issues/852.
            return

        self.storage.set_trial_intermediate_value(self._trial_id, step, value)

    def should_prune(self) -> bool:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: 4cb81c0b6fcc39be3d782d81cb0ff776f31cc6b2
Time: 2021-01-14
Author: 38826298+HideakiImamura@users.noreply.github.com
File Name: optuna/trial/_trial.py
Class Name: Trial
Method Name: report


Project Name: graphbrain/graphbrain
Commit Name: b67c55effcbbb8c66ffdc5eedab781c4d63f338d
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/conflicts.py
Class Name: Conflicts
Method Name: report


Project Name: facebookresearch/ParlAI
Commit Name: f21d001eb7f15fbd466930752bd1929d70cefc97
Time: 2020-09-04
Author: roller@fb.com
File Name: parlai/scripts/verify_data.py
Class Name:
Method Name: verify


Project Name: graphbrain/graphbrain
Commit Name: b67c55effcbbb8c66ffdc5eedab781c4d63f338d
Time: 2020-08-24
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/reddit_parser.py
Class Name: RedditParser
Method Name: report