MCPcopy Create free account
hub / github.com/codefuse-ai/codefuse-devops-eval / read_jsonl_file

Function read_jsonl_file

src/utils/jsonl_utils.py:4–9  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

2
3
4def read_jsonl_file(filename):
5 data = []
6 with open(filename, "r", encoding="utf-8") as f:
7 for line in f:
8 data.append(json.loads(line))
9 return data
10
11
12def save_to_jsonl_file(data, filename):

Callers 5

calc_from_predictsMethod · 0.90
load_data_from_localMethod · 0.90
load_data_from_localMethod · 0.90
_load_from_fileMethod · 0.90
load_data_from_localMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected