from os import environ import sys ## Settings.py Änderung damit bei Behnud das gleiche steht SESSION_CONFIGS = [ dict( name="wb", display_name="Whistleblowing", num_demo_participants=4, app_sequence=["baerlab_intro", "count_numbers_group", "whistleblowing","count_numbers_group_symbolic", "wb_total_results", "questionnaire"], treatment='wb', wb_treatment = 'T1', # 'Control', T1' oder 'T2' eingeben für die drei Treatments intro_for_experiment='wb', show_partner_page=True, doc=''' Treatment can be Control (Control) , T1 (Treatment 1) or T2(Treatment 2) ''' ), dict( name='Fragebogen', display_name='Fragebogen WB social norms', num_demo_participants=1, app_sequence=['questionnaire'], ), dict( name='Poker_Bargain', display_name='Chip Bargain Alle Variablen', num_demo_participants=2, app_sequence=['chip_bargain'], treatment = 'online', university=True , ### True Students Only payment='machine', first='green', cash=True, ## True or False numcards = 2, ## keine ahnung forcedwait=False, doc=""" Variable - values : def university - True/False : True Studies Only Cash - True/False : True Cash directly - False transaction payment - machine|human : machine = Münzwurf ; human is standard first - green|red|random : green or red first, random will use either treatment - online|on_premise : on_premise= Numberstage extra numcards - keine Info - Zahl """ ) , dict( name='poker_chip_red', display_name='ChipBargain HNI Rot Zuerst', num_demo_participants = 2, app_sequence=['chip_bargain'], adult= True, treatment='on_premise', ## Lab hinzufügen ; Auszahlungszahlungsperiode = random first='red' ##random -- zufügen ), dict( name="matrices", display_name="7er Zählen neu", num_demo_participants=10, app_sequence=["count_numbers_group"], attempts_per_puzzle=1, width=10, height=20, text_size=15, counted_char='7', ignored_chars='012345689', amount_of_counted_chars=2, second_time_counting=False, ), dict( name='poker_chip_green', display_name='ChipBargain HNI Grün Zuerst', num_demo_participants = 2, app_sequence=['chip_bargain'], adult= True, treatment='on_premise', first='green') , dict( name='social_proximity_neu', display_name='Social Proximity Einfachsitzung (NEU 25.9)', num_demo_participants=24, app_sequence=['social_proximity_single_session', 'social_proximity_single_questionaire'], treatment='social_interaction', type_of_sevens='old', ### Nur für die NEU Version attempts_per_puzzle=1, width=10, height=20, text_size=15, counted_char='7', #'←', ignored_chars='012345689',#'↔↑↓→', amount_of_counted_chars=2, second_time_counting=False, skip_questionaire=True ) , dict( name='social_proximity_neu_6', display_name='Social Proximity Einfachsitzung --- 6 Participants', num_demo_participants=6, app_sequence=['social_proximity_single_session', 'social_proximity_single_questionaire'], treatment='social_interaction', type_of_sevens='old', ### Nur für die NEU Version attempts_per_puzzle=1, width=10, height=20, text_size=15, counted_char='7', # '←', ignored_chars='012345689', # '↔↑↓→', amount_of_counted_chars=2, second_time_counting=False, skip_questionaire=True ), dict( name='MontyHall', display_name='FMontyHall', num_demo_participants=1, app_sequence=['monty_hall'], ), dict( name='schere', display_name='Schere Stein Papier', num_demo_participants=2, app_sequence=['paper_scissor_rock'], ), ] # if you set a property in SESSION_CONFIG_DEFAULTS, it will be inherited by all configs # in SESSION_CONFIGS, except those that explicitly override it. # the session config can be accessed from methods in your apps as self.session.config, # e.g. self.session.config['participation_fee'] SESSION_CONFIG_DEFAULTS = dict( real_world_currency_per_point=0.50, participation_fee=2.50, doc="" ) POINTS_CUSTOM_NAME = 'Taler' PARTICIPANT_FIELDS = ['sp_task_timer','total_points_test','count_numbers_together', 'estimate_correct','spieler','playertype','expiry', 'social_proximity_order_customer'] #ob Einschätzung korrekt ist SESSION_FIELDS = ['params', 'second_time_counting','total_donation', 'mymatrix','social_proximity_anbieter','social_proximity_kunde', 'social_proximity_anbieter_not_chosen_round1'] # ISO-639 code # for example: de, fr, ja, ko, zh-hans LANGUAGE_CODE = 'de' # e.g. EUR, GBP, CNY, JPY REAL_WORLD_CURRENCY_CODE = 'EUR' USE_POINTS = True ROOMS = [ dict( name='control', display_name='control', participant_label_file='_rooms/lab.txt', use_secure_urls=False ), dict( name='treatment', display_name='treatment', participant_label_file='_rooms/lab.txt', use_secure_urls=False ) ] # OTREE_AUTH_LEVEL = DEMO # Set to "STUDY" for actual experiment run ADMIN_USERNAME = 'admin' # for security, best to set admin password in an environment variable ADMIN_PASSWORD = environ.get('OTREE_ADMIN_PASSWORD') DEMO_PAGE_INTRO_HTML = """ """ SECRET_KEY = '6962056274088' ######################## Hiernach alles nur zum testen von einzelnen Dingen