Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ write_jsonl_file
Function
write_jsonl_file
eval/Math/math/evaluate_math.py:34–37 ·
view source on GitHub ↗
(file_path, data)
Source
from the content-addressed store, hash-verified
32
33
34
def
write_jsonl_file(file_path, data):
35
with
open(file_path,
'w'
, encoding=
'utf-8'
)
as
f:
36
for
line in data:
37
f.write(json.dumps(line, ensure_ascii=False) +
'\n'
)
38
39
40
def
generate_sample_batch(question_list):
Callers
1
run
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected