PennController for IBEX › Forums › Support › Matching Participants on Race/Gender? › Reply To: Matching Participants on Race/Gender?
I’m sorry, I didn’t realize that you can’t run server.py just like that (I tested the code on another server, on which it works)
Replace server.py with experiment.html (if you’re not planning on using the withsquare method, otherwise simply add it to the list of parameters of window.open and it should also work)
When I try to run your experiment with a valid URL, I get two errors: “No column named ‘race’ found in the table for filtering” (I looked up your CSV table, all the columns start with an uppercase letter—fix the sex column name too) and “newButton.wait is not a function” (this is your very last command, just add a pair of parentheses after newButton)