{"id":1242,"date":"2013-01-02T09:51:06","date_gmt":"2013-01-02T09:51:06","guid":{"rendered":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/?p=1242"},"modified":"2013-01-20T15:52:30","modified_gmt":"2013-01-20T15:52:30","slug":"eight-maids-a-milking-part-2","status":"publish","type":"post","link":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/?p=1242","title":{"rendered":"Eight maids a-Milking &#8211; part 2"},"content":{"rendered":"<p><strong><a href=\"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/day-81.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-1246\" title=\"day-8\" src=\"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/day-81-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>Day 8b. Using PMatch for short-answer free-text questions.<\/strong> As promised, what I&#8217;d like to do is to give you an example of the answer matching for a real question, based on real student responses.<!--more--><\/p>\n<p>The question is given\u00a0below and\u00a0the answer matching rules are copied\u00a0at the end of this post. I have removed most of the rules, to give greater emphasis to those that remain.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/Capture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1249\" title=\"Capture\" src=\"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/Capture.png\" alt=\"\" width=\"599\" height=\"333\" srcset=\"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/Capture.png 599w, https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/wp-content\/uploads\/2013\/01\/Capture-300x166.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>The vast majority of correct responses are matched by Rule 21, shown in red. This matches responses which talk about the child being at the bottom or end of the slide (or lots of synonyms).<\/p>\n<p>The problem is that some responses talk about a child being at the &#8216;top or bottom&#8217; of the slide (as shown in the screenshot of the question) and some talk about the child being at the bottom of a <em>swing<\/em> not a slide! I don&#8217;t want to mark either of those as correct, but if we started by looking for the word &#8216;bottom&#8217; both would be. So the first few rules (Rule 16\u00a0and \u00a0Rule 20 are shown) deal with this sort of thing, giving targeted feedback when appropriate.<\/p>\n<p>Once we have dealt with these situations and correct answers including the word &#8216;bottom&#8217;, &#8216;end&#8217; etc. etc. (and another couple of rules for correct answers) the final set of rules (two are shown) give targeted feedback for specific errors.\u00a0Note that the matching for &#8216;top&#8217;, without proximity to &#8216;and&#8217; or &#8216;or&#8217;, is here &#8211; we wouldn&#8217;t want to rule out all answers that used the word &#8216;top&#8217; before giving credit for the word &#8216;bottom&#8217;.\u00a0For example, a student might say &#8216;The kinetic energy increases as the child slides from the top to the bottom of the slide, and is a maximum at the bottom&#8217;.<\/p>\n<p>If none of these rules are fired, then Rule 99, at the end, causes the general feedback to be given.<\/p>\n<p>To help you understand the rules, note that &#8216;m&#8217; allows a certain amount of misspelling, &#8216;w&#8217; allows extra words, &#8216;p0&#8217; [that&#8217;s a zero!] means the words must be next to each other (p1, p2 etc would indicate proximity of no more than one, two words etc.), &#8216;o&#8217; [letter oh] means that matched words can be in any order. It really is that simple, though note how important it is to get the order of the rules right.<\/p>\n<p>Here are the rules discussed above:<\/p>\n<p>else if (m.match(&#8220;mw&#8221;,&#8221;swing&#8221;)){<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0 matchMark = 0; whichMatch = 16; showOnFirstFeedback = true;<\/p>\n<p>\u00a0\u00a0\u00a0 feedback = &#8220;Note that this question is about a child on a slide not a swing.\\n&#8221; +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;You may find it helpful to think about the energy conversions that take place as \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cthe boy climbs up the slide and then slides down it. Energy conversions are discussed \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cin Book 3 Chapter 2. &#8221; +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;Alternatively, you know that from Book 3 Section 3.1 that the boy\\&#8217;s kinetic energy \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cwill be a maximum at the point when his speed is greatest. Where is this?&#8221;;\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>}<\/p>\n<p>else if (m.match(&#8220;wp0&#8243;,&#8221;top_[and|or]&#8221;)){<\/p>\n<p>\u00a0\u00a0\u00a0 matchMark = 0; whichMatch = 20;<\/p>\n<p>\u00a0\u00a0\u00a0 feedback = &#8220;You need to be more precise in your answer. You may find it helpful to think \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cabout the energy conversions that take place as the boy climbs up the slide and then \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cslides down it. Energy conversions are discussed in Book 3 Chapter 2. &#8221; +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;Alternatively, you know that from Book 3 Section 3.1 that the boy\\&#8217;s kinetic energy \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cwill be a maximum at the point when his speed is greatest. Where is this?&#8221;;\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>}<\/p>\n<p><span style=\"color: #ff0000;\">else if (m.match(&#8220;mw&#8221;, &#8220;bottom|base|end|flat&amp;|floor|ground|horizont&amp;|level|lowest&#8221;)) {<\/span><\/p>\n<p><span style=\"color: #ff0000;\">\u00a0\u00a0\u00a0 matchMark = 1; whichMatch = 21;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">\u00a0\u00a0\u00a0 feedback = &#8220;&#8221;;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">}<\/span><\/p>\n<p>else if (m.match(&#8220;w&#8221;, &#8220;top&#8221;)) {<\/p>\n<p>\u00a0\u00a0\u00a0 matchMark = 0; whichMatch = 51;<\/p>\n<p>\u00a0\u00a0\u00a0 feedback = &#8220;The boy\\&#8217;s gravitational potential energy will be a maximum at the top of \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cthe slide, but his kinetic energy will be a minimum there (and zero if he stops \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cmoving).\\n&#8221;+<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;You may find it helpful to think about the energy conversions that take place as \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cthe boy climbs up the slide and then slides down it. Energy conversions are discussed \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cin Book 3 Chapter 2. &#8221; +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;Alternatively, you know that from Book 3 Section 3.1 that the boy\\&#8217;s kinetic energy \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cwill be a maximum at the point when his speed is greatest. Where is this?&#8221;;\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>}<\/p>\n<p>else if (m.match(&#8220;wm&#8221;, &#8220;fast&amp;|quick&amp;&#8221;)) {<\/p>\n<p>\u00a0\u00a0\u00a0 matchMark = 0; whichMatch = 53;showOnFirstFeedback = true;<\/p>\n<p>\u00a0\u00a0\u00a0 feedback = &#8220;You are correct to say that the boy\\&#8217;s kinetic energy will be a maximum when \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201che is moving at the fastest speed, but where will this be? &#8220;+<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;You may find it helpful to think about the energy conversions that take place as \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u201cthe boy climbs up the slide and then slides down it. Energy conversions are discussed \u201c +<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u201cin Book 3 Chapter 2.&#8221;;<\/p>\n<p>}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>else {<\/p>\n<p>\u00a0\u00a0\u00a0 matchMark = 0; whichMatch = 99;<\/p>\n<p>\u00a0\u00a0\u00a0 feedback = &#8220;&#8221;;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Day 8b. Using PMatch for short-answer free-text questions. As promised, what I&#8217;d like to do is to give you an example of the answer matching for a real question, based on real student responses.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,56,256],"tags":[258,219,61,57,257],"class_list":["post-1242","post","type-post","status-publish","format-standard","hentry","category-e-assessment","category-short-answer-free-text-questions","category-twelve-days-of-better-eassessment","tag-eassessment","tag-pattern-matching-software","tag-pmatch","tag-short-answer-free-text","tag-twelve-days"],"_links":{"self":[{"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/posts\/1242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1242"}],"version-history":[{"count":7,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/posts\/1242\/revisions"}],"predecessor-version":[{"id":1320,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=\/wp\/v2\/posts\/1242\/revisions\/1320"}],"wp:attachment":[{"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/SallyJordan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}