﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Counting Errors</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 17 Sep 2026 18:27:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Counting Errors</title><link>https://forums.millisecond.com/Topic21528.aspx</link><description>&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;Hi !&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;We are looking for an expression that would start counting the participant's errors only after the first error&lt;/font&gt;&lt;span style="font-size: medium;"&gt;. It would be great if you could help us code this.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;Thank you for your help!&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;Here is a segment of our script...&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;&amp;lt;item b0&amp;gt;&lt;/div&gt;&lt;div&gt;/1="Blackrectangle.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b1&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.001.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b2&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.002.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b0&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b0&lt;/div&gt;&lt;div&gt;/position=(50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b1&amp;gt;&lt;/div&gt;&lt;div&gt;/items= b1&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b2&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b2&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;trial b1&amp;gt;&lt;/div&gt;&lt;div&gt;/ stimulustimes = [0=b1; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice=keyboard&lt;/div&gt;&lt;div&gt;/correctresponse=("a")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2200&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b1.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;trial b2&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;/stimulustimes = [0=b2; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice= keyboard&lt;/div&gt;&lt;div&gt;/correctresponse= ("l")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2100&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b2.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;block practice&amp;gt;&lt;/div&gt;&lt;div&gt;/trials= [1=sequence (startpractice,b1,b2)]&lt;/div&gt;&lt;div&gt;/ screencolor &amp;nbsp;= (0, 0, 0)&lt;/div&gt;&lt;div&gt;/ recorddata = false&lt;/div&gt;&lt;div&gt;/ postinstructions = (practiceSummary)&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/block&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;values &amp;gt;&lt;/div&gt;&lt;div&gt;/earnings=0&lt;/div&gt;&lt;div&gt;/losses=0&lt;/div&gt;&lt;div&gt;/earningstest=0&lt;/div&gt;&lt;div&gt;/lossestest=0&lt;/div&gt;&lt;div&gt;&amp;lt;/values&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;page Summary&amp;gt;&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;FEEDBACK&lt;/div&gt;&lt;div&gt;^^&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;Total = $&amp;lt;%(values.earningstest+values.lossestest)%&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/page&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;span style="font-size: 12pt;"&gt;&amp;lt;expt&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;/blocks=[1=practice]&lt;/div&gt;&lt;div&gt;&amp;lt;/expt&amp;gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Tue, 09 May 2017 21:39:42 GMT</pubDate><dc:creator>Gaurav Krishnamoorthy</dc:creator></item><item><title>RE: Counting Errors</title><link>https://forums.millisecond.com/Topic21534.aspx</link><description>&lt;div data-id="21533" class="if-quote-wrapper" unselectable="on" data-guid="1494390661121"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21533" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21533" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21533" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, May 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21533"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21528" class="if-quote-wrapper" unselectable="on" data-guid="1494390661121"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21528" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21528" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21528" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Gaurav Krishnamoorthy - Tuesday, May 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21528"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;Hi !&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;We are looking for an expression that would start counting the participant's errors only after the first error&lt;/font&gt;&lt;span style="font-size: medium;"&gt;. It would be great if you could help us code this.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;Thank you for your help!&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;Here is a segment of our script...&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;&amp;lt;item b0&amp;gt;&lt;/div&gt;&lt;div&gt;/1="Blackrectangle.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b1&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.001.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b2&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.002.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b0&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b0&lt;/div&gt;&lt;div&gt;/position=(50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b1&amp;gt;&lt;/div&gt;&lt;div&gt;/items= b1&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b2&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b2&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;trial b1&amp;gt;&lt;/div&gt;&lt;div&gt;/ stimulustimes = [0=b1; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice=keyboard&lt;/div&gt;&lt;div&gt;/correctresponse=("a")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2200&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b1.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;trial b2&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;/stimulustimes = [0=b2; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice= keyboard&lt;/div&gt;&lt;div&gt;/correctresponse= ("l")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2100&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b2.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;block practice&amp;gt;&lt;/div&gt;&lt;div&gt;/trials= [1=sequence (startpractice,b1,b2)]&lt;/div&gt;&lt;div&gt;/ screencolor &amp;nbsp;= (0, 0, 0)&lt;/div&gt;&lt;div&gt;/ recorddata = false&lt;/div&gt;&lt;div&gt;/ postinstructions = (practiceSummary)&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/block&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;values &amp;gt;&lt;/div&gt;&lt;div&gt;/earnings=0&lt;/div&gt;&lt;div&gt;/losses=0&lt;/div&gt;&lt;div&gt;/earningstest=0&lt;/div&gt;&lt;div&gt;/lossestest=0&lt;/div&gt;&lt;div&gt;&amp;lt;/values&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;page Summary&amp;gt;&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;FEEDBACK&lt;/div&gt;&lt;div&gt;^^&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;Total = $&amp;lt;%(values.earningstest+values.lossestest)%&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/page&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;span style="font-size: 12pt;"&gt;&amp;lt;expt&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;/blocks=[1=practice]&lt;/div&gt;&lt;div&gt;&amp;lt;/expt&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21528"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Where do you count errors specifically? And -- if you count them -- why can't you just subtract one from the final count?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21533"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Working of a guess / incomplete understanding: My assumptions are:&lt;br/&gt;(1) You always want to increase values.earnings in case of a correct response.&lt;br/&gt;(2) You want to decrease values.losses in case of a wrong response, but only if the participant has already made at least one error.&lt;br/&gt;&lt;br/&gt;If so:&lt;br/&gt;&lt;br/&gt;Introduce a new variable where you explicitly count the errors&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ errorcounter = 0&lt;br/&gt;...&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;Always increase that counter in case of an error and decrease values.losses only if the errorcounter is greater than 1.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial b1&amp;gt;&lt;br/&gt;/ stimulustimes = [0=b1; 500=b0]&lt;br/&gt;/inputdevice=keyboard&lt;br/&gt;/correctresponse=("a")&lt;br/&gt;/validresponse = ("a","l")&lt;br/&gt;/timeout=2200&lt;br/&gt;/beginresponsetime=0&lt;br/&gt;/recorddata = true &lt;br/&gt;&lt;strong&gt;/ ontrialend = [ if (trial.b1.correct) values.earnings +=1]&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;/ ontrialend = [ if (trial.b1.error) values.errorcounter += 1]&lt;br/&gt;/ ontrialend = [ if (trial.b1.error &amp;amp;&amp;amp; values.errorcounter &amp;gt; 1) values.losses -= 1]&lt;br/&gt;&lt;/strong&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&amp;lt;trial b2&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;/stimulustimes = [0=b2; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice= keyboard&lt;/div&gt;&lt;div&gt;/correctresponse= ("l")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2100&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;/div&gt;&lt;div&gt;&lt;strong&gt;/ ontrialend = [ if (trial.b2.correct) values.earnings +=1]&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;/ ontrialend = [ if (trial.b2.error) values.errorcounter += 1]&lt;br/&gt;/ ontrialend = [ if (trial.b2.error &amp;amp;&amp;amp; values.errorcounter &amp;gt; 1) values.losses -= 1]&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;</description><pubDate>Tue, 09 May 2017 21:39:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Counting Errors</title><link>https://forums.millisecond.com/Topic21533.aspx</link><description>&lt;div data-id="21528" class="if-quote-wrapper" unselectable="on" data-guid="1494390045522"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21528" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="21528" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="21528" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Gaurav Krishnamoorthy - Tuesday, May 9, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21528"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;Hi !&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;We are looking for an expression that would start counting the participant's errors only after the first error&lt;/font&gt;&lt;span style="font-size: medium;"&gt;. It would be great if you could help us code this.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;Thank you for your help!&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;Here is a segment of our script...&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;&amp;lt;item b0&amp;gt;&lt;/div&gt;&lt;div&gt;/1="Blackrectangle.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b1&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.001.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;item b2&amp;gt;&lt;/div&gt;&lt;div&gt;/1="block1.002.jpg"&lt;/div&gt;&lt;div&gt;&amp;lt;/item&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b0&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b0&lt;/div&gt;&lt;div&gt;/position=(50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b1&amp;gt;&lt;/div&gt;&lt;div&gt;/items= b1&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;picture b2&amp;gt;&lt;/div&gt;&lt;div&gt;/items=b2&lt;/div&gt;&lt;div&gt;/position= (50,50)&lt;/div&gt;&lt;div&gt;/size= (100%, 100%)&lt;/div&gt;&lt;div&gt;/erase=false&lt;/div&gt;&lt;div&gt;&amp;lt;/picture&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;trial b1&amp;gt;&lt;/div&gt;&lt;div&gt;/ stimulustimes = [0=b1; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice=keyboard&lt;/div&gt;&lt;div&gt;/correctresponse=("a")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2200&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b1.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;trial b2&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;/stimulustimes = [0=b2; 500=b0]&lt;/div&gt;&lt;div&gt;/inputdevice= keyboard&lt;/div&gt;&lt;div&gt;/correctresponse= ("l")&lt;/div&gt;&lt;div&gt;/validresponse = ("a","l")&lt;/div&gt;&lt;div&gt;/timeout=2100&lt;/div&gt;&lt;div&gt;/beginresponsetime=0&lt;/div&gt;&lt;div&gt;/recorddata = true&lt;/div&gt;&lt;div&gt;/ontrialend=[ if (trial.b2.correct) values.earnings +=1 else values.losses -=1]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;block practice&amp;gt;&lt;/div&gt;&lt;div&gt;/trials= [1=sequence (startpractice,b1,b2)]&lt;/div&gt;&lt;div&gt;/ screencolor &amp;nbsp;= (0, 0, 0)&lt;/div&gt;&lt;div&gt;/ recorddata = false&lt;/div&gt;&lt;div&gt;/ postinstructions = (practiceSummary)&lt;span class="x_Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/block&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;values &amp;gt;&lt;/div&gt;&lt;div&gt;/earnings=0&lt;/div&gt;&lt;div&gt;/losses=0&lt;/div&gt;&lt;div&gt;/earningstest=0&lt;/div&gt;&lt;div&gt;/lossestest=0&lt;/div&gt;&lt;div&gt;&amp;lt;/values&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;&amp;lt;page Summary&amp;gt;&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;FEEDBACK&lt;/div&gt;&lt;div&gt;^^&lt;/div&gt;&lt;div&gt;^^ &amp;nbsp; &amp;nbsp;Total = $&amp;lt;%(values.earningstest+values.lossestest)%&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/page&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;font size="3"&gt;&lt;br/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;span style="font-size: 12pt;"&gt;&amp;lt;expt&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;div&gt;/blocks=[1=practice]&lt;/div&gt;&lt;div&gt;&amp;lt;/expt&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21528"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Where do you count errors specifically? And -- if you count them -- why can't you just subtract one from the final count?&lt;br/&gt;</description><pubDate>Tue, 09 May 2017 21:23:40 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>