-
Notifications
You must be signed in to change notification settings - Fork 3
/
questionnaires.js
93 lines (87 loc) · 3.59 KB
/
questionnaires.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Items =================================================
// General Attitudes towards Artificial Intelligence Scale (GAAIS; Schepman et al., 2020, 2022)
// We used the most loaded items from Schepman et al. (2023) - loadings from the 2 CFAs are in parentheses
// We adedd items specifically about CGI and artificial media (BAIT)
var bait_items = [
// Neg3 (0.406, 0.405) - Low loadings
// "Organisations use Artificial Intelligence unethically",
// Neg9 (0.726, 0.717) - Not used in FakeFace
"Artificial Intelligence might take control of people",
// Neg10 (0.850, 0.848) - Modified: removed "I think"
"Artificial Intelligence is dangerous",
// Neg15 (1.014, 0.884) - Not used in FakeFace. Modified: replaced "I shiver with discomfort when I think about" by "I am worried about"
"I am worried about future uses of Artificial Intelligence<br>",
// Pos7 (0.820, 0.878)
"I am interested in using artificially intelligent systems in my daily life",
// Pos12 (0.734, 0.554)
"Artificial Intelligence is exciting",
// Pos14 (0.516, 0.346) - Low loadings
// "There are many beneficial applications of Artificial Intelligence",
// Pos17 (0.836, 0.656) - Not used in FakeFace
"Much of society will benefit from a future full of Artificial Intelligence<br>",
// New items (Beliefs about Artificial Images Technology - BAIT) ---------------------------
// Revised from Makowski et al. (Fake Face study)
// Changes from FakeFace: remove "I think"
"Current Artificial Intelligence algorithms can generate very realistic images",
"Images of faces or people generated by Artificial Intelligence always contain errors and artifacts",
"Videos generated by Artificial Intelligence have obvious problems that make them easy to spot as fake",
"Current Artificial Intelligence algorithms can generate very realistic videos",
"Computer-Generated Images (CGI) are capable of perfectly imitating reality",
"Technology allows the creation of environments that seem just as real as reality", // New
]
var bait_dimensions = [
"GAAIS_Negative_9",
"GAAIS_Negative_10",
"GAAIS_Negative_15",
"GAAIS_Positive_7",
"GAAIS_Positive_12",
"GAAIS_Positive_17",
"BAIT_1_ImagesRealistic",
"BAIT_2_ImagesIssues",
"BAIT_3_VideosRealistic",
"BAIT_4_VideosIssues",
"BAIT_5_ImitatingReality",
"BAIT_6_EnvironmentReal",
]
var bait_instructions =
"<h2>About AI...</h2>" +
"<p>We are interested in your thoughts about Artificial Intelligence (AI).<br>" +
"Please read the statements below carefully and indicate the extent to which you agree with each statement.</p>"
// Questionnaires =================================================
function format_questions_analog(
items,
dimensions,
ticks = ["Inaccurate", "Accurate"]
) {
var questions = []
for (const [index, element] of items.entries()) {
questions.push({
prompt: "<b>" + element + "</b>",
name: dimensions[index],
ticks: ticks,
required: false,
min: 0,
max: 1,
step: 0.01,
slider_start: 0.5,
})
}
return questions
}
// BAIT 2.0
var questionnaire_bait = {
type: jsPsychMultipleSlider,
questions: format_questions_analog(
bait_items,
bait_dimensions,
// In Schepman et al. (2022) they removed 'Strongly'
(ticks = ["Disagree", "Agree"])
),
randomize_question_order: true,
preamble: bait_instructions,
require_movement: false,
slider_width: 600,
data: {
screen: "questionnaire_bait",
},
}