NYUCCL/psiTurk

Data Not Saving in Local participant.db File on PsiTurk 3.3.1 with Heroku

RhtK07 opened this issue · 0 comments

Context
PsiTurk Version: 3.3.1
Hosting Platform: Heroku
Experiment Repository: fredcallaway/heroku-experiment
Problem Description

The experiment runs perfectly fine, and participants can complete and submit the experiment. However, the data is not being saved in the local participant.db file. Consequently, when attempting to approve workers, I receive the following error:

Response(Operation: approve_assignment_by_assignment_id | Status: error | Exception: AssignmentIdNotFoundInLocalDBError: )

Steps to Reproduce

  1. Deploy the experiment to Heroku following the steps provided in the repository fredcallaway/heroku-experiment. changes the config file with the ad url
  2. Run the experiment to completion.
  3. Submit the experiment.
  4. Check the local participant.db file for saved data.
  5. Attempt to approve a worker using the worker approve command.

Observed Behavior

  1. Experiment runs and completes without issues.
  2. Data submission appears to be successful on the frontend.
  3. No data is saved in the participant.db file.
  4. Attempting to approve workers results in AssignmentIdNotFoundInLocalDBError.

Expected Behavior

  1. Data should be saved in the participant.db file upon experiment completion and submission.
  2. Worker approval should proceed without errors.

Any help or suggestions on resolving this issue would be greatly appreciated. Thank you!