Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Unitgrade
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tuhe
Unitgrade
Commits
82b23944
Commit
82b23944
authored
2 years ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
Unitgrade verbose option
parent
6b8b30f2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.idea/unitgrade.iml
+6
-1
6 additions, 1 deletion
.idea/unitgrade.iml
.idea/workspace.xml
+8
-9
8 additions, 9 deletions
.idea/workspace.xml
src/unitgrade/framework.py
+2
-2
2 additions, 2 deletions
src/unitgrade/framework.py
src/unitgrade/version.py
+1
-1
1 addition, 1 deletion
src/unitgrade/version.py
with
17 additions
and
13 deletions
.idea/unitgrade.iml
+
6
−
1
View file @
82b23944
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<content
url=
"file://$MODULE_DIR$/../snipper"
>
<excludeFolder
url=
"file://$MODULE_DIR$/../snipper"
/>
</content>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src"
isTestSource=
"false"
/>
</content>
<content
url=
"file://$MODULE_DIR$/../unitgrade_private"
/>
<content
url=
"file://$MODULE_DIR$/../unitgrade_private"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
...
...
This diff is collapsed.
Click to expand it.
.idea/workspace.xml
+
8
−
9
View file @
82b23944
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"5c346737-53d8-4e87-88c5-7be2c8e7baeb"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"5c346737-53d8-4e87-88c5-7be2c8e7baeb"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/unitgrade.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/unitgrade.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cs101courseware_example/Report1_resources_do_not_hand_in.dat"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cs101courseware_example/Report1_resources_do_not_hand_in.dat"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/unitgrade/framework.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/unitgrade/framework.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cs101courseware_example/cs101report1_grade.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cs101courseware_example/cs101report1_grade.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/unitgrade/version.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/unitgrade/version.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cs101courseware_example/cs101report2_grade.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cs101courseware_example/cs101report2_grade.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/unitgrade/unitgrade_helpers.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/unitgrade/unitgrade_helpers.py"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -127,7 +126,7 @@
...
@@ -127,7 +126,7 @@
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"SHARE_PROJECT_CONFIGURATION_FILES"
value=
"true"
/>
<property
name=
"SHARE_PROJECT_CONFIGURATION_FILES"
value=
"true"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$
/../snipper
"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"com.jetbrains.python.configuration.PythonContentEntriesConfigurable"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"com.jetbrains.python.configuration.PythonContentEntriesConfigurable"
/>
...
@@ -270,11 +269,11 @@
...
@@ -270,11 +269,11 @@
</configuration>
</configuration>
<list>
<list>
<item
itemvalue=
"Python.cs101report1"
/>
<item
itemvalue=
"Python.cs101report1"
/>
<item
itemvalue=
"Python.submission_autograder"
/>
<item
itemvalue=
"Python.shopSmart"
/>
<item
itemvalue=
"Python.fruit_project"
/>
<item
itemvalue=
"Python.deploy_cs101"
/>
<item
itemvalue=
"Python.cs101report2"
/>
<item
itemvalue=
"Python.cs101report2"
/>
<item
itemvalue=
"Python.deploy_cs101"
/>
<item
itemvalue=
"Python.fruit_project"
/>
<item
itemvalue=
"Python.shopSmart"
/>
<item
itemvalue=
"Python.submission_autograder"
/>
</list>
</list>
<recent_temporary>
<recent_temporary>
<list>
<list>
...
...
This diff is collapsed.
Click to expand it.
src/unitgrade/framework.py
+
2
−
2
View file @
82b23944
...
@@ -89,7 +89,7 @@ class Report:
...
@@ -89,7 +89,7 @@ class Report:
total
=
time
.
time
()
-
start
total
=
time
.
time
()
-
start
q
.
time
=
total
q
.
time
=
total
def
_setup_answers
(
self
,
with_coverage
=
False
):
def
_setup_answers
(
self
,
with_coverage
=
False
,
verbose
=
True
):
if
with_coverage
:
if
with_coverage
:
for
q
,
_
in
self
.
questions
:
for
q
,
_
in
self
.
questions
:
q
.
_with_coverage
=
True
q
.
_with_coverage
=
True
...
@@ -98,7 +98,7 @@ class Report:
...
@@ -98,7 +98,7 @@ class Report:
q
.
_setup_answers_mode
=
True
q
.
_setup_answers_mode
=
True
from
unitgrade
import
evaluate_report_student
from
unitgrade
import
evaluate_report_student
evaluate_report_student
(
self
,
unmute
=
True
)
evaluate_report_student
(
self
,
unmute
=
True
,
noprogress
=
not
verbose
)
# self.main() # Run all tests in class just to get that out of the way...
# self.main() # Run all tests in class just to get that out of the way...
report_cache
=
{}
report_cache
=
{}
...
...
This diff is collapsed.
Click to expand it.
src/unitgrade/version.py
+
1
−
1
View file @
82b23944
__version__
=
"
0.1.23
"
__version__
=
"
0.1.24
"
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment