<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JSalsman</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=JSalsman"/>
	<link rel="alternate" type="text/html" href="http://microformats.org/wiki/Special:Contributions/JSalsman"/>
	<updated>2026-04-23T21:17:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=User:JSalsman&amp;diff=42116</id>
		<title>User:JSalsman</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=User:JSalsman&amp;diff=42116"/>
		<updated>2010-03-05T17:16:19Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: email&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;working on [[gift]] for [http://strategy.wikimedia.org/wiki/Proposal:Assessment_content assessment content]&lt;br /&gt;
&lt;br /&gt;
jsalsman at talknicer dot com&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42115</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42115"/>
		<updated>2010-03-05T17:15:47Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Notes for further work */ clarify&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Format&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
=== Notes for further work ===&lt;br /&gt;
&lt;br /&gt;
The score-based computer adaptive testing process already implemented in Moodle may be much simpler and easier to re-implement than del Soldato and du Boulay's 1995 [[gift-syntax/dsd-tutor-rules|rules]] -- which require assessment of confidence (self-reported), effort (logging), and independence (frequency of help requests) instead of just scoring questions -- and [[gift-syntax/dsd-tutor-schema|this schema]] based on those rules and the ''Journal of Artificial Intelligence in Education'' article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article and [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories.&lt;br /&gt;
&lt;br /&gt;
; Please disregard posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42114</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42114"/>
		<updated>2010-03-05T15:55:31Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ Moodle has learner-adaptivity based on scores, but not confidence, effort, or independence&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Format&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
=== Notes for further work ===&lt;br /&gt;
&lt;br /&gt;
The adaptive assessment format in Moodle may be much simpler and easier to implement than del Soldato and du Boulay's 1995 [[gift-syntax/dsd-tutor-rules|rules]] -- which require assessment of confidence (self-reported), effort (logging), and independence (frequency of help requests) instead of just scoring questions -- and [[gift-syntax/dsd-tutor-schema|this schema]] based on those rules and the ''Journal of Artificial Intelligence in Education'' article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article and [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories.&lt;br /&gt;
&lt;br /&gt;
; Please disregard posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=42095</id>
		<title>gift-syntax/dsd-tutor-schema</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=42095"/>
		<updated>2010-03-02T22:18:47Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: eliminate piped link to less common nomenclature&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;; for [[GIFT]] quizes&lt;br /&gt;
&lt;br /&gt;
Based on del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Problem:&lt;br /&gt;
  description: text&lt;br /&gt;
  initial_steps: SET &amp;lt; answer, step &amp;gt; # enabled by default at problem onset&lt;br /&gt;
  similarity: LIST &amp;lt; problem, integer &amp;gt; # degree of similarity&lt;br /&gt;
    # intransitivities can be used for broader/narrower distinctions&lt;br /&gt;
  difficulty: LIST &amp;lt; problem, success_predictor_tried, success_pred_untried &amp;gt;&lt;br /&gt;
    # regression coefficients can be guessed apriori or derived from practice&lt;br /&gt;
  INSTANCE success: untried or [0..1] # partial credit&lt;br /&gt;
  assessments: SET &amp;lt; minimum_success, text &amp;gt;&lt;br /&gt;
    # the greatest assessment not exceeding success(problem) shown when needed&lt;br /&gt;
Answer:&lt;br /&gt;
  check: pattern # such as a regular expression describing an answer&lt;br /&gt;
    # In general, if more than one answer checks, perhaps more input is &lt;br /&gt;
    # needed to disambiguate.  If none is available, then the system &lt;br /&gt;
    # might just ask for specification.&lt;br /&gt;
  meaning: [ accomplishment | giveup | help | agree | disagree ]&lt;br /&gt;
    # I use &amp;quot;agree&amp;quot; and &amp;quot;disagree&amp;quot; instead of &amp;quot;positive&amp;quot; and &amp;quot;negative&amp;quot; here&lt;br /&gt;
  confidence: integer&lt;br /&gt;
    # in speech, confidence can be derived from prosody or relative loudness&lt;br /&gt;
Step:&lt;br /&gt;
  repetition_limit: posint&lt;br /&gt;
  enables: SET &amp;lt; answer, step &amp;gt; # this step is a prereq of these steps&lt;br /&gt;
  disables: SET step # this step precludes these steps&lt;br /&gt;
    # steps remain enabled unless they are explicitly disabled, I suppose&lt;br /&gt;
  success_level: [0..1] # assigned to success(problem)&lt;br /&gt;
  present_step_help: help&lt;br /&gt;
  next_step_help: LIST &amp;lt; step, help &amp;gt; # only enabled steps are helped with&lt;br /&gt;
  surprise_result: help&lt;br /&gt;
  INSTANCE repetitions: nonnegint&lt;br /&gt;
  INSTANCE previous: step # this could be a list for tracking cycles&lt;br /&gt;
  feedback: comment or content_type # custom or stock feedback&lt;br /&gt;
    # make sure this fits into the rules as designed&lt;br /&gt;
Help:&lt;br /&gt;
  general: text or macro script which may refer to problems or steps&lt;br /&gt;
    # macros allow referring to another problem only if it has been completed&lt;br /&gt;
  specific: text or macro script which may refer to problems or steps&lt;br /&gt;
    # specific help ought to be able to call a (simple) sub-problem&lt;br /&gt;
  INSTANCE acceptance: integer # the degree to which help was accepted&lt;br /&gt;
Comment:&lt;br /&gt;
  [ content-type: text ]  # may be omitted where they can be taken from stock.&lt;br /&gt;
    # Text here ought to allow variable substitution if not full-fledged macros.&lt;br /&gt;
    # Comments should also be added to provide reports to human instructors.&lt;br /&gt;
# more work needed for surprise_result, text/macro (HTML?), and set specification&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=42094</id>
		<title>gift-syntax/dsd-tutor-rules</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=42094"/>
		<updated>2010-03-02T22:18:04Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: eliminate redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;; for [[GIFT]] quizes&lt;br /&gt;
&lt;br /&gt;
Adapted and annotated from figures in del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# perfomance modeling - t6p355rP1-2&lt;br /&gt;
&lt;br /&gt;
Rule P1 -- perfomance model successful:&lt;br /&gt;
if agreements/completed &amp;gt; perf-threshold &lt;br /&gt;
  then perf-value = successful &lt;br /&gt;
Rule P2 -- perfomance model unsuccessful:&lt;br /&gt;
if agreements/completed &amp;lt;= perf-threshold &lt;br /&gt;
  then perf-value = unsuccessful &lt;br /&gt;
&lt;br /&gt;
# repitition testing - t6p355rP3-4&lt;br /&gt;
&lt;br /&gt;
Rule P3 -- path model lost:&lt;br /&gt;
if tries &amp;gt; step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = lost &lt;br /&gt;
Rule P4 -- path model OK:&lt;br /&gt;
if tries &amp;lt;= step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = OK &lt;br /&gt;
&lt;br /&gt;
# confidence modeling - t7p356rC1-2&lt;br /&gt;
&lt;br /&gt;
Rule C1: &lt;br /&gt;
if answer was low-confidence (either agree or disagree) &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
Rule C2: &lt;br /&gt;
if answer was high-confidence (either agree or disagree) &lt;br /&gt;
  then increment conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C3 -- decrease modeled confidence on help request:&lt;br /&gt;
if answer was help request &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C4: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and without help &lt;br /&gt;
    then increment conf-value by large-conf-inc&lt;br /&gt;
Rule C5: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and with help &lt;br /&gt;
    then increment conf-value &lt;br /&gt;
Rule C6: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and without help &lt;br /&gt;
    then decrement conf-value &lt;br /&gt;
Rule C7: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and with help &lt;br /&gt;
    then decrement conf-value by large-conf-dec&lt;br /&gt;
&lt;br /&gt;
# effort modeling - t8p357 (non-rule)&lt;br /&gt;
&lt;br /&gt;
if path-state = lost &lt;br /&gt;
  then effort-value = &amp;quot;medium&amp;quot; + 1&lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  then effort-value += 2&lt;br /&gt;
if help was asked for&lt;br /&gt;
  then effort-value += 1&lt;br /&gt;
&lt;br /&gt;
# independence modelling - t9p358rI1-I4&lt;br /&gt;
&lt;br /&gt;
Rule I1:&lt;br /&gt;
if help-state = suggesting &lt;br /&gt;
  then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I2:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = general&lt;br /&gt;
    then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I3:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = specific&lt;br /&gt;
    then decrement indep-value by large-indep-dec&lt;br /&gt;
&lt;br /&gt;
Rule I4:&lt;br /&gt;
if help-state = rejected &lt;br /&gt;
  then increment indep-value by large-indep-inc&lt;br /&gt;
&lt;br /&gt;
# domain-based planner rules - t10p359rD1-D7&lt;br /&gt;
&lt;br /&gt;
Rule D1:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  then provide right assessment; suggest harder problem&lt;br /&gt;
Rule D2:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  then provide wrong assessment; suggest same-diff problem&lt;br /&gt;
Rule D3:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
Rule D4:&lt;br /&gt;
if problem-state = rejected &lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
&lt;br /&gt;
Rule D5:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  then provide help &lt;br /&gt;
Rule D6:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then help not-needed&lt;br /&gt;
&lt;br /&gt;
Rule D7:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  then provide help&lt;br /&gt;
&lt;br /&gt;
# motivational planner rules - t11p360rM1-M20&lt;br /&gt;
&lt;br /&gt;
Rule M1:&lt;br /&gt;
if conf-value &amp;lt; conf-threshold &lt;br /&gt;
  then increase confidence       # when and how is this reset?&lt;br /&gt;
Rule M2:&lt;br /&gt;
if effort-value &amp;lt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then increase effort&lt;br /&gt;
Rule M3:&lt;br /&gt;
if effort-value &amp;gt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then maintain effort&lt;br /&gt;
Rule M4:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M5:&lt;br /&gt;
if problem-state = given-up      # &amp;quot;above give-up-lim&amp;quot;&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M6:&lt;br /&gt;
if indep-value &amp;lt; indep-threshold&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then increase control&lt;br /&gt;
Rule M7:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then increase experience success&lt;br /&gt;
Rule M8:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M9:&lt;br /&gt;
if problem-state = given-up &lt;br /&gt;
  and increase effort (M2)&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then encourage effort&lt;br /&gt;
Rule M10:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  and increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M11:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then stimulate challenge&lt;br /&gt;
Rule M12:&lt;br /&gt;
if stimulate challence (M11)&lt;br /&gt;
  and increase confidence (M1)&lt;br /&gt;
    then emphasise promotion&lt;br /&gt;
Rule M13:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase effort&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then stimulate curiosity&lt;br /&gt;
Rule M14:&lt;br /&gt;
if perf-value = successful&lt;br /&gt;
  and facilitate success&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then remind success&lt;br /&gt;
Rule M15:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  and increase control&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M16:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  and increase control&lt;br /&gt;
    then encourage independence&lt;br /&gt;
Rule M17:&lt;br /&gt;
if encourage independence&lt;br /&gt;
  then avoid intervention &lt;br /&gt;
Rule M18:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  and help-skip-next = no (needs to be fitted to &amp;quot;skip next help&amp;quot; or whatever)&lt;br /&gt;
  and respect control&lt;br /&gt;
    then avoid next intervention &lt;br /&gt;
Rule M19:&lt;br /&gt;
if help-state != rejected&lt;br /&gt;
  and help-skip-next = yes (ditto)&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M20:&lt;br /&gt;
if help-state != requested&lt;br /&gt;
  and not increase confidence &lt;br /&gt;
  and not stimulate curiosity&lt;br /&gt;
    then share control&lt;br /&gt;
&lt;br /&gt;
# negotiated actions - t12p363-rN1-N7&lt;br /&gt;
&lt;br /&gt;
Rule N1&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactics:  increase success; not stimulate challenge&lt;br /&gt;
negotiated:  suggest problem, similar difficulty&lt;br /&gt;
&lt;br /&gt;
Rule N2&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  stimulate challenge; not increase confidence&lt;br /&gt;
negotiated:  suggest much-harder problem&lt;br /&gt;
&lt;br /&gt;
Rule N3&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  emphasise promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N4&lt;br /&gt;
action:  provide wrong assessment; suggest same-diff problem&lt;br /&gt;
tactic:  emphasize promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N5 -- requires suprise result&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  stimulate curiosity (M13)&lt;br /&gt;
negotiated:  provide suprise result help&lt;br /&gt;
&lt;br /&gt;
Rule N6&lt;br /&gt;
action:  provide right assessment&lt;br /&gt;
tactic:  maintain effort&lt;br /&gt;
negotiated:  provide right assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
Rule N7&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  maintain effort &lt;br /&gt;
negotiated:  provide wrong assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
# negotiated actions (cont) - t12p364rN8-N15&lt;br /&gt;
&lt;br /&gt;
Rule N8&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  facilitate success; not respect control &lt;br /&gt;
negotiated:  provide help&lt;br /&gt;
&lt;br /&gt;
Rule N9&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  encourage effort&lt;br /&gt;
negotiated:  provide trying-harder comment; suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N10&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  remind successes&lt;br /&gt;
negotiated:  provide previous-successes comment&lt;br /&gt;
&lt;br /&gt;
Rule N11&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  avoid intervention&lt;br /&gt;
negotiated:  skip help&lt;br /&gt;
&lt;br /&gt;
Rule N12&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  encourage independence&lt;br /&gt;
negotiated:  provide encourage-indep comment&lt;br /&gt;
&lt;br /&gt;
Rule N13&lt;br /&gt;
action:  provide general help&lt;br /&gt;
tactic:  increase confidence&lt;br /&gt;
negotiated:  provide specific help&lt;br /&gt;
&lt;br /&gt;
Rule N14&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  share control&lt;br /&gt;
negotiated:  suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N15&lt;br /&gt;
action:  help not-needed&lt;br /&gt;
tactic:  avoid next intervention&lt;br /&gt;
negotiated:  skip next-help &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=GIFT&amp;diff=42093</id>
		<title>GIFT</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=GIFT&amp;diff=42093"/>
		<updated>2010-03-02T22:17:41Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: to make other elimination of redirects work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#redirect [[gift]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=User:JSalsman&amp;diff=42092</id>
		<title>User:JSalsman</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=User:JSalsman&amp;diff=42092"/>
		<updated>2010-03-02T22:16:54Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: rename per &amp;quot;format&amp;quot; common usage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;working on [[gift]] for [http://strategy.wikimedia.org/wiki/Proposal:Assessment_content assessment content]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42091</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42091"/>
		<updated>2010-03-02T22:15:26Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Format */ syntax?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Format&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42090</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42090"/>
		<updated>2010-03-02T22:15:03Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: retitle&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Format&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax&amp;diff=42089</id>
		<title>gift-syntax</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax&amp;diff=42089"/>
		<updated>2010-03-02T22:14:27Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: gift-syntax moved to gift over redirect: it's being referred to as a format more than a syntax&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[gift]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42088</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42088"/>
		<updated>2010-03-02T22:14:27Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: gift-syntax moved to gift over redirect: it's being referred to as a format more than a syntax&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42086</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42086"/>
		<updated>2010-03-02T20:12:50Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Extensions */ open source sponsorship drive&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
&lt;br /&gt;
Please help sponsor these extensions at http://talknicer.com&lt;br /&gt;
&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42047</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42047"/>
		<updated>2010-02-23T16:59:18Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: elaborate motivation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.  The extensions described below should enable easily authorable self-study, learner-adaptive, low-stakes quiz extensions for Wikiversity and other projects.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42046</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42046"/>
		<updated>2010-02-23T16:29:15Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ existing wikiversity quiz content&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Category:Quizzes&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=42039</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=42039"/>
		<updated>2010-02-21T18:08:09Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: avoid &amp;quot;gift tax&amp;quot; association&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/gift-fmt &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41966</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41966"/>
		<updated>2010-02-16T05:51:01Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ wikiversity was created to hold assessment and other procedural content&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
**http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41965</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41965"/>
		<updated>2010-02-16T05:22:32Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: http://strategy.wikimedia.org/wiki/Proposal:Assessment_content&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
**[http://strategy.wikimedia.org/wiki/Proposal:Assessment_content Wikimedia assessment content proposal]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41949</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41949"/>
		<updated>2010-02-14T02:11:23Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ mediawiki bug 22475&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
**[https://bugzilla.wikimedia.org/show_bug.cgi?id=22475 Mediawiki bug (enhancement request) 22475]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41927</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41927"/>
		<updated>2010-02-12T21:34:35Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Learner adaptation */ title case&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || Set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  Set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || Sets of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || Optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || Optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes, not a comment&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || Summary of accuracy review status (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=41909</id>
		<title>gift-syntax/dsd-tutor-rules</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=41909"/>
		<updated>2010-02-12T01:11:15Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: backlink&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;; for [[gift-syntax|GIFT]] quizes&lt;br /&gt;
&lt;br /&gt;
Adapted and annotated from figures in del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# perfomance modeling - t6p355rP1-2&lt;br /&gt;
&lt;br /&gt;
Rule P1 -- perfomance model successful:&lt;br /&gt;
if agreements/completed &amp;gt; perf-threshold &lt;br /&gt;
  then perf-value = successful &lt;br /&gt;
Rule P2 -- perfomance model unsuccessful:&lt;br /&gt;
if agreements/completed &amp;lt;= perf-threshold &lt;br /&gt;
  then perf-value = unsuccessful &lt;br /&gt;
&lt;br /&gt;
# repitition testing - t6p355rP3-4&lt;br /&gt;
&lt;br /&gt;
Rule P3 -- path model lost:&lt;br /&gt;
if tries &amp;gt; step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = lost &lt;br /&gt;
Rule P4 -- path model OK:&lt;br /&gt;
if tries &amp;lt;= step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = OK &lt;br /&gt;
&lt;br /&gt;
# confidence modeling - t7p356rC1-2&lt;br /&gt;
&lt;br /&gt;
Rule C1: &lt;br /&gt;
if answer was low-confidence (either agree or disagree) &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
Rule C2: &lt;br /&gt;
if answer was high-confidence (either agree or disagree) &lt;br /&gt;
  then increment conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C3 -- decrease modeled confidence on help request:&lt;br /&gt;
if answer was help request &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C4: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and without help &lt;br /&gt;
    then increment conf-value by large-conf-inc&lt;br /&gt;
Rule C5: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and with help &lt;br /&gt;
    then increment conf-value &lt;br /&gt;
Rule C6: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and without help &lt;br /&gt;
    then decrement conf-value &lt;br /&gt;
Rule C7: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and with help &lt;br /&gt;
    then decrement conf-value by large-conf-dec&lt;br /&gt;
&lt;br /&gt;
# effort modeling - t8p357 (non-rule)&lt;br /&gt;
&lt;br /&gt;
if path-state = lost &lt;br /&gt;
  then effort-value = &amp;quot;medium&amp;quot; + 1&lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  then effort-value += 2&lt;br /&gt;
if help was asked for&lt;br /&gt;
  then effort-value += 1&lt;br /&gt;
&lt;br /&gt;
# independence modelling - t9p358rI1-I4&lt;br /&gt;
&lt;br /&gt;
Rule I1:&lt;br /&gt;
if help-state = suggesting &lt;br /&gt;
  then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I2:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = general&lt;br /&gt;
    then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I3:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = specific&lt;br /&gt;
    then decrement indep-value by large-indep-dec&lt;br /&gt;
&lt;br /&gt;
Rule I4:&lt;br /&gt;
if help-state = rejected &lt;br /&gt;
  then increment indep-value by large-indep-inc&lt;br /&gt;
&lt;br /&gt;
# domain-based planner rules - t10p359rD1-D7&lt;br /&gt;
&lt;br /&gt;
Rule D1:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  then provide right assessment; suggest harder problem&lt;br /&gt;
Rule D2:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  then provide wrong assessment; suggest same-diff problem&lt;br /&gt;
Rule D3:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
Rule D4:&lt;br /&gt;
if problem-state = rejected &lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
&lt;br /&gt;
Rule D5:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  then provide help &lt;br /&gt;
Rule D6:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then help not-needed&lt;br /&gt;
&lt;br /&gt;
Rule D7:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  then provide help&lt;br /&gt;
&lt;br /&gt;
# motivational planner rules - t11p360rM1-M20&lt;br /&gt;
&lt;br /&gt;
Rule M1:&lt;br /&gt;
if conf-value &amp;lt; conf-threshold &lt;br /&gt;
  then increase confidence       # when and how is this reset?&lt;br /&gt;
Rule M2:&lt;br /&gt;
if effort-value &amp;lt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then increase effort&lt;br /&gt;
Rule M3:&lt;br /&gt;
if effort-value &amp;gt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then maintain effort&lt;br /&gt;
Rule M4:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M5:&lt;br /&gt;
if problem-state = given-up      # &amp;quot;above give-up-lim&amp;quot;&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M6:&lt;br /&gt;
if indep-value &amp;lt; indep-threshold&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then increase control&lt;br /&gt;
Rule M7:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then increase experience success&lt;br /&gt;
Rule M8:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M9:&lt;br /&gt;
if problem-state = given-up &lt;br /&gt;
  and increase effort (M2)&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then encourage effort&lt;br /&gt;
Rule M10:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  and increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M11:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then stimulate challenge&lt;br /&gt;
Rule M12:&lt;br /&gt;
if stimulate challence (M11)&lt;br /&gt;
  and increase confidence (M1)&lt;br /&gt;
    then emphasise promotion&lt;br /&gt;
Rule M13:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase effort&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then stimulate curiosity&lt;br /&gt;
Rule M14:&lt;br /&gt;
if perf-value = successful&lt;br /&gt;
  and facilitate success&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then remind success&lt;br /&gt;
Rule M15:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  and increase control&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M16:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  and increase control&lt;br /&gt;
    then encourage independence&lt;br /&gt;
Rule M17:&lt;br /&gt;
if encourage independence&lt;br /&gt;
  then avoid intervention &lt;br /&gt;
Rule M18:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  and help-skip-next = no (needs to be fitted to &amp;quot;skip next help&amp;quot; or whatever)&lt;br /&gt;
  and respect control&lt;br /&gt;
    then avoid next intervention &lt;br /&gt;
Rule M19:&lt;br /&gt;
if help-state != rejected&lt;br /&gt;
  and help-skip-next = yes (ditto)&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M20:&lt;br /&gt;
if help-state != requested&lt;br /&gt;
  and not increase confidence &lt;br /&gt;
  and not stimulate curiosity&lt;br /&gt;
    then share control&lt;br /&gt;
&lt;br /&gt;
# negotiated actions - t12p363-rN1-N7&lt;br /&gt;
&lt;br /&gt;
Rule N1&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactics:  increase success; not stimulate challenge&lt;br /&gt;
negotiated:  suggest problem, similar difficulty&lt;br /&gt;
&lt;br /&gt;
Rule N2&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  stimulate challenge; not increase confidence&lt;br /&gt;
negotiated:  suggest much-harder problem&lt;br /&gt;
&lt;br /&gt;
Rule N3&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  emphasise promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N4&lt;br /&gt;
action:  provide wrong assessment; suggest same-diff problem&lt;br /&gt;
tactic:  emphasize promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N5 -- requires suprise result&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  stimulate curiosity (M13)&lt;br /&gt;
negotiated:  provide suprise result help&lt;br /&gt;
&lt;br /&gt;
Rule N6&lt;br /&gt;
action:  provide right assessment&lt;br /&gt;
tactic:  maintain effort&lt;br /&gt;
negotiated:  provide right assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
Rule N7&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  maintain effort &lt;br /&gt;
negotiated:  provide wrong assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
# negotiated actions (cont) - t12p364rN8-N15&lt;br /&gt;
&lt;br /&gt;
Rule N8&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  facilitate success; not respect control &lt;br /&gt;
negotiated:  provide help&lt;br /&gt;
&lt;br /&gt;
Rule N9&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  encourage effort&lt;br /&gt;
negotiated:  provide trying-harder comment; suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N10&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  remind successes&lt;br /&gt;
negotiated:  provide previous-successes comment&lt;br /&gt;
&lt;br /&gt;
Rule N11&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  avoid intervention&lt;br /&gt;
negotiated:  skip help&lt;br /&gt;
&lt;br /&gt;
Rule N12&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  encourage independence&lt;br /&gt;
negotiated:  provide encourage-indep comment&lt;br /&gt;
&lt;br /&gt;
Rule N13&lt;br /&gt;
action:  provide general help&lt;br /&gt;
tactic:  increase confidence&lt;br /&gt;
negotiated:  provide specific help&lt;br /&gt;
&lt;br /&gt;
Rule N14&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  share control&lt;br /&gt;
negotiated:  suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N15&lt;br /&gt;
action:  help not-needed&lt;br /&gt;
tactic:  avoid next intervention&lt;br /&gt;
negotiated:  skip next-help &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=41908</id>
		<title>gift-syntax/dsd-tutor-schema</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=41908"/>
		<updated>2010-02-12T01:07:42Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: backlink&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;; for [[gift-syntax|GIFT]] quizes&lt;br /&gt;
&lt;br /&gt;
Based on del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Problem:&lt;br /&gt;
  description: text&lt;br /&gt;
  initial_steps: SET &amp;lt; answer, step &amp;gt; # enabled by default at problem onset&lt;br /&gt;
  similarity: LIST &amp;lt; problem, integer &amp;gt; # degree of similarity&lt;br /&gt;
    # intransitivities can be used for broader/narrower distinctions&lt;br /&gt;
  difficulty: LIST &amp;lt; problem, success_predictor_tried, success_pred_untried &amp;gt;&lt;br /&gt;
    # regression coefficients can be guessed apriori or derived from practice&lt;br /&gt;
  INSTANCE success: untried or [0..1] # partial credit&lt;br /&gt;
  assessments: SET &amp;lt; minimum_success, text &amp;gt;&lt;br /&gt;
    # the greatest assessment not exceeding success(problem) shown when needed&lt;br /&gt;
Answer:&lt;br /&gt;
  check: pattern # such as a regular expression describing an answer&lt;br /&gt;
    # In general, if more than one answer checks, perhaps more input is &lt;br /&gt;
    # needed to disambiguate.  If none is available, then the system &lt;br /&gt;
    # might just ask for specification.&lt;br /&gt;
  meaning: [ accomplishment | giveup | help | agree | disagree ]&lt;br /&gt;
    # I use &amp;quot;agree&amp;quot; and &amp;quot;disagree&amp;quot; instead of &amp;quot;positive&amp;quot; and &amp;quot;negative&amp;quot; here&lt;br /&gt;
  confidence: integer&lt;br /&gt;
    # in speech, confidence can be derived from prosody or relative loudness&lt;br /&gt;
Step:&lt;br /&gt;
  repetition_limit: posint&lt;br /&gt;
  enables: SET &amp;lt; answer, step &amp;gt; # this step is a prereq of these steps&lt;br /&gt;
  disables: SET step # this step precludes these steps&lt;br /&gt;
    # steps remain enabled unless they are explicitly disabled, I suppose&lt;br /&gt;
  success_level: [0..1] # assigned to success(problem)&lt;br /&gt;
  present_step_help: help&lt;br /&gt;
  next_step_help: LIST &amp;lt; step, help &amp;gt; # only enabled steps are helped with&lt;br /&gt;
  surprise_result: help&lt;br /&gt;
  INSTANCE repetitions: nonnegint&lt;br /&gt;
  INSTANCE previous: step # this could be a list for tracking cycles&lt;br /&gt;
  feedback: comment or content_type # custom or stock feedback&lt;br /&gt;
    # make sure this fits into the rules as designed&lt;br /&gt;
Help:&lt;br /&gt;
  general: text or macro script which may refer to problems or steps&lt;br /&gt;
    # macros allow referring to another problem only if it has been completed&lt;br /&gt;
  specific: text or macro script which may refer to problems or steps&lt;br /&gt;
    # specific help ought to be able to call a (simple) sub-problem&lt;br /&gt;
  INSTANCE acceptance: integer # the degree to which help was accepted&lt;br /&gt;
Comment:&lt;br /&gt;
  [ content-type: text ]  # may be omitted where they can be taken from stock.&lt;br /&gt;
    # Text here ought to allow variable substitution if not full-fledged macros.&lt;br /&gt;
    # Comments should also be added to provide reports to human instructors.&lt;br /&gt;
# more work needed for surprise_result, text/macro (HTML?), and set specification&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41907</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41907"/>
		<updated>2010-02-12T01:03:40Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ archive.org is too slow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [[gift-syntax/dsd-tutor-rules|rules]] and [[gift-syntax/dsd-tutor-schema|this schema]] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=41906</id>
		<title>gift-syntax/dsd-tutor-schema</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-schema&amp;diff=41906"/>
		<updated>2010-02-12T01:03:23Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: archive.org is too slow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Based on del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Problem:&lt;br /&gt;
  description: text&lt;br /&gt;
  initial_steps: SET &amp;lt; answer, step &amp;gt; # enabled by default at problem onset&lt;br /&gt;
  similarity: LIST &amp;lt; problem, integer &amp;gt; # degree of similarity&lt;br /&gt;
    # intransitivities can be used for broader/narrower distinctions&lt;br /&gt;
  difficulty: LIST &amp;lt; problem, success_predictor_tried, success_pred_untried &amp;gt;&lt;br /&gt;
    # regression coefficients can be guessed apriori or derived from practice&lt;br /&gt;
  INSTANCE success: untried or [0..1] # partial credit&lt;br /&gt;
  assessments: SET &amp;lt; minimum_success, text &amp;gt;&lt;br /&gt;
    # the greatest assessment not exceeding success(problem) shown when needed&lt;br /&gt;
Answer:&lt;br /&gt;
  check: pattern # such as a regular expression describing an answer&lt;br /&gt;
    # In general, if more than one answer checks, perhaps more input is &lt;br /&gt;
    # needed to disambiguate.  If none is available, then the system &lt;br /&gt;
    # might just ask for specification.&lt;br /&gt;
  meaning: [ accomplishment | giveup | help | agree | disagree ]&lt;br /&gt;
    # I use &amp;quot;agree&amp;quot; and &amp;quot;disagree&amp;quot; instead of &amp;quot;positive&amp;quot; and &amp;quot;negative&amp;quot; here&lt;br /&gt;
  confidence: integer&lt;br /&gt;
    # in speech, confidence can be derived from prosody or relative loudness&lt;br /&gt;
Step:&lt;br /&gt;
  repetition_limit: posint&lt;br /&gt;
  enables: SET &amp;lt; answer, step &amp;gt; # this step is a prereq of these steps&lt;br /&gt;
  disables: SET step # this step precludes these steps&lt;br /&gt;
    # steps remain enabled unless they are explicitly disabled, I suppose&lt;br /&gt;
  success_level: [0..1] # assigned to success(problem)&lt;br /&gt;
  present_step_help: help&lt;br /&gt;
  next_step_help: LIST &amp;lt; step, help &amp;gt; # only enabled steps are helped with&lt;br /&gt;
  surprise_result: help&lt;br /&gt;
  INSTANCE repetitions: nonnegint&lt;br /&gt;
  INSTANCE previous: step # this could be a list for tracking cycles&lt;br /&gt;
  feedback: comment or content_type # custom or stock feedback&lt;br /&gt;
    # make sure this fits into the rules as designed&lt;br /&gt;
Help:&lt;br /&gt;
  general: text or macro script which may refer to problems or steps&lt;br /&gt;
    # macros allow referring to another problem only if it has been completed&lt;br /&gt;
  specific: text or macro script which may refer to problems or steps&lt;br /&gt;
    # specific help ought to be able to call a (simple) sub-problem&lt;br /&gt;
  INSTANCE acceptance: integer # the degree to which help was accepted&lt;br /&gt;
Comment:&lt;br /&gt;
  [ content-type: text ]  # may be omitted where they can be taken from stock.&lt;br /&gt;
    # Text here ought to allow variable substitution if not full-fledged macros.&lt;br /&gt;
    # Comments should also be added to provide reports to human instructors.&lt;br /&gt;
# more work needed for surprise_result, text/macro (HTML?), and set specification&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=41905</id>
		<title>gift-syntax/dsd-tutor-rules</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift-syntax/dsd-tutor-rules&amp;diff=41905"/>
		<updated>2010-02-12T01:00:50Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: archive.org is too slow&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Adapted and annotated from figures in del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# perfomance modeling - t6p355rP1-2&lt;br /&gt;
&lt;br /&gt;
Rule P1 -- perfomance model successful:&lt;br /&gt;
if agreements/completed &amp;gt; perf-threshold &lt;br /&gt;
  then perf-value = successful &lt;br /&gt;
Rule P2 -- perfomance model unsuccessful:&lt;br /&gt;
if agreements/completed &amp;lt;= perf-threshold &lt;br /&gt;
  then perf-value = unsuccessful &lt;br /&gt;
&lt;br /&gt;
# repitition testing - t6p355rP3-4&lt;br /&gt;
&lt;br /&gt;
Rule P3 -- path model lost:&lt;br /&gt;
if tries &amp;gt; step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = lost &lt;br /&gt;
Rule P4 -- path model OK:&lt;br /&gt;
if tries &amp;lt;= step-repition-limit (from problem type) &lt;br /&gt;
  then path-state = OK &lt;br /&gt;
&lt;br /&gt;
# confidence modeling - t7p356rC1-2&lt;br /&gt;
&lt;br /&gt;
Rule C1: &lt;br /&gt;
if answer was low-confidence (either agree or disagree) &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
Rule C2: &lt;br /&gt;
if answer was high-confidence (either agree or disagree) &lt;br /&gt;
  then increment conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C3 -- decrease modeled confidence on help request:&lt;br /&gt;
if answer was help request &lt;br /&gt;
  then decrement conf-value &lt;br /&gt;
&lt;br /&gt;
Rule C4: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and without help &lt;br /&gt;
    then increment conf-value by large-conf-inc&lt;br /&gt;
Rule C5: &lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  and with help &lt;br /&gt;
    then increment conf-value &lt;br /&gt;
Rule C6: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and without help &lt;br /&gt;
    then decrement conf-value &lt;br /&gt;
Rule C7: &lt;br /&gt;
if problem-state = failed &lt;br /&gt;
  and with help &lt;br /&gt;
    then decrement conf-value by large-conf-dec&lt;br /&gt;
&lt;br /&gt;
# effort modeling - t8p357 (non-rule)&lt;br /&gt;
&lt;br /&gt;
if path-state = lost &lt;br /&gt;
  then effort-value = &amp;quot;medium&amp;quot; + 1&lt;br /&gt;
if problem-state = succeeded &lt;br /&gt;
  then effort-value += 2&lt;br /&gt;
if help was asked for&lt;br /&gt;
  then effort-value += 1&lt;br /&gt;
&lt;br /&gt;
# independence modelling - t9p358rI1-I4&lt;br /&gt;
&lt;br /&gt;
Rule I1:&lt;br /&gt;
if help-state = suggesting &lt;br /&gt;
  then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I2:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = general&lt;br /&gt;
    then decrement indep-value &lt;br /&gt;
&lt;br /&gt;
Rule I3:&lt;br /&gt;
if help-state = providing&lt;br /&gt;
  and detail = specific&lt;br /&gt;
    then decrement indep-value by large-indep-dec&lt;br /&gt;
&lt;br /&gt;
Rule I4:&lt;br /&gt;
if help-state = rejected &lt;br /&gt;
  then increment indep-value by large-indep-inc&lt;br /&gt;
&lt;br /&gt;
# domain-based planner rules - t10p359rD1-D7&lt;br /&gt;
&lt;br /&gt;
Rule D1:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  then provide right assessment; suggest harder problem&lt;br /&gt;
Rule D2:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  then provide wrong assessment; suggest same-diff problem&lt;br /&gt;
Rule D3:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
Rule D4:&lt;br /&gt;
if problem-state = rejected &lt;br /&gt;
  then suggest same-diff problem&lt;br /&gt;
&lt;br /&gt;
Rule D5:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  then provide help &lt;br /&gt;
Rule D6:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then help not-needed&lt;br /&gt;
&lt;br /&gt;
Rule D7:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  then provide help&lt;br /&gt;
&lt;br /&gt;
# motivational planner rules - t11p360rM1-M20&lt;br /&gt;
&lt;br /&gt;
Rule M1:&lt;br /&gt;
if conf-value &amp;lt; conf-threshold &lt;br /&gt;
  then increase confidence       # when and how is this reset?&lt;br /&gt;
Rule M2:&lt;br /&gt;
if effort-value &amp;lt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then increase effort&lt;br /&gt;
Rule M3:&lt;br /&gt;
if effort-value &amp;gt; &amp;quot;medium&amp;quot;&lt;br /&gt;
  then maintain effort&lt;br /&gt;
Rule M4:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M5:&lt;br /&gt;
if problem-state = given-up      # &amp;quot;above give-up-lim&amp;quot;&lt;br /&gt;
  then respect control&lt;br /&gt;
Rule M6:&lt;br /&gt;
if indep-value &amp;lt; indep-threshold&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then increase control&lt;br /&gt;
Rule M7:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then increase experience success&lt;br /&gt;
Rule M8:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase confidence&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M9:&lt;br /&gt;
if problem-state = given-up &lt;br /&gt;
  and increase effort (M2)&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then encourage effort&lt;br /&gt;
Rule M10:&lt;br /&gt;
if problem-state = given-up&lt;br /&gt;
  and increase confidence&lt;br /&gt;
  and not respect control&lt;br /&gt;
    then facilitate success&lt;br /&gt;
Rule M11:&lt;br /&gt;
if problem-state = succeeded&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then stimulate challenge&lt;br /&gt;
Rule M12:&lt;br /&gt;
if stimulate challence (M11)&lt;br /&gt;
  and increase confidence (M1)&lt;br /&gt;
    then emphasise promotion&lt;br /&gt;
Rule M13:&lt;br /&gt;
if problem-state = failed&lt;br /&gt;
  and increase effort&lt;br /&gt;
  and not increase confidence&lt;br /&gt;
    then stimulate curiosity&lt;br /&gt;
Rule M14:&lt;br /&gt;
if perf-value = successful&lt;br /&gt;
  and facilitate success&lt;br /&gt;
  and increase effort&lt;br /&gt;
    then remind success&lt;br /&gt;
Rule M15:&lt;br /&gt;
if path-state = lost&lt;br /&gt;
  and increase control&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M16:&lt;br /&gt;
if help-state = requested&lt;br /&gt;
  and increase control&lt;br /&gt;
    then encourage independence&lt;br /&gt;
Rule M17:&lt;br /&gt;
if encourage independence&lt;br /&gt;
  then avoid intervention &lt;br /&gt;
Rule M18:&lt;br /&gt;
if help-state = rejected&lt;br /&gt;
  and help-skip-next = no (needs to be fitted to &amp;quot;skip next help&amp;quot; or whatever)&lt;br /&gt;
  and respect control&lt;br /&gt;
    then avoid next intervention &lt;br /&gt;
Rule M19:&lt;br /&gt;
if help-state != rejected&lt;br /&gt;
  and help-skip-next = yes (ditto)&lt;br /&gt;
    then avoid intervention&lt;br /&gt;
Rule M20:&lt;br /&gt;
if help-state != requested&lt;br /&gt;
  and not increase confidence &lt;br /&gt;
  and not stimulate curiosity&lt;br /&gt;
    then share control&lt;br /&gt;
&lt;br /&gt;
# negotiated actions - t12p363-rN1-N7&lt;br /&gt;
&lt;br /&gt;
Rule N1&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactics:  increase success; not stimulate challenge&lt;br /&gt;
negotiated:  suggest problem, similar difficulty&lt;br /&gt;
&lt;br /&gt;
Rule N2&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  stimulate challenge; not increase confidence&lt;br /&gt;
negotiated:  suggest much-harder problem&lt;br /&gt;
&lt;br /&gt;
Rule N3&lt;br /&gt;
action:  suggest harder problem&lt;br /&gt;
tactic:  emphasise promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N4&lt;br /&gt;
action:  provide wrong assessment; suggest same-diff problem&lt;br /&gt;
tactic:  emphasize promotion&lt;br /&gt;
negotiated:  suggest harder problem; provide level-promotion comment&lt;br /&gt;
&lt;br /&gt;
Rule N5 -- requires suprise result&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  stimulate curiosity (M13)&lt;br /&gt;
negotiated:  provide suprise result help&lt;br /&gt;
&lt;br /&gt;
Rule N6&lt;br /&gt;
action:  provide right assessment&lt;br /&gt;
tactic:  maintain effort&lt;br /&gt;
negotiated:  provide right assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
Rule N7&lt;br /&gt;
action:  provide wrong assessment&lt;br /&gt;
tactic:  maintain effort &lt;br /&gt;
negotiated:  provide wrong assessment; provide praise performance comment&lt;br /&gt;
&lt;br /&gt;
# negotiated actions (cont) - t12p364rN8-N15&lt;br /&gt;
&lt;br /&gt;
Rule N8&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  facilitate success; not respect control &lt;br /&gt;
negotiated:  provide help&lt;br /&gt;
&lt;br /&gt;
Rule N9&lt;br /&gt;
action:  suggest problem; not provide assessment&lt;br /&gt;
tactic:  encourage effort&lt;br /&gt;
negotiated:  provide trying-harder comment; suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N10&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  remind successes&lt;br /&gt;
negotiated:  provide previous-successes comment&lt;br /&gt;
&lt;br /&gt;
Rule N11&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  avoid intervention&lt;br /&gt;
negotiated:  skip help&lt;br /&gt;
&lt;br /&gt;
Rule N12&lt;br /&gt;
action:  ---&lt;br /&gt;
tactic:  encourage independence&lt;br /&gt;
negotiated:  provide encourage-indep comment&lt;br /&gt;
&lt;br /&gt;
Rule N13&lt;br /&gt;
action:  provide general help&lt;br /&gt;
tactic:  increase confidence&lt;br /&gt;
negotiated:  provide specific help&lt;br /&gt;
&lt;br /&gt;
Rule N14&lt;br /&gt;
action:  provide help&lt;br /&gt;
tactic:  share control&lt;br /&gt;
negotiated:  suggest help&lt;br /&gt;
&lt;br /&gt;
Rule N15&lt;br /&gt;
action:  help not-needed&lt;br /&gt;
tactic:  avoid next intervention&lt;br /&gt;
negotiated:  skip next-help &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41904</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41904"/>
		<updated>2010-02-12T00:42:45Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ unwrap&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color     // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,       // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1% // numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed        // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41903</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41903"/>
		<updated>2010-02-12T00:42:03Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: yeah&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,         // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty&lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41897</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41897"/>
		<updated>2010-02-11T18:39:59Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,         // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // summary of review status&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41896</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41896"/>
		<updated>2010-02-11T18:39:40Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ interspersal example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this to answer that&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 // easier-than: sky-color,         // this question is easier than those two&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41895</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41895"/>
		<updated>2010-02-11T18:35:38Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Learner adaptation */ table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for [http://en.wikipedia.org/wiki/Computerized_adaptive_testing computerized adaptive testing] (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // helps-answer: title[, title...] || set of questions which help answer this question&lt;br /&gt;
|-&lt;br /&gt;
| // helped-by: title[,...] ||  set of questions which answering this question helps answer&lt;br /&gt;
|-&lt;br /&gt;
| // easier-than: title[%n%][,...] &amp;lt;br /&amp;gt; // harder-than: title[%n%][,...] || set of relations to other questions by relative difficulty&lt;br /&gt;
|-&lt;br /&gt;
| // general-help: text || optional general help&lt;br /&gt;
|-&lt;br /&gt;
| // specific-help: text || optional specific help&lt;br /&gt;
|-&lt;br /&gt;
| \// || Two forward slashes&lt;br /&gt;
|-&lt;br /&gt;
| // review-state: text || summary of accuracy review status&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41894</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41894"/>
		<updated>2010-02-11T18:29:03Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: comment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax &amp;lt;!-- (this page) or http://bit.ly/giftex (extension proposals) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41893</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41893"/>
		<updated>2010-02-11T17:06:26Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: bit.ly/giftex&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax (this page) or http://bit.ly/giftex (extension proposals)&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41873</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41873"/>
		<updated>2010-02-11T02:30:40Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ unbunch links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot;] Wikipedia article, [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41872</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41872"/>
		<updated>2010-02-11T01:52:24Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ sort&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;br /&gt;
**[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki Quiz extension talk: GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41871</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41871"/>
		<updated>2010-02-11T01:25:41Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ +2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;br /&gt;
*[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki:Extension talk:Quiz#GIFT format and Quiz tables?]&lt;br /&gt;
*http://en.wikiversity.org/wiki/Help:Quiz&lt;br /&gt;
**[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;br /&gt;
*http://www.mediawiki.org/wiki/Extension:Quiz&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41870</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41870"/>
		<updated>2010-02-11T01:23:30Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ seperated by blank lines&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions as long as blank lines don't intervene. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;br /&gt;
*[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki:Extension talk:Quiz#GIFT format and Quiz tables?]&lt;br /&gt;
*[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41869</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41869"/>
		<updated>2010-02-11T01:21:52Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ Moodle is more high-stakes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;br /&gt;
*[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki:Extension talk:Quiz#GIFT format and Quiz tables?]&lt;br /&gt;
*[http://en.wikiversity.org/wiki/Help:Quiz/Wikiversity_compared_to_Moodle Wikiversity compared to Moodle]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41868</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41868"/>
		<updated>2010-02-11T01:04:51Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ fix link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;br /&gt;
*[http://www.mediawiki.org/wiki/Extension_talk:Quiz#GIFT_format_and_Quiz_tables.3F Mediawiki:Extension talk:Quiz#GIFT format and Quiz tables?]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41867</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41867"/>
		<updated>2010-02-11T01:03:52Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */ ok?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;br /&gt;
*[[mw:Extension talk:Quiz#GIFT format and Quiz tables?]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41866</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41866"/>
		<updated>2010-02-10T22:27:53Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special hyphenated keywords with colons can be used preceding or following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
These field keywords and formats can be used:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover the stated extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
There is more we may want to accomplish noted in the [http://en.wikipedia.org/wiki/Spacing_effect &amp;quot;Spacing effect&amp;quot; Wikipedia article,] [http://en.wikipedia.org/wiki/Bloom%27s_Taxonomy#Cognitive &amp;quot;Bloom's cognitive taxonomy,&amp;quot;] suggesting sub-categories, and del Soldato and du Boulay's original [http://web.archive.org/web/20050220153210/www.bovik.org/idas/dsd-tutor-rules.txt rules] and [http://web.archive.org/web/20060517223928/bovik.org/idas/dsd-tutor-schema.txt this schema] based on them and the article they appeared in. But the primary goals listed here are likely satisfied with the detail shown above.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 22:27, 10 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41865</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41865"/>
		<updated>2010-02-10T22:19:18Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ really no question about it at this point&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Comments with special keywords can be used following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
Placing comments before or after should be fine, as long as there are no intervening blank lines.  We could use these field keywords:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 05:23, 9 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41864</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41864"/>
		<updated>2010-02-10T22:18:54Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */ before or after should be fine, as long as no blank lines are intervening&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps comments with special keywords can be used following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
Placing comments before or after should be fine, as long as there are no intervening blank lines.  We could use these field keywords:&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 05:23, 9 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41863</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41863"/>
		<updated>2010-02-10T22:17:22Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Case insensitive */ even in general chemistry case sensitivity might be a bad idea, but there are some ambiguities somewhere&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in some chemical formulae like proteins) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps comments with special keywords can be used following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We could use these field keywords:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 05:23, 9 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41858</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41858"/>
		<updated>2010-02-09T05:32:50Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Please post character counts here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps comments with special keywords can be used following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We could use these field keywords:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
; Please don't worry about posting character counts here&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 05:23, 9 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41857</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41857"/>
		<updated>2010-02-09T05:23:42Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps comments with special keywords can be used following the questions. For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                       // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {           // question&lt;br /&gt;
 =white                             // answer&lt;br /&gt;
 }&lt;br /&gt;
 // helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 // easier-than: sky-color,         // this question is easier&lt;br /&gt;
 //            shroedinger-eqn%1%   // need a numeric quantity for relative difficulty -- syntax ok?&lt;br /&gt;
 // general-help: Think about full milk bottles. // general help&lt;br /&gt;
 // specific-help: It's the same color as chalk. // specific help&lt;br /&gt;
 // review-state: proposed          // not sure about this ($proposed or *...?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We could use these field keywords:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 // helps-answer: title[, title...]&lt;br /&gt;
 // helped-by: title[,...]&lt;br /&gt;
 // easier-than: title[%n%][,...]&lt;br /&gt;
 // harder-than: title[%n%][,...]&lt;br /&gt;
 // general-help: text // already generalfeedback?&lt;br /&gt;
 // specific-help: text&lt;br /&gt;
 // review-state: text&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice, because some of the metadata grows every time a question is answered.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please never mind.  Thanks anyway! [[User:JSalsman|JSalsman]] 05:23, 9 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41842</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41842"/>
		<updated>2010-02-06T15:43:48Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* = Learner adaptation */ =&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ====&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.  There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice.&lt;br /&gt;
&lt;br /&gt;
Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please edit this section and list your counts below.  Thank you! [[User:JSalsman|JSalsman]] 14:22, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41841</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41841"/>
		<updated>2010-02-06T15:43:25Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Extensions for learner adaptation */ subhead&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions ===&lt;br /&gt;
==== Learner adaptation ===&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.  There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice.&lt;br /&gt;
&lt;br /&gt;
Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please edit this section and list your counts below.  Thank you! [[User:JSalsman|JSalsman]] 14:22, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41840</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41840"/>
		<updated>2010-02-06T15:37:05Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Please post character counts here */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions for learner adaptation ===&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.  There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice.&lt;br /&gt;
&lt;br /&gt;
Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of the characters @, !, $, *, ;, and _ in {answer specifications} at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please edit this section and list your counts below.  Thank you! [[User:JSalsman|JSalsman]] 14:22, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41839</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41839"/>
		<updated>2010-02-06T14:24:14Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions for learner adaptation ===&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.  There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice.&lt;br /&gt;
&lt;br /&gt;
Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of @, !, $, *, ;, and _ at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please edit this section and list your counts below.  Thank you! [[User:JSalsman|JSalsman]] 14:22, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41838</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41838"/>
		<updated>2010-02-06T14:22:33Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions for learner adaptation ===&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.  There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.  Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  Maybe that should be specified but discouraged in practice.&lt;br /&gt;
&lt;br /&gt;
Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of @, !, $, *, ;, and _ at http://moodle.org/mod/forum/discuss.php?d=143213 -- if you are responding, please edit this section and list your counts below.  Thank you! [[User:JSalsman|JSalsman]] 14:22, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
	<entry>
		<id>http://microformats.org/wiki/index.php?title=gift&amp;diff=41837</id>
		<title>gift</title>
		<link rel="alternate" type="text/html" href="http://microformats.org/wiki/index.php?title=gift&amp;diff=41837"/>
		<updated>2010-02-06T14:21:12Z</updated>

		<summary type="html">&lt;p&gt;JSalsman: /* Possible choices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;entry-title&amp;gt;GIFT Syntax&amp;lt;/entry-title&amp;gt;&lt;br /&gt;
;short URL&lt;br /&gt;
:http://bit.ly/giftax&lt;br /&gt;
&lt;br /&gt;
The [http://docs.moodle.org/en/GIFT_format GIFT picoformat] allows writing multiple-choice, true-false, fill-in-the-blank (also called short answer or missing word), matching, and numerical quiz questions in a simple text format.  &lt;br /&gt;
&lt;br /&gt;
The GPLed [http://moodle.org/ Moodle] Course/Learning Management System can import and export questions in the GIFT format.&lt;br /&gt;
&lt;br /&gt;
=== Format ===&lt;br /&gt;
&lt;br /&gt;
GIFT quiz questions must be encoded in utf-8 characters, and are delimited by blank lines.  A question may be preceded by a title inside a pair of double colons and must include or be followed by an answer specification in curly braces.  Examples are shown below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! Symbols !! Use&lt;br /&gt;
|-&lt;br /&gt;
| // text || Comment until end of line (optional)&lt;br /&gt;
|-&lt;br /&gt;
| ::title:: || Question title (optional)&lt;br /&gt;
|-&lt;br /&gt;
| text || Question text (becomes title if no title specified)&lt;br /&gt;
|-&lt;br /&gt;
| { || Start answer(s) -- without any answers, text is a description of following questions&lt;br /&gt;
|-&lt;br /&gt;
| {T} or {F} || True or False answer; also {TRUE} and {FALSE}&lt;br /&gt;
|-&lt;br /&gt;
| { ... =right ... } || Correct answer for multiple choice, (multiple answer?) or fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| { ... ~wrong ... } || Incorrect answer for multiple choice or multiple answer&lt;br /&gt;
|-&lt;br /&gt;
| { ... =item -&amp;gt; match ... } || Answer for matching questions&lt;br /&gt;
|-&lt;br /&gt;
| #feedback text || Answer feedback for preceding multiple, fill-in-the-blank, or numeric answers&lt;br /&gt;
|-&lt;br /&gt;
| {# || Start numeric answer(s)&lt;br /&gt;
|-&lt;br /&gt;
| answer:tolerance || Numeric answer accepted within ± tolerance range&lt;br /&gt;
|-&lt;br /&gt;
| low..high || Lower and upper range values of accepted numeric answer &lt;br /&gt;
|-&lt;br /&gt;
| =%n%answer:tolerance || n percent credit for one of multiple numeric ranges within tolerance from answer&lt;br /&gt;
|-&lt;br /&gt;
| } || End answer(s); additional text may follow for fill-in-the-blank&lt;br /&gt;
|-&lt;br /&gt;
| \character || Backslash escapes the special meaning of ~, =, #, {, }, and :&lt;br /&gt;
|-&lt;br /&gt;
| \n || Places a newline in question text -- blank lines delimit questions&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
        // true-false&lt;br /&gt;
 ::Q1:: 1+1=2 {T}            // not sure if comments are okay here&lt;br /&gt;
 &lt;br /&gt;
 // multiple choice with specific feedback&lt;br /&gt;
 ::Q2:: What's between orange and green in the spectrum?&lt;br /&gt;
 {=yellow # correct! ~red # wrong, it's yellow ~blue # wrong, it's yellow}&lt;br /&gt;
 &lt;br /&gt;
 // fill-in-the-blank&lt;br /&gt;
 ::Q3:: Two plus {=two =2} equals four.&lt;br /&gt;
 &lt;br /&gt;
 // matching&lt;br /&gt;
 ::Q4:: Which animal eats which food? { =cat -&amp;gt; cat food =dog -&amp;gt; dog food }&lt;br /&gt;
 &lt;br /&gt;
 // math range question -- note: {#1..5} is the same range&lt;br /&gt;
 ::Q5:: What is a number from 1 to 5? {#3:2}&lt;br /&gt;
 &lt;br /&gt;
 // multiple numeric answers with partial credit and feedback&lt;br /&gt;
 ::Q7:: When was Ulysses S. Grant born? {#&lt;br /&gt;
    =1822:0      # Correct! You get full credit.&lt;br /&gt;
    =%50%1822:2  # He was born in 1822. You get half credit for being close.&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 // essay&lt;br /&gt;
 ::Q8:: How are you? {}&lt;br /&gt;
 &lt;br /&gt;
 // alternate layout&lt;br /&gt;
 ::Title &lt;br /&gt;
 :: Question {&lt;br /&gt;
 =Correct answer 1&lt;br /&gt;
 =Correct answer 2&lt;br /&gt;
 ~Wrong answer 1&lt;br /&gt;
 #Response to wrong answer 1&lt;br /&gt;
 ~Wrong answer 2&lt;br /&gt;
 #Response to wrong answer 2&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
:''Note: the table and examples above were adapted from and then migrated back to the GPL-licensed Moodle site, not copied from there.''&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
&lt;br /&gt;
Question categories may be specified by preceding them with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$CATEGORY: path/name&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a blank line before and after. That sets the following questions' category name or pathname.&lt;br /&gt;
&lt;br /&gt;
=== Case insensitive ===&lt;br /&gt;
&lt;br /&gt;
Alphabetic case-sensitive comparison is off by default, but may be enabled for short answer (fill-in-the-blank) questions that need them (usually a very unlikely occurrence, except, e.g., in chemistry formulae) with:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$question-&amp;gt;usecase = 1;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extensions for learner adaptation ===&lt;br /&gt;
&lt;br /&gt;
Still to be done to extend the format for learner adaptivity (per, for example, del Soldato, T. &amp;amp; du Boulay, B. (1995) &amp;quot;Implementation of Motivational Tactics in Tutoring Systems,&amp;quot; ''Journal of Artificial Intelligence in Education,'' '''6'''(4): 337-78) is to add optional prerequisite and relative difficulty links to other questions (titles can be used) and optional question help text at two levels of specificity:&lt;br /&gt;
&lt;br /&gt;
* relations to other questions&lt;br /&gt;
** set of questions which help answer this question&lt;br /&gt;
** set of questions which answering this question helps answer&lt;br /&gt;
(Can some of the directed graph of which questions assist in the answering of other questions be derived from categorization or must it be stored completely explicitly?)&lt;br /&gt;
* set of relations to other questions by relative difficulty; for each:&lt;br /&gt;
** another question&lt;br /&gt;
** more or less difficult, and how much&lt;br /&gt;
* general help (optional)&lt;br /&gt;
* specific help (optional)&lt;br /&gt;
&lt;br /&gt;
==== Accuracy review ====&lt;br /&gt;
&lt;br /&gt;
It would also help to be able to specify the state of the question in a [http://strategy.wikimedia.org/wiki/Proposal:Develop_systems_for_accuracy_review review system]:&lt;br /&gt;
&lt;br /&gt;
* incomplete&lt;br /&gt;
** (ungrammatical, ambiguous, non-sequitur, implies false assumption, circular, dependent on future circumstance or decision, etc.)&lt;br /&gt;
* open&lt;br /&gt;
** hypothetical (also open -- but less so?)&lt;br /&gt;
** answered (&amp;quot;proposed&amp;quot;?)&lt;br /&gt;
*** reviewed&lt;br /&gt;
**** complete (passed review)&lt;br /&gt;
***** asked&lt;br /&gt;
****** scored&lt;br /&gt;
******* challenged&lt;br /&gt;
******** assessed&lt;br /&gt;
**** rejected (failed review or assessment)&lt;br /&gt;
&lt;br /&gt;
[http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content (source)]&lt;br /&gt;
&lt;br /&gt;
==== Possible choices ====&lt;br /&gt;
&lt;br /&gt;
Perhaps more special symbols (&amp;quot;control characters&amp;quot; in some GIFT specifications) can be used inside {}s. For example:&lt;br /&gt;
&lt;br /&gt;
 ::milk-color                     // title; not sure if comment ok here &lt;br /&gt;
 :: What color is milk? {         // question&lt;br /&gt;
 =white                           // answer&lt;br /&gt;
 @helps-answer: latte-color       // helps if you know this&lt;br /&gt;
 @easier-than: sky-color,         // this question is easier&lt;br /&gt;
               shroedinger-eqn%1% // need a numeric quantity for relative difficulty&lt;br /&gt;
 ? Think about full milk bottles. // general help (maybe @help: ...?)&lt;br /&gt;
 ?? It's the same color as chalk. // specific help (@specific-help: ...?)&lt;br /&gt;
 @state: proposed                 // not sure about this ($proposed or *...?)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
That would have a possible advantage of being tightly syntacticly bound to the answer, but the disadvantage that it would introduce additional special characters in the answer.  That would probably be a lot better than introducing them in the question text.&lt;br /&gt;
&lt;br /&gt;
There is a backward-compatibility advantage to only introducing one new special &amp;quot;control&amp;quot; character, such as @, because characters such as ?, $, and * are already possibly in answer codes somewhere the format is being used.  So we could have:&lt;br /&gt;
&lt;br /&gt;
 @helps-answer: title[, title...]&lt;br /&gt;
 @helped-by: title[,...]&lt;br /&gt;
 @easier-than: title[%n%][,...]&lt;br /&gt;
 @harder-than: title[%n%][,...]&lt;br /&gt;
 @help: text&lt;br /&gt;
 @specific-help: text&lt;br /&gt;
 @state: text&lt;br /&gt;
&lt;br /&gt;
That would apparently cover all the extension requirements.  The reflexive links (helps/helped, easier/harder) can be implicit where they aren't specified.&lt;br /&gt;
&lt;br /&gt;
Not sure whether it's a good idea to specify [http://strategy.wikimedia.org/wiki/Proposal_talk:Assessment_content#assessment_item_fields summary statistics from question fields] as they might exist in a database.  But if most of the database needs to be serialized in human-readable format, why not?  One reason why not is that doing so could detract from the readability, especially since the answer statistics grow each time the question is answered.  Maybe that should be specified but discouraged in practice?&lt;br /&gt;
&lt;br /&gt;
I've asked for a count of @, !, $, *, ;, and _ at http://moodle.org/mod/forum/discuss.php?d=143213 Any instance of the chosen character not followed by a recognized keyword should be treated as if it were not a special character.&lt;br /&gt;
&lt;br /&gt;
===== Please post character counts here =====&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf 5-page reference] (PDF)&lt;br /&gt;
*[[picoformats]]&lt;/div&gt;</summary>
		<author><name>JSalsman</name></author>
	</entry>
</feed>