We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0476e7 commit 8ce190eCopy full SHA for 8ce190e
script/parse.py
@@ -467,7 +467,7 @@ def validate_doc_reqs(data):
467
shutil.rmtree("data/processed", ignore_errors=True)
468
os.makedirs("data/processed", exist_ok=True)
469
with open("data/open-eval.jsonl", "w") as f:
470
- for i, file in enumerate(tqdm(glob("data/clean/*.py"))):
+ for i, file in enumerate(tqdm(sorted(glob("data/clean/*.py")))):
471
data = extract_content(file, f"f_{i}")
472
if not validate_lib_num(data):
473
print(file.replace('clean/', 'raw/'), "Less than 2 libraries are used")
0 commit comments