This is an example grading script I use for more easily reviewing survey responses. It spins up a webpage showing all the responses that still need to be reviewed, with Approve/Reject buttons for each one.
This particular script assumes the survey being graded is being run on the Prolific platform. It therefore looks for a separate Prolific export file (in ~/Downloads
) and joins it with the provided data file (on the PROLIFIC_PID
field) in order to only show responses that (1) are associated with a Prolific submission and (2) have not already been graded. This portion can be removed, if needed.
When you approve or reject a response through this script, the associated ID gets added to approved.txt
or rejected.txt
, respectively. The contents of these files can then by copied into the bulk action interface on Prolific.