Every demo here is a working Lens study. Pick a task to try it right here; each one opens in its own tab too, which is easier on a phone. Change /en at the end of a link to /fa or /ar to see Persian or Arabic, laid out right to left.
Survey pages
Text, country, choice and slider questions. Missing answers are pointed out under the question, and horizontal choices stack on phones.
Stroop
Stimulus onset and response times are recorded with the browser's high-resolution clock.
Go/No-Go
With letters or icons. Stimulus onset and response times are recorded with the browser's high-resolution clock.
Two-choice task
2-alternative forced choice. A star appears on the left or right: blue means answer on the same side, yellow the opposite side.
N-back
Respond when a letter matches the one two letters before it.
Balloon Analogue Risk Task (BART)
Each pump grows the balloon and the points for the round, until the participant cashes in or the balloon pops.
Dictator game
Participants split tokens by dragging them between the two sides.
Ultimatum game
Against pre-recorded opponents. This one adds + and − buttons next to dragging, which helps on small screens.
Dice allocation
Each round there are two dice, a blue one and an orange one. Participants decide privately which is theirs and which is the other person's, roll both, then give each die to a person and get the points on theirs. The private choice isn't recorded, so self-serving choices show up only over many rounds: honest players keep the higher die about half the time. Based on a Cut prototype from 2018.
Live two-player ultimatum game
Participants are paired as they arrive, first come, first served. If no one else arrives within the time the study sets, a computer partner plays instead, following one of Cut's original strategies. A debrief after the game says which it was.
Watch two people get matched
- Tap Start in the game below.
- Copy the link and open it in a private (incognito) window, another browser or your phone. Each one counts as a separate participant.
- Tap Start there too. The two find each other within seconds, and you play both sides.
To meet the computer partner instead, tap Start below and wait about 20 seconds.
Old designs
Lens 1 (release v1.0) still runs every earlier study unchanged:
- 2-alternative forced choice
- Task switching
- Simplified task switching
- Every classic task in one study, adapted from the instrument we used to study the Ramadan fast (Rad, Ansarinia & Shafir, 2023)
How a study is written
A study is one JSON file: a list of pages, shown in order, each with its own settings. This one is a welcome page followed by ten balloons of BART:
{
"studyId": "my-study",
"redirectTo": "https://app.prolific.com/submissions/complete?cc=XXXX",
"views": [
{ "id": "welcome", "type": "text2", "instruction": true,
"text": "Welcome! This takes about 10 minutes." },
{ "id": "bart", "type": "bart2", "reward": 5, "maxPumps": 20,
"safePumps": 1, "trials": 10 }
]
}Once published, it runs at https://lens.cut.social/#/my-study/en. The responses come back the same way: one record per participant, with each page's settings next to the answers, so the data describes itself.
You don't have to write the file by hand. The study builder gives every page a form, previews it as participants will see it, flags problems as you type, and keeps the text for each language in the study file. The Lens README lists every page type and option.