<commit_before>// ---------------- 2. STIMULUS SETUP ------------------
// Condition - call the maker getter to get the cond variable 
// Parameters and Stimulus Setup 


// Defining the state-space of relevant experiments for PHASE 0: Methodological questions.

// Participant response type:
//      0 -> NAFC: N alternative forced Choice. In this case N == 3.
//      1 -> Betting: Splitting $100 among three choices (must include validation check)
//      2 -> Likert scale (1 - 7): “how likely is this to be his friend?” 1 = very unlikely, 7 = very likely
//var participant_response_type = random(0,2);
var participant_response_type = 0;

// Participant check trials:
//      0 -> The count of each feature is not asked for
//      1 -> The count of two features are requested
//      2 -> The count of 3 features are requested
var participant_feature_count = 2;

// Linguistic framing
//      0 -> "My favorite friend has a hat"
//      1 -> "Bob can only say one word to communicate with you: Hat"
//      2 -> "My least favorite friend has a hat"  - from 2 onwards we try different words to measure the effect of different semantics
//      3 -> "The most beautiful X has a hat"
//      4 -> "The most ugly X has a hat"
//      5 -> "The most cheerful x has a y"
//      6 -> "The most depressing X has y"
//      7 -> Silent favorite: Click below on the option that represents the X that you think is Bob's favorite X.
//      8 -> Silent least favorite: Click below on the option that represents the friend that you think is Bob's least favorite.
//      9 -> (Odd one out) Non-linguistic: Bob points to a patch of cloth the same color as the hats. (odd one out is either 9 or 10)
//      10 -> (Odd one out) Linguistic: Bob says "hat" (odd one out is either 9 or 10)
//      11 -> tricky guy
//      12 -> Pure randomness condition: You ask a concrete randomness question so that Liker, betting and forced choice can be mapped onto actual estimated probabilities   
var linguistic_framing = 1;
//var linguistic_framing = random(9, 10);


// Question Type (This will be a controlled experiment with an equal proportion for each base rate).
//      0 -> Listener inference judgement
//      1 -> Couldn't hear: “He said ‘My friend has mumblemumble.’ (you didn’t hear what he said)”
//      2 -> Pure base rate: "Which one is his friend?" or "Which friend is Bob's favorite?"
var question_type = 0;

// Question sequence 
//      0 -> Default: One target trial -> probably already done
//      1 -> 6 trials with same inference question
//      2 -> 6 trials, 3 inference, 3 where target is Logical target, unambiguous feature 
//      3 -> Default: One distractor trial  -> probably not necesary
//      4 -> 6 Target Trials
//      5 -> 6 Trials in the order FTFTFT (T=”target trial” F=”filler trial”)
//      6 -> 6 Trials in the order TFTFTF (T=”target trial” F=”filler trial”)
var target_filler_sequence = 0;


// Familiarization Status (whether we have the base rate slide)
//      0 -> We don't have a familiarization stage
//      1 -> We do have a familiarization stage
var familiarization_status = 0;

// The stimulus kind. When it is hardcoded as 1 we get the happy face stimulus.
//    0 -> "boat"
//    1 -> "friend"
//    2 -> "pizza"
//    3 -> "snowman"
//    4 -> "sundae"
//    5 -> "Christmas tree"
var stim_index = random(0,5);
//var stim_index = 0;

// The Scale and Levels.
//    0 -> scales [[0, 0, 0], [0, 0, 1], [0, 1, 1]], level 0
//    1 -> scales [[0, 0, 0], [0, 0, 1], [0, 1, 1]], level 1
//    2 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 0
//    3 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 1
//    4 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 2
//    5 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]] level 0
//    6 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]], level 1
//    7 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]], level 2
//    8 -> odd one out [[0, 1, 1], [1, 0 , 1], [1, 1, 0]]
var scale_and_level = 1;
//var scale_and_level = 1;

// Elaborate on the purpose of this. Which image is being changed
var img_size = 200; // needs to be implemented, currently just a placeholder   
<commit_msg>bibliography<commit_after>// ---------------- 2. STIMULUS SETUP ------------------
// Condition - call the maker getter to get the cond variable 
// Parameters and Stimulus Setup 


// Defining the state-space of relevant experiments for PHASE 0: Methodological questions.

// Participant response type:
//      0 -> NAFC: N alternative forced Choice. In this case N == 3.
//      1 -> Betting: Splitting $100 among three choices (must include validation check)
//      2 -> Likert scale (1 - 7): “how likely is this to be his friend?” 1 = very unlikely, 7 = very likely
//var participant_response_type = random(0,2);
var participant_response_type = 2;

// Participant check trials:
//      0 -> The count of each feature is not asked for
//      1 -> The count of two features are requested
//      2 -> The count of 3 features are requested
var participant_feature_count = 2;

// Linguistic framing
//      0 -> "My favorite friend has a hat"
//      1 -> "Bob can only say one word to communicate with you: Hat"
//      2 -> "My least favorite friend has a hat"  - from 2 onwards we try different words to measure the effect of different semantics
//      3 -> "The most beautiful X has a hat"
//      4 -> "The most ugly X has a hat"
//      5 -> "The most cheerful x has a y"
//      6 -> "The most depressing X has y"
//      7 -> Silent favorite: Click below on the option that represents the X that you think is Bob's favorite X.
//      8 -> Silent least favorite: Click below on the option that represents the friend that you think is Bob's least favorite.
//      9 -> (Odd one out) Non-linguistic: Bob points to a patch of cloth the same color as the hats. (odd one out is either 9 or 10)
//      10 -> (Odd one out) Linguistic: Bob says "hat" (odd one out is either 9 or 10)
//      11 -> tricky guy
//      12 -> Pure randomness condition: You ask a concrete randomness question so that Liker, betting and forced choice can be mapped onto actual estimated probabilities   
var linguistic_framing = 1;
//var linguistic_framing = random(9, 10);


// Question Type (This will be a controlled experiment with an equal proportion for each base rate).
//      0 -> Listener inference judgement
//      1 -> Couldn't hear: “He said ‘My friend has mumblemumble.’ (you didn’t hear what he said)”
//      2 -> Pure base rate: "Which one is his friend?" or "Which friend is Bob's favorite?"
var question_type = 0;

// Question sequence 
//      0 -> Default: One target trial -> probably already done
//      1 -> 6 trials with same inference question
//      2 -> 6 trials, 3 inference, 3 where target is Logical target, unambiguous feature 
//      3 -> Default: One distractor trial  -> probably not necesary
//      4 -> 6 Target Trials
//      5 -> 6 Trials in the order FTFTFT (T=”target trial” F=”filler trial”)
//      6 -> 6 Trials in the order TFTFTF (T=”target trial” F=”filler trial”)
var target_filler_sequence = 0;


// Familiarization Status (whether we have the base rate slide)
//      0 -> We don't have a familiarization stage
//      1 -> We do have a familiarization stage
var familiarization_status = 0;

// The stimulus kind. When it is hardcoded as 1 we get the happy face stimulus.
//    0 -> "boat"
//    1 -> "friend"
//    2 -> "pizza"
//    3 -> "snowman"
//    4 -> "sundae"
//    5 -> "Christmas tree"
var stim_index = random(0,5);
//var stim_index = 0;

// The Scale and Levels.
//    0 -> scales [[0, 0, 0], [0, 0, 1], [0, 1, 1]], level 0
//    1 -> scales [[0, 0, 0], [0, 0, 1], [0, 1, 1]], level 1
//    2 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 0
//    3 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 1
//    4 -> scales+ [[0, 0, 1], [0, 1, 1], [1, 1, 0]], level 2
//    5 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]] level 0
//    6 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]], level 1
//    7 -> scaleweird [[0, 1, 1], [1, 0, 1], [1, 0, 1]], level 2
//    8 -> odd one out [[0, 1, 1], [1, 0 , 1], [1, 1, 0]]
var scale_and_level = 8;
//var scale_and_level = 1;

// Elaborate on the purpose of this. Which image is being changed
var img_size = 200; // needs to be implemented, currently just a placeholder   

{'fraction_non_alphanumeric': 0.13801365760153347, 'fraction_numerical': 0.04384808913382053, 'mean_word_length': 2.445315724308708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2547624', 'n_tokens_mistral': 2813, 'n_tokens_neox': 2510, 'n_words': 1258}