Commit aae5758a by Felix Sun

Edited text of crowdsourced hinter template to Piotr's suggestions. Added some…

Edited text of crowdsourced hinter template to Piotr's suggestions.  Added some HTML formatting to same.
parent 970a7f09
...@@ -34,6 +34,13 @@ class @Hinter ...@@ -34,6 +34,13 @@ class @Hinter
@$('input.submit-hint').click @submit_hint @$('input.submit-hint').click @submit_hint
@$('.custom-hint').click @clear_default_text @$('.custom-hint').click @clear_default_text
@$('#answer-tabs').tabs({active: 0}) @$('#answer-tabs').tabs({active: 0})
@$('.expand-goodhint').click @expand_goodhint
expand_goodhint: =>
if @$('.goodhint').css('display') == 'none'
@$('.goodhint').css('display', 'block')
else
@$('.goodhint').css('display', 'none')
vote: (eventObj) => vote: (eventObj) =>
target = @$(eventObj.currentTarget) target = @$(eventObj.currentTarget)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<%def name="get_hint()"> <%def name="get_hint()">
% if best_hint != '': % if best_hint != '':
<h4> Other students who arrived at the wrong answer of ${answer} recommend the following hints: </h4> <h4> Hints from students who made similar mistakes: </h4>
<ul> <ul>
<li> ${best_hint} </li> <li> ${best_hint} </li>
% endif % endif
...@@ -65,11 +65,12 @@ ...@@ -65,11 +65,12 @@
</style> </style>
<p>
<i> Participation in the hinting system is strictly optional, and will not influence <i> Participation in the hinting system is strictly optional, and will not influence
your grade. </i> your grade. </i>
<br /> <br />
Help us improve our hinting system. Start by picking one of your previous incorrect answers from below: Help your classmates by writing hints for this problem. Start by picking one of your previous incorrect answers from below:
<br /><br /> </p>
<div id="answer-tabs"> <div id="answer-tabs">
<ul> <ul>
...@@ -82,19 +83,54 @@ ...@@ -82,19 +83,54 @@
<div class = "previous-answer" id="previous-answer-${index}"> <div class = "previous-answer" id="previous-answer-${index}">
<div class = "hint-inner-container"> <div class = "hint-inner-container">
% if index in index_to_hints and len(index_to_hints[index]) > 0: % if index in index_to_hints and len(index_to_hints[index]) > 0:
Which hint was most helpful when you got the wrong answer of ${answer}? <p>
<br /> Which hint would be most effective to show a student who also got ${answer}?
</p>
% for hint_text, hint_pk in index_to_hints[index]: % for hint_text, hint_pk in index_to_hints[index]:
<p>
<input class="vote" data-answer="${index}" data-hintno="${hint_pk}" type="button" value="Vote"> <input class="vote" data-answer="${index}" data-hintno="${hint_pk}" type="button" value="Vote">
${hint_text} ${hint_text}
<br /> </p>
% endfor % endfor
<p>
Don't like any of the hints above? You can also submit your own. Don't like any of the hints above? You can also submit your own.
% else: % else:
Write a hint for other students who get the wrong answer of ${answer}. <p>
% endif % endif
Try to describe what concepts you misunderstood, or what mistake you made. Please don't What hint would you give a student who made the same mistake you did? Please don't give away the answer.
give away the answer. Read about <a class="expand-goodhint" href="javascript:;">what makes a good hint</a>.
</p>
<div class="goodhint" style="display:none">
<h4>What makes a good hint?</h4>
<p>It depends on the type of problem you ran into. For stupid errors --
an arithmetic error or similar -- simply letting the student you'll be
helping to check their signs is sufficient.</p>
<p>For deeper errors of understanding, the best hints allow students to
discover a contradiction in how they are thinking about the
problem. An example that clearly demonstrates inconsistency or
<a href="http://en.wikipedia.org/wiki/Cognitive_dissonance" target="_blank"> cognitive dissonace </a>
is ideal, although in most cases, not possible.</p>
<p>
Good hints either:
<ul>
<li> Point out the specific misunderstanding your classmate might have </li>
<li> Point to concepts or theories where your classmates might have a
misunderstanding </li>
<li> Show simpler, analogous examples. </li>
<li> Provide references to relevant parts of the text </li>
</ul>
</p>
<p>Still, remember even a crude hint -- virtually anything short of
giving away the answer -- is better than no hint.</p>
<p>
<a href="http://www.apa.org/education/k12/misconceptions.aspx?item=2" target="_blank">Learn even more</a>
</p>
</div>
<textarea cols="50" style="height:100px" class="custom-hint" id="custom-hint-${index}"> <textarea cols="50" style="height:100px" class="custom-hint" id="custom-hint-${index}">
What would you say to help someone who got this wrong answer? What would you say to help someone who got this wrong answer?
(Don't give away the answer, please.) (Don't give away the answer, please.)
......
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