MCPcopy Create free account
hub / github.com/OpenBMB/AgentCPM-GUI / read_train_list

Function read_train_list

eval/eval_data/process_ac.py:237–244  ·  view source on GitHub ↗
(train_json_path)

Source from the content-addressed store, hash-verified

235 return test_data
236
237def read_train_list(train_json_path):
238 try:
239 with open(train_json_path, 'r', encoding='utf-8') as file:
240 data = json.load(file)
241 return set(data.get('train', []))
242 except Exception as e:
243 print(f"Error at: {str(e)}")
244 return set()
245
246def read_episodes_from_jsonl(jsonl_file_path, train_episodes, output_test_dir):
247 episodes = {'in_train': [], 'not_in_train': []}

Callers 1

process_ac.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected