Skip to content
Snippets Groups Projects
Commit d62ba377 authored by tuhe's avatar tuhe
Browse files

Updated docs to include description of Autolab

parent afa3d54e
Branches
No related tags found
No related merge requests found
......@@ -25,6 +25,17 @@ if __name__ == "__main__":
from jinjafy.bibliography_maker import make_bibliography
bib = make_bibliography("../setup.py", "./")
from unitgrade.utils import Capturing, Capturing2
import os
import subprocess
# with Capturing2() as c:
out = subprocess.check_output("cd ../examples/example_framework/instructor && python -m cs102.report2_grade", shell=True)
out = out.decode("utf-8")
with open("snips/deploy.txt", 'w') as f:
f.write(out)
# os.system("cd ../examples/example_framework/instructor && python -m cs102.report2_grade")
data['bibtex'] = bib
data = {**data, **dump_data("../examples")}
......
......@@ -3,18 +3,27 @@
| | | |_ __ _| |_| | \/_ __ __ _ __| | ___
| | | | '_ \| | __| | __| '__/ _` |/ _` |/ _ \
| |_| | | | | | |_| |_\ \ | | (_| | (_| | __/
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.5, started: 16/09/2021 17:42:18
CS 101 Report 2 (use --help for options)
Question 1: Week1
* q1.1) test_add...................................................................................................PASS
* q1.2) test_reverse...............................................................................................PASS
* q1.3) test_output_capture........................................................................................PASS
* q1) Total.................................................................................................... 10/10
Question 2: The same problem as before with nicer titles
* q2.1) Test the addition method add(a,b)..........................................................................PASS
* q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]............................................................PASS
* q2) Total...................................................................................................... 8/8
Total points at 17:42:18 (0 minutes, 0 seconds)....................................................................18/18
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.17, started: 20/09/2021 18:56:39

CS 102 Report 2 
Question 1: Week1 Question 1: Week1: 0%| | [00:00<?]  Question 1: Week1 
 * q1.1) test_add: 0%| | [00:00<?]   * q1.1) test_add...................................................................................................PASS
 * q1.2) test_reverse: 0%| | [00:00<?]   * q1.2) test_reverse...............................................................................................PASS
 * q1.3) test_output_capture: 0%| | [00:00<?]   * q1.3) test_output_capture........................................................................................PASS
 * q1) Total.................................................................................................... 10/10
 
Question 2: The same problem as before with nicer titles Question 2: The same problem as before with nicer titles: 0%| | [00:00<?]  Question 2: The same problem as before with nicer titles 
 * q2.1) Test the addition method add(a,b): 0%| | [00:00<?]   * q2.1) Test the addition method add(a,b)..........................................................................PASS
 * q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]: 0%| | [00:00<?]   * q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]............................................................PASS
 * q2) Total...................................................................................................... 6/6
 
Total points at 18:56:39 (0 minutes, 0 seconds)....................................................................16/16

Including files in upload...
 * cs102
> Testing token file integrity...
Done!
 
To get credit for your results, please upload the single unmodified file: 
> C:\Users\tuhe\Documents\unitgrade_private\examples\example_framework\instructor\cs102\Report2_handin_16_of_16.token

\ No newline at end of file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment