RealityBending / FictionEro

https://realitybending.github.io/FictionEro/
3 stars 3 forks source link

Spanish version #8

Closed DominiqueMakowski closed 6 months ago

DominiqueMakowski commented 7 months ago

Great news @Antonio8424 !

Can you translate the following variables:

// =========================================================================================
// Parameters
// =========================================================================================
function shuffleArray(array) {
    for (let i = array.length - 1; i > 0; i--) {
        const j = Math.floor(Math.random() * (i + 1))
        ;[array[i], array[j]] = [array[j], array[i]]
    }
    return array
}

var color_cues = shuffleArray(["red", "blue", "green"])
color_cues = { Reality: color_cues[0], Fiction: color_cues[1] }
// =========================================================================================
// Fiction
// =========================================================================================
var text_instructions1 =
    "<h1>Instructions</h1>" +
    // Left aligned text
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>In this study, we aim at validating our <b>new image-generation algorithm</b> (based on a new form of Generative Adversarial Network - GAN - technology) trained to produce high-quality erotic (but also non-erotic content).</p>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>In the following task, you will be presented with erotic and non-erotic images generated by our algorithm (preceded by the word '<b style='color:" +
    color_cues["Fiction"] +
    "'>AI-generated</b>'), intermixed with real photos (preceded by the word '<b style='color:" +
    color_cues["Reality"] +
    "'>Photograph</b>') taken from public picture databases.</p > " +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>After each image, you will have to rate the images on the following scales:</p>" +
    "<ul style='text-align: left; margin-left: 30%; margin-right: 30%;'>" +
    // Arousal: embodied
    "<li><b>Arousing</b>: How much do you find the image sexually arousing. This question is about your own <i>personal reaction</i> felt in your body when seeing the image.</li>" +
    // Appeal: "objective"
    "<li><b>Enticing</b>: How enticing and sexually appealing would you rate this image to be. Think of how much, in general, people similar to you in terms of gender and sexual orientation would like it.</li>" +
    // Emotional Valence
    "<li><b>Valence</b>: Did the image evoke a positive and pleasant (not necessarily sexual) feeling in you, or could it better characterized as negative and unpleasant? Think of how much you did enjoy (or not) looking at the image</li></ul>" +
    // Contrasting explanation
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>While the answers to these scales can sometimes be very similar, they can also be different depending on the person, the image, and the context. For example, we can sometimes find ourselves aroused to a picture that would probably not be considered universally appealing. Conversely, an enticing and \"objectively\" sexy image can, for one reason or another, not evoke any reaction in our body.</p>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'><b>Try to be attentive to what happens in your mind and body while watching the images to try to answer accurately based on your own feelings and reactions.</b></p>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>Also, as some images are non-erotic, it might seem odd to think of how arousing it is. Don't worry, it's normal. <b>There is no right or wrong answer</b>, just listen to your body and try to answer as best as you can based on what you feel.</p>"

var text_instructions2 =
    "<h1>Great!</h1>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>Thanks a lot. In the next phase, we would like to see if you found our <b>image generation algorithm convincing</b> and error-free.</p>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>We will briefly present you <b>all the images</b> one last time (the AI-generated ones, as well as the photos), and you will have to rate them on how <b>real</b> (how realistic, photography-like) the image is.</p>" +
    "<p style='text-align: left; margin-left: 30%; margin-right: 30%;'>We are interested in your overall impression and gut feeling of whether you felt that the image was AI-generated or not.</p>"

//-------------------------
var text_instructionsbutton = "Let's start!"

// -------------------------

var text_cue = { Reality: "Photograph", Fiction: "AI-generated" }

// -------------------------
var text_instructions_questionnaires =
    "<p><b>Thank you</b><br>Now please help us answer a few questions about yourself.</p>"

// Ratings ----------------------------------------------------------------
var text_ticks = ["Not at all", "Very much"]
var text_ticks_valence = ["Unpleasant", "Pleasant"]
var text_rating_appeal = "How <b>enticing</b> would you rate this image to be?"
var text_rating_arousal = "How much did you feel <b>sexually aroused</b>?"
var text_rating_valence = "The <b>feeling</b> evoked by the image was..."
var text_rating_realness = "How <b>realistic</b> was this image?"

// -------------------------
var text_feedback1 =
    "<h1>Thank you!</h1>" +
    "<p>Before we end, we wanted to know some of your thoughts on the experiment. Please tick all that apply:</p>"
var text_feedback1_items = [
    "I had fun",
    "It was boring",
    "I could tell which images were photos and which were AI-generated",
    "I didn't see any difference between photos and AI-generated images",
    "I felt like the AI-generated images were more arousing than the photos",
    "I felt like the AI-generated images were less arousing than the photos",
    "I felt like the labels ('Photograph' and 'AI-Generated') were not always correct",
    "I felt like the labels were reversed (e.g., 'Photograph' for AI-generated images and vice versa)",
    "Some pictures were really arousing",
    "I didn't really feel anything when watching the images",
]

var text_feedback2 = "Do you have any other comments or feedback?"
var text_feedback2_placeholder = "Type here"

// -------------------------
var text_debriefing =
    "<h2>Debriefing</h2>" +
    "<p align='left'>The purpose of this study was actually to study the effect on sexual arousal of <i>believing</i> that the content is AI-generated. " +
    "Indeed, we want to test the hypothesis that believing that erotic images are fake would lead to a lower emotional arousal. " +
    "As we are primarily interested in your <i>beliefs</i> about reality, all images were in fact taken from an existing database of real images used in psychology research to study emotions. " +
    "We apologize for the necessary deception used in the instructions, and we hope that you understand its role in ensuring the validity of our experiment.</p>" +
    "<p align='left'><b>Thank you again!</b> Your participation in this study will be kept completely confidential. If you have any questions or concerns about the project, please contact D.Makowski@sussex.ac.uk.</p>" +
    "<p>To complete your participation in this study, click on 'Continue' and <b>wait until your responses have been successfully saved</b> before closing the tab.</p> "

var text_endscreen = function (
    link = "https://realitybending.github.io/FictionEro/experiment/english?exp=snow&lang=en"
) {
    return (
        "<h1>Thank you for participating</h1>" +
        "<p>It means a lot to us. Don't hesitate to share the study by sending this link <i>(but please don't reveal the details of the experiment)</i>:</p>" +
        "<p><a href='" +
        link +
        "'>" +
        link +
        "<a/></p>" +
        "<p><b>You can safely close the tab now.</b></p>"
    )
}

// =========================================================================================
// Questionnaires
// =========================================================================================

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>"

// 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",
    // 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",

    // 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
    "Artificial Intelligence assistants can write texts that are indistinguishable from those written by humans", // New
    "Documents and paragraphs written by Artificial Intelligence usually read differently compared to Human productions", // New
]

var bait_ticks = ["Disagree", "Agree"] // In Schepman et al. (2022) they removed 'Strongly'

// --------------------------------------------------------------------------------
// Hatch, S. G., Esplin, C. R., Hatch, H. D., Halstead, A., Olsen, J., & Braithwaite, S. R. (2023). The consumption of pornography scale–general (COPS–G). Sexual and Relationship Therapy, 38(2), 194-218.
var cops_instructions =
    "<h2>About Pornography...</h2>" +
    "<p style='text-align: left;'>Given the nature of our study, we are interested in understanding your habits in terms of exposure to pornography. Please consider answering the questions below.</p>"

var cops_items = [
    // {
    //     prompt: "<b>1. How often have you viewed pornography in the past year?</b>",
    //     options: [
    //         "0. I haven't viewed pornography in the past year",
    //         "1. I viewed pornography once in the past year",
    //         "2. I viewed pornography about once every six months",
    //         "3. I viewed pornography about monthly",
    //         "4. I viewed pornography weekly",
    //         "5. I viewed pornography multiple times a week",
    //         "6. I viewed pornography daily",
    //     ],
    //     name: "COPS_Frequency_1",
    //     required: false,
    // },
    {
        prompt: "<b>How often have you viewed pornography in the past 30 days?</b>",
        options: [
            "0. I haven't viewed pornography in the past 30 days",
            "1. I viewed pornography once in the past 30 days",
            "2. I viewed pornography twice in the past 30 days",
            "3. I viewed pornography weekly",
            "4. I viewed pornography multiple times a week",
            "5. I viewed pornography daily",
            "6. I viewed pornography multiple times a day",
        ],
        name: "COPS_Frequency_2",
        required: false,
    },
    // {
    //     prompt: "<b>3. How often have you viewed pornography in the past 7 days?</b>",
    //     options: [
    //         "0. I haven't viewed pornography in the past 7 days",
    //         "1. I viewed pornography once in the past 7 days",
    //         "2. I viewed pornography twice in the past 7 days",
    //         "3. I viewed pornography every day of the past 7 days",
    //         "4. I viewed pornography multiple times a day in the past 7 days",
    //     ],
    //     name: "COPS_Frequency_3",
    //     required: false,
    // },
    {
        prompt: "<b>4. When I view pornography, I view it for...</b>",
        options: [
            "1. Less than 5 minutes",
            "2. 6-15 minutes",
            "3. 16-25 minutes",
            "4. 26-35 minutes",
            "5. 36-45 minutes",
            "6. 46+ minutes",
        ],
        name: "COPS_Duration_1",
        required: false,
    },
    // {
    //     prompt: "<b>When I visit a pornographic website, I visit for...</b>",
    //     options: [
    //         "1. Less than 5 minutes",
    //         "2. 6-15 minutes",
    //         "3. 16-25 minutes",
    //         "4. 26-35 minutes",
    //         "5. 36-45 minutes",
    //         "6. 46+ minutes",
    //     ],
    //     name: "COPS_Duration_2",
    //     required: false,
    // },
    // {
    //     prompt: "<b>6. The last time I viewed pornography, I viewed it for...</b>",
    //     options: [
    //         "1. Less than 5 minutes",
    //         "2. 6-15 minutes",
    //         "3. 16-25 minutes",
    //         "4. 26-35 minutes",
    //         "5. 36-45 minutes",
    //         "6. 46+ minutes",
    //     ],
    //     name: "COPS_Duration_3",
    //     required: false,
    // },
    // Extra questions ------------------------------------------
    {
        prompt: "<b>When was the last time you engaged in any kind of sexual activity (intercourse or masturbation)?</b>",
        options: [
            "1. Less than 24h ago",
            "2. Within the last 3 days",
            "3. within the last week",
            "4. Within the last month",
            "5. Within the last year",
            "6. More than a year ago",
        ],
        name: "SexualActivity",
        required: false,
    },
    {
        prompt: "<b>How would you describe your sexual orientation?</b>",
        options: ["Heterosexual", "Bisexual", "Homosexual", "Other"],
        name: "SexualOrientation",
        required: false,
    },
]

// =========================================================================================
// Demographics
// =========================================================================================

var consent_text = // Logo and title
    "<img src='https://blogs.brighton.ac.uk/sussexwrites/files/2019/06/University-of-Sussex-logo-transparent.png' width='150px' align='right'/><br><br><br><br><br>" +
    "<h1>Informed Consent</h1>" +
    // Overview
    "<p align='left'><b>Invitation to Take Part</b><br>" +
    "You are being invited to take part in a research study to further our understanding of the impact of new technologies. Thank you for carefully reading this information sheet. This study is being conducted by Dr Dominique Makowski from the University of Sussex, who is happy to be contacted (D.Makowski@sussex.ac.uk) if you have any questions.</p>" +
    // Description
    "<p align='left'><b>Why have I been invited and what will I do?</b><br>" +
    "We are investigating how new technology can impact the habits and behaviours related to pornography. In this study, you will be shown <b>erotic images</b>, so please make sure you find yourself in an <b>private setting</b> for the whole duration of the experiment (~20min).</p>" +
    // Results and personal information
    "<p align='left'><b>What will happen to the results and my personal information?</b><br>" +
    "The results of this research may be written into a scientific publication. Your anonymity will be ensured in the way described in the consent information below. Please read this information carefully and then, if you wish to take part, please acknowledge that you have fully understood this sheet, and that you consent to take part in the study as it is described here.</p>" +
    "<p align='left'><b>Consent</b><br></p><ul>" +
    // Bullet points
    "<li align='left'>I understand that by signing below I am agreeing to take part in the University of Sussex research described here, and that I have read and understood this information sheet</li>" +
    "<li align='left'>I understand that my participation is entirely voluntary, that I can choose not to participate in part or all of the study, and that I can withdraw at any stage without having to give a reason and without being penalised in any way (e.g., if I am a student, my decision whether or not to take part will not affect my grades).</li>" +
    "<li align='left'>I understand that since the study is anonymous, it will be impossible to withdraw my data once I have completed and submitted the test/questionnaire.</li>" +
    "<li align='left'>I understand that my personal data will be used for the purposes of this research study and will be handled in accordance with Data Protection legislation. I understand that the University's Privacy Notice provides further information on how the University uses personal data in its research.</li>" +
    "<li align='left'>I understand that my collected data will be stored in a de-identified way. De-identified data may be made publically available through secured scientific online data repositories.</li>" +
    // Ethical managements
    "<li align='left'>I understand that I will be shown potentially sensitive material (erotic images), and thus confirm that I am older than 18 years old.</li>" +
    "</ul></p>" +
    // "<p align='left'>Your participation in this research will be kept completely confidential. Your responses are entirely anonymous, and no IP address or any identifiers is collected.</p>" +
    // "<p align='left'><b>By participating, you agree to follow the instructions and provide honest answers.</b> If you do not wish to participate this survey, simply close your browser.</p>" +
    // "<p>Please note that various checks will be performed to ensure the validity of the data.<br>We reserve the right to return your participation or prorate reimbursement should we detect non-valid responses (e.g., random pattern of answers, instructions not read, ...).</p>"
    "<p align='left'>For further information about this research, or if you have any concerns, please contact Dr Dominique Makowski (D.Makowski@sussex.ac.uk). This research has been approved (ER/NR274/1) by the School of Psychology. The University of Sussex has insurance in place to cover its legal liabilities in respect of this study.</p>"

var consent_button = "I am more than 18 years old, and I read, understood, and consent to the above"

var fullscreen_text =
    "<p>The experiment will switch to full screen mode when you press the button below</p>"
var fullscreen_button = "Continue"

// -------------------------
var button_continue = "Continue"
var button_end = "End"

var demographics1_preamble = "<b>Please answer the following questions:</b>"
var demographics_q_sex = "What is your biological sex?"
var demographics_c_sex = ["Male", "Female", "Other"]
var demographics_q_edu = "What is your highest completed education level?"
var demographics_c_edu = [
    "University (doctorate)",
    "University (master) <sub><sup>or equivalent</sup></sub>",
    "University (bachelor) <sub><sup>or equivalent</sup></sub>",
    "High school <sub><sup>or equivalent</sup></sub>",
    "Primary school",
    "Other",
]
var demographics_q_age = "Please enter your age (in years)"
var demographics_p_age = "e.g., '31'"
var demographics_q_eth = "Please enter your ethnicity"
var demographics_p_eth = "e.g., Caucasian"
var demographics_q_cou = "In which country do you currently live?"
var demographics_p_cou = "e.g., UK, Spain"
var demographics_q_lang = "<b>How would you rate your level of English?</b>"
var demographics_c_lang = ["Beginner - 0", "1", "2", "3", "4", "5", "6 - Native"]
var demographics_q_ai =
    "<b>How knowledgeable do you consider yourself about Artificial Intelligence (AI) technology?</b>"
var demographics_c_ai = ["Not at all - 0", "1", "2", "3", "4", "5", "6 - Expert"]
var demographics_hormones_preamble =
    "<b>The following question is important to understand the role of potential biological factors in our study.</b><br>It is however optional, and you can skip it if you want."
var demographics_q_hormones =
    "If you are a female, are you currently using birth control treatment?"
var demographics_c_hormones = [
    "No",
    "Yes - contraceptive pills (combined pills)",
    "Yes - contraceptive pills (progestogen-only pills)",
    "Yes - intrauterine device (copper coil, IUD)",
    "Yes - intrauterine system (IUS)",
    "Yes - female condoms",
    "Yes - condoms for partner",
    "Yes - other",
]
Antonio8424 commented 7 months ago

Hi @DominiqueMakowski , Actually, I posted the Spanish version of the instructions some weeks ago:

https://github.com/RealityBending/FictionEro/issues/2#issuecomment-1889363055

However, I did it in a word file (attached). Please correct me if I'm wrong, but now I understand that the translation has to be done in a js file (with text editor). I asked Guido Corradi to help me adapt to the right format, I hope it will be done in the next few days.

Instrucciones Spanish.docx

Best,

DominiqueMakowski commented 7 months ago

some weeks ago:

Hi @Antonio8424 I think I missed this. But since then we added a few minor things to translate anyway.

I understand that the translation has to be done in a js file

If you prefer, you can just copy paste my big blob above in a new comment and make the translation here and I'll port it over to the experiment

guidocor commented 7 months ago

Hi @Antonio8424 I think I missed this. But since then we added a few minor things to translate anyway.

Is the above .js the final experiment or I must go to instructions_english.js to check differences between our translation and the final file?!

DominiqueMakowski commented 7 months ago

Both should be the same normally (the linked one is the obviously the actual one so you can use that

guidocor commented 7 months ago

I created a pull request with the revised version of the js file by @Antonio8424 and me.

DominiqueMakowski commented 7 months ago

I created the spanish version. Data collection is already enabled, so don't forget to use exp=TEST in the link when testing first to make sure there are no mistakes/typos/etc :)

https://realitybending.github.io/FictionEro/experiment/spanish?exp=TEST&lang=es

guidocor commented 7 months ago

Great, thanks, @DominiqueMakowski. For the Spanish-Spain sample I plan to use Prolific to recruit participants. Is it hard to implement with the experiment?

Also, I am wandering about how we distinguish Spanish-Spain from Spanish-Colombia in the data colection. Do we planned something?

DominiqueMakowski commented 7 months ago

prolific

Super easy, the only thing that you'll need to send me is a "URL" given by prolific when you setup the experiment that we will need to add to the experiment so that participants are redirected to it at the end of the expe, which marks them as "complete"

spain/colombia

Yeah, you can just use a different lang URL variable, e.g., lang=es and lang=co

guidocor commented 7 months ago

Great! I spotted some errors I will send pull request after @Antonio8424 double check it

Also the Spanish version shows UNDEFINDED as "priming" word... Maybe I touched something that I didnt have to touch in the code?

DominiqueMakowski commented 7 months ago

Should be fixed by the last commit

Antonio8424 commented 7 months ago

Thanks @DominiqueMakowski and @guidocor . I experimented a technical problem. After the informed consent the experiment failed to continue (attached). One minor observation: in the informed consent we probably should change the XXXs for the actual numbers.

Captura de pantalla (130) Captura de pantalla (120)

DominiqueMakowski commented 7 months ago

After the informed consent the experiment failed to continue (attached).

Does it happen always? I just tried with this link https://realitybending.github.io/FictionEro/experiment/spanish?exp=TEST&lang=es and it seems to work

Antonio8424 commented 7 months ago

Thanks @DominiqueMakowski

I tried again and this time it works fine. The Spanish version of the experiment looks ready to me. Maybe we could add my name/email (Antonio Olivera-La Rosa, antonio.oliverade@amigo.edu.co) as a contact in the informed consent or at the end of the experiment? I probably can start recruiting participants by the end of this week. Is this the definitve link?

https://realitybending.github.io/FictionEro/experiment/spanish?exp=TEST&lang=es

Best, Antonio

DominiqueMakowski commented 7 months ago

The contact info should be fixed.

The final links for deployment are:

But do replace the TOBEREPLACED by tracker anything to track that link's usage. Examples are like exp=antonio; exp=facebook1; exp=twitter42; exp=myfriendjohndoe etc. so that we can track the history of the diffusion and see what worked and what didn't

guidocor commented 7 months ago

Great, thanks, @DominiqueMakowski . I started to work in the Prolific Project and the money-finding. Can I have next week a 5 min call just to check that I dont do anything wrong in the Prolific-Study connection?

DominiqueMakowski commented 7 months ago

I think we should maybe make a more general call to make sure we are on the same page regarding the prolific deployment - and during that I can also show how to make the prolific-study connection :)

I started to work in the Prolific Project

But should we setup a "common" workspace where we can all see the studies, etc.? We can make that before/during the call

@MarcoViola88

MarcoViola88 commented 7 months ago

The Italian team has not discussed about Prolific as of yet -- we were waiting to see how many subjects we're collecting from colleagues sharing link to their students. In any case, making a call and discussing the state of the project could be a good idea. Shall I make a Doodle?

DominiqueMakowski commented 7 months ago

Shall I make a Doodle?

Yes let's do that (maybe send it via email to make sure people get it ☺️ )

MarcoViola88 commented 7 months ago

here it is: https://doodle.com/meeting/participate/id/dJEr1R2b

Sent via email, but not sure I've guessed @marcosperduti 's mail correctly

Antonio8424 commented 6 months ago

How many colombian participants so far? How many do we need? @DominiqueMakowski

Antonio8424 commented 6 months ago

https://realitybending.github.io/FictionEro/experiment/spanish?exp=classroom1&lang=co @DominiqueMakowski

DominiqueMakowski commented 6 months ago

https://realitybending.github.io/FictionEro/analysis/1_cleaning.html#recruitment-history

We are ~50 colombian participants in 🤩
how many do we need? As much as possible 🤷

Antonio8424 commented 6 months ago

Great! Hope to catch some new "victims" during this week, fingers crossed.

Antonio8424 commented 6 months ago

@DominiqueMakowski Can you give me the latest report on the Colombian participants? Do we have a deadline to fish new victims?

DominiqueMakowski commented 6 months ago

@Antonio8424 I closed the issue as the main topic, the translation, was completed, but we can still chat here.

Colombian sample still growing, now ~80 participants. I also managed to get the study on our uni SONA system (to recruit psych students with credits), so this will also bring new participants.

Total sample is right now ~290 participants, so with some more effort we should be able to cross the 300 mark.

There's no deadline, I think we can start analyzing this while we still collect data 'till the end of the semester