[virtualcommons-svn] commit/foraging: alllee: taking advantage of string template for instructions
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2012-01-06 04:27:06
|
1 new commit in foraging: https://bitbucket.org/virtualcommons/foraging/changeset/aab63233a67b/ changeset: aab63233a67b user: alllee date: 2012-01-06 05:26:57 summary: taking advantage of string template for instructions in configuration for asu and indiana experiments affected #: 4 files diff -r 0285ac97304f506e7f02e03a0c056be2754cae5a -r aab63233a67b3567a0a7eb144db559bae1437eb7 src/main/resources/configuration/asu-experiments/2011/pretest/round0.xml --- a/src/main/resources/configuration/asu-experiments/2011/pretest/round0.xml +++ b/src/main/resources/configuration/asu-experiments/2011/pretest/round0.xml @@ -7,7 +7,6 @@ <entry key="practice-round">true</entry><entry key="private-property">true</entry><entry key="duration">240</entry> - <entry key='tokens-field-of-vision'>true</entry><entry key='subjects-field-of-vision'>true</entry> @@ -23,14 +22,14 @@ <p> You will now have four minutes to practice with the experimental environment. The decisions you make in this round will NOT influence your earnings. At the beginning -of the practice round half of the cells are occupied with green tokens. The +of the practice round a quarter of the cells are occupied with green tokens. The environment is a {resourceWidth} x {resourceDepth} grid of cells. </p><p> During this practice round, and <b>only during</b> this practice round, you are able to reset the tokens displayed on the screen by pressing the <b>R</b> key. When you press the <b>R</b> key you will reset the resource to its initial distribution, -randomly filling half of the cells. +randomly filling a quarter of the cells. </p><p>If you have any questions please raise your hand. <b>Do you have any questions so far?</b></p> ]]> @@ -41,15 +40,17 @@ <h2>Quiz</h2><hr><p> -Before we begin the practice round please answer the following questions. You will earn {quizCorrectAnswerReward} for each correct answer. + In a moment, you will do a practice round of the token task. Before we go to + the practice round, answer the following questions to make sure you understand + the instructions. You will earn {quizCorrectAnswerReward} for each correct answer. </p><br><br><form> -<span class='q1'>Q1. Which one of the following statements is incorrect?</span><br> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br><input type="radio" name="q1" value="A">A. Your decisions of where to collect tokens affects the regeneration of tokens.<br><input type="radio" name="q1" value="B">B. When you have collected all tokens on the screen, no new tokens will appear.<br><input type="radio" name="q1" value="C">C. Tokens grow from the middle of the screen.<br> -<input type="radio" name="q1" value="D">D. In order to collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br> +<input type="radio" name="q1" value="D">D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br><br><br><span class='q2'>Q2. Which sequence of situations is not possible?</span><br><img src="@CODEBASE_URL@/images/question2.jpg"></img><br> @@ -60,16 +61,40 @@ </form> ]]></entry> -<entry key='q1-explanation'> +<entry key='quiz-results'><![CDATA[ - Tokens only regenerate when there are other tokens present in their immediately - neighboring cells. They do not spontaneously generate from the middle of the - screen. - ]]> -</entry> -<entry key='q2-explanation'> - <![CDATA[ - Tokens cannot regenerate on an empty screen as shown in sequence B. + <h2>Quiz Results</h2> + <hr> + <p> + {if (allCorrect)} + You have answered all the questions correctly. For more details, see below. + {else} + At least one of your answers was incorrect. Questions you've answered + incorrectly are highlighted in red. Please see below for more details. + {endif} + </p> + <br><hr> +<form> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br> + <b>{incorrect_q1} + In this question, "A", "B", and "D" are all true. "C" is false. Tokens only + regenerate when there are other tokens present in their immediately neighboring + cells. They do not spontaneously generate from the middle of the screen. + </b> +<br> +A. Your decisions of where to collect tokens affects the regeneration of tokens.<br> +B. When you have collected all tokens on the screen, no new tokens will appear.<br> +C. Tokens grow from the middle of the screen.<br> +D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br> +<br><br> +<span class='q2'>Q2. Which sequence of situations is not possible?</span><br> + <b> + {incorrect_q2} + In this question, sequence "B" is not possible. Tokens cannot regenerate on an empty screen as shown in sequence B. + </b> + <br> +<img src="@CODEBASE_URL@/images/question2.jpg"></img><br> +</form> ]]></entry></properties> diff -r 0285ac97304f506e7f02e03a0c056be2754cae5a -r aab63233a67b3567a0a7eb144db559bae1437eb7 src/main/resources/configuration/asu-experiments/2011/stationary-limitedvision/round0.xml --- a/src/main/resources/configuration/asu-experiments/2011/stationary-limitedvision/round0.xml +++ b/src/main/resources/configuration/asu-experiments/2011/stationary-limitedvision/round0.xml @@ -8,101 +8,90 @@ <entry key="private-property">true</entry><entry key="duration">240</entry> -<entry key='tokens-field-of-vision'>true</entry> -<entry key='subjects-field-of-vision'>true</entry> - <entry key="quiz">true</entry><entry key="q1">C</entry><entry key="q2">B</entry><entry key='instructions'><![CDATA[ -<h3>Practice Round Instructions</h3> +<h2>Practice Round Instructions</h2><hr><p> -You will now have four minutes to practice with the experimental environment. -The decisions you make in this round will NOT influence your earnings. At the -At the beginning of the practice round half of the cells are occupied -with green tokens. The environment is a 13 x 13 grid of cells. +You will now have four minutes to practice with the experimental environment. The +decisions you make in this round will NOT influence your earnings. At the beginning +of the practice round a quarter of the cells are occupied with green tokens. The +environment is a {resourceWidth} x {resourceDepth} grid of cells. </p><p> During this practice round, and <b>only during</b> this practice round, you are able to reset the tokens displayed on the screen by pressing the <b>R</b> key. When you press the <b>R</b> key you will reset the resource to its initial distribution, -randomly filling half of the cells. +randomly filling a quarter of the cells. </p> -<p><b> Please do not communicate with any other participant.</b></p> -<p>If you have any questions please raise your hand. <b>Do you have any -questions so far?</b></p> +<p>If you have any questions please raise your hand. <b>Do you have any questions so far?</b></p> ]]></entry><entry key="quiz-instructions"><![CDATA[ +<h2>Quiz</h2> +<hr><p> -Before we begin the practice round please answer the following questions. + In a moment, you will do a practice round of the token task. Before we go to + the practice round, answer the following questions to make sure you understand + the instructions. You will earn {quizCorrectAnswerReward} for each correct answer. </p> -<br> +<br><br><form> -<span class='q1'>Q1. Which of the statements is <b><u>incorrect</u></b>?</span><br> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br><input type="radio" name="q1" value="A">A. Your decisions of where to collect tokens affects the regeneration of tokens.<br><input type="radio" name="q1" value="B">B. When you have collected all tokens on the screen, no new tokens will appear.<br> -<input type="radio" name="q1" value="C">C. Tokens grow from the middle of the -screen.<br> -<input type="radio" name="q1" value="D">D. In order to collect a token you need -to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"> is on a cell with a token.<br> +<input type="radio" name="q1" value="C">C. Tokens grow from the middle of the screen.<br> +<input type="radio" name="q1" value="D">D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br><br><br> - -<span class='q2'>Q2. Which sequence of situations is <b><u>not possible</u></b>?</span><br> -<img src="@CODEBASE_URL@/images/question2.jpg"><br> +<span class='q2'>Q2. Which sequence of situations is not possible?</span><br> +<img src="@CODEBASE_URL@/images/question2.jpg"></img><br><input type="radio" name="q2" value="A">A<br><input type="radio" name="q2" value="B">B<br><input type="radio" name="q2" value="C">C<br> -<br> -<input type="submit" name="submit" value="Submit"> +<input type="submit" name="submit" value="Submit"><br></form> ]]></entry> - -<entry key='trust-game-instructions'> -<![CDATA[ -<h3>Task</h3> -<p> -You will be matched with another person in your group, but you will not know who -that person is. And that person will not know who you are. You make decisions for -the case you are drawn to be player 1 and the case you will be player 2. The -results of the decisions are given to you at the end of the whole experiment. -</p> - -<p> -The person drawn to be player 1 has the following decision to make. You will receive -an endowment of one dollar and decide how much to keep and how much to send to -another person in your group. -</p> - -<p> -The amount you send to the other person will be tripled and then given to the person -in your group with whom you have been matched. That person will decide how much to -keep and how much to send back to you. For example, if you send 0 extra credit -points to the other person, 0 extra credit points will be sent to the other person. -However, if you write 3 extra credit points on the form, 9 extra credit points will -be sent to the person. The other person would then decide how much to return to -you. -</p> - -<p> -Player 2 has the following decision to make. You have to choose for each of the 4 -possible cases how much to receive from player 1 how much to keep and how much to -send back to player 1. We ask you to fill in the tables for player 1 as well as for -player 2, and we will drawn whether you are player 1 or 2 after you have made the -decisions. -</p> - -<p> -Are there any questions? If you have a question, raise your hand and I will try to -answer it. -</p> -]]> +<entry key='quiz-results'> + <![CDATA[ + <h2>Quiz Results</h2> + <hr> + <p> + {if (allCorrect)} + You have answered all the questions correctly. For more details, see below. + {else} + At least one of your answers was incorrect. Questions you've answered + incorrectly are highlighted in red. Please see below for more details. + {endif} + </p> + <br><hr> +<form> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br> + <b>{incorrect_q1} + In this question, "A", "B", and "D" are all true. "C" is false. Tokens only + regenerate when there are other tokens present in their immediately neighboring + cells. They do not spontaneously generate from the middle of the screen. + </b> +<br> +A. Your decisions of where to collect tokens affects the regeneration of tokens.<br> +B. When you have collected all tokens on the screen, no new tokens will appear.<br> +C. Tokens grow from the middle of the screen.<br> +D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br> +<br><br> +<span class='q2'>Q2. Which sequence of situations is not possible?</span><br> + <b> + {incorrect_q2} + In this question, sequence "B" is not possible. Tokens cannot regenerate on an empty screen as shown in sequence B. + </b> + <br> +<img src="@CODEBASE_URL@/images/question2.jpg"></img><br> +</form> + ]]></entry> - </properties> diff -r 0285ac97304f506e7f02e03a0c056be2754cae5a -r aab63233a67b3567a0a7eb144db559bae1437eb7 src/main/resources/configuration/asu-experiments/2011/t1/round0.xml --- a/src/main/resources/configuration/asu-experiments/2011/t1/round0.xml +++ b/src/main/resources/configuration/asu-experiments/2011/t1/round0.xml @@ -19,14 +19,14 @@ <p> You will now have four minutes to practice with the experimental environment. The decisions you make in this round will NOT influence your earnings. At the beginning -of the practice round half of the cells are occupied with green tokens. The -environment is a 13 x 13 grid of cells. +of the practice round a quarter of the cells are occupied with green tokens. The +environment is a {resourceWidth} x {resourceDepth} grid of cells. </p><p> During this practice round, and <b>only during</b> this practice round, you are able to reset the tokens displayed on the screen by pressing the <b>R</b> key. When you press the <b>R</b> key you will reset the resource to its initial distribution, -randomly filling half of the cells. +randomly filling a quarter of the cells. </p><p>If you have any questions please raise your hand. <b>Do you have any questions so far?</b></p> ]]> @@ -37,15 +37,17 @@ <h2>Quiz</h2><hr><p> -Before we begin the practice round please answer the following questions. You will earn $0.50 for each correct answer. + In a moment, you will do a practice round of the token task. Before we go to + the practice round, answer the following questions to make sure you understand + the instructions. You will earn {quizCorrectAnswerReward} for each correct answer. </p><br><br><form> -<span class='q1'>Q1. Which one of the following statements is incorrect?</span><br> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br><input type="radio" name="q1" value="A">A. Your decisions of where to collect tokens affects the regeneration of tokens.<br><input type="radio" name="q1" value="B">B. When you have collected all tokens on the screen, no new tokens will appear.<br><input type="radio" name="q1" value="C">C. Tokens grow from the middle of the screen.<br> -<input type="radio" name="q1" value="D">D. In order to collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br> +<input type="radio" name="q1" value="D">D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br><br><br><span class='q2'>Q2. Which sequence of situations is not possible?</span><br><img src="@CODEBASE_URL@/images/question2.jpg"></img><br> @@ -56,16 +58,40 @@ </form> ]]></entry> -<entry key='q1-explanation'> +<entry key='quiz-results'><![CDATA[ - Tokens only regenerate when there are other tokens present in their immediately - neighboring cells. They do not spontaneously generate from the middle of the - screen. - ]]> -</entry> -<entry key='q2-explanation'> - <![CDATA[ - Tokens cannot regenerate on an empty screen as shown in sequence B. + <h2>Quiz Results</h2> + <hr> + <p> + {if (allCorrect)} + You have answered all the questions correctly. For more details, see below. + {else} + At least one of your answers was incorrect. Questions you've answered + incorrectly are highlighted in red. Please see below for more details. + {endif} + </p> + <br><hr> +<form> +<span class='q1'>Q1. Which of these statements is NOT correct?</span><br> + <b>{incorrect_q1} + In this question, "A", "B", and "D" are all true. "C" is false. Tokens only + regenerate when there are other tokens present in their immediately neighboring + cells. They do not spontaneously generate from the middle of the screen. + </b> +<br> +A. Your decisions of where to collect tokens affects the regeneration of tokens.<br> +B. When you have collected all tokens on the screen, no new tokens will appear.<br> +C. Tokens grow from the middle of the screen.<br> +D. To collect a token you need to press the space bar while your yellow dot <img src="@CODEBASE_URL@/images/gem-self.gif"></img> is on a cell with a token.<br> +<br><br> +<span class='q2'>Q2. Which sequence of situations is not possible?</span><br> + <b> + {incorrect_q2} + In this question, sequence "B" is not possible. Tokens cannot regenerate on an empty screen as shown in sequence B. + </b> + <br> +<img src="@CODEBASE_URL@/images/question2.jpg"></img><br> +</form> ]]></entry></properties> diff -r 0285ac97304f506e7f02e03a0c056be2754cae5a -r aab63233a67b3567a0a7eb144db559bae1437eb7 src/main/resources/configuration/indiana-experiments/2011/vote-punish/round0.xml --- a/src/main/resources/configuration/indiana-experiments/2011/vote-punish/round0.xml +++ b/src/main/resources/configuration/indiana-experiments/2011/vote-punish/round0.xml @@ -24,14 +24,14 @@ <p> During the practice round, you will have four minutes to practice with the experimental environment. The decisions you make in this round will NOT - influence your earnings. At the beginning of the practice round half of the + influence your earnings. At the beginning of the practice round a quarter of the cells are occupied with green tokens. The environment is a 13 x 13 grid of cells. </p><p> During this practice round, and <b>only during</b> this practice round, you are able to reset the tokens displayed on the screen. When you push the <b>R</b> key -you will reset the distribution of the tokens to randomly occupying half of the +you will reset the distribution of the tokens to randomly occupying a quarter of the cells with green tokens. </p><p>If you have any questions please raise your hand. <b>Do you have any questions so far?</b></p> @@ -100,16 +100,4 @@ </form> ]]></entry> -<entry key='q1-explanation'> - <![CDATA[ - In this question, "A", "B", and "D" are all true. "C" is false. Tokens only - regenerate when there are other tokens present in their immediately neighboring - cells. They do not spontaneously generate from the middle of the screen. - ]]> -</entry> -<entry key='q2-explanation'> - <![CDATA[ - In this question, sequence "B" is not possible. Tokens cannot regenerate on an empty screen as shown in sequence B. - ]]> -</entry></properties> Repository URL: https://bitbucket.org/virtualcommons/foraging/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |