82d573a8775982e3c601d690bdf934c54cc07d54,sacred/experiment.py,Experiment,get_default_options,#Experiment#,476

Before Change


        
        _, _, internal_usage = self.get_usage()
        args = docopt(internal_usage, [])
        return {k: v for k, v in args.items() if k.startswith("--")}

    // =========================== Internal Interface ==========================

    def _create_run(

After Change


                else:
                    default_value = None
            else:  // legacy, should be removed later on.
                if option.arg is None:
                    default_value = False
                else:
                    default_value = None
            default_options[option.get_flag()] = default_value

        return default_options
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: IDSIA/sacred
Commit Name: 82d573a8775982e3c601d690bdf934c54cc07d54
Time: 2019-10-10
Author: gabrieldemarmiesse@gmail.com
File Name: sacred/experiment.py
Class Name: Experiment
Method Name: get_default_options


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 1127ff5fdcdfbe89efee98614cf4d4e2c29da4a8
Time: 2019-02-11
Author: noreply@google.com
File Name: deploy/utils/utils.py
Class Name:
Method Name: resolve_env_vars


Project Name: lovit/soynlp
Commit Name: bf03e74b9b0858f2e827e6da4b0ca8d960b3b5b6
Time: 2018-11-13
Author: soy.lovit@gmail.com
File Name: soynlp/pos/_news_pos.py
Class Name: NewsPOSExtractor
Method Name: _extract_compound_nouns