9f2410134893ac19006f4482c88646849f153ddd,homeassistant/__main__.py,,main,#,23

Before Change


     Starts Home Assistant. Will create demo config if no config found. 

    // Do we want to run the tests?
    if ARG_RUN_TESTS in sys.argv:
        sys.argv.remove(ARG_RUN_TESTS)

        import unittest

After Change


    tasks = ["serve", "test"]

    parser = argparse.ArgumentParser()
    parser.add_argument(
        "-c", "--config",
        metavar="path_to_config_dir",
        default="config",
        help="Directory that contains the Home Assistant configuration")

    parser.add_argument(
        "-t", "--task",
        default=tasks[0],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 9f2410134893ac19006f4482c88646849f153ddd
Time: 2014-11-05
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/__main__.py
Class Name:
Method Name: main


Project Name: acl-org/acl-anthology
Commit Name: 71bd2aa1128f242429ef8245b0c14e13672ed8d7
Time: 2019-05-08
Author: dchiang@nd.edu
File Name: bin/normalize_anth.py
Class Name:
Method Name:


Project Name: HewlettPackard/dlcookbook-dlbs
Commit Name: ac368987658176719fab4039d5d0e04942eead71
Time: 2019-06-24
Author: sergey.serebryakov@hpe.com
File Name: python/mxnet_benchmarks/benchmarks.py
Class Name:
Method Name: main


Project Name: dmlc/gluon-nlp
Commit Name: 6955fab0f4f0a38ead24cec84152d82769a0cfa2
Time: 2019-06-21
Author: linhaibin.eric@gmail.com
File Name: scripts/bert/run_pretraining_hvd.py
Class Name:
Method Name: