29 lines
759 B
Python
29 lines
759 B
Python
![]() |
from otree.api import Currency as c, currency_range, Submission
|
||
|
from . import pages
|
||
|
from ._builtin import Bot
|
||
|
from .models import Constants
|
||
|
import random
|
||
|
|
||
|
|
||
|
# **********************************************************************************************************************
|
||
|
# *** BOT
|
||
|
# **********************************************************************************************************************
|
||
|
class PlayerBot(Bot):
|
||
|
def play_round(self):
|
||
|
yield (pages.questappli, {
|
||
|
'q1_app_installation': 1,
|
||
|
'q2_satisfaction':1,
|
||
|
'q3_comments': 'blabli',
|
||
|
'q4_access_data':1,
|
||
|
'q5_weekly_reports':1,
|
||
|
'q6_energy_comparison':1,
|
||
|
'q7_water_comparison':1,
|
||
|
})
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|