﻿<?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  » number of trials not as expected in a block</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 25 Sep 2026 04:15:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30149.aspx</link><description>&lt;blockquote data-id="30148" class="if-quote-wrapper" unselectable="on" data-guid="1605289110080" id="if_insertedNode_1605289109925" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30148" 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="30148" 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="30148" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30148"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30147" class="if-quote-wrapper" unselectable="on" data-guid="1605289110080" id="if_insertedNode_1605288208765" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30147" 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="30147" 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="30147" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30147"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30146" class="if-quote-wrapper" unselectable="on" data-guid="1605289110080" id="if_insertedNode_1605287953873" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30146" 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="30146" 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="30146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30145" class="if-quote-wrapper" unselectable="on" data-guid="1605289110080" id="if_insertedNode_1605287649914" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30145" 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="30145" 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="30145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30145"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;just adding that when i get the 26, 24, vs 25 trials all around, I'm also having pictures repeat, which is not what we want.&amp;nbsp;&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30146"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;You're sampling the 12 trial elements *in equal proportions*. 150/12 = 12.5. There obviously can be no such thing as 0.5 of a trial, hence you get imbalances. Enter the trial elements in the proportions you want into the noreplace selection pool.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30147"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;that makes total sense. so I need to spell out the 150 trials total?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30148"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;If I'm reading your original description correctly, for "chem mixed" and "engl mixed", two distinct &amp;lt;trial&amp;gt; elements together form a "type", and you want 25 trials of each "type", but don't care if the within-type distribution is 12 x subtrial A and 13 x subtrial B, or 13 x subtrial A and 12 x subtrial B.. If so, the proper way to do this would be to create a dummy &amp;lt;trial&amp;gt; element for each type that you sample at the block-level, and have the actual trials in a &amp;lt;list&amp;gt; that the dummy trial /branch'es to. I.e.&lt;br/&gt;&lt;br/&gt;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,Chem_mixed,Engl_mixed)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;with&lt;br/&gt;&lt;br/&gt;&amp;lt;trial chem_mixed&amp;gt;&lt;br/&gt;/ trialduration = 0&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.chem_mixed_trials.nextvalue;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;// with poolsize 24 and equal proportions, we're guaranteed to get 12 x chem_correct_mixed and 12 x chem_incorrect_mixed&lt;br/&gt;// the 25th sample will randomly be either chem_correct_mixed or chem_incorrect_mixed&lt;br/&gt;&amp;lt;list chem_mixed_trials&amp;gt;&lt;br/&gt;/ items = (trial.chem_correct_mixed, trial.chem_incorrect_mixed)&lt;br/&gt;/ poolsize = 24&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial engl_mixed&amp;gt;&lt;br/&gt;/ trialduration = 0&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.engl_mixed_trials.nextvalue;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list engl_mixed_trials&amp;gt;&lt;br/&gt;/ items = (trial.engl_correct_mixed, trial.engl_incorrect_mixed)&lt;br/&gt;/ poolsize = 24&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;</description><pubDate>Fri, 13 Nov 2020 18:10:48 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30150.aspx</link><description>&lt;blockquote data-id="30149" class="if-quote-wrapper" unselectable="on" data-guid="1605290820638" contenteditable="false" id="if_insertedNode_1605290820085"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30149" 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="30149" 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="30149" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30149"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30148" class="if-quote-wrapper" unselectable="on" data-guid="1605290820638" id="if_insertedNode_1605289109925" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30148" 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="30148" 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="30148" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30148"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30147" class="if-quote-wrapper" unselectable="on" data-guid="1605290820638" id="if_insertedNode_1605288208765" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30147" 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="30147" 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="30147" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30147"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30146" class="if-quote-wrapper" unselectable="on" data-guid="1605290820638" id="if_insertedNode_1605287953873" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30146" 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="30146" 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="30146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30145" class="if-quote-wrapper" unselectable="on" data-guid="1605290820638" id="if_insertedNode_1605287649914" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30145" 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="30145" 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="30145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30145"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;just adding that when i get the 26, 24, vs 25 trials all around, I'm also having pictures repeat, which is not what we want.&amp;nbsp;&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30146"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;You're sampling the 12 trial elements *in equal proportions*. 150/12 = 12.5. There obviously can be no such thing as 0.5 of a trial, hence you get imbalances. Enter the trial elements in the proportions you want into the noreplace selection pool.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30147"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;that makes total sense. so I need to spell out the 150 trials total?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30148"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;If I'm reading your original description correctly, for the "chem mixed" and "eng mixed", two distinct &amp;lt;trial&amp;gt; elements together form a "type", and you want 25 trials of each "type", but don't care if the within-type distribution is (12 x subtrial A and 13 x subtrial B, or 13 x subtrial A and 12 x subtrial B). If so, the proper way to do this would be to create a dummy &amp;lt;trial&amp;gt; element for each type that you sample at the block-level, and have the actual trials in a &amp;lt;list&amp;gt; that the dummy trial /branch'es to. I.e.&lt;br/&gt;&lt;br/&gt;&amp;lt;block example&amp;gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,Chem_mixed,Engl_mixed)]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;with&lt;br/&gt;&lt;br/&gt;&amp;lt;trial chem_mixed&amp;gt;&lt;br/&gt;/ trialduration = 0&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.chem_mixed_trials.nextvalue;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;// with poolsize 24 and equal proportions, we're guaranteed to get 12 x chem_correct_mixed and 12 x chem_incorrect_mixed&lt;br/&gt;// the 25th sample will randomly be either chem_correct_mixed or chem_incorrect_mixed&lt;br/&gt;&amp;lt;list chem_mixed_trials&amp;gt;&lt;br/&gt;/ items = (trial.chem_correct_mixed, trial.chem_incorrect_mixed)&lt;br/&gt;/ poolsize = 24&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial engl_mixed&amp;gt;&lt;br/&gt;/ trialduration = 0&lt;br/&gt;/ recorddata = false&lt;br/&gt;/ branch = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;list.engl_mixed_trials.nextvalue;&lt;br/&gt;]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list engl_mixed_trials&amp;gt;&lt;br/&gt;/ items = (trial.engl_correct_mixed, trial.engl_incorrect_mixed)&lt;br/&gt;/ poolsize = 24&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30149"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Perfect. Thank you so much. This is extremely clear. </description><pubDate>Fri, 13 Nov 2020 18:07:22 GMT</pubDate><dc:creator>xizhouxie</dc:creator></item><item><title>number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30145.aspx</link><description>I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 13 Nov 2020 18:07:22 GMT</pubDate><dc:creator>xizhouxie</dc:creator></item><item><title>RE: number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30148.aspx</link><description>&lt;blockquote data-id="30147" class="if-quote-wrapper" unselectable="on" data-guid="1605288210238" contenteditable="false" id="if_insertedNode_1605288208765"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30147" 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="30147" 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="30147" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30147"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30146" class="if-quote-wrapper" unselectable="on" data-guid="1605288210238" id="if_insertedNode_1605287953873" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30146" 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="30146" 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="30146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30145" class="if-quote-wrapper" unselectable="on" data-guid="1605288210238" id="if_insertedNode_1605287649914" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30145" 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="30145" 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="30145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30145"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;just adding that when i get the 26, 24, vs 25 trials all around, I'm also having pictures repeat, which is not what we want.&amp;nbsp;&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30146"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;You're sampling the 12 trial elements *in equal proportions*. 150/12 = 12.5. There obviously can be no such thing as 0.5 of a trial, hence you get imbalances. Enter the trial elements in the proportions you want into the noreplace selection pool.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30147"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;that makes total sense. so I need to spell out the 150 trials total?&amp;nbsp;</description><pubDate>Fri, 13 Nov 2020 17:24:03 GMT</pubDate><dc:creator>xizhouxie</dc:creator></item><item><title>RE: number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30147.aspx</link><description>&lt;blockquote data-id="30146" class="if-quote-wrapper" unselectable="on" data-guid="1605287954899" id="if_insertedNode_1605287953873" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30146" 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="30146" 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="30146" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30146"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30145" class="if-quote-wrapper" unselectable="on" data-guid="1605287954899" id="if_insertedNode_1605287649914" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30145" 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="30145" 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="30145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30145"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;just adding that when i get the 26, 24, vs 25 trials all around, I'm also having pictures repeat, which is not what we want.&amp;nbsp;&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="30146"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;You're sampling the 12 trial elements *in equal proportions*. 150/12 = 12.5. There obviously can be no such thing as 0.5 of a trial, hence you get imbalances. Enter the trial elements in the proportions you want into the noreplace selection pool.&lt;br/&gt;</description><pubDate>Fri, 13 Nov 2020 17:21:41 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: number of trials not as expected in a block</title><link>https://forums.millisecond.com/Topic30146.aspx</link><description>&lt;blockquote data-id="30145" class="if-quote-wrapper" unselectable="on" data-guid="1605287651254" contenteditable="false" id="if_insertedNode_1605287649914"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30145" 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="30145" 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="30145" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;xizhouxie - 11/13/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30145"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I have 6 types of trials and I want them randomly displayed in one block so that I get 150 trials total:&lt;br/&gt;25&amp;nbsp;Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;12/13Chem_correct_mixed,&lt;br/&gt;13/12Chem_incorrect_mixed, adding to 25 total&amp;nbsp;&lt;br/&gt;12/13Engl_correct_mixed,&lt;br/&gt;13/12Engl_incorrect_mixed, adding to 25 total&lt;br/&gt;&lt;br/&gt;Picture: &lt;br/&gt;Chem_correct and&amp;nbsp;Chem_incorrect share a picture element with 50 items,&amp;nbsp;&lt;br/&gt;Engl_correct and&amp;nbsp; Engl_incorrect&amp;nbsp;share a picture element with 50 items, &lt;br/&gt;Chem_correct_mixed and&amp;nbsp;Chem_incorrect_mixed share&amp;nbsp;a picture element with 25 items, &lt;br/&gt;Engl_correct_mixed and Engl_incorrect_mixed share a picture element with 25 items,&lt;br/&gt;All picture elements are set to noreplacenorepeat&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;CODE:&lt;br/&gt;This is what I have in the block: &lt;br/&gt;/ trials = [1-150 = noreplace(Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct,Chem_incorrect,Engl_correct,Engl_incorrect,&lt;br/&gt;Chem_correct_mixed,Chem_incorrect_mixed,Engl_correct_mixed,Engl_incorrect_mixed)]&lt;br/&gt;&lt;br/&gt;But instead of getting&amp;nbsp;&lt;br/&gt;25 Chem_correct,&lt;br/&gt;25 Chem_incorrect,&lt;br/&gt;25 Engl_correct,&lt;br/&gt;25 Engl_incorrect,&lt;br/&gt;&lt;br/&gt;I would get 26, 24, ... &lt;br/&gt;How do I fix that? &lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30145"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;just adding that when i get the 26, 24, vs 25 trials all around, I'm also having pictures repeat, which is not what we want.&amp;nbsp;&amp;nbsp;</description><pubDate>Fri, 13 Nov 2020 17:15:19 GMT</pubDate><dc:creator>xizhouxie</dc:creator></item></channel></rss>