Some notes on answers to the practical questions
server_data
, run the experiment and use cyberduck to watch the CSV files appearing and moving around in server_data/il
- remember you will need to click refresh in cyberduck regularly to see what’s happening. Experiment with abandoning the experiment part-way through (i.e. closing the browser window) and see what happens. Look at the CSV data files that get created in various places, and check that the contents of the data files make sense and how they relate to what you see as a participant. Try to run a few generations of at least one chain and check that the iteration process works as you expect.No model answer here - hopefully you can see the language files shuttling about between ready_to_iterate
, undergoing_iteration
and completed_iteration
.
The number of passes through the training set is specified in lines 592-595 of iterated_learning.js, when we use build_training_timeline
to construct the training timeline. I have set it up just to present a single block of training:
var training_timeline = build_training_timeline(
training_object_label_pairs,
1 //this produces 1 block of training
);
So if you want multiple passes through the training set, set this number to e.g. 6 and see what happens.
The size of the transmission bottleneck (how many meaning-signal pairs our participants see in each block of training) is set just above there, on lines 589-491:
var training_object_label_pairs =
jsPsych.randomization.sampleWithoutReplacement(input_language, 14);
So there we are selecting 14 - change that to e.g. 5 or 20 and see what happens.
In the base version of the code we randomise the syllables once, when the experiment loads, on lines 235 onwards:
var available_syllables = jsPsych.randomization.shuffle([
"ti",
"ta",
...
]);
As I explain in the code walk-through, I think this is a sensible way to do it because it means the structure of the syllable space is less obvious (the participants don;t see the syllables enumerated in a really clear way), but it’s not as annoying as randomising the label order on every trial. But you can play around with these other possibilities. First, to get no randomisation, just get rid of the shuffling entirely and see what you think of that:
var available_syllables = [
"ti",
"ta",
...
];
To shuffle every production trial independently is a little more work - I have to edit my make_production_trial
function:
function make_production_trial(object_filename) {
//shuffle the syllables
var shuffled_syllables = jsPsych.randomization.shuffle(available_syllables)
//add the DELETE and DONE buttons to the shuffled syllables syllables
var buttons = shuffled_syllables.concat(["DELETE", "DONE"]);
//...
//define what a single production trial looks like - this will loop
var single_production_trial = {
type: jsPsychImageButtonResponsePromptAboveButtons,
stimulus: object_filename,
stimulus_height: 150,
choices: buttons, //now I am using my shuffled buttons
//...
//then the rest as before
This should ensure that I shuffle the buttons once, when I construct the production trial, and then every time we loop this trial the order will be the same, but each separate production trial will have its own randomisation.
We already provided thoughts on how this could be done (which also covers the other harder questions).
We already provided thoughts on how this could be done.
This really was quite hard, check out the model answer if you are curious.
All aspects of this work are licensed under a Creative Commons Attribution 4.0 International License.