Skip to content

Commit

Permalink
Fix row header
Browse files Browse the repository at this point in the history
  • Loading branch information
cuom1999 committed Feb 14, 2025
1 parent 4d4b282 commit 1060056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/management/commands/generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def gen_submissions():
with open(os.path.join(settings.ML_DATA_PATH, "submissions.csv"), "w") as csvfile:
f = csv.writer(csvfile)
# Write headers
f.writerow(["user_id", "problem_id"])
f.writerow(["uid", "pid"])

# Write rows from the dictionary
for (user_id, problem_id), submission in submissions_dict.items():
Expand Down

0 comments on commit 1060056

Please sign in to comment.