-
Notifications
You must be signed in to change notification settings - Fork 1
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 #25 from vagechirkov/pilot-3B
Refactor readme and add checklist before study
- Loading branch information
Showing
3 changed files
with
93 additions
and
87 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,11 @@ | ||
# Checklist before running an experiment | ||
|
||
1. Prolific study | ||
1. Study URL includes `PROLIFIC_PID` parameter | ||
2. Participants from the previous study have been excluded | ||
3. Participants are prescreened based on the approval rate | ||
2. Config is correct and updated on the server ([config docs](../docs/EXPERIMENT-CONFIG.md)) | ||
1. `redirect_url` is set to the correct value from the Prolific | ||
2. ⚠️`rewrite_previous_data` is set to `false` ⚠️ | ||
3. Check that the study is empty (can be checked here: https://rn-iii-backend.eks-test-default.mpg-chm.com/progress/) | ||
4. Optional: Use `GET https://rn-iii-backend.eks-test-default.mpg-chm.com/admin/config` to double-check the config |
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,69 @@ | ||
# How to configure the experiment settings | ||
|
||
There are multiple admin routes that can be used to configure the experiment. It is most convenient to use Postman RN-III config collection to configure the experiment. | ||
|
||
### Get the current study configuration | ||
|
||
`GET https://rn-iii-backend.eks-test-default.mpg-chm.com/admin/config` | ||
|
||
### Create a new study | ||
|
||
`POST https://rn-iii-backend.eks-test-default.mpg-chm.com/admin/config` | ||
|
||
### Get the current study session tree (open in the Browser for visualization) | ||
|
||
`GET https://rn-iii-backend.eks-test-default.mpg-chm.com/progress/` | ||
|
||
### Get all results in the database | ||
|
||
`GET https://rn-iii-backend.eks-test-default.mpg-chm.com/results/sessions` | ||
|
||
### Get results for a specific experiment | ||
|
||
`GET https://rn-iii-backend.eks-test-default.mpg-chm.com/results/sessions?experiment_type=DB_COLLECTION_NAME&finished=true` | ||
|
||
### Study configuration examples | ||
|
||
#### Pilot 1A | ||
|
||
```json | ||
|
||
{ | ||
"active": true, | ||
"redirect_url": "https://app.prolific.co/submissions/complete?cc=<code>", | ||
"experiment_type": "rn-iii-pilot-1a", | ||
"rewrite_previous_data": false, | ||
"n_generations": 1, | ||
"n_sessions_first_generation": 10, | ||
"n_ai_players": 0, | ||
"n_sessions_per_generation": 10, | ||
"n_advise_per_session": 5, | ||
"n_session_tree_replications": 1, | ||
"n_social_learning_trials": 2, | ||
"n_individual_trials": 6, | ||
"n_demonstration_trials": 2 | ||
} | ||
|
||
``` | ||
|
||
#### Pilot 1B | ||
|
||
```json | ||
|
||
{ | ||
"active": true, | ||
"redirect_url": "https://app.prolific.co/submissions/complete?cc=<code>", | ||
"experiment_type": "rn-iii-pilot-1a", | ||
"rewrite_previous_data": false, | ||
"n_generations": 2, | ||
"n_sessions_first_generation": 10, | ||
"n_ai_players": 10, | ||
"n_sessions_per_generation": 10, | ||
"n_advise_per_session": 5, | ||
"n_session_tree_replications": 1, | ||
"n_social_learning_trials": 2, | ||
"n_individual_trials": 6, | ||
"n_demonstration_trials": 2 | ||
} | ||
|
||
``` |