from otree.api import (
models,
widgets,
BaseConstants,
BaseSubsession,
BaseGroup,
BasePlayer,
Currency as c,
currency_range,
)
class Constants(BaseConstants):
name_in_url = 'survey_se'
players_per_group = None
num_rounds = 1
class Subsession(BaseSubsession):
pass
class Group(BaseGroup):
pass
class Player(BasePlayer):
age = models.IntegerField(label='What is your age?', min=13, max=125)
gender = models.StringField(
choices=[['Male', 'Male'], ['Female', 'Female']],
label='What is your gender?',
widget=widgets.RadioSelect,
)
crt_bat = models.IntegerField(
label='''
A bat and a ball cost 22 dollars in total.
The bat costs 20 dollars more than the ball.
How many dollars does the ball cost?'''
)
crt_widget = models.IntegerField(
label='''
"If it takes 5 machines 5 minutes to make 5 widgets,
how many minutes would it take 100 machines to make 100 widgets?"
'''
)
crt_lake = models.IntegerField(
label='''
In a lake, there is a patch of lily pads.
Every day, the patch doubles in size.
If it takes 48 days for the patch to cover the entire lake,
how many days would it take for the patch to cover half of the lake?
'''
)
q1 = models.IntegerField(label = '', widget=widgets.RadioSelect, choices = [[0,'An underlying profit (loss) is profit or loss information presented other than in accordance with all relevant accounting standards. It excludes certain revenue or expense items.'],[1, 'An underlying profit (loss) is profit or loss information prepared in accordance with the accounting standards and other financial reporting requirements of the Corporations Act.']])
q2 = models.IntegerField(label = '', widget=widgets.RadioSelect, choices=[[0,'A net profit (loss) is profit or loss information presented other than in accordance with all relevant accounting standards. It excludes certain revenue or expense items.'],[1,'A net profit (loss) is profit or loss information prepared in accordance with the accounting standards and other financial reporting requirements of the Corporations Act.']])
q3 = models.IntegerField(label = '3. Which of the following statements about Key Audit Matters (KAMs) is true?',widget=widgets.RadioSelect, choices=[[0,'KAMs are matters that were of most significance in the conduct of the financial statement audit.'],[1,'KAMs are matters explaining the reason(s) for a modified auditor’s opinion.']])
q4 = models.IntegerField(label='4. If the fair value of a business’s assets minus liabilities is $60,000, and Company ABC purchases this business for $100,000. What amount will be included on Company ABC’s balance sheet as goodwill.', choices = [[1,'$40,000'],[2,'$60,000']], widget=widgets.RadioSelect)
q5 = models.IntegerField(label='5. A manager has determined that the carry amount of a wholly-owned subsidiary is $50,000, while the recoverable amount is $60,000. Does the manager need to record an impairment?', widget=widgets.RadioSelect, choices=[[1,'Yes'],[0,'No']])
# q5 = models.BooleanField(label = 'Assume that a manager has determined that the carrying amount of a wholly-owned subsidiary is $200, and its recoverable amount is $150. If the manager records an impairment, how large is the loss associated with the impairment?')
q6 = models.IntegerField(label ='6. When the company recognises an impairment loss for goodwill and intangible assets, its profits will', widget=widgets.RadioSelect, choices=[[0,'Increase'],[1,'Decrease']])
q7 = models.IntegerField(label = '', widget=widgets.RadioSelect, choices=[[0,'My task is to pick the company that I think will perform better and evaluate it as an investor in that company.'],[1,'My task is to pick the company that I think will perform worse and evaluate it as an investor taking a short position in that company.']])
q8 = models.StringField(label = '')
q9 = models.IntegerField(label = '', widget=widgets.RadioSelect, choices=[[0,'Firm X'], [1, 'Firm Y']])
q10 = models.IntegerField(label='', widget=widgets.RadioSelect, choices=[[0, 'I will be paid AU$25 if the company selected is the better performer or AU$15 if it is the worse performer.'], [1, 'I will be paid AU$25 if the company selected is the worse performer or AU$15 if it is the better performer.']])
q11 = models.IntegerField(label = '', choices = [[0,'0'], [1,'1'],[2,'2'],[3,'3'],[4,'4'],[5,'5'],[6,'6'],[7,'7'],[8,'8'],[9,'9'],[10,'10']])
q12 = models.StringField(label = '')
q13 = models.StringField(label = '')
q14 = models.StringField(label = '')
q15 = models.StringField(label = '')