pg = pg or {} pg.challenge_rate_template = { { id = 1, rate = 1, content = 0, type = 1 }, { id = 2, rate = 0.98, content = 1, type = 1 }, { id = 3, rate = 0.95, content = 2, type = 1 }, { id = 4, rate = 0.91, content = 3, type = 1 }, { id = 5, rate = 0.86, content = 4, type = 1 }, { id = 6, rate = 0.8, content = 5, type = 1 }, { id = 7, rate = 0.74, content = 6, type = 1 }, { id = 8, rate = 0.67, content = 7, type = 1 }, { id = 9, rate = 0.6, content = 8, type = 1 }, all = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } }