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
949f638d
Commit
949f638d
authored
Sep 26, 2012
by
Lyla Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added several problem types
parent
3449a742
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
3 additions
and
8 deletions
+3
-8
common/lib/xmodule/xmodule/capa_module.py
+1
-2
common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml
+0
-0
common/lib/xmodule/xmodule/templates/problem/customgrader.yaml
+1
-3
common/lib/xmodule/xmodule/templates/problem/forumularesponse.yaml
+1
-3
common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml
+0
-0
common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml
+0
-0
common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml
+0
-0
common/lib/xmodule/xmodule/templates/problem/string_response.yaml
+0
-0
No files found.
common/lib/xmodule/xmodule/capa_module.py
View file @
949f638d
...
...
@@ -638,14 +638,13 @@ class CapaDescriptor(RawDescriptor):
stores_state
=
True
has_score
=
True
template_dir_name
=
'problem'
# Capa modules have some additional metadata:
# TODO (vshnayder): do problems have any other metadata? Do they
# actually use type and points?
metadata_attributes
=
RawDescriptor
.
metadata_attributes
+
(
'type'
,
'points'
)
template_dir_name
=
'problem'
# VS[compat]
# TODO (cpennington): Delete this method once all fall 2012 course are being
# edited in the cms
...
...
common/lib/xmodule/xmodule/templates/problem/circuitschematic.yaml
View file @
949f638d
common/lib/xmodule/xmodule/templates/problem/customgrader.yaml
View file @
949f638d
...
...
@@ -12,9 +12,7 @@ data: |
python script embedded within the problem.
</p>
<script type="loncapa/python">
def test_add(expect,ans)
:
<script type="loncapa/python">def test_add(expect,ans):
(a1,a2) = map(float,ans)
return (a1+a2)==10
...
...
common/lib/xmodule/xmodule/templates/problem/forumularesponse.yaml
View file @
949f638d
...
...
@@ -21,9 +21,7 @@ data: |
on the problem author to specify the allowed variables in the expression, and the
numerical ranges over which the variables must be sampled to test for correctness.</p>
<script type="loncapa/python">
I = "m*c^2"
</script>
<script type="loncapa/python">I = "m*c^2"</script>
<text>
<br/>
...
...
common/lib/xmodule/xmodule/templates/problem/imageresponse.yaml
View file @
949f638d
common/lib/xmodule/xmodule/templates/problem/multiplechoice.yaml
View file @
949f638d
common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml
View file @
949f638d
common/lib/xmodule/xmodule/templates/problem/string_response.yaml
View file @
949f638d
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