'result':'We already had this hint. We gave it an upvote'}
'result':'We already had this hint. We gave it an upvote'}
...
@@ -376,7 +377,7 @@ class CrowdsourceHinter(XBlock):
...
@@ -376,7 +377,7 @@ class CrowdsourceHinter(XBlock):
"""
"""
<verticaldemo>
<verticaldemo>
<crowdsourcehinter>
<crowdsourcehinter>
{"generic_hints": "Make sure to check for basic mistakes like typos", "initial_hints": {"michiganp": "remove the p at the end.", "michigann": "too many Ns on there."}, "hinting_element": "i4x://edX/DemoX/problem/Text_Input"}
{"generic_hints": "Make sure to check for basic mistakes like typos", "initial_hints": {"michiganp": "remove the p at the end.", "michigann": "too many Ns on there."}, "target_problem": "i4x://edX/DemoX/problem/Text_Input"}
</crowdsourcehinter>
</crowdsourcehinter>
</verticaldemo>""")
</verticaldemo>""")
]
]
...
@@ -387,11 +388,14 @@ class CrowdsourceHinter(XBlock):
...
@@ -387,11 +388,14 @@ class CrowdsourceHinter(XBlock):