Giter Club home page Giter Club logo

adapt-contrib-assessment's Introduction

adapt-contrib-assessment

A basic assessment for the Adapt Framework which attaches to an 'article' object to group various question components (such as adapt-contrib-mcq, adapt-contrib-textInput and adapt-contrib-matching) and provide a score with feedback.

A sample JSON is given below which can be added to a single article block:

"_assessment": {
    "_isPercentageBased" : true,
    "_scoreToPass" : 60,
    "_completionMessage" : {
        "title" : "You have finished the assessment",
        "message": "You have scored [SCORE] out of [MAXSCORE].  [FEEDBACK]"
    },
    "_bands": [
        {
            "_score": 0,
            "feedback": "You must try harder"
        },
        {
            "_score": 25,
            "feedback": "I think you can do better than this"
        },
        {
            "_score": 50,
            "feedback": "Good effort, you're getting there..."
        },
        {
            "_score": 75,
            "feedback": "Excellent!"
        }
    ]
}

A description of attributes is as follows:

Attribute Type Description
_isPercentageBased bool Set this to true if the assessment should work on percentages, or false for otherwise
_scoreToPass int This is the 'pass' mark for the assessment. If _isPercentageBased is set to true this will be a percentage, e.g. 60 would equal 60%
_completionMessage object An object containing title and message string values. Note that message can contain the following placeholders: [SCORE], [MAXSCORE] and [FEEDBACK]
_bands object array An array of objects whose purpose is to define the score banding. The attributes required for each object are _score and feedback

###Events

Event Description Object
assessment:complete Triggered when the user submits the last question component which is part of the assessment article
isPass bool
score int
scoreAsPercent int
    </td>        
</tr>

adapt-contrib-assessment's People

Contributors

brian-learningpool avatar chris-steele avatar darylhedley avatar jasonbutler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.