Skip to content

Commit

Permalink
added prior choice; revised layout & formulations
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-franke committed Dec 11, 2024
1 parent 7ed55d0 commit ee7a664
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 33 deletions.
90 changes: 59 additions & 31 deletions experiments/pilot-indirectSource-V2/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

<template v-for="(trial, i) of items">
<!-- ************************************ -->
<Screen label="background">
<Screen label="background" title="Deep-Space Colonization">
<div>
<p>
<strong>Background:</strong> Far into the future, humankind is starting to populate deep space. <br>
A powerful herb, called <strong>Xeliherb</strong>, has become vital for human survival and technological advancement. <br>
However, <strong>Xeliherb</strong> grows only sparsely on some far-out planets, making survival in deep space a constant struggle.
Far into the future, humankind has started to populate deep space.
A powerful herb, called <strong>Xeliherb</strong>, has become <strong>vital for human survival</strong> and technological advancement.
However, Xeliherb <strong>grows only sparsely</strong> on some far-out planets, making survival in deep space a constant struggle.
</p>
<!-- Add the image -->
<img src="../pictures/background.png" alt="Background image" />
Expand All @@ -26,10 +26,10 @@
<button @click="$magpie.nextScreen();">Next</button>
</Screen>
<!-- ************************************ -->
<Screen label="earlydays">
<Screen label="earlydays" title="The Early Days">
<div>
<p>
<strong>Early days:</strong> In the early days of deep space colonization, humans have relied on finding naturally growing <strong>Xeliherb</strong>.
In the early days of deep space colonization, humans have relied on <strong>finding naturally growing Xeliherb</strong>.
Dedicated <strong>Science Teams for Localization</strong> accumulated evidence for where to locate the precious, but fragile and hard-to-discover plant.
</p>
<!-- Add the image -->
Expand All @@ -39,11 +39,11 @@
<button @click="$magpie.nextScreen();">Next</button>
</Screen>
<!-- ************************************ -->
<Screen label="presentdays">
<Screen label="presentdays" title="The Present Times">
<div>
<p>
<strong>Present days:</strong> While the discovery of naturally growing <strong>Xeliherb</strong> is still important, farmers have started successfully cultivating <strong>Xeliherb</strong> in controlled environments as well.
Still, the herb proves difficult to cultivate, so that dedicated <strong>Science Teams for Cultivation</strong> investigate the causal factors influencing the yield of <strong>Xeliherb</strong> farming.
While the discovery of naturally growing Xeliherb is still important, farmers have <strong>started successfully cultivating Xeliherb</strong> in controlled environments as well.
Still, the herb proves difficult to cultivate, so that dedicated <strong>Science Teams for Cultivation</strong> investigate how best to optimize the yield of Xeliherb farming.
</p>
<!-- Add the image -->
<img src="../pictures/presentdays.png" alt="presentdays image" />
Expand All @@ -52,11 +52,15 @@
<button @click="$magpie.nextScreen();">Next</button>
</Screen>
<!-- ************************************ -->
<Screen label="yourrole">
<Screen label="yourrole" title="Your Role">
<div>
<p>
<strong>Your role:</strong> You are leading a farming station for cultivating Xeliherb.
Your job is to decide how best to maximize the yield in the next farming cycle.
You are leading a farming station for cultivating Xeliherb.
Your job is to decide how best to maximize the yield of Xeliherb in the next farming cycle.
You are currently thinking about experimenting with additionally cultivating a small amount of other deep-space herbs together with Xeliherb, such as <strong>Diaxone or Ralocrop</strong>.
Presently, this is a total shot in the dark.
You have no evidence so far that this might be effective.
The problem is that <strong>cultivating Diaxone or Ralocrop is very costly</strong> in terms of precious resources and may even reduce the yield of Xeliherb.
</p>
<!-- Add the image -->
<img src="../pictures/yourrole.png" alt="presentdays image" />
Expand All @@ -65,14 +69,11 @@
<button @click="$magpie.nextScreen();">Next</button>
</Screen>
<!-- ************************************ -->
<Screen :key="i">
<Screen :key="i" title="Check Your Knowledge">
<Slide v-if="trial">
<p>
<strong>
Two science teams are working on different objectives related to Xeliherb. Based on what you've read, what is the key objective of
<strong> {{ trial.F1_informationSource === "indirect" ? "the Science Team for Localization" : "the Science Team for Cultivation" }} </strong>?
(Please select one correct answer)
</strong>
Two Science Teams are working on different objectives related to Xeliherb. Based on what you've read, what is the key objective of
<strong> {{ trial.F1_informationSource === "indirect" ? "the Science Team for Localization" : "the Science Team for Cultivation" }} </strong>?
</p>

<MultipleChoiceInput
Expand All @@ -95,7 +96,7 @@

<button
v-if="$magpie.measurements.attentionCheck === correctAnswers[trial.F1_informationSource]"
@click="$magpie.nextSlide()">
@click="$magpie.nextScreen()">
Next
</button>

Expand All @@ -106,13 +107,38 @@
</button>
</div>
</Slide>

<!-- ************************************ -->
</Screen>
<Screen :key="i" title="Your Preliminary Decision">
<!-- ************************************ -->
<Slide>
Without any further information, and taking into account the fact that cultivation of additional herbs is costly in terms of resources, <strong>how likely is it that you would cultivate Ralocrop in addition to Xeliherb in the next farming cycle?</strong>
<br><br>
<SliderInput
left="very unlikely"
right="very likely"
:response.sync= "$magpie.measurements.probs" />
{{$magpie.measurements.probs}}%
<button v-if="$magpie.measurements.probs" @click="$magpie.saveAndNextScreen();">Submit</button>
<Record
:data="{
trialNR: i,
itemNr: trial.itemNr,
itemName: trial.itemName,
condition: 'without_info',
informationSource: trial.F1_informationSource,
attentionCheckResult: $magpie.measurements.attentionCheck === correctAnswers[trial.F1_informationSource]
}"
/>
</Slide>
<!-- ************************************ -->
</Screen>
<!-- ************************************ -->
<Screen :key="i" title="New Information">
<!-- ************************************ -->
<Slide v-if="trial.F1_informationSource === 'indirect'">
<p>
<strong>Your information:</strong> You found an old precious journal from a <strong>Science Teams for Localization</strong> from the early days who made a very interesting discovery.
The journal states: <br>
Coincidentally, you found an old journal from a <strong>Science Teams for Localization</strong> from the early days.
Some scientists interested in localizing Xeliherb took the following note for themselves: <br>
<strong> A high volume of Xeliherb is associated with the presence of Ralocrop. </strong>
</p>
<!-- Add the image -->
Expand All @@ -123,24 +149,25 @@
<!-- ************************************ -->
<Slide v-if="trial.F1_informationSource === 'direct'">
<p>
<strong>Your information:</strong> You received a recent report from a <strong>Science Teams for Cultivation</strong> who made a very interesting discovery.
You received a recent report from a <strong>Science Teams for Cultivation</strong> who made a very interesting discovery.
The report states: <br>
<strong> A high volume of Xeliherb is associated with the presence of Ralocrop. </strong>
</p>
<!-- Add the image -->
<img src="../pictures/infodirect.png" alt="infodirect image" />
<button @click="$magpie.nextSlide();">Next</button>
<button @click="$magpie.nextScreen();">Next</button>
</Slide>
</Screen>
<!-- ************************************ -->
<Screen :key="i" title="Your Final Decision">
<!-- ************************************ -->
<Slide>
<strong>Your decision:</strong> Based on the
Now that you have additional information from the
<strong> {{ trial.F1_informationSource === "indirect" ? "journal entry from the Science Team for Localization" : "report from the Science Team for Cultivation" }} </strong> which stated that:
<br><br>
<strong>"A high volume of Xeliherb is associated with the presence of Ralocrop."</strong>
<br><br>
<strong>Question:</strong> How likely are you to cultivate additional Ralocrop?
<br>
Notice that Ralocrop is another herb, which is expensive to cultivate in addition to Xeliherb.
how likely are you to cultivate Ralocrop in addition to Xeliherb in the next cycle?
<SliderInput
left="very unlikely"
right="very likely"
Expand All @@ -152,13 +179,14 @@
trialNR: i,
itemNr: trial.itemNr,
itemName: trial.itemName,
condition: 'with_info',
informationSource: trial.F1_informationSource,
attentionCheckResult: $magpie.measurements.attentionCheck === correctAnswers[trial.F1_informationSource]
}"
/>
</Slide>
<!-- ************************************ -->
</Screen>
<!-- ************************************ -->
</Screen>
</template>
<PostTestScreen />

Expand Down
4 changes: 2 additions & 2 deletions experiments/pilot-indirectSource-V2/src/magpie.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default {
completionUrl: 'https://app.prolific.com/submissions/complete?cc=CHFFTKHZ',
contactEmail: '[email protected]',
// Either 'debug', 'directLink' or 'prolific'
mode: 'directlink',
mode: 'debug',
language: 'en'
};
};

0 comments on commit ee7a664

Please sign in to comment.