Пример #1
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='live_chat',
        hideTabs=True,
        title='Join a Live Classroom Session',
        pluginNodes=[
            START,
            WAIT_ASK,
            TITLE,
            ASK,
            GET_ANSWER,
            CONFIDENCE,
            GET_CONFIDENCE,
            CORRECT_ANSWER,
            INCORRECT_ANSWER,
            INCORRECT_CHOICE,
            WAIT_ASSESS,
            ASSESS,
            ASSESS_QUESTION_MESSAGE,
            GET_ASSESS,
            GRADING,
            ERRORS,
            GET_ERRORS,
            END
        ],
    )
    return (spec,)
Пример #2
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='updates',
        hideTabs=True,
        title='Present updates for a particular Thread.',
        pluginNodes=[
            START,
            UPDATES,
            SHOW_NEW_RESOLUTIONS,
            SHOW_EM,
            SHOW_EM_RESOLUTION,
            SHOW_NEW_ANSWERS,
            SHOW_FAQ,
            SHOW_FAQ_ANSWER,
            SHOW_NEW_EMS,
            GET_NEW_EMS,
            SHOW_NEW_FAQS,
            FAQ_UPDATES,
            ACT,
            GET_ACT,
            TRANSITION,
            VIEWUPDATES,
            FAILEDTRANSITION,
            END
        ],

    )
    return (spec,)
Пример #3
0
def get_specs():
    'get FSM specifications stored in this file'
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='slideshow',
        hideTabs=True,
        title='View courselet as a slide show',
        pluginNodes=[START, LESSON, FAQ, CHOOSE, END],
    )
    return (spec,)
Пример #4
0
def get_specs():
    'get FSM specifications stored in this file'
    spec = FSMSpecification(
        name='test',
        title='try this',
        pluginNodes=[START, MID],  # nodes w/ plugin code
        nodeDict=dict(  # all other nodes
            END=dict(title='end here', path='ct:home'), ),
    )
    return (spec, )
Пример #5
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    spec = FSMSpecification(
        name='randomtrial',
        hideTabs=True,
        title='Participate in a randomized trial',
        pluginNodes=[START, PRETEST, TREATMENT, POSTTEST, END],
    )
    return (spec, )
Пример #6
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='livestudent',
        hideTabs=True,
        title='Join a Live Classroom Session',
        pluginNodes=[START, WAIT_ASK, ASK, WAIT_ASSESS, ASSESS, ERRORS, END],
    )
    return (spec, )
Пример #7
0
def get_specs():
    'get FSM specifications stored in this file'
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='liveteach',
        title='Teach a live (classroom) session',
        description='''You can begin teaching this courselet in a
                    live classroom session by clicking here:''',
        pluginNodes=[START, CHOOSE, QUESTION, ANSWER, RECYCLE, END],
        fsmGroups=('teach/unit/published', ),
    )
    return (spec, )
Пример #8
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='help',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[START, START_MESSAGE, HELP_RESOLVE, END],
    )
    return (spec, )
Пример #9
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='lessonseq',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[START, LESSON, ASK, ASSESS, ERRORS, END],
    )
    return (spec, )
Пример #10
0
def get_specs():
    'get FSM specifications stored in this file'
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='add_lesson',
        hideTabs=True,
        title='Add a New Lesson',
        description='''Guides you through the steps of adding a new
                    lesson to this courselet''',
        pluginNodes=[START, SEARCH, CONCEPTS, WRITE, END],
        fsmGroups=('teach/unit_tasks',),
    )
    return (spec,)
Пример #11
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='courselet_preview',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[START, TITLE, LESSON, ASK, GET_ANSWER, ASSESS,
                     GET_ASSESS, ERRORS, GET_ERRORS, IF_RESOURCES, END],

    )
    return (spec,)
Пример #12
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='additional',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[
            START, START_MESSAGE, STUDENTERROR, RESOLVE, MESSAGE_NODE,
            GET_RESOLVE, END
        ],
    )
    return (spec, )
Пример #13
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='chat',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[
            START, TITLE, LESSON, ASK, GET_ANSWER, CONFIDENCE, GET_CONFIDENCE,
            CORRECT_ANSWER, INCORRECT_ANSWER, INCORRECT_CHOICE, ASSESS,
            ASSESS_QUESTION_MESSAGE, GET_ASSESS, GRADING, ERRORS, GET_ERRORS,
            IF_RESOURCES, FAQ, TRANSITION, VIEWUPDATES, END
        ],
    )
    return (spec, )
Пример #14
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='faq',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[
            START, SHOW_FAQS, INTRO_MSG, MSG_FOR_INQUIRY, SHOW_FAQ_BY_ONE,
            ASK_FOR_FAQ_ANSWER, GET_FOR_FAQ_ANSWER, SHOW_FAQ_ANSWERS,
            ASK_UNDERSTANDING, GET_UNDERSTANDING, WILL_TRY_MESSAGE_2,
            WILL_TRY_MESSAGE_3, SELECT_NEXT_FAQ, ASK_NEW_FAQ, GET_NEW_FAQ,
            ADDING_FAQ, NEW_FAQ_TITLE, GET_NEW_FAQ_TITLE, NEW_FAQ_DESCRIPTION,
            GET_NEW_FAQ_DESCRIPTION, WILL_TRY_MESSAGE, F**K, END
        ],
    )
    return (spec, )
Пример #15
0
def get_specs():
    """
    Get FSM specifications stored in this file.
    """
    from fsm.fsmspec import FSMSpecification
    spec = FSMSpecification(
        name='additional',
        hideTabs=True,
        title='Take the courselet core lessons',
        pluginNodes=[
            START, START_MESSAGE, STUDENTERROR, RESOLVE, MESSAGE_NODE,
            NEED_HELP_MESSAGE, ADDITIONAL_ASK, GET_RESOLVE,
            ADDITIONAL_GET_ANSWER, ADDITIONAL_CONFIDENCE,
            ADDITIONAL_GET_CONFIDENCE, ADDITIONAL_ASSESS,
            ADDITIONAL_ASSESS_QUESTION_MESSAGE, ADDITIONAL_GET_ASSESS,
            GREAT_MESSAGE, HOPENESS_MESSAGE, ADDITIONAL_CORRECT_ANSWER,
            ADDITIONAL_INCORRECT_ANSWER, ADDITIONAL_INCORRECT_CHOICE,
            ADDITIONAL_GRADING, ORCT_LETS_START_MESSAGE, END
        ],
    )
    return (spec, )