Result score
result.score#
boolean_score(result, data)
#
Binary score: return 1 if participant answered yes
, 0 otherwise
categories_likert_score(result, data)
#
Translate the n
th category of a dictionary of choices into n
correctness_score(result, data)
#
Binary score: return 1 if the participant’s response is equal to the expected response, 0 otherwise
Source code in result/score.py
likert_score(result, data)
#
reaction_time_score(result, data)
#
Return the difference between the configured maximal response_time
and the participant’s reaction time (decision_time
)
If the answer of the participant is incorrect, return the negative reaction time
Source code in result/score.py
reverse_likert_score(result, data)
#
song_sync_recognition_score(result, data)
#
First step of SongSync scoring (used in experiment.rules.hooked and derivatives): if the participant gives no (timeout) or a negative response to ‘Do you know this song?’, return 0 otherwise, return the decision time
Source code in result/score.py
song_sync_verification_score(result, data)
#
Second step of the SongSync scoring, only happens if participant stated they know the song, used to verify that the statement was truthful. After continuation of audio, participants need to decide whether it was continued in the correct place. If answered incorrectly, this function modifies the reaction time score of the previous step.