Scraping script
Browse files- reproduce.py +10 -0
reproduce.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import apebench
|
2 |
+
from tqdm import tqdm
|
3 |
+
import os
|
4 |
+
|
5 |
+
DATA_PATH = "data"
|
6 |
+
|
7 |
+
os.makedirs(DATA_PATH, exist_ok=True)
|
8 |
+
|
9 |
+
for config in tqdm(apebench.scraper.CURATION_APEBENCH_V1):
|
10 |
+
apebench.scraper.scrape_data_and_metadata(DATA_PATH, **config)
|