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
203b1176
Commit
203b1176
authored
Aug 08, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't check for ETA, or check peer grading data in self assessment
parent
3667fe8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
+1
-7
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
+1
-2
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
+0
-5
No files found.
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
View file @
203b1176
...
...
@@ -649,7 +649,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
# add new history element with answer and empty score and hint.
success
,
data
=
self
.
append_image_to_student_answer
(
data
)
error_message
=
""
if
success
:
success
,
allowed_to_submit
,
error_message
=
self
.
check_if_student_can_submit
()
if
allowed_to_submit
:
...
...
@@ -698,7 +697,7 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
score
=
self
.
latest_score
()
correct
=
'correct'
if
self
.
is_submission_correct
(
score
)
else
'incorrect'
if
self
.
child_state
==
self
.
ASSESSING
:
eta_string
=
self
.
get_eta
()
eta_string
=
""
else
:
post_assessment
=
""
correct
=
""
...
...
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
View file @
203b1176
...
...
@@ -184,15 +184,10 @@ class SelfAssessmentModule(openendedchild.OpenEndedChild):
# add new history element with answer and empty score and hint.
success
,
data
=
self
.
append_image_to_student_answer
(
data
)
if
success
:
success
,
allowed_to_submit
,
error_message
=
self
.
check_if_student_can_submit
()
if
allowed_to_submit
:
data
[
'student_answer'
]
=
SelfAssessmentModule
.
sanitize_html
(
data
[
'student_answer'
])
self
.
new_history_entry
(
data
[
'student_answer'
])
self
.
change_state
(
self
.
ASSESSING
)
else
:
# Error message already defined
success
=
False
else
:
# This is a student_facing_error
error_message
=
"There was a problem saving the image in your submission. Please try a different image, or try pasting a link to an image into the answer box."
...
...
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