Skip to content

Commit c95ee0c

Browse files
committed
fix: order of tasks in tfb
1 parent c12457f commit c95ee0c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/preprocess_benchmark.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ def main(input_raw_benchmark_path: str = "benchmark", output_path: str = "tfb.js
1414

1515
# read in all files ending with .md in the input_raw_benchmark_path
1616
tasks: list[BenchmarkTask] = []
17-
for file in os.listdir(input_raw_benchmark_path):
17+
files = os.listdir(input_raw_benchmark_path)
18+
files_w_order = sorted(files)
19+
for file in files_w_order:
1820
if not file.endswith(".hs.md"):
1921
continue
2022
with open(os.path.join(input_raw_benchmark_path, file), "r") as f:

0 commit comments

Comments
 (0)