Skip to content

Commit

Permalink
Update bayesian.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Mar 14, 2024
1 parent 2441b3c commit 4809673
Showing 1 changed file with 35 additions and 6 deletions.
41 changes: 35 additions & 6 deletions evaluation/bayesian.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

<!-- Load JsPsych -->
<script src="https://unpkg.com/jspsych"></script>
<link href="https://unpkg.com/jspsych/css/jspsych.css" rel="stylesheet" type="text/css" />
<link
href="https://unpkg.com/jspsych/css/jspsych.css"
rel="stylesheet"
type="text/css"
/>
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
Expand Down Expand Up @@ -39,15 +43,32 @@
preamble:
"<p align='left'><b>Thanks so much for taking a bit of time to provide feedback on the Bayesian statistics module</b> (~3min).<br><br>Your responses are very important for improving the module as well as for the lecturer. Don't hesitate to mention what didn't work, <b>but also what was positive</b>. Your responses are completely anonymous and will not impact your mark in any way.</p>",
questions: [
{ prompt: "What did you like best about this module?", name: "WhatDidYouLike" },
{ prompt: "What would you change about this module?", name: "WhatWouldYouChange" },
{
prompt: "To what program/position to you belong to?",
placeholder:
"e.g., MRes, PhD Neuroscience, Lecturer in Psychology",
name: "Occupation",
},
{
prompt: "What did you like best about this module?",
name: "WhatDidYouLike",
},
{
prompt: "What would you change about this module?",
name: "WhatWouldYouChange",
},
],
data: {
screen: "freetext",
},
})

var likert_scale = ["Not at all", "Not enough", "The right amount", "Too much"]
var likert_scale = [
"Not at all",
"Not enough",
"The right amount",
"Too much",
]

timeline.push({
type: jsPsychSurveyLikert,
Expand Down Expand Up @@ -81,7 +102,13 @@
},
})

var likert_scale2 = ["Not at all", "Slighly", "Moderately", "Very much", "Absolutely"]
var likert_scale2 = [
"Not at all",
"Slighly",
"Moderately",
"Very much",
"Absolutely",
]

timeline.push({
type: jsPsychSurveyLikert,
Expand Down Expand Up @@ -151,7 +178,9 @@
timeline.push({
type: jsPsychHtmlButtonResponse,
css_classes: ["narrow-text"],
stimulus: "<h1>Thank you for participating</h1>" + "<p>You can now close the tab.</p>",
stimulus:
"<h1>Thank you for participating</h1>" +
"<p>You can now close the tab.</p>",
choices: ["End"],
data: { screen: "endscreen" },
})
Expand Down

0 comments on commit 4809673

Please sign in to comment.