Commit 0e58f3ac by Alexander Kryklia

Merge pull request #439 from edx/alex/fix_code_jail_imports_and_draganddrop_yaml

Fixes code_jail imports and draganddrop yaml
parents 37dc27ce 67f6d6c4
...@@ -20,22 +20,22 @@ data: | ...@@ -20,22 +20,22 @@ data: |
<draggable id="11" label="few"/> <draggable id="11" label="few"/>
</drag_and_drop_input> </drag_and_drop_input>
<answer type="loncapa/python"> <answer type="loncapa/python">
correct_answer = { correct_answer = {
'1': [[70, 150], 121], '1': [[70, 150], 121],
'6': [[190, 150], 121], '6': [[190, 150], 121],
'8': [[190, 150], 121], '8': [[190, 150], 121],
'2': [[310, 150], 121], '2': [[310, 150], 121],
'9': [[310, 150], 121], '9': [[310, 150], 121],
'11': [[310, 150], 121], '11': [[310, 150], 121],
'4': [[420, 150], 121], '4': [[420, 150], 121],
'7': [[420, 150], 121], '7': [[420, 150], 121],
'3': [[550, 150], 121], '3': [[550, 150], 121],
'5': [[550, 150], 121], '5': [[550, 150], 121],
'10': [[550, 150], 121]} '10': [[550, 150], 121]}
if draganddrop.grade(submission[0], correct_answer): if draganddrop.grade(submission[0], correct_answer):
correct = ['correct'] correct = ['correct']
else: else:
correct = ['incorrect'] correct = ['incorrect']
</answer> </answer>
</customresponse> </customresponse>
</problem> </problem>
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
-e common/lib/calc -e common/lib/calc
-e common/lib/capa -e common/lib/capa
-e common/lib/chem -e common/lib/chem
-e common/lib/sandbox-packages
-e common/lib/symmath -e common/lib/symmath
-e common/lib/xmodule -e common/lib/xmodule
-e . -e .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment