d90bd80c85adfeefc14c51466bab48bce7619c53,bears/general/CPDBear.py,CPDBear,CPDBear_1,#,12

Before Change



class CPDBear(GlobalBear):

    LANGUAGES = ("C++", "C//", "Objective C", "Java", "JavaScript", "Fortran",
                 "Go", "JSP", "Python 2", "Python 3", "Python", "Ruby",
                 "PHP", "Scala")

    @classmethod
    def check_prerequisites(cls):  // pragma: no cover
        if which("bash") is None:

After Change


                     "Scala": "scala",
                     "Swift": "swift"}

    lowered_lang_dict = {key.lower(): value
                         for key, value in language_dict.items()}

    LANGUAGES = tuple(language_dict.keys())

    @classmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: coala/coala-bears
Commit Name: d90bd80c85adfeefc14c51466bab48bce7619c53
Time: 2016-06-10
Author: lasse.schuirmann@gmail.com
File Name: bears/general/CPDBear.py
Class Name: CPDBear
Method Name: CPDBear_1


Project Name: Microsoft/MMdnn
Commit Name: c1c748e7501cd50486af7d2ff87365bd43068660
Time: 2019-11-06
Author: 524058708@qq.com
File Name: mmdnn/conversion/tensorflow/saver.py
Class Name:
Method Name: save_model


Project Name: tyarkoni/pliers
Commit Name: af8f451f0df8f93092d50f28c6200a1ba8f99d81
Time: 2017-12-01
Author: delavega@utexas.edu
File Name: pliers/utils/updater.py
Class Name:
Method Name: check_updates


Project Name: masa-su/pixyz
Commit Name: 33573192e348ad5e1dfe188df6f3fa2a7a892372
Time: 2020-10-05
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/distributions.py
Class Name: DistributionBase
Method Name: get_params


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 16dd6d087c47af12648c8ab5b2fb1fdf9824b20d
Time: 2019-04-24
Author: eriklindernoren@live.se
File Name: train.py
Class Name:
Method Name: