<commit_before>var sessionID;
var mode;

var goodJob = new Audio('audio/good_job.m4a'); //"Good job"
var tooLate = new Audio('audio/too_late.m4a'); //"Sorry. You're out of time."

var excuseMe = new Audio('audio/excuseMe.m4a'); //Excuse me!
var preUrgentPrompt = new Audio('audio/urgent.m4a'); //Urgent!
var preRelaxPrompt = new Audio('audio/relax.m4a'); //When you have a minute

//Round settings
var round;
var code;
var room;
var notStyle;
var urg;
var obj1;
var audio1;
var obj2;
var audio2;

var Item = function (name) {
    this.name = name;
    this.touched = false;
    this.waiting = false;
}

//create things
var telephone = new Item('telephone');
var bed = new Item('alarmclock');
var toaster = new Item('toaster');
var pot = new Item('pot');
var bathtub = new Item('bathtub');
var sink = new Item('sink');

var event = '';


/**
 * set up configuration variables
 * assumes url ends with "?session=ID&code=CODE&round=ROUND"
 */
function initiate(){
    var locate = window.location.toString();
    var vars = locate.split("&");
    var sessionPair = vars[0].split("=");<commit_msg>change name of bed to bed<commit_after>var sessionID;
var mode;

var goodJob = new Audio('audio/good_job.m4a'); //"Good job"
var tooLate = new Audio('audio/too_late.m4a'); //"Sorry. You're out of time."

var excuseMe = new Audio('audio/excuseMe.m4a'); //Excuse me!
var preUrgentPrompt = new Audio('audio/urgent.m4a'); //Urgent!
var preRelaxPrompt = new Audio('audio/relax.m4a'); //When you have a minute

//Round settings
var round;
var code;
var room;
var notStyle;
var urg;
var obj1;
var audio1;
var obj2;
var audio2;

var Item = function (name) {
    this.name = name;
    this.touched = false;
    this.waiting = false;
}

//create things
var telephone = new Item('telephone');
var bed = new Item('bed');
var toaster = new Item('toaster');
var pot = new Item('pot');
var bathtub = new Item('bathtub');
var sink = new Item('sink');

var event = '';


/**
 * set up configuration variables
 * assumes url ends with "?session=ID&code=CODE&round=ROUND"
 */
function initiate(){
    var locate = window.location.toString();
    var vars = locate.split("&");
    var sessionPair = vars[0].split("=");
{'fraction_non_alphanumeric': 0.15791875855773618, 'fraction_numerical': 0.009128251939753538, 'mean_word_length': 4.097674418604651, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2044747', 'n_tokens_mistral': 766, 'n_tokens_neox': 747, 'n_words': 238}