-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from revisit-studies/dev
v2.0.0-rc1
- Loading branch information
Showing
280 changed files
with
63,097 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Create release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
name: Release pushed tag | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Create release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ github.ref_name }} | ||
run: | | ||
gh release create "$tag" \ | ||
--repo="$GITHUB_REPOSITORY" \ | ||
--title="${GITHUB_REPOSITORY#*/} ${tag}" \ | ||
--generate-notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,6 @@ dist-ssr | |
/playwright/.cache/ | ||
|
||
docs/ | ||
|
||
public/__revisit-widget | ||
src/public/__revisit-widget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Provide help text here to help participants pass the training. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.6/src/parser/StudyConfigSchema.json", | ||
"studyMetadata": { | ||
"title": "How To Do Training Demo", | ||
"version": "pilot", | ||
"authors": [ | ||
"The reVISit Team" | ||
], | ||
"date": "2025-01-10", | ||
"description": "A demo of how to do training.", | ||
"organizations": [ | ||
"University of Utah", | ||
"WPI" | ||
] | ||
}, | ||
"uiConfig": { | ||
"contactEmail": "[email protected]", | ||
"helpTextPath": "demo-training/assets/help.md", | ||
"logoPath": "revisitAssets/revisitLogoSquare.svg", | ||
"withProgressBar": true, | ||
"autoDownloadStudy": false, | ||
"sidebar": true | ||
}, | ||
"components": { | ||
"simple-dropbox": { | ||
"type": "questionnaire", | ||
"nextButtonLocation": "sidebar", | ||
"response": [ | ||
{ | ||
"id": "q1", | ||
"prompt": "What is the most efficient visual mark?", | ||
"secondaryText": "Hint: it's not round.", | ||
"required": true, | ||
"location": "sidebar", | ||
"type": "dropdown", | ||
"placeholder": "Choose mark", | ||
"options": [ | ||
"Bar", | ||
"Bubble", | ||
"Pie", | ||
"Stacked Bar" | ||
] | ||
} | ||
], | ||
"correctAnswer": [ | ||
{ | ||
"id": "q1", | ||
"answer": "Bar" | ||
} | ||
], | ||
"provideFeedback": true, | ||
"allowFailedTraining": false, | ||
"trainingAttempts": 4 | ||
}, | ||
"slider-range": { | ||
"type": "questionnaire", | ||
"nextButtonLocation": "sidebar", | ||
"response": [ | ||
{ | ||
"id": "slider-question", | ||
"prompt": "Pick a value half-way.", | ||
"secondaryText": "Try to get the middle value", | ||
"required": true, | ||
"location": "sidebar", | ||
"type": "slider", | ||
"options": [ | ||
{ | ||
"label": "0", | ||
"value": 0 | ||
}, | ||
{ | ||
"label": "50", | ||
"value": 50 | ||
} | ||
] | ||
} | ||
], | ||
"correctAnswer": [ | ||
{ | ||
"id": "slider-question", | ||
"answer": 25, | ||
"acceptableLow": 22, | ||
"acceptableHigh": 28 | ||
} | ||
], | ||
"provideFeedback": true, | ||
"allowFailedTraining": false, | ||
"trainingAttempts": 4 | ||
}, | ||
"main-page-text-field": { | ||
"type": "questionnaire", | ||
"nextButtonLocation": "belowStimulus", | ||
"response": [ | ||
{ | ||
"id": "vowel-question", | ||
"prompt": "Respond with a vowel", | ||
"secondaryText": "Just one! Right now, only a works.", | ||
"required": true, | ||
"location": "belowStimulus", | ||
"type": "shortText", | ||
"placeholder": "Enter a single vowel." | ||
}, | ||
{ | ||
"id": "consonant-question", | ||
"prompt": "Respond with a consonant", | ||
"secondaryText": "Just one! Right now, only s works.", | ||
"required": true, | ||
"location": "belowStimulus", | ||
"type": "shortText", | ||
"placeholder": "Enter a single consonant." | ||
} | ||
], | ||
"correctAnswer": [ | ||
{ | ||
"id": "vowel-question", | ||
"answer": "a" | ||
}, | ||
{ | ||
"id": "consonant-question", | ||
"answer": "s" | ||
} | ||
], | ||
"provideFeedback": true, | ||
"allowFailedTraining": false, | ||
"trainingAttempts": 4 | ||
} | ||
}, | ||
"sequence": { | ||
"order": "fixed", | ||
"components": [ | ||
"simple-dropbox", | ||
"slider-range", | ||
"main-page-text-field" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
**Scenario**: Alpacas may need blankets. Assume that | ||
you work at the Red Cross, and your job is to manage | ||
resources for farms in Peru. In previous years, alpacas have | ||
died in Peru from cold temperatures. Alpacas can typically | ||
withstand the cold unless the temperature drops below 32°F. | ||
|
||
**Budget**: You are in charge of the Red Cross’s blanket | ||
budget, and it is your job to issue blankets to the alpacas | ||
when temperatures fall below 32°F, which will help them | ||
withstand the cold. | ||
|
||
**Budget Constraints**: You have a budget for 48 days of | ||
$48,000. Purchasing and delivering blankets to farmers | ||
costs $1,000 (per night). If you fail to issue blankets to the | ||
farmers and the temperature drops below 32°F, it will cost | ||
$6,000 from your budget. | ||
|
||
**Task**: In the experiment, you will be shown a nighttime | ||
temperature forecast like the one below. In the forecast, each | ||
dot represents a 1 out of 20 chance the nighttime low will | ||
be that temperature. You will be asked some questions about | ||
this forecast, including if you will issue blankets to the alpacas. | ||
Compensation: Please respond to the best of your ability. | ||
You will receive an extra $0.15 cents for every $1,000 that | ||
you have in your budget at the end of 48 days. |
Oops, something went wrong.