Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 4, 2023
1 parent 87f53ea commit 79e6a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llm/test/compute_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_diff(file1, file2):

diff_rate = f"{diff_lines}/{total_lines}"
if diff_lines == 0:
is_diff = 1
else:
is_diff = 0
else:
is_diff = 1
return is_diff, diff_rate

0 comments on commit 79e6a1e

Please sign in to comment.