from otree.api import (
    models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer,
)
import random
import string


author = 'MTurk Requester'

doc = """
Thank you page
"""


class Constants(BaseConstants):
    name_in_url = 'urns'
    players_per_group = None
    num_rounds = 1
    completion_codes = ['WEOXBQETN', 'GYJ29BN9R', 'OY8CJE0WW', 'OWIOHOP00', 'LCYQHQP1W', 'Y77YJKQWK', 'C3V4NZ1CE',
                        'ERT14KN5Z', 'E4YXSTMPA', 'L7PKSL6SQ', 'JAUW5WZUF', 'M8JVOZBK4', 'J9XZGQHRW', 'J760S8QVC',
                        '3SL95FGQF', 'YG5HD4Z3C', 'LVXEZBU0J', 'ZE413OTLM', 'RAONVEGYY', '9GOUSVLQN', 'DZNR3YUXC',
                        'M3A69PZ59', 'FAU2OM6OK', '72SZM65QG', '4W19D2NII', 'FVZ6FWW0P', '3L7JHHP2K', 'HGO134F14',
                        'O2N09UJSV', 'TNWXTXPOF', 'PH5LPQSV7', 'L6HX4ADMB', 'LU7FKK9VQ', '6VHOY8GNN', 'JJLPIV6AX',
                        'JII1N8GSA', '5VVO0UQFD', 'O72MHCPXL', 'GMZ0PREA5', 'OC1CZWJE2', 'JKPV3BBG9', '2RZD2LMDL',
                        'SYU7BJ04J', 'S0BBAE37Y', 'BHIPOYEWR', 'VHDM3T0WQ', '65RSBKBNV', 'Q5RXXH2MZ', 'DL407MKZV',
                        'CCYI3HH2P', '6DEJF5BXH', 'BW1T7PWJA', 'UI9FWZ5I6', 'S3GT5VV8D', '4LYZVSMGT', 'HV4HH54ST',
                        '34KXPOY9A', '11HXCMGL8', '7XACFY8MT', '1HWVXVKZM', 'N3QME08DQ', 'XM4IQM48D', 'LTHX9CB4Z',
                        'JVDKIWEON', 'YXJY6GWTS', 'G4Q2D8NES', 'S060H8TZL', 'HXSEE8EW5', 'X6QEFM9KA', '5R36CQT64',
                        'E4MDTNL14', 'JAVBSPMFV', '3N12774XT', 'SIYMBNB76', '9G46USFMT', 'L6W1AAJBH', 'DWGE69WG3',
                        'GNM6VTXQ1', '7T1FP5N9Z', 'XC2AZKE9D', 'LKLLMIWZH', 'WG1QJ2VJL', 'VFWCU3NFY', '2HJMHBCA9',
                        'YVMMIXXP8', 'USZSHJ1MN', 'G24G9ID75', 'FK5RAAP93', 'X8HWA8MNH', 'EEPUCMO3P', '6HVRSTVL9',
                        'QZSY6EXWS', '2UVV2DH99', 'QW6SRZCEL', 'PN5KAL1N9', '1BTTKUH8K', '6Q5BN72PF', '1SYYDZXS2',
                        'A9456XOR1', '5VK1KF4RV', 'QPAX8HF3U', 'K44V670KE', 'DDV78MMO9', 'X1V1WDCP9', 'MABZNZ9LP',
                        'K9DUHZBZ4', 'BVQJLYJK7', '69XY1KG07', 'U17IYOQFC', 'NW8L03XPR', '66G0ZAEHT', 'MXH6O3Z0X',
                        'NISBTK62H', '1GCSH4PY6', 'S9XPMDSQU', 'PPNRJVKV0', '2XC5WSNX7', 'ZM9470NEQ', 'ABQN32KIU',
                        'NL133XO8K', '6RCL4M5GQ', '4N99BW4XE', 'BK1CYPW3Q', 'T78IY5875', '4WQX1ZZOJ', 'TP8XXI3L8',
                        'RP4WM7QUM', 'ERV48GMET', 'J8TXKFTEF', 'HPXC32OR7', 'D7H585OS2', 'X9J1K0T9B', 'AJK6SEET8',
                        'QQ324QMPW', 'F7LSPU0FW', '6LB4H86DA', 'J55TA8JRP', 'ZPLPJ641J', 'OHWT2NQ2P', '8F3Y2CJT9',
                        'RMWWTU6WC', 'LUYH93971', '5RSK02R0E', 'DOJLD0L7R', 'DA05I6LIL', 'KMH8WIXQE', 'TSFPYKOW3',
                        '0D958JBM5', 'NQEEWESTX', 'L3EMYUEAR', '4Z9IA089H', 'S6HLU7DRQ', '5BQEY83HE', 'G9MIKXZB3',
                        'F9XHTGOY9', 'MJCDXHL7T', '2SN45W50N', '9X7D9QEV2', '4EODACL4Q', 'ZY3S0DYB3', '4Q90N8OKQ',
                        'KULJ0WNGI', '5DSG9TRCI', 'I32X1SEYP', 'G49G6PXON', 'EGWB4G5KF', 'ORFT1WM1R', 'HO6B9IZ58',
                        '64E0GL3ZM', 'X8RQW6XG9', 'SUQDLTZ0W', 'GPKAUPPCM', 'Z6WDNDCY7', 'F6ACE5KB1', '92V6ZYWSC',
                        'T3FDFK8TV', 'KV5RVFYWX', 'MXTBGB2NB', 'QLME9M1AE', 'J55MZI9U2', 'KXN10VKYD', 'YXXFJY6DW',
                        '6Y3NJ426O', 'A92EC3P54', 'KZAQ9OHB3', 'GMBPRJ5TQ', 'IOXBTOWXM', 'FHOBULMAY', 'TL5RP6GUJ',
                        'Q2JJLWV5O', '2CIWIVFMD', 'KBVCUQAIG', 'UDVXQCS5A', '50Z0UURRA', 'QIZG2C96P', '66L5XR81O',
                        'FNLR4NGQ2', 'BIWIFR2WO', '1XM4YFPXH', '73FU58Z97', '0YV0V6LSI', 'RLC1MP4IP', '7HEIVAUEX',
                        'D8HZXLAXD', '15HLP551R', '46RJMYY0Q', 'H44SLX90E', 'U2G7OQLMX', 'A9GQ2TQOD', '7JD5N7SKN',
                        '3A2Q2X3CB', 'N4QZKB09M', 'MFM6OA9L3', 'F6JJYV2OM', '4JFNS3790', 'C2XWXEJBS', 'JO6RJHVTA',
                        'T3EZFHZBZ', 'AQQBPCLI2', 'QRI397OH7', '9ABB0SB9J', '8TALFW7R7', 'POZVRKZZG', 'CGX9HALGK',
                        '1RHKHCTVD', 'V7M1T89E6', 'R6VT0G7UF', 'VFMOCFXCY', 'D4LCPIOT3', '229Y4FS5T', '6V14PHGSN',
                        'ULUG5HDDK', 'C8WHSZ3YK', '2E6BNYFXG', '1IEW6DVXC', 'Q2IGQ1ORG', 'F2KP5PZ9X', 'QEWJ6QC4P',
                        '0D5QJ496H', '55HAUXVQ6', 'DP5PEOMI8', 'GTP6KU2B2', '8UH35TLFT', 'WOE452HUA', 'JFQDGTGSC',
                        'XSNZS92S8', '70791AXBS', 'J855QFSAV', 'GB3QVX1CH', 'FF939SAAZ', 'RUDR5Y9EU', 'F95MLJV0O',
                        '2RZYISH4Z', 'TS217Z05N', 'PCIVBW2Q5', '7G6LODQO2', '1CR1GDAUH', 'MO67OSI0N', 'JXXHBSYTR',
                        'VBM86LV60', '477DDC0XL', '9WIAS1DDD', '2BICCFORW', '96VQELG2H', 'EFUYC81KQ', 'WLVT8U4CQ',
                        '1O6YPRX15', '6N5FUTHKE', '8JRT5YY82', 'EQAENI8VD', 'MLF3OGX29', 'MI811NJPC', 'SOIP8QGTC',
                        'HNBR24534', '79TF1R9O7', 'QKM129W50', 'WYZ2OIUNQ', 'VKAFV5C9P', 'RLT2JDMES', 'UI1M9LM6I',
                        'NTZAHXONC', 'WK2AZ8RX5', 'L6HPQP2KX', 'FUJ2SF573', 'NZQ9F61ZC', 'E2B9E85OM', 'ECP6GPLVE',
                        '14YL5U2HO', '56HEE65P7', '54AORSSHZ', '8M761S1OD', 'VIQ30JLZN', 'CTS8NGT77', 'KR83RDJMS',
                        'GKP78QCUX', '2EILSWX9G', 'TPASNN4SI', 'ZX14NUHVU', '3M4248VP5', 'EKB3SQK0A', 'HNFW9GE5H',
                        '5EMKBLPUE', 'PNVVTM16D', 'B4H9W0RQF', '08LSXWQ8G', 'M6UNAKDDL', 'FI5PUA3R1', 'AKV31YPHX',
                        '7E747URR2', '1HFLTVF5D', 'SHI6L6MLP', 'W7N7DZ3M7', 'RIAPXY4GJ', 'FB45Y6GSJ', 'C8C9DZ6P4',
                        'S0I5AWZZ6', '3VLXKSD51', 'E6APOFD7K', 'FPGAUBWO1', '5WF8PQ4I3', 'ICQ7P7GSD', 'YUESTOU4M',
                        'YN38NQMM3', 'V25HR7DNU', 'FSZYSFWVE', '4FJC2PQR2', 'HUXALAGBX', 'SOA6W2PFQ', '6LSRS57OD',
                        '94A8LZ4RF', 'N35C3R7BW', 'M4L2S2LDG', 'XC5HNYJGJ', 'VPSQW779K', 'A9YOD9QGL', 'GTZLTSFHL',
                        'NJQOYZVS8', 'ZUIT3F1U2', 'QMP8A6JNJ', '8XA3C1D3F', 'KGOH0SBA8', 'HYMCAPA1W', 'N007O7AXQ',
                        'KS5CVE5Y6', 'MV7NA2QAX', '4K3OBXGRN', 'RRU94PNX9', '22FQISQSX', 'C702IV7F7', 'KBF7UP0YZ',
                        'TV0SUTX5J', '0OB18E8IX', 'T3CSSB9E5', 'H6KM47DOO', '2Q2U7FYN1', '922ZJN1X2', 'T2FQM3RBD',
                        'OMDBIPBOW', '3EFZ5LODG', '2F2NKFKMX', 'MCW6JI0RP', 'J8B0YEY14', 'JB1WMN6TE', 'Z14EUH2EW',
                        '1EQQEMB6U', 'AGTZ7DZBA', '7W0VYIYD0', 'S2GT2LNBV', 'ZBGX0X9VE', '84L7BZU8V', 'DOWAYOYZ2',
                        'SDVK4M34Q', 'M4ZQZ27T9', 'HPYNV5X1Q', 'BIFRFJDB8', 'WBLGH819L', 'K8H27FANK', 'VTI80OXKC',
                        '7FQAS8GDJ', 'EA3XRF64X', 'GZ5TT0ZQW', 'M5YMRN97X', 'HZ602303O', 'FG4CZQ895', 'EZM5W08RO',
                        'OCWCBBZO8', '0MVPCFX6E', 'X3H875DRI', 'K7KPKYFRT', '7RDFD9DUJ', 'JP087F2TD', 'FDBXQWVS7',
                        'ERCWII53D', 'KMFNTK28S', 'M06E49B2M', 'UE6G63M60', '16BZFQZFR', 'SC7DCAM7F', 'NYTMOL2ZV',
                        'GBO9DKGOJ', 'HM8H2IV18', 'S3BHKGX5I', 'IOS3YBU3U', 'YZ0ATBEGG', 'Q9FFEK7S1', 'AKYJEC887',
                        'BS9T4R1RS', 'IF3F0QEA6', '4FG1V315G', 'YCOO1Z97G', 'BSLCXXHIG', 'IL3HC53DI', 'J198IBRBY',
                        'IIWC6LOIG', 'U74UAR78Y', 'YDCO7F2RI', 'XKQF0TZMU', 'ACPA06JCD', 'TPPCO2N0U', 'KVF0FE6XA',
                        '6M3CLGMXU', 'YSZ5UPDOU', 'B24Y5IZ5O', 'XX0GQ3NKG', '83OJOJJ0N', '9D7BDYPNL', 'RW29P7LJG',
                        '9MH6UAGTC', '3KVZ83J5I', 'IFZ765UCW', 'NUYZSCR50', 'JCEBD9DRA', 'L0VHWNYJA', '6079K6KTK',
                        'SWAXZP6Z9', 'A5D0WUK8J', '9M2F0L8QE', 'RUA8G81Z1', '31G5DDWO3', 'UXHVPNP4F', 'GX0WUOTVJ',
                        '3O6WVFPN9', '7MEEE6EDR', 'TGICKYHOT', 'VUAQPM4X6', 'AR6MWSIFI', 'KQF0N8IPQ', 'R246GPAES',
                        'Y07TYI68R', '50SY9SPON', 'BD5GKP6JY', 'LU4OY73K8', '1FBAUH8N1', 'NYDC7XPCM', 'OBK0F2LVS',
                        'X9AZ4RPNW', 'YRQTWG0UI', 'WJV4ACLIY', 'M7SWLU22C', 'A1HKYDNJQ', '281QFSHHD', 'EHBP40MZI',
                        '79VO2SHOS', '1L0XIPREB', 'PZFG0NZ9I', 'AXSJM2G5S', 'WPRDPJEB6', 'AVP2RGESJ', '8P99GU892',
                        'C2MWJ4LQK', 'TQJZN38BL', '9AJEOI3FI', '41ZY3CTMC', 'SVLV8VJWT', '8WW1W51UD', 'LC8VV1ILJ',
                        '08INCQ3YG', '85UKG8TRM', 'USN2ZCH1L', 'U8C4L8O00', '16TP7TOHU', 'OCHAKJX4H', 'RWL7BOA0E',
                        '1B0TQ8UXT', 'AI11JNT7H', '0FWA9F9PK', 'XGH964R95', 'GBCRFYG5S', 'VGN60BTEU', 'ZJJXOOU6W',
                        'MEYTWLDYO', 'GY29ZR7ZR', '3X9HXI4O0', 'E3F1DW0DD', 'Q7VNQHHUX', 'V71PNDWNV', 'MTZ5NS1UY',
                        'CBWA82ERK', '8WZC2H3IQ', '7ZPE9LEE0', 'UHV9XNK6X', 'MGDZD2ZUU', 'G2K82B6YO', 'ZDUG15DVQ',
                        '1AQDV806G', 'GGND379VW', '9RCAGJK4R', '46HDVKI7K', 'ML45WGUQT', '5BED4RU6F', '1I98X78AM',
                        'HBQ0VE164', 'MGXI2KAPR', '4NCHNLEB3', 'JUROUMMVN', 'J1UD5BUUD', 'JM7Z09NG4', 'HDVMAA6MW',
                        '0ZWC5467F', 'C3OVE7ERR', '7E6I9JOCH', 'ZCUCVKNHT', '4P8A7G787', 'LQ3RR8NVN', 'IL6BATFUV',
                        'HLS0Y6F75', 'MA6B5R7MD', 'GS0BR5OBC', 'VXZHQK1QO', 'RG0P9980H', 'QXNZA8QN9', 'N6OON6VDW',
                        '1ZL2TWYH7', 'YAH05OHM3', 'AICYQPY83', 'NIUTFGIUC', '2QX01XSJX', 'ND3UKC3C6', 'FZD8IV1GW',
                        '58A72VRGN', 'I2YB8WNU1', 'EOY7CONOI', 'YMHMJTUZ3', 'YYQGR04JS', '29U21GIQW', 'RQY79BR86',
                        'H9CZGMILZ', '90KBSN0YE', 'W25P4EJS4', 'M0RLK0OMB', 'YKLRB8FLI', 'B6J3LJ73U', 'T4RFRQ9AF',
                        'QKXVA4BNT', 'KY7E7NRQL', 'Y9XPAANQ9', 'EEV7ENMP8', 'AMH6NN1VV', '0QTVHKVZT', 'UK3F1YRMA',
                        'TQW7I5G5E', 'DXJ8ZYWD7', 'DF42TE89L', 'GBVU0Y4LG', 'CVOU3VELF', '4W08ILKM4', '5WT4BJBPJ',
                        'SRT8XGPXP', 'KNOFZ0KOA', 'PC0NG6BZ8', 'D1IH6ERD8', 'I1OR2ZX0Y', 'LBDTG2QN1', 'G8VWS866G',
                        'U15OBZXD1', '9J6BNS2RJ', '7BP25HMU0', 'BM0USKHJH', 'O1Z8Q4UDW', '9ER09RBJF', 'LJ3X2RF59',
                        'U8ZT1F4MB', 'X11CE81KU', 'GVYUSA1L9', 'ECAG5G7PG', 'JA7WJI1WY', 'NSD14D29L', '690CARLM9',
                        'P6C0BAMG8', '0LUUZPM3S', '6LIFWQUVO', 'CCOR4F9IJ', 'APD85ERB8', 'WQMKTR62O', 'OBWHS69ZD',
                        '7HKXPHO1O', 'JJF8VTE20', 'TA0BGDL0Y', '6185KEFM0', 'EHXN2WFTV', 'LBD27IK25', 'KL7JP0U11',
                        '173YOBJ0V', '16HRPT23M', 'ALAXCLIFS', 'H59QQ153U', 'AMTHQ676S', 'T61OQ9OBX', 'YJQJXZ8WZ',
                        'G8LRV2X0A', 'PAQ0QUXCM', 'S85EG61S6', 'SZLOBVO9T', '0YFXRGTVG', 'FWYJFJF04', '4SPT2P74L',
                        '83RNGNHUL', 'TTRJ2L4Q2', 'JTHZ2ORNV', 'OY9TEXG82', '1DL4J94AK', 'CW7T0E256', 'Q25O5CXIB',
                        'M2MZLKQ4F', 'P9DPZJRW0', 'G1IJ5RY1N', 'QW1R8J15T', 'PRGFG9SJI', 'IYMK03MCD', 'E47IS5615',
                        '4EWUOLYCL', 'Q7EB08S3C', '5I91UTXE2', 'KSC6BZTVV', '4MD0IXXEU', 'G8J9EST2V', 'VL48LGLUL',
                        'D2UFP47YR', '2LEKLAFHF', 'NO8IL3DJ4', 'KS9L5RLWD', 'JC7UXYZ5O', 'CGEI142I8', 'XHH80TEKG',
                        'BN30Y1N67', '9GXYGMC0N', '29LY3PZ3S', 'L9B6YI9MI', 'XGNJBH20S', 'MXFHJ9N5K', 'FHZBOQME8',
                        'O1KUS58DE', '43ENMQYS1', 'F97XUEUFZ', '6RGHW9RRA', 'UQW440SIA', '3NLA25CMP', 'B9MYH7PRX',
                        'RMPY1VGX2', 'AD7VOYKJF', 'TVW88MPP0', 'RFMYJRTS1', 'H8OFA10T1', 'S6OXGI77R', '4EOAIMYZD',
                        '6C55PKO5B', '9XJI5RHW2', 'ALVIC0MGW', '0X032DIY4', '7KK3CUNVV', 'BW440OBO0', 'X2ZNHR7N3',
                        '9WS5ES8IR', '27FNECY5L', 'AAWWZB2W8', 'S2PSV8Y2X', '2IAJM4TPY', 'EYZH3B7A9', '4EV7A2SEQ',
                        'B0Z62K4PI', '5MHV3FRZN', 'RWGSHEPWA', '5Y0HPVHZ4', 'U7SLI8QYC', 'KAVN3JK4N', '4GW33LMYF',
                        'YLWA9YTJ3', 'WUPC0M8NE', 'X45FZXGTF', 'D0TQXU44E', 'S3UILZ5JN', 'FHNDC1C7B', 'UJ0KY00L4',
                        'T6EORNS16', 'PO62ONKD4', 'BO078ELSA', 'L0GND11XN', 'XUCJSDW1T', 'X99OQIX8Z', 'W4TA1WK65',
                        'WWZBQ22I4', 'S2WLGSQH9', 'KENP6YT7E', '5IFFCIUP6', 'VY0B7Q5X5', '3R38WN0D6', 'D4OIJ3U4S',
                        'P89LMESGB', 'DNGOKODJ5', 'GRMRDGTX1', '74GBXVM1D', '46TFORAO0', 'DL84HM9AR', 'H4TPHOUEM',
                        'JTIXLNIY6', '1YFLYVDUD', 'Q4PW1R8ES', 'ELKR529X1', 'DT3CM655X', 'Z8R0PO70L', 'B5U2JS290',
                        'Q9BVPE8NO', '5XUWSVU3Y', 'BW4M6ZIXU', 'ECUHZ8GFO', 'I87OECD0O', '20KD4BED5', 'CPS78V85G',
                        'Z3VNA1K4S', 'Q4TIAEAZS', '61TJ9KSTG', '0VWHLYMIO', 'AYJ59L4NP', '2700XE0LY', '32AM630EE',
                        'LL8SQ9NQS', '8RQZB6FBV', '1DRPOA2YA', 'JYHMST7RF', 'MGPTSUBCY', 'EOWRND23Z', '36WCA8NFT',
                        'K4BXT5RQJ', 'IXFQHY208', '83ZUTCJAA', 'GZL4E57RG', 'UG9UTGTPS', '579C1YS4X', 'PTO3GQ6OW',
                        'O3EVFNJBV', 'BW3GYMYIP', 'V2L24X7PD', 'H3CSHY34H', 'AYXSIJONX', '1EXJP957I', 'SLPSJS9IP',
                        'T60QSR9K5', '277CMVQXL', 'QC8BRF1WZ', 'EU315WTES', 'J45K889JK', '411D5T93P', 'C4DLD9TRO',
                        '3O2APN0E2', 'JY4IGLXQX', 'QUZVMI0RJ', 'UJ31C3A1G', 'ZVE6UU464', 'HB9LHGSKH', 'JYFWIWK0X',
                        'BZVXDDLDW', 'HTLSESPRW', '7OC87H910', '6TCA5MTM1', 'DI4JBEPW0', 'C549R0DR0', 'UWP5BA45Z',
                        'U8AJ1QM9P', 'KNP5E6ZQ6', 'S2Y4V3JDF', 'UK1LJZATD', '6Y0CDWOS1', 'IF0M2PX00', '1KAJY444B',
                        'D406DC31V', '7BGIZCW69', 'M3YR1QSUB', 'IT7JZQ8BP', 'EE42WOEUZ', 'EFOVXUH0I', 'I31SOENBB',
                        'TYX0Z0SHH', '909SCNA1F', '05VUDIZWF', 'JDZ4NN76Q', 'FUS0CJ3PK', '74G4IOTTK', 'FI997G03X',
                        'RMUMXP1GJ', 'Z68FFOY2K', 'TJJGNTKGZ', 'CC9R711SF', 'IU1T84HKH', 'CXNMUUUQF', 'HD8MEEE63',
                        'IJQ4P4CKA', 'UDDU74NV3', 'OTYF77XKZ', 'VQNAPZW87', 'ZVHPXUC3H', 'X5YTX2P0I', '700OKL39T',
                        'HDURVCF7G', 'K735CM0OC', '1TSRNB66C', 'ZZCTKAOKP', '5MPYO9SDY', 'RESMZE7MV', 'AL0ER25IO',
                        '526NCCWJP', 'BKBOCAOVS', 'P66LWI4G3', 'RVZ7DNM9A', '25SQPJOG8', 'LHNXA0CDH', 'HZ8IJNBQ2',
                        'S1EPVWZ8M', '1M8BK12AB', 'MLP0XR6U3', '06IVOO5G6', 'K06VGLUVS', '508NRWYYR', '8UUQ0O13T',
                        '40PI8EUFR', 'LCQNPJFKN', '6NVY3466U', 'O8FD1VITX', 'WT09PH087', 'GTAZJURC9', '07R0AMX4B',
                        '4NQOLNOJ8', '61SIIX3TD', '9R9R93FJU', 'ABHE1WABS', 'THMIZRN6M', 'RX27QR509', 'AQ7WH25TR',
                        'RJUAZMIYI', 'NPY7SZCWK', 'TP2MI20Q5', '82VQPLLLP', 'TSD90D3HI', '2Q4ZW65A2', 'KGCJBWZDV',
                        'C7RRDY3SE', 'RK7LZFNDB', 'HEN4QZCD9', 'M4A7ZJAW4', 'S2PJH1YBN', 'TFEEVMZ8H', 'GYUVH1BKJ',
                        'MQ4EZLRLM', 'YNJWSK0X8', 'I9MK6540N', '7PMP87KMP', 'R80NMDP1U', 'CYGWAAAQ7', 'T8DN59R7E',
                        'LTCKMYG9L', 'Y2T1SFHLM', 'OM3RCY0EV']


class Subsession(BaseSubsession):
    def my_function(self):
        return "".join((random.choices(Constants.completion_codes)))

    def creating_session(self):
        for player in self.get_players():
            player.completion_code = self.my_function()
            player.participant.vars['generated_code'] = player.completion_code


class Group(BaseGroup):
    pass


class Player(BasePlayer):
    completion_code = models.StringField()
