Пример #1
0
def question_a():
    question_a = Question(name='question-12', raw_name='T12')
    question_a.set_answers([
        Answer(name='answer-0', raw_name='a-0'),
        Answer(name='answer-1', raw_name='a-1'),
    ])
    return question_a
def question_b():
    question_b = Question(name='question-13', raw_name='T13')
    question_b.set_answers([
        Answer(name='answer-a', raw_name='a-0'),
        Answer(name='answer-b', raw_name='a-1')
    ])
    return question_b
Пример #3
0
def question_9():
    question_9 = Question(name='question-9', raw_name='T9')
    question_9.set_answers([
        Answer(name='no', raw_name='no'),
        Answer(name='yes', raw_name='yes'),
    ])
    return question_9
Пример #4
0
def question_2():
    question_2 = Question(name='question-2', raw_name='T2')
    question_2.set_answers([
        Answer(name='no', raw_name='no'),
    ])
    return question_2
Пример #5
0
def question_1():
    question_1 = Question(name='question-1', raw_name='T1')
    question_1.set_answers([
        Answer(name='round', raw_name='completely round'),
    ])
    return question_1
Пример #6
0
def question_0():
    question_0 = Question(name='question-0', raw_name='T0')
    question_0.set_answers([
        Answer(name='features-or-disk', raw_name='features or disk'),
    ])
    return question_0
Пример #7
0
from gzreduction.schemas.schema import Schema, Question, Answer


dr5_schema = Schema()

smooth_or_featured = Question(
    name='smooth-or-featured',
    raw_name='T0'
)
smooth_or_featured.set_answers([
    Answer(
        name='smooth',
        raw_name='smooth'),
    Answer(
        name='featured-or-disk',
        raw_name='features or disk'),
    Answer(
        name='artifact',
        raw_name='star or artifact')
    ])
dr5_schema.add_question(smooth_or_featured)


how_rounded = Question(
    name='how-rounded',
    raw_name='T1'
)
how_rounded.set_answers([
    Answer(
        name='round',
        raw_name='completely round'),
Пример #8
0
from gzreduction.schemas.schema import Schema, Question, Answer


dr2_schema = Schema()


smooth_or_featured = Question(
    name='smooth-or-featured',
    raw_name='decals-0'
)
smooth_or_featured.set_answers([
    Answer(
        name='smooth',
        raw_name='a-0'),
    Answer(
        name='featured-or-disk',
        raw_name='a-1'),
    Answer(
        name='artifact',
        raw_name='a-2')
    ])
dr2_schema.add_question(smooth_or_featured)


how_rounded = Question(
    name='how-rounded',
    raw_name='decals-8'
)
how_rounded.set_answers([
    Answer(
        name='completely',