338e1914ab7e73856d292b7b1f2885016db7e4ff,main.py,,gtp,#Any#Any#Any#Any#,46

Before Change


    sys.stderr.write("GTP engine ready\n")
    sys.stderr.flush()
    while not engine.disconnect:
        inpt = input()
        // handle either single lines at a time
        // or multiple commands separated by "\n"
        try:
            cmd_list = inpt.split("\n")
        except:
            cmd_list = [inpt]
        for cmd in cmd_list:
            engine_reply = engine.send(cmd)
            sys.stdout.write(engine_reply)
            sys.stdout.flush()


def bootstrap(
        working_dir: "tf.estimator working directory. If not set, defaults to a random tmp dir"=None,
        model_save_path: "Where to export the first bootstrapped generation"=None):
    if working_dir is None:

After Change


                               cgos_mode=cgos_mode,
                               kgs_mode=kgs_mode)
    print("GTP engine ready\n", file=sys.stderr, flush=True)
    for msg in sys.stdin:
        if not engine.handle_msg(msg.strip()):
            break


def bootstrap(
        working_dir: "tf.estimator working directory. If not set, defaults to a random tmp dir"=None,
        model_save_path: "Where to export the first bootstrapped generation"=None):
    if working_dir is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tensorflow/minigo
Commit Name: 338e1914ab7e73856d292b7b1f2885016db7e4ff
Time: 2018-05-09
Author: tom.ej.madams@gmail.com
File Name: main.py
Class Name:
Method Name: gtp


Project Name: geekcomputers/Python
Commit Name: e1c4e6a7c7db68e123d978bfc56feb057898935f
Time: 2019-10-24
Author: kostasdedesar@penguin
File Name: Counting-sort.py
Class Name:
Method Name:


Project Name: TheAlgorithms/Python
Commit Name: fc4c0f5bfda4fe90246d99767902dbf0a200c0d5
Time: 2020-01-14
Author: hzhilamp@163.com
File Name: data_structures/heap/heap.py
Class Name:
Method Name: main