Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c40ab310
Commit
c40ab310
authored
Mar 12, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blank line fixes
parent
554cb752
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_rubric.py
+0
-8
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
+0
-3
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
+0
-3
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
+0
-2
No files found.
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_rubric.py
View file @
c40ab310
...
...
@@ -133,7 +133,6 @@ class CombinedOpenEndedRubric(object):
categories
.
append
(
self
.
extract_category
(
category
))
return
categories
def
extract_category
(
self
,
category
):
'''
construct an individual category
...
...
@@ -235,7 +234,6 @@ class CombinedOpenEndedRubric(object):
})
return
html
@staticmethod
def
validate_options
(
options
):
'''
...
...
@@ -328,9 +326,3 @@ class CombinedOpenEndedRubric(object):
tuples
.
append
([
0
,
category
,
score
,
[],
[]])
tup_ind
=
len
(
tuples
)
-
1
return
tuples
,
tup_ind
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
View file @
c40ab310
...
...
@@ -77,7 +77,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
self
.
send_to_grader
(
self
.
latest_answer
(),
system
)
self
.
created
=
False
def
_parse
(
self
,
oeparam
,
prompt
,
rubric
,
system
):
'''
Parse OpenEndedResponse XML:
...
...
@@ -270,7 +269,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
return
True
def
get_answers
(
self
):
"""
Gets and shows the answer for this problem.
...
...
@@ -415,7 +413,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
return
feedback_template
,
rubric_scores
def
_parse_score_msg
(
self
,
score_msg
,
system
,
join_feedback
=
True
):
"""
Grader reply is a JSON-dump of the following dict
...
...
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
View file @
c40ab310
...
...
@@ -490,6 +490,3 @@ class OpenEndedChild(object):
eta_string
=
""
return
eta_string
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
View file @
c40ab310
...
...
@@ -73,7 +73,6 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
html
=
system
.
render_template
(
'{0}/self_assessment_prompt.html'
.
format
(
self
.
TEMPLATE_DIR
),
context
)
return
html
def
handle_ajax
(
self
,
dispatch
,
get
,
system
):
"""
This is called by courseware.module_render, to handle an AJAX call.
...
...
@@ -159,7 +158,6 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
return
system
.
render_template
(
'{0}/self_assessment_hint.html'
.
format
(
self
.
TEMPLATE_DIR
),
context
)
def
save_answer
(
self
,
get
,
system
):
"""
After the answer is submitted, show the rubric.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment