COSC1127-AI / pacman-contest-cluster

Script to run the Conquer The Flag PACMAN contest
http://ai.berkeley.edu/contest.html
Apache License 2.0
19 stars 4 forks source link

Update upload_file code #99

Closed ssardina closed 3 years ago

ssardina commented 3 years ago

I think we should not remove this facility as some users may not have sufficient hosting space.

But we can update the source for this update_file function in contest_runner.py:

ssardina commented 3 years ago

Have done several formatted strings but we can keep doing that incrementally.

The os. calls could remain like that because we really do not need the output of those proceses.

Finally, we should do tar outside, not in Python, because it is much faster (written in C, rather than in Python).

So, we can close this issue now..