Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Developers Section Topics

Getting Started

  • OboNode Structure
  • Text Content Conventions
  • Triggers and Actions

Misc Dev Topics

  • Obojobo Glossary
  • Question Selection Algorithm
  • Range Strings

Events Reference

  • Caliper Event Reference
  • Obojobo Event Reference

OboNode & Content Block Reference

  • ActionButton
  • Assessment
  • Assessment > rubric
  • Assessment > rubric > mod
  • Assessment > scoreAction
  • Break
  • Code
  • Content
  • Figure
  • Heading
  • HTML
  • IFrame
  • List
  • List > listStyle
  • List > listStyle > indent
  • Materia
  • MathEquation
  • MCAssessment
  • MCAssessment > MCChoice
  • MCAssessment > MCChoice > MCAnswer
  • MCAssessment > MCChoice > MCFeedback
  • Module
  • NumericAssessment
  • NumericAssessment > NumericChoice
  • NumericAssessment > NumericChoice > NumericAnswer
  • NumericAssessment > NumericChoice > NumericFeedback
  • Page
  • Question
  • QuestionBank
  • Table
  • Table > gridTextGroup
  • Text
  • textGroup
  • textGroup > textItem
  • textGroup > textItem > styleableText
  • textGroup > textItem > styleableText > styleList
  • trigger
  • trigger > action
  • YouTube

Assessment > rubric > mod

Class: Content Block

A Mod is a condition under which the assessment score will have additional points added or removed. Mods are only rewarded if the passed status is achieved.

Mods should most likely be kept to one or two at most. In a planned future release mod rules will be specified to the student through an automatically generated table and several mods will be difficult for a student to read clearly. There is a limit of 20 mod rules allowed (any additional mods after the 20th mod will be ignored).

Mods must always be wrapped in a Mods array.

Properties

Property Required Type Description
reward Required Number The amount (-100 to 100) that the passing attempt score is modified. Positive values are extra credit and negative values are penalties.
attemptCondition no Range String, Integer, $last_attempt Default: [1,$last_attempt]. Specifies which attempt numbers this mod will be applied towards. Values must be 1 or higher. Use a Range String to specify a range of values. $last_attempt is a variable that will be replaced with the value of Assessment’s attempts property. As the default value shows, $last_attempt can be used in the Range String syntax.

Example

JSON

"mods": [
  { "attemptCondition": "1", "reward": "5" }
]

OboXML

<mods>
  <mod attemptCondition="1" reward="5" />
</mods>

This example would award a bonus 5 points to assessments that are passed on the first attempt

More examples can be found in Extra Credit & Penalties

  • Properties
  • Example
    • JSON
    • OboXML
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida