Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mickahell committed Aug 8, 2021
1 parent ab6da9e commit ce4d815
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion quantronauts/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ def stats(winner):
test = 1

if test == 0:
if winner == "robot":
robot_csv.append(1)
human_csv.append(0)
else:
robot_csv.append(0)
human_csv.append(1)
date_csv.append(date_day)
robot_csv.append(1)

csv_file = {'robot': robot_csv, 'human': human_csv, 'date': date_csv}
df = pd.DataFrame(csv_file)
Expand Down
3 changes: 3 additions & 0 deletions quantronauts/stats/qnim_results.csv
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
0,2,7-2021
0,2,6-2021
0,2,5-2021
0,2,8-2021

0 comments on commit ce4d815

Please sign in to comment.