Coder Social home page Coder Social logo

deltanet / adapt-contrib-assessmentresultstotal-audio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adaptlearning/adapt-contrib-assessmentresultstotal

0.0 3.0 0.0 116 KB

A component used to display multiple assessment results.

License: GNU General Public License v3.0

JavaScript 98.76% Handlebars 1.24%

adapt-contrib-assessmentresultstotal-audio's Introduction

adapt-contrib-assessmentResultsTotal-audio

Multiple Assessment Results is an audio enabled presentation component.

sample assessment results component

It is used to display the total result of all assessment's. It can be used only in conjunction with adapt-contrib-assessment. Feedback and the opportunity to reattempt the assessment may be coordinated with range of scores, and most importantly, with the _scoreToPass variable from Assessment.

Installation

This custom component must be installed manually.

Settings Overview

Important note: do not put the Multiple Assessment Results component in the same article as the assessment itself.

The attributes listed below are used in components.json to configure Multiple Assessment Results, and are properly formatted as JSON in example.json. Visit the Multiple Assessment Results wiki for more information about how they appear in the authoring tool.

Attributes

core model attributes: These are inherited by every Adapt component. Read more.

_component (string): This value must be: assessmentResultsTotalAudio. (One word with uppercase "R".)

_classes (string): CSS class name(s) to be applied to Multiple Assessment Results’ containing div. The class(es) must be predefined in one of the Less files. Separate multiple classes with a space.

_layout (string): This defines the horizontal position of the component in the block. Values can be full, left or right.

instruction (string): This optional text appears above the component. It is frequently used to guide the learner’s interaction with the component.

_isVisibleBeforeCompletion (boolean): Determines whether this component will be visible as the learner enters the assessment article or if it will be displayed only after the learner completes all question components. Acceptable values are true or false. The default is false.

_setCompletionOn (string): Can be set to "inview" or "pass". A a setting of "inview" will cause the component to be marked as completed when it has been viewed regardless of whether or not the assessments are passed, whereas a setting of "pass" will cause the component to be set to completed when this component has been viewed and the assessments have been passed. This setting can be very useful if you have further content on the page that's hidden by trickle which you don't want the user to be able to access until they have passed the assessment. Default is "inview".

_assessmentId (Array): This contains a list of assessments which must match the _id of the assessment for which results should be displayed.

feedback (string): This text is displayed only when both _allowRetry is true and more attempts remain (configured in adapt-contrib-assessment). It may make use of the following variables: {{attemptsSpent}}, {{attempts}}, {{attemptsLeft}}, {{score}}, {{scoreAsPercent}} and {{maxScore}}. These values are populated with data supplied by adapt-contrib-assessment. {{{feedback}}}, representing the feedback assigned to the appropriate band within this component, is also allowed.

_completionBody (string): This text overwrites the standard body attribute upon completion of the assessment. It may make use of the following variables: {{attemptsSpent}}, {{attempts}}, {{attemptsLeft}}, {{score}}, {{scoreAsPercent}} and {{maxScore}}. The variable {{{feedback}}}, representing the feedback assigned to the appropriate band, is also allowed.

_bands (object array): Multiple items may be created. Each item represents the feedback and opportunity to retry for the appropriate range of scores. _bands contains values for _score, feedback, and instruction.

_score (number): This numeric value represents the raw score or percentile (as determined by the configuration of adapt-contrib-assessment) that indicates the low end or start of the range. The range continues to the next highest _score of another band.

feedback (string): This text will be displayed to the learner when the learner's score falls within this band's range. It replaces the {{{feedback}}} variable when the variable is used within _completionBody.

instruction (string): This optional text appears below the feedback. It is frequently used to guide the learner’s interaction with the component.

sample assessment results component

In the image to the right, numbers are paired with the text's source attributes as follows:

  1. _displayTitle
  2. _bands.feedback
  3. {{scoreAsPercent}}

For a guide on the difference between using two curly braces and three curly braces when working with the variables that are available in this component, see the HTML escaping section of the the Handlebars website

Limitations

No known limitations.


Version number: 3.1.4
Framework versions: 5+
Author / maintainer: DeltaNet, forked from adapt-contrib-assessmentResultsTotal
Accessibility support: WAI AA
RTL support: yes
Cross-platform coverage: Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, IE11, Safari 13+14 for macOS+iOS

adapt-contrib-assessmentresultstotal-audio's People

Contributors

chris-steele avatar chucklorenz avatar dancgray avatar deltanetdan avatar oliverfoster avatar robertpeek avatar taylortom avatar zenduo avatar

Watchers

 avatar  avatar  avatar

adapt-contrib-assessmentresultstotal-audio's Issues

Wrong audio plays when returning to the component

When an assessment has been completed all is working fine, however if you then go back to another topic with a question in.. do not answer the question and return to the topic where the assessmentResultsTotal component is, the initial audio plays and not the feedback audio.

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.