ac532f8ee44d044696a5d6142c3070194a73d3cb,main.py,,,#,24

Before Change


parser = argparse.ArgumentParser()
parser.add_argument("strategy", choices=strategies.keys())
if __name__ == "__main__":
    args = parser.parse_args()
    strategy = strategies[args.strategy]
    run_gtp(strategy)

After Change




parser = argparse.ArgumentParser()
argh.add_commands(parser, [gtp, train])

if __name__ == "__main__":
    argh.dispatch(parser)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: brilee/MuGo
Commit Name: ac532f8ee44d044696a5d6142c3070194a73d3cb
Time: 2016-07-01
Author: brian.kihoon.lee@gmail.com
File Name: main.py
Class Name:
Method Name:


Project Name: haotianteng/Chiron
Commit Name: 7645a5a90740ad0f9222620d8eda5c9a6544011c
Time: 2018-04-29
Author: neven.miculinic@gmail.com
File Name: chiron/chiron_eval.py
Class Name:
Method Name:


Project Name: ufal/npfl114
Commit Name: c343409098b4f4b8396119d9f26e040e479a0e2b
Time: 2020-04-20
Author: milan@strakovi.com
File Name: labs/08/speech_recognition_eval.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc
Time: 2020-05-11
Author: sven@anyscale.io
File Name: rllib/examples/centralized_critic.py
Class Name:
Method Name: