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

unitgrade private

parent 9e100df5
No related branches found
No related tags found
No related merge requests found
Showing
with 10 additions and 7 deletions
...@@ -59,10 +59,9 @@ class Question2(UTestCase): #!s=c ...@@ -59,10 +59,9 @@ class Question2(UTestCase): #!s=c
self.assertEqualC(reverse_list(ls)) # This will actually test the students code. self.assertEqualC(reverse_list(ls)) # This will actually test the students code.
return "Buy world!" # This value will be stored in the .token file #!s=c return "Buy world!" # This value will be stored in the .token file #!s=c
class Report2(Report): class Report2(Report):
version = 1.0 version = 1
url = "https://gitlab.compute.dtu.dk/tuhe/unitgrade_private/-/tree/master/examples/autolab_example_py_upload/instructor/cs102_autolab" # url = "https://gitlab.compute.dtu.dk/tuhe/unitgrade_private/-/tree/master/examples/autolab_example_py_upload/instructor/cs102_autolab"
title = "CS 106a" title = "CS 106a"
questions = [(Week1, 10), (Week1Titles, 6), (Question2, 10)] questions = [(Week1, 10), (Week1Titles, 6), (Question2, 10)]
pack_imports = [homework1] pack_imports = [homework1]
......
1653778007.6430795
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -61,6 +61,8 @@ class Question2(UTestCase): ...@@ -61,6 +61,8 @@ class Question2(UTestCase):
class Report2(Report): class Report2(Report):
version = 1
# url = "https://gitlab.compute.dtu.dk/tuhe/unitgrade_private/-/tree/master/examples/autolab_example_py_upload/instructor/cs102_autolab"
title = "CS 106a" title = "CS 106a"
questions = [(Week1, 10), (Week1Titles, 6), (Question2, 10)] questions = [(Week1, 10), (Week1Titles, 6), (Question2, 10)]
pack_imports = [homework1] pack_imports = [homework1]
......
1653778007.6430795
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -12,8 +12,8 @@ if __name__ == "__main__": ...@@ -12,8 +12,8 @@ if __name__ == "__main__":
from unitgrade_private import load_token from unitgrade_private import load_token
# data, _ = load_token("../example_framework/instructor/cs102/Report2_handin_18_of_18.token") # data, _ = load_token("../example_framework/instructor/cs102/Report2_handin_18_of_18.token")
data, _ = load_token("../example_framework/students/cs102/Report2_handin_3_of_16.token") # data, _ = load_token("../example_framework/students/cs102/Report2_handin_3_of_16.token")
format_autolab_json(data, indent=2) # format_autolab_json(data, indent=2)
download_docker_images("./docker") download_docker_images("./docker")
autograde_image = 'tango_python_tue' autograde_image = 'tango_python_tue'
...@@ -30,4 +30,4 @@ if __name__ == "__main__": ...@@ -30,4 +30,4 @@ if __name__ == "__main__":
from unitgrade_private.docker_helpers import compile_docker_image from unitgrade_private.docker_helpers import compile_docker_image
compile_docker_image(Dockerfile=dockerfile, tag=autograde_image) # Make sure docker grading image is up-to-date. compile_docker_image(Dockerfile=dockerfile, tag=autograde_image) # Make sure docker grading image is up-to-date.
compile_docker_image(Dockerfile=dockerfile, tag=autograde_image) # Make sure docker grading image is up-to-date. # compile_docker_image(Dockerfile=dockerfile, tag=autograde_image) # Make sure docker grading image is up-to-date.
\ No newline at end of file \ 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