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

Fixed bugs relating to version change (unitgrade_private2 -> unitgrade_private)

parent 8428cdb4
No related branches found
No related tags found
No related merge requests found
Showing
with 26 additions and 22 deletions
"""
Example student code. This file is automatically generated from the files in the instructor-directory
"""
from src.unitgrade.unitgrade import UTestCase, Report
from src.unitgrade.framework import UTestCase, Report
from src.unitgrade import evaluate_report_student
class Week1(UTestCase):
......
......@@ -18,6 +18,8 @@ if __name__ == "__main__":
import jinja2
snip_dir("../examples", output_dir="./snips")
snip_dir("samples", output_dir="./snips")
data = dump_data("./snips")
from jinjafy.bibliography_maker import make_bibliography
......
# from unitgrade_v1.unitgrade_v1 import QuestionGroup, Report, QPrintItem
# from unitgrade_v1.unitgrade_helpers import evaluate_report_student
from src.unitgrade.unitgrade import UTestCase, cache
from src.unitgrade.framework import UTestCase, cache
from unittest import TestCase
# from unitgrade.unitgrade import cache
from src.unitgrade.unitgrade import hide
from src.unitgrade.framework import hide
import random
from cs202courseware.homework1 import my_sum
......@@ -80,7 +80,7 @@ class ListQuestion(UTestCase):
""" ccc test_integers-short """
self.assertEqual(2,2)
from src.unitgrade.unitgrade import Report
from src.unitgrade.framework import Report
class Report1(Report):
title = "CS 202 Report 1"
......
This diff is collapsed.
# from unitgrade_v1.unitgrade_v1 import QuestionGroup, Report, QPrintItem
# from unitgrade_v1.unitgrade_helpers import evaluate_report_student
from src.unitgrade.unitgrade import UTestCase, cache
from src.unitgrade.framework import UTestCase, cache
# from unitgrade.unitgrade import cache
from src.unitgrade.unitgrade import methodsWithDecorator, hide
from src.unitgrade.framework import methodsWithDecorator, hide
......@@ -54,7 +54,7 @@ class ListQuestion(UTestCase):
""" ccc test_integers-short """
self.assertEqual(2,2)
from src.unitgrade.unitgrade import Report
from src.unitgrade.framework import Report
class Report1(Report):
title = "CS 202 Report 1"
......
from unitgrade_v1.unitgrade_helpers import evaluate_report
from unitgrade.evaluate import evaluate_report
from tabulate import tabulate
from datetime import datetime
import inspect
......@@ -7,7 +7,7 @@ import os
import bz2
import pickle
import os
import unitgrade_v1.unitgrade_helpers
import unitgrade.evaluate
def bzwrite(json_str, token): # to get around obfuscation issues
......
# Deploy cs102.
from unitgrade.unitgrade import Report, UTestCase, cache
from unitgrade.unitgrade_helpers import evaluate_report_student
from unitgrade.framework import Report, UTestCase, cache
from unitgrade.evaluate import evaluate_report_student
import numpy as np
import looping
from looping import bacteriaGrowth, clusterAnalysis, removeIncomplete, fermentationRate
......
This diff is collapsed.
from unitgrade.unitgrade import Report, UTestCase, cache
from unitgrade.unitgrade_helpers import evaluate_report_student
from unitgrade.framework import Report, UTestCase, cache
from unitgrade.evaluate import evaluate_report_student
import numpy as np
import looping
from looping import bacteriaGrowth, clusterAnalysis, removeIncomplete, fermentationRate
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment