from otree.api import * c = cu doc = '' class Constants(BaseConstants): name_in_url = 'PreExp' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): gender = models.IntegerField(choices=[[1, '男'], [2, '女']], label='1. 性別', widget=widgets.RadioSelectHorizontal) education = models.IntegerField(choices=[[1, '技術學院'], [2, '科技大學、大學與其同等學歷'], [3, '碩士'], [4, '博士'], [5, '其他(請在下方說明)']], label='3. 最高教育程度') education_explained = models.StringField(blank=True, label='其他(請說明)') background = models.IntegerField(choices=[[1, '法律相關'], [2, '社會工作相關'], [3, '心理、諮商相關'], [4, '教育與犯罪防治'], [5, '其他社會科學領域'], [6, '工程科學相關'], [7, '自然科學相關'], [8, '其他(請於下方說明)']], label='4. 請問您最高學歷之學科背景') experience = models.IntegerField(choices=[[1, '0 - 2 年'], [2, '3 - 5 年'], [3, '6 - 10 年'], [4, '11 - 15 年'], [5, '16 - 20 年'], [6, '21 - 25 年'], [7, '26 - 30 年'], [8, '31 - 35 年'], [9, '36 年以上']], label='5. 請問您擔任觀護人已經多長的時間?') q6_1 = models.IntegerField(choices=[[1, '非常低'], [2, '低'], [3, '有點低'], [4, '有點高'], [5, '高'], [6, '非常高']], label='6.1 請問您近半年來執行工作業務時,需要使用到「檢察機關案件管理系統」的頻率有多高?', widget=widgets.RadioSelectHorizontal) q6_2 = models.IntegerField(choices=[[1, '非常不容易'], [2, '不容易'], [3, '有點不容易'], [4, '有點容易'], [5, '容易'], [6, '非常容易']], label='6.2 請以您的使用經驗,評估目前組織正使用之「案管系統」的易用程度?', widget=widgets.RadioSelectHorizontal) q6_3 = models.IntegerField(choices=[[1, '非常少'], [2, '少'], [3, '有點少'], [4, '有點多'], [5, '多'], [6, '非常多']], label='6.3 相較於其他同仁,您覺得過去半年您所承擔的工作量程度為何?', widget=widgets.RadioSelectHorizontal) q6_4 = models.IntegerField(choices=[[1, '非常低'], [2, '低'], [3, '有點低'], [4, '有點多'], [5, '多'], [6, '非常多']], label='6.4 相較於其他同仁,您覺得過去半年您的工作效率為何?') q6_5 = models.IntegerField(choices=[[1, '非常小'], [2, '小'], [3, '有點小'], [4, '有點大'], [5, '大'], [6, '非常大']], label='6.5 相較於其他同仁,您覺得過去半年您的工作效率為何?') q7_1 = models.IntegerField(choices=[[1, '非常不同意'], [2, '不同意'], [3, '有點不同意'], [4, '有點同意'], [5, '同意'], [6, '非常同意']], label='7.1 該系統將對我工作具有幫助。', widget=widgets.RadioSelectHorizontal) q7_2 = models.IntegerField(choices=[[1, '非常不同意'], [2, '不同意'], [3, '有點不同意'], [4, '有點同意'], [5, '同意'], [6, '非常同意']], label='7.2 未來我與該系統的協力會需要額外成本 (例:時間成本、適應成本)。', widget=widgets.RadioSelectHorizontal) q7_3 = models.IntegerField(choices=[[1, '非常不同意'], [2, '不同意'], [3, '有點不同意'], [4, '有點同意'], [5, '同意'], [6, '非常同意']], label='未來若讓該系統輔助(如:提供一些可 參考的綜合資訊)我目前的觀護人工 作,我的工作效率會提升。', widget=widgets.RadioSelectHorizontal) age = models.IntegerField(choices=[[1, '22 ~ 25 歲'], [2, '26 ~ 29 歲'], [3, '30 ~ 33 歲'], [4, '34 ~ 37 歲'], [5, '38 ~ 41 歲'], [6, '42 ~ 45 歲'], [7, '46 ~ 49 歲'], [8, '50 ~ 53 歲'], [9, '54 ~ 57 歲'], [10, '58 ~ 61 歲'], [11, '62 ~ 65 歲']], label='2. 年齡') q8 = models.IntegerField(choices=[[1, '非常不支持'], [2, '不支持'], [3, '有點不支持'], [4, '有點支持'], [5, '支持'], [6, '非常支持']], label='8. 承上題,若Parole-ML-AI 1.0系統被導入且用以輔助您目前「再犯風險」評估的工作,您的支持程度為何?') class Pre01(Page): form_model = 'player' form_fields = ['gender', 'age', 'education', 'education_explained', 'background', 'experience'] class Pre02(Page): form_model = 'player' form_fields = ['q6_1', 'q6_2', 'q6_3', 'q6_4', 'q6_5'] class Pre03(Page): form_model = 'player' form_fields = ['q7_1', 'q7_2', 'q7_3', 'q8'] page_sequence = [Pre01, Pre02, Pre03]