Reply To: Mysterious "code" showing up in results file

PennController for IBEX Forums Support Mysterious "code" showing up in results file Reply To: Mysterious "code" showing up in results file

#4324
Jeremy
Keymaster

Hi Leo,

If you are referring to a string of ~30 alphanumeric characters, it’s a confirmation code for validation on MTurk that is generated (and commented on) in the script I gave your assistants. I report the two lines generating it here:

code = a => a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,code)
code = code()

It is not a new PennController thing, I copied (and slightly adapted) it from https://stackoverflow.com/a/7061193

Jeremy