5d5034e2cad5c4163eff304ff16e06d423915f95,graphbrain/commands/run.py,,run,#Any#,5
Before Change
def run(args):
hg = hgraph(args.hg)
agent = create_agent(args.agent, hg, args.lang, args.sequence)
if agent is None:
print("ERROR: unknown agent: {}".format(args.agent))
else:
agent.run(infile=args.infile)
After Change
def run(args):
agent = create_agent(args)
if agent is None:
print("ERROR: unknown agent: {}".format(args.agent))
else:
agent.run(infile=args.infile)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: graphbrain/graphbrain
Commit Name: 5d5034e2cad5c4163eff304ff16e06d423915f95
Time: 2020-02-03
Author: telmo@telmomenezes.net
File Name: graphbrain/commands/run.py
Class Name:
Method Name: run
Project Name: facebookresearch/ParlAI
Commit Name: 2ebd8bf735f80615af42fb3a0303966be8e221e9
Time: 2020-03-25
Author: kshuster@fb.com
File Name: parlai/chat_service/services/websocket/websocket_manager.py
Class Name: WebsocketManager
Method Name: _load_model
Project Name: facebookresearch/ParlAI
Commit Name: 2ebd8bf735f80615af42fb3a0303966be8e221e9
Time: 2020-03-25
Author: kshuster@fb.com
File Name: parlai/chat_service/services/messenger/messenger_manager.py
Class Name: MessengerManager
Method Name: _load_model