Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crowdsourcehinter
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
OpenEdx
crowdsourcehinter
Commits
330a96c5
Commit
330a96c5
authored
Feb 13, 2015
by
solashirai
Committed by
Piotr Mitros
Oct 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed problem_graded to problem_check
parent
839f772f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
crowdsourcehinter/crowdsourcehinter.py
+1
-1
crowdsourcehinter/static/js/src/crowdsourcehinter.js
+2
-1
crowdsourcehinter_xblock.egg-info/SOURCES.txt
+0
-3
No files found.
crowdsourcehinter/crowdsourcehinter.py
View file @
330a96c5
...
...
@@ -38,7 +38,7 @@ class CrowdsourceHinter(XBlock):
# particular incorrect answer)
#
# Example: ["Make sure to check your answer for simple mistakes, like spelling or spaces!"]
generic_hints
=
List
(
default
=
[],
scope
=
Scope
.
content
)
generic_hints
=
List
(
default
=
[
"check for simple mistakes like typos"
],
scope
=
Scope
.
content
)
# List of which hints have been shown to the student
# this list is used to prevent the same hint from showing up to a student (if they submit the same incorrect answers
# multiple times)
...
...
crowdsourcehinter/static/js/src/crowdsourcehinter.js
View file @
330a96c5
function
CrowdsourceHinter
(
runtime
,
element
){
//executeHinter is used to disable the hinter after switching units in an edX course
//If the code is not made to stop running, the hinter will act up after switching from and back to
...
...
@@ -24,7 +25,7 @@ function CrowdsourceHinter(runtime, element){
function
get_event_data
(
event_type
,
data
,
element
){
onStudentSubmission
(
data
);
}
Logger
.
listen
(
'problem_
graded
'
,
null
,
get_event_data
);
Logger
.
listen
(
'problem_
check
'
,
null
,
get_event_data
);
function
onStudentSubmission
(
problem_graded_event_data
){
//This function will determine whether or not the student correctly answered the question.
...
...
crowdsourcehinter_xblock.egg-info/SOURCES.txt
View file @
330a96c5
...
...
@@ -4,12 +4,9 @@ crowdsourcehinter/crowdsourcehinter.py
crowdsourcehinter/public/3rdParty/mustache.js
crowdsourcehinter/static/README.txt
crowdsourcehinter/static/css/crowdsourcehinter.css
crowdsourcehinter/static/css/crowdsourcehinter.css~
crowdsourcehinter/static/html/crowdsourcehinter.html
crowdsourcehinter/static/html/crowdsourcehinter.html~
crowdsourcehinter/static/html/crowdsourcehinterstudio.html
crowdsourcehinter/static/js/src/crowdsourcehinter.js
crowdsourcehinter/static/js/src/crowdsourcehinter.js~
crowdsourcehinter_xblock.egg-info/PKG-INFO
crowdsourcehinter_xblock.egg-info/SOURCES.txt
crowdsourcehinter_xblock.egg-info/dependency_links.txt
...
...
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