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
8dd02c7e
Commit
8dd02c7e
authored
Jan 03, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/cas/speed-editor' of github.com:MITx/mitx into feature/cas/speed-editor
parents
f443c66b
d1124357
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
common/lib/xmodule/xmodule/capa_module.py
+2
-0
common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml
+13
-0
No files found.
common/lib/xmodule/xmodule/capa_module.py
View file @
8dd02c7e
...
...
@@ -658,6 +658,8 @@ class CapaDescriptor(RawDescriptor):
# TODO (vshnayder): do problems have any other metadata? Do they
# actually use type and points?
metadata_attributes
=
RawDescriptor
.
metadata_attributes
+
(
'type'
,
'points'
)
system_metadata_fields
=
RawDescriptor
.
system_metadata_fields
+
[
'markdown'
]
def
get_context
(
self
):
_context
=
RawDescriptor
.
get_context
(
self
)
...
...
common/lib/xmodule/xmodule/templates/problem/numericalresponse.yaml
View file @
8dd02c7e
...
...
@@ -3,6 +3,19 @@ metadata:
display_name
:
Numerical Response
rerandomize
:
never
showanswer
:
always
markdown
:
"
A
numerical
response
problem
accepts
a
line
of
text
input
from
the
student,
and
evaluates
the
input
for
correctness
based
on
its
numerical
value.
The
answer
is
correct
if
it
is
within
a
specified
numerical
tolerance
of
the
expected
answer.
Enter
the
numerical
value
of
Pi:
=
3.14159
+-
.02
Enter
the
approximate
value
of
502*9:
=
4518
+-
15%
Enter
the
number
of
fingers
on
a
human
hand:
=
5
+-
0
"
data
:
|
<problem>
<p>
...
...
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