Skip to content

Commit

Permalink
Prints currently running job name
Browse files Browse the repository at this point in the history
Prints job name before running code to determine source of timeouts (through Gradescope SSH).
  • Loading branch information
jchen authored Nov 30, 2021
1 parent 04869ec commit eca3cc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run_autograder.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def run(code_path, test_path, common_dir):
job_name = f"{basename(code_path)};{basename(test_path)}"
job_path = f"{RESULTS}/{job_name}"
os.mkdir(job_path)

# Prints out currently running job name
print(job_name)

# Copy tests into the job directory
copied_test_path = f"{job_path}/tests.arr"
Expand Down

0 comments on commit eca3cc0

Please sign in to comment.