from otree.api import * author = 'Alistair Munro, Fitawhidan Nashuha, and Gerald Ezra Charles' doc = """ Post Session Survey. """ class C(BaseConstants): NAME_IN_URL = 'e_Post_Game_Survey' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): educ = models.StringField( choices=[ ['Primary School', 'Primary School'], ['Junior High School', 'Junior High School'], ['Senior High School', 'Senior High School / Vocational High School'], ['Vocational School/College', 'Vocational School / College (D1/D2/D3)'], ['Bachelor\'s or Equivalent', 'Bachelor’s Degree (S1 / D4)'], ['Master\'s Degree', 'Master’s Degree (S2)'], ['Doctoral Degree', 'Doctoral Degree (S3)'], ['I do not know', 'I do not know / Prefer not to answer'], ['Never attend school', 'Never attended school'], ], label='What is the highest level of education you have completed?', widget=widgets.RadioSelect, ) HH_Number = models.IntegerField( label='How many people live in your household?' ) HH_5yo = models.IntegerField( label='

How many members of your household are 5 years old or younger?

' '

Enter "0" if none

' ) HH_Decision_Maker = models.StringField( choices=[ ['Me', 'Myself'], ['Spouse', 'My spouse'], ['Father', 'My father'], ['Mother', 'My mother'], ['Sister', 'My sister'], ['Brother', 'My brother'], ['Grandfather', 'My grandfather'], ['Grandmother', 'My grandmother'], ['Uncle', 'My uncle'], ['Aunt', 'My aunt'], ['Others', 'Others'] ], label='Who is the main decision maker in your household?', widget=widgets.RadioSelect, ) Religion = models.StringField( choices=[ ['Islam', 'Islam'], ['Catholic', 'Catholic'], ['Christian', 'Christian'], ['Hindu', 'Hindu'], ['Buddha', 'Buddhist'], ['Konghucu/Confucius', 'Confucian'], ['Others', 'Others'] ], label='What is your religion?', widget=widgets.RadioSelect, ) Smoke_Cigarettes = models.BooleanField( choices=[[True, 'Yes, I smoke'], [False, 'No, I do not smoke']], label='Do you smoke cigarettes?', widget=widgets.RadioSelect, ) Smoke_Ecig = models.BooleanField( choices=[[True, 'Yes'], [False, 'No']], label='

Do you use electronic cigarettes (e-cigarettes)?

' '(including vape, pod, mod, and similar devices)', widget=widgets.RadioSelect, ) Smoke_Chew = models.BooleanField( choices=[[True, 'Yes'], [False, 'No']], label='Do you chew tobacco?', widget=widgets.RadioSelect, ) Smoke_Hookah = models.BooleanField( choices=[[True, 'Yes'], [False, 'No']], label='Do you use hookah or shisha?', widget=widgets.RadioSelect, ) Drink_Alcohol = models.StringField( choices=[ ['No', 'No, I do not drink alcohol'], ['Yes', 'Yes, I drink alcohol'], ['Used to', 'I used to drink alcohol but no longer do'], ], label='Do you consume alcoholic beverages?', widget=widgets.RadioSelectHorizontal, ) # Debt Profile Debt_A = models.StringField( label = 'In the PAST 12 MONTHS, have you applied for a loan using a mobile phone?' '', choices = [['Yes', 'Yes'], ['No', 'No'], ['Refused', 'I refuse to answer'], ], widget=widgets.RadioSelect, ) Debt_B = models.StringField( label = 'Did you receive this loan?' '', choices = [['Yes', 'Yes'], ['No', 'No'], ['Refused', 'I refuse to answer'], ], widget=widgets.RadioSelect, ) Debt_Online_Past = models.StringField( choices=[['True', 'Yes'], ['False', 'No'], ['Refused', 'I refuse to answer'], ], label='Have you ever had online debt in the past?' '

(For example, borrowing money through an app or online platform where funds were transferred to your bank account, ' 'which is now fully repaid or written off. Includes loans from digital banks. ' 'Does not include paylater or installment purchases.)

', widget=widgets.RadioSelectHorizontal, ) Debt_Paylater_Credit_Past = models.StringField( choices=[['True', 'Yes'], ['False', 'No'], ['Refused', 'I refuse to answer'], ], label='

Have you ever used paylater services or credit installments for online shopping in the past?

' '(Does not include vehicles or electronic goods such as phones, tablets, laptops/PCs, or large household appliances.)', widget=widgets.RadioSelectHorizontal, ) Debt_Family_Past = models.StringField( choices=[['True', 'Yes'], ['False', 'No'], ['Refused', 'I refuse to answer'], ], label='Have you ever borrowed money from friends or family in the past?', widget=widgets.RadioSelectHorizontal, ) Debt_Online = models.StringField( choices=[ ['True', 'Yes, I currently have online debt'], ['False', 'No, I currently do not have online debt'], ['Refused', 'I refuse to answer'], ], label='Do you currently have online debt?', widget=widgets.RadioSelect, ) Debt_Paylater_Credit = models.StringField( choices=[ ['True', 'Yes, I currently have paylater debt'], ['False', 'No, I currently do not have paylater debt'], ['Refused', 'I refuse to answer'], ], label='

Do you currently have paylater or credit installments for online shopping?

' '(Does not include vehicles or electronic goods such as phones, tablets, laptops/PCs, or household appliances.)', widget=widgets.RadioSelect, ) Debt_Family = models.StringField( choices=[ ['True', 'Yes, I have debt to family members'], ['False', 'No, I do not have debt to family members'], ['Refused', 'I refuse to answer'], ], label='Do you currently have debt to your family?', widget=widgets.RadioSelect, ) Debt_Friend = models.StringField( choices=[ ['True', 'Yes, I have debt to friends'], ['False', 'No, I do not have debt to friends'], ['Refused', 'I refuse to answer'], ], label='Do you currently have debt to your friends?', widget=widgets.RadioSelect, ) Debt_Private_Lender = models.StringField( choices=[ ['True', 'Yes, I have borrowed to other private lenders'], ['False', 'No, I never borrowed to other private lenders'], ['Refused', 'I refuse to answer'], ], label='Have you borrowed from another private lender?
' '(for example, a/an [loan shark, payday lender, or pawn shop])?', widget=widgets.RadioSelect, ) Debt_Health = models.StringField( choices=[ ['True', 'Yes, I have'], ['False', 'No, I never'], ['Refused', 'I refuse to answer'], ], label='In the PAST 12 MONTHS, have you borrowed money for health or medical purposes?
', widget=widgets.RadioSelect, ) Debt_Food = models.StringField( choices=[ ['True', 'Yes, I have'], ['False', 'No, I never'], ['Refused', 'I refuse to answer'], ], label='In the PAST 12 MONTHS, did you ever buy household food but pay for it at a later date?
', widget=widgets.RadioSelect, ) Debt_Capital = models.StringField( choices=[ ['True', 'Yes, I have'], ['False', 'No, I never'], ['Refused', 'I refuse to answer'], ], label='In the PAST 12 MONTHS, did you ever borrowed money for business purposes?
', widget=widgets.RadioSelect, ) Desperation_Finance = models.StringField( choices=[ ['True', 'Yes, I feel financially desperate'], ['False', 'No, I do not feel financially desperate'], ['Refused', 'I refuse to answer'], ], label='Do you currently feel desperate about your financial condition?', widget=widgets.RadioSelect, ) Quick_Money = models.StringField( choices=[ ['Yes', 'Yes'], ['No', 'No'], ['Likely', 'I am not sure, but I am likely to do it'], ['Unlikely', 'I am not sure, but I am unlikely to do it'], ['Refused', 'I refuse to answer'], ], label='Do you feel pressured to find money quickly due to your financial condition?', widget=widgets.RadioSelect, ) ######## Financial Literacy ######## WB_FinLit_1 = models.StringField( choices=[ ['1', 'No knowledge and skills'], ['2', 'Unsatisfactory knowledge and skills'], ['3', 'Satisfactory knowledge and skills'], ['4', 'Good knowledge and skills'], ['5', 'Very good knowledge and skills'], ['99', 'I do not know'], ], label='Do you consider yourself financially literate?', widget=widgets.RadioSelect ) WB_FinLit_2 = models.StringField( choices=[ ['1', 'More than today'], ['2', 'Exactly the same'], ['3', 'Less than today'], ['99', 'I do not know'], ], label='If next year your income doubles and prices also double, ' 'would you be able to buy more, less, or the same amount of goods and services as today?', widget=widgets.RadioSelect ) WB_FinLit_3 = models.StringField( choices=[ ['1', 'More than Rp12,000,000'], ['2', 'Exactly Rp12,000,000'], ['3', 'Less than Rp12,000,000'], ['99', 'I do not know'], ], label='Let’s assume that you deposited Rp 10,000,000 in a bank account at 10% annual interest rate.' 'The interest will be earned at the end of each year and will be added to the principal. ' 'How much money will you have in your account in 2 years if you do not withdraw either the principal or the interest?', widget=widgets.RadioSelect ) WB_FinLit_4 = models.StringField( choices=[ ['1', 'A discount of Rp150,000'], ['2', 'There are the same'], ['3', 'A 10% discount'], ['99', 'I do not know'], ], label='Let’s assume that you saw a phone of the same model on sales in two different shops. ' 'The initial retail price of it was Rp10,000,000. One shop offered a discount of Rp150,000, while the other one offered a 10% discount. ' 'Which one is a better bargain ± a discount of Rp150,000 or 10%?', widget=widgets.RadioSelect ) WB_FinLit_5 = models.StringField( choices=[ ['1', '3%'], ['2', '6%'], ['3', '9%'], ['4', '12%'], ['99', 'I do not know'], ], label='Let’s assume that you took a bank credit of Rp10,000,000 to be paid back during a year in equal monthly payments.' 'The credit charge is Rp600,000. Give a rough estimate of the annual interest rate on your credit.', widget=widgets.RadioSelect ) OECD_FinLit_1 = models.StringField( choices=[ ['1', 'More than you could buy today'], ['2', 'Exactly the same'], ['3', 'Less than you could buy today'], ['4', 'It depends on the types of things you want to buy'], ['99', 'I do not know'], ], label='A family member wants to give you Rp5,000,000 as a gift.' 'Now imagine that you have to wait for one year to get it and inflation stays at percent.' 'In one year’s time will you be able to buy' '', widget=widgets.RadioSelect ) OECD_FinLit_2 = models.StringField( choices=[['1', 'Rp1,200,000'], ['2', 'Rp1,020,000'], ['3', 'Rp1,100,000'], ['99', 'I do not know'], ], label='Imagine that someone put Rp1,000,000 into a tax-free savings account with a guaranteed interest rate of 2% per year. ' 'They don’t make any further payments into this account, and they don’t withdraw any money.
' 'How much would be in the account at the end of the first year once the interest payment is made?', widget=widgets.RadioSelect ) OECD_FinLit_3 = models.StringField( choices=[['1', 'Rp1,200,000'], ['2', 'Rp1,020,000'], ['3', 'Rp1,100,000'], ['99', 'I do not know'], ], label='Imagine that someone put Rp1,000,000 into a tax-free savings account with a guaranteed interest rate of 2% per year. ' 'They don’t make any further payments into this account, and they don’t withdraw any money.
' 'How much would be in the account at the end of five years?', widget=widgets.RadioSelect ) OECD_FinLit_4 = models.StringField( choices=[['1', 'More than Rp1,100,000'], ['2', 'Exactly Rp1,100,000'], ['3', 'Less than Rp1,100,000'], ['99', 'I do not know'], ], label='Imagine that someone put Rp1,000,000 into a tax-free savings account with a guaranteed interest rate of 2% per year. ' 'They don’t make any further payments into this account, and they don’t withdraw any money.
' 'How much would be in the account at the end of five years?', widget=widgets.RadioSelect ) OECD_FinLit_5 = models.StringField( choices=[['True', 'True'], ['False', 'False'], ['99', 'I do not know'], ], label='True or False:
' 'An investment with a high return is likely to be high risk.', widget=widgets.RadioSelect ) OECD_FinLit_6 = models.StringField( choices=[['True', 'True'], ['False', 'False'], ['99', 'I do not know'], ], label='True or False:
' 'High inflation means that the cost of living is increasing rapidly.', widget=widgets.RadioSelect ) OECD_FinLit_7 = models.StringField( choices=[['True', 'True'], ['False', 'False'], ['99', 'I do not know'], ], label='True or False:
' 'It is usually possible to reduce the risk of investing in the stock market by buying a wide range of stocks and shares.', widget=widgets.RadioSelect ) OECD_FinLit_8 = models.IntegerField( min=0, max=10_000_000, label='

If you deposit Rp 100,000 in a savings account with 2% annual interest and no fees, ' 'how much will you have after 1 year?

' 'Please enter the amount in rupiah (no decimals).' ) OECD_Division = models.IntegerField( label='

Imagine a family with 5 children. ' 'The parents have Rp 10,000,000 to divide equally among their children. ' 'How much does each child receive?

' '

Please enter the amount in rupiah (no decimals).

', min=0, max=10_000_000, ) OECD_Time_Value = models.StringField( choices=[ ['1', 'I will be able to buy more goods'], ['2', 'I will be able to buy almost the same amount of goods'], ['3', 'I will be able to buy fewer goods'], ['4', 'It depends on the goods I buy'], ['5', 'It depends on price changes during the year'], ['99', 'I do not know'], ], label='

If you have Rp 10,000,000 today and keep it in a drawer for one year, ' 'how much will you be able to buy with it after one year compared to today?

', widget=widgets.RadioSelect ) OECD_Diversification = models.StringField( choices=[['1', 'True'], ['2', 'False'], ['99', 'I do not know']], label='

What do you think about the following statement:

' 'Putting all your money in one place is risky because you could lose everything if something goes wrong.', widget=widgets.RadioSelect ) OECD_RisknReturn = models.StringField( choices=[['1', 'True'], ['2', 'False'], ['99', 'I do not know']], label='

What do you think about the following statement:

' 'Investments that offer high returns tend to have high risk.', widget=widgets.RadioSelect, ) OECD_Interest = models.IntegerField( min=0, max=10_000_000, label='

If you deposit Rp 100,000 in a savings account with 2% annual interest and no fees, ' 'how much will you have after 1 year?

' 'Please enter the amount in rupiah (no decimals).' ) OECD_Interest_Compound = models.StringField( choices=[ ['1', 'More than Rp 110,000'], ['2', 'Exactly Rp 110,000'], ['3', 'Less than Rp 110,000'], ['4', 'Cannot be determined from the information given'], ['99', 'I do not know'], ], label='If you keep the money there for 5 years, how much will you have?', widget=widgets.RadioSelect ) OECD_Interest_Loan = models.IntegerField( min=0, max=10_000_000, label='

You lend Rp 1,000,000 to a friend overnight and they return Rp 1,000,000 the next day. ' 'How much interest did they pay?

' 'Please enter the amount in rupiah (no decimals).' ) OECD_Diversification2 = models.StringField( choices=[['1', 'True'], ['2', 'False'], ['99', 'I do not know']], label='

What do you think about the following statement:

' '"Putting all your money in one place is much better because it is easier to manage without the risk of losing assets."', widget=widgets.RadioSelect )