Skip to content

About

Norm Following Task for oTree Lite

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

NFT — Norm Following Task

This repository contains a "Norm Following Task" for oTree Lite (oTree 6+), based on:

Kimbrough, E. O., & Vostroknutov, A. (2018). A portable method of eliciting respect for social norms. Economics Letters, 168, 147-150.

The task

Participants allocate 20 balls, one at a time, between two buckets:

  • Blue bucket ("the norm"): each ball is worth €0.10.
  • Yellow bucket ("the money"): each ball is worth €0.15.

The instructions explicitly state that the norm of the experiment is to put balls in the blue bucket, creating a conflict between following the stated norm and maximizing personal payoff. Balls can be moved with drag & drop, or by clicking a ball and then clicking a bucket (touch/keyboard-friendly fallback).

Requirements

  • Python 3.10+
  • otree>=6,<7 (see requirements.txt)

Running the demo standalone

This repository is a self-contained oTree project: the app lives in NFT/, with settings.py at the repository root.

  1. Install dependencies:

    pip install -r requirements.txt
  2. Start the dev server from the repository root:

    otree devserver
  3. Open the printed local URL and start a demo session for "Norm Following Task".

Using this app in an existing oTree project

  1. Copy the whole NFT/ folder into your project's apps directory.
  2. Add 'NFT' to the app_sequence of a session config in your project's settings.py.
  3. Important: add 'RFT_payoff' to PARTICIPANT_FIELDS in your settings.py. The app sets participant.RFT_payoff directly, and oTree requires every custom participant attribute to be declared there — otherwise the app will raise an error at runtime.

License

MIT — see LICENSE.

About

Norm Following Task for oTree Lite

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages