This repo contains the code to implement the Fast and Simple Elicitation method of Bertani, Diecidue, Perny, and Viappiani (WP). More specifically, it provides Python code to locally run FSE and the competing methods described in Section 4.3. If you are interested in running these methods online, please refer to this different repo, where you can find implementations using otree and Python.
After cloning/forking, and assuming you have Python installed, ensure that you have the required packages by running:
pip install -r requirements.txt
To launch the experiment, simply run:
python main.py
By default, the software executes FSE. The elicitation procedure can be specified to FSE, bisection or Bayesian elicitation as follows:
python main.py FSE
python main.py bisection
python main.py Bayesian
These commands are not case sensitive.
Answers are recorded using an automatically generated progressive number They are recorded progressively, meaning that the results of incomplete elicitations will not be lost.
The module backend/shared_info.py
conveniently gathers and defines several experimental details that the researcher might wish to alter.
These include stimuli, participation fee, currency, and instructions.
Changes to this file are automatically reflected in the experimental interface.
The initial version of this code was developed by my excellent student and research assistant Mathieu Leng and I am thankful for his help.
Copyright (C) 2023-present Nicolò Bertani
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchandability or fitness for a particular purpose. See the GNU General Public License for more details.
For the GNU General Public License see https://www.gnu.org/licenses/. You should also find a copy of this license in this repository.
If you use this software, please cite the associated paper. You can find the BibTeX citation in this repository.