dlai-grader 1.21.3__tar.gz → 1.22.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dlai-grader might be problematic. Click here for more details.
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/PKG-INFO +1 -1
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/__init__.py +1 -1
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/compiler.py +2 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/grading.py +2 -3
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/PKG-INFO +1 -1
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/setup.py +1 -1
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/LICENSE +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/README.md +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/cli.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/config.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/io.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/notebook.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/py.typed +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/templates.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader/types.py +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/SOURCES.txt +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/dependency_links.txt +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/entry_points.txt +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/requires.txt +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/dlai_grader.egg-info/top_level.txt +0 -0
- {dlai_grader-1.21.3 → dlai_grader-1.22.0}/setup.cfg +0 -0
|
@@ -48,6 +48,8 @@ def compile_partial_module(
|
|
|
48
48
|
notebook (NotebookNode): Notebook from learner.
|
|
49
49
|
module_name (str): Name of the module.
|
|
50
50
|
verbose (bool): Whether to print out streams as a result of compilation. Defaults to True.
|
|
51
|
+
exit_on_error (bool): Whether to stop compilation if an exception is found. Defaults to False.
|
|
52
|
+
debug_mode (bool): Whether to print out cells where exceptions occurred. Defaults to False.
|
|
51
53
|
Returns:
|
|
52
54
|
ModuleType: The actual module that can be used to call functions/variables/etc.
|
|
53
55
|
"""
|
|
@@ -146,8 +146,7 @@ def graded_obj_missing(test_cases: List[test_case]) -> bool:
|
|
|
146
146
|
Returns:
|
|
147
147
|
bool: True if object is missing. False otherwise.
|
|
148
148
|
"""
|
|
149
|
-
if len(test_cases) == 1:
|
|
150
|
-
|
|
151
|
-
return True
|
|
149
|
+
if len(test_cases) == 1 and test_cases[0].got == type(None):
|
|
150
|
+
return True
|
|
152
151
|
|
|
153
152
|
return False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|