programming

Using ChatGPT in oTree experiments

The oTree community has put together a useful oTree app. It allows participants to chat with ChatGPT through OpenAI's API. The app itself uses prompts so ChatGPT takes on a character or personality for participants to chat with. However, the possibilities and use-cases for experimental research are endless.

How to prevent bots and farms from taking over and ruining your online experiment

In this post, I share simple techniques to filter participants before they take part in your online experiment. These techniques filter bots and participants using automated scripts plus participants who fake their geolocation using VPN/VPS, proxies, and server farms.

Deception when generating random numbers

Many experiments generate random numbers for participants. Yet, the code used to generate those numbers sometimes does not do what we think it does, which could lead to deception when reporting about the number generation process to participants.