annotate tests/examples/AB_example.xml @ 2586:42446b5eeee8

Fix scoreParser for multiple-axis results
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Sat, 05 Nov 2016 13:05:30 +0000
parents 5f7c11fa5f83
children bbe90393aadd
rev   line source
nicholas@2226 1 <?xml version="1.0" encoding="utf-8"?>
n@2579 2 <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
n@2579 3 <setup interface="AB" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" playOne="true">
n@2579 4 <survey location="before">
n@2583 5 <surveyslider id="sliders" max="100" min="0">
n@2583 6 <statement>Sliders!!</statement>
n@2583 7 <minText>Lefty</minText>
n@2583 8 <maxText>Righty</maxText>
n@2583 9 </surveyslider>
n@2582 10 <surveyquestion id="sessionId" mandatory="true">
n@2579 11 <statement>Please enter your name.</statement>
n@2582 12 </surveyquestion>
n@2582 13 <surveycheckbox id="checkboxtest" mandatory="true">
n@2579 14 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
n@2579 15 <option name="musician">Playing a musical instrument</option>
n@2579 16 <option name="soundengineer">Recording or mixing audio</option>
n@2579 17 <option name="developer">Developing audio software</option>
n@2579 18 <option name="hwdesigner">Designing or building audio hardware</option>
n@2579 19 <option name="researcher">Research in the field of audio</option>
n@2582 20 </surveycheckbox>
n@2582 21 <surveystatement id="test-intro">
n@2579 22 <statement>This is an example of an 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
n@2582 23 </surveystatement>
n@2579 24 </survey>
n@2579 25 <survey location="after">
n@2579 26 <surveyentry type="question" id="location" mandatory="true" boxsize="large">
n@2579 27 <statement>Please enter your location. (example mandatory text question)</statement>
n@2579 28 </surveyentry>
n@2579 29 <surveyentry type="number" id="age" min="0">
n@2579 30 <statement>Please enter your age (example non-mandatory number question)</statement>
n@2579 31 </surveyentry>
n@2579 32 <surveyentry type="radio" id="rating">
n@2579 33 <statement>Please rate this interface (example radio button question)</statement>
n@2579 34 <option name="bad">Bad</option>
n@2579 35 <option name="poor">Poor</option>
n@2579 36 <option name="good">Good</option>
n@2579 37 <option name="great">Great</option>
n@2579 38 </surveyentry>
n@2579 39 <surveyentry type="statement" id="test-thank-you">
n@2579 40 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
n@2579 41 </surveyentry>
n@2579 42 </survey>
n@2579 43 <metric>
n@2579 44 <metricenable>testTimer</metricenable>
n@2579 45 <metricenable>elementTimer</metricenable>
n@2579 46 <metricenable>elementInitialPosition</metricenable>
n@2579 47 <metricenable>elementTracker</metricenable>
n@2579 48 <metricenable>elementFlagListenedTo</metricenable>
n@2579 49 <metricenable>elementFlagMoved</metricenable>
n@2579 50 <metricenable>elementListenTracker</metricenable>
n@2579 51 </metric>
n@2579 52 <interface>
n@2579 53 <interfaceoption type="check" name="fragmentMoved" />
n@2579 54 <interfaceoption type="check" name="scalerange" min="25" max="75" />
n@2579 55 <interfaceoption type="show" name='playhead' />
n@2579 56 <interfaceoption type="show" name="page-count" />
n@2579 57 <interfaceoption type="show" name='volume' />
n@2579 58 <interfaceoption type="show" name='comments' />
n@2579 59 </interface>
n@2579 60 </setup>
n@2579 61 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
n@2579 62 <commentboxprefix>Comment on fragment</commentboxprefix>
n@2579 63 <interface>
n@2579 64 <title>Depth</title>
n@2579 65 </interface>
n@2579 66 <audioelement url="0.wav" id="track-0" />
n@2579 67 <audioelement url="1.wav" id="track-1" />
n@2579 68 <commentquestions>
n@2579 69 <commentslider id="slider" min="0" max="100">
n@2579 70 <statement>Test</statement>
n@2580 71 <minText>Left</minText>
n@2580 72 <maxText>Right</maxText>
n@2579 73 </commentslider>
n@2579 74 </commentquestions>
n@2579 75 <survey location="before">
n@2579 76 <surveyentry type="statement" id="test-0-intro">
n@2579 77 <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement>
n@2579 78 </surveyentry>
n@2579 79 </survey>
n@2579 80 <survey location="after">
n@2579 81 <surveyentry type="question" id="genre-0" mandatory="true">
n@2579 82 <statement>Please enter the genre.</statement>
n@2579 83 </surveyentry>
n@2579 84 </survey>
n@2579 85 </page>
n@2579 86 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12">
n@2579 87 <commentboxprefix>Comment on fragment</commentboxprefix>
n@2579 88 <interface>
n@2579 89 <title>Depth</title>
n@2579 90 </interface>
n@2579 91 <audioelement url="0.wav" id="track-2" />
n@2579 92 <audioelement url="1.wav" id="track-3" />
n@2579 93 <audioelement url="2.wav" id="track-4" />
n@2579 94 <audioelement url="3.wav" id="track-5" />
n@2579 95 <audioelement url="4.wav" id="track-6" />
n@2579 96 <audioelement url="5.wav" id="track-7" />
n@2579 97 <audioelement url="6.wav" id="track-8" />
n@2579 98 <survey location="before">
n@2579 99 <surveyentry type="statement" id="test-1-intro">
n@2579 100 <statement>A 7 way comparison using randomised element order and synchronised looping.</statement>
n@2579 101 </surveyentry>
n@2579 102 </survey>
n@2579 103 <survey location="after">
n@2579 104 <surveyentry type="question" id="genre-1" mandatory="true">
n@2579 105 <statement>Please enter the genre.</statement>
n@2579 106 </surveyentry>
n@2579 107 </survey>
n@2579 108 </page>
n@2579 109 </waet>