MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / load_jsonl

Function load_jsonl

tests/test_keyword_free.py:147–154  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

145 return
146
147 def load_jsonl(path):
148 cases = []
149 with open(path, "r", encoding="utf-8") as f:
150 for line in f:
151 line = line.strip()
152 if line:
153 cases.append(json.loads(line))
154 return cases
155
156 train_cases = load_jsonl(train_path)
157 test_cases = load_jsonl(test_path)

Callers 1

Calls 2

openFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected