## The hinter module passes in a field called ${op}, which determines which ## sub-function to render. <%def name="get_hint()"> % if best_hint != '':

Hints from students who made similar mistakes:

<%def name="get_feedback()">

Participation in the hinting system is strictly optional, and will not influence your grade.

Help your classmates by writing hints for this problem. Start by picking one of your previous incorrect answers from below:

% for index, answer in index_to_answer.items():
% if index in index_to_hints and len(index_to_hints[index]) > 0:

Which hint would be most effective to show a student who also got ${answer}?

% for hint_text, hint_pk in index_to_hints[index]:

${hint_text}

% endfor

Don't like any of the hints above? You can also submit your own.

% endif

What hint would you give a student who made the same mistake you did? Please don't give away the answer.



% endfor

Read about what makes a good hint.

<%def name="show_votes()"> Thank you for voting!
% for hint, votes in hint_and_votes: ${votes} votes. ${hint}
% endfor <%def name="simple_message()"> ${message} % if op == "get_hint": ${get_hint()} % endif % if op == "get_feedback": ${get_feedback()} % endif % if op == "submit_hint": ${simple_message()} % endif % if op == "vote": ${show_votes()} % endif