You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
440 B
21 lines
440 B
#!/usr/bin/env bash
|
|
|
|
mkdir -p /autograder/results/
|
|
|
|
cd /data
|
|
mongod > /dev/null 2>&1 &
|
|
cd -
|
|
|
|
python3 /autograder/source/autograder.py
|
|
|
|
# files_submitted=$(ls /autograder/submission)
|
|
# num_files_submitted=$(ls /autograder/submission/ | wc -l)
|
|
|
|
# cat > /autograder/results/results.json <<EOF
|
|
# {
|
|
# "output": "Good job, you passed! Submitted ${num_files_submitted} files: ${files_submitted}",
|
|
# "score": 10,
|
|
# "max_score": 10
|
|
# }
|
|
# EOF
|