Coder Social home page Coder Social logo

Comments (8)

dancgray avatar dancgray commented on July 17, 2024

Issues validating _quizBankID and _split.

If _banks is enabled, blocks must be organised into questions banks by adding the _quizBankID attribute. We cannot validate for this in the authoring tool.

_quizBankID must start at 1 and increment by 1. In _split the position of the number in the list corresponds to the _quizBankID assigned in a block.

from adapt-contrib-assessment.

dancgray avatar dancgray commented on July 17, 2024

_attempts can be a string (only infinite allowed) or a number. This element is currently defined as a number in the schema. We may need to change the schema type to a select and populate with ''infinite" and a number selection (if that's possible).

from adapt-contrib-assessment.

moloko avatar moloko commented on July 17, 2024

or maybe we could separate this out into a new property _allowInfiniteAttempts?

Or allow _attempts to be left blank and assume infinite if it is?

from adapt-contrib-assessment.

oliverfoster avatar oliverfoster commented on July 17, 2024

_attempts - will be infinite if the value is < 0 or null or undefined or "infinite". so a number is fine. just put the default as -1 and update the description to explain

from adapt-contrib-assessment.

oliverfoster avatar oliverfoster commented on July 17, 2024

_quizBankIDs can be moved if it makes more logical sense? is there an authoring tool reason for it or just for convention?

from adapt-contrib-assessment.

oliverfoster avatar oliverfoster commented on July 17, 2024

_quizBankIDs and _split. what's the easiest way to store split to allow it to validate? or is it simply that one is on the article and the other on the blocks and validation isn't possible?

from adapt-contrib-assessment.

dancgray avatar dancgray commented on July 17, 2024

@oliverfoster the _attempts suggestion should work fine.

I think the convention for extension JSON in the authoring tool is to put it within an object to allow JSON to be added/removed when plugins are added/removed from courses. Would there be a code change in the assessment model to move this to _assessment._quizBankId in the block?

It may be that validation is not possible without some custom validation for this plugin. I think we will need to re-address the authoring tool component inputs again as they are fairly lengthy now.

from adapt-contrib-assessment.

oliverfoster avatar oliverfoster commented on July 17, 2024

Cool. yea a small set of changes i'd think. want me to do it before the schema gets accepted?

from adapt-contrib-assessment.

Related Issues (20)

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.