Skip to content

Commit 203e916

Browse files
committed
fix
1 parent d6d692e commit 203e916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/get_cases_from_csv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ def _get_cases(api_name: str, only_diff: bool, original_csv: str):
4646
last_col = float(row[-1]) if row[-1].strip() else 0
4747
second_last_col = float(row[-2]) if row[-2].strip() else 0
4848
outs.append(row[2].replace('""', '"'))
49-
outfile.write("\n".join(outs))
49+
outfile.write("\n".join(set(outs)))
5050

5151

5252
@app.command()
5353
def get_cases(
5454
api_names: list[str],
55-
only_diff: bool = True,
55+
only_diff: bool = False,
5656
config_path: Path = Path("TotalStableFull.csv"),
5757
):
5858
for api_name in api_names:

0 commit comments

Comments
 (0)