🚩Study status process
- Each study have 3 stages
new
->started
->finish
|uncomplete
. - Prolific Participants first click link will redirect to
https://hemvip.vercel.app/?PROLIFIC_PID=662b614c61935111d01484bf&STUDY_ID=665971ec91884faf5b5284d7&SESSION_ID=0cvbkz5w327p
- The study status change to
new
when first created onhttps://genea.vercel.app/private/...
, we will generate all study screen of all AI model privately.
- Participants click start button at homepage, database will filter and get latest study which status is
new
oruncomplete
, and update status tostarted
and redirect to/prolific
and start study screen.
- Participants select option and at Finish page, submit result to send final result. status change to
finish
(Study data store in MongoDB collectionstudies
)
- Participants not submit after a specific duration (2 hour). status change to
uncomplete
after finish.
🎯 Feature
- Navigation with keyboard
ArrowLeft
,ArrowRight
- Prevent user exist during study
- Support participant study on mobile
- Preview Finish before submit.
- Startup guide screen for participant study.
- Finish screen before submit.
- Screen study have only 3 evalution button:
Left Better
,Equal
,Right Better
- Record all action button click on screen study:
Click Start
,Click Finish
,Click Left Better
,Click Equal
,Click Right Better
,Click Previous
,Click Next
,Click Finish
,Click Play Video Left
,Click Play Video Right
,Pause Video Left
,Pause Video Right
,Seeked Video Left
,Seeked Video Right
. - Rewrite structure of MongoDB. (Detail mongodb schema is in
/database
)
git clone https://github.com/hmthanh/hemvip2.git
npm i
npm run dev
Edit env.local
MONGODB_URI=mongodb+srv://<USER>:<PASSWORD>@cluster0.bb1owv7.mongodb.net/