Merge branch 'feature/cas/speed-editor' of github.com:MITx/mitx into feature/cas/speed-editor
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user