QuML Requirement
Why QuML Player?
A player built on open-source technology to natively play QuML Questions & Question Sets. This player will be optimised to play content faster and support building capabilities much faster in future.
As a User I should have a player to plug & Play the Questions from various data source. Embeddable player in content. For example, questions from various Question banks stored in QuML format.
Should work as open standard for rendering of question banks with customised User Experience. So, someone should be able to build a custom player using these guidelines and open-source QuML player library. This player's architecture could be leveraged to build other such players for other content types.
As a User I should have a native playing experience of playing content across all device platforms (Desktop,Mobile & Tablet). So content would respond to various consumption channel's form factor and resolutions. This player would also have richer UI / UX such as new navigation, responsiveness, orientation support (portrait / landscape). For example, playing MCQ in portrait mode.Â
It would support use-cases such as Quiz, Mock Test, Timed Test, Training Assessment, and more.
Player capable of relatively lighter deployment capability is desirable. This we will achieve by migrating / complying to NPM standards. This would make player size less (light-weight) and make deployment cycles faster & lighter (internal dev team).
Player should be brand-able based on minimalistic input. So we can have multiple themes of the player to visually differentiate for various use-cases / user-groups. This player would support configurations to enable / disable certain capabilities.
Problems with the current approach .. security, iframe, deprecated
It could have capabilities (in-future) such as:
- Question Ordering such as branching logic,Â
- Player would support dynamically fetch sets of exam based on a blueprint
- Animation
- Theme
- Time Keeping. Timer - enforced exit or stopwatch
- Behaviour Metadata
- Attempt Metadata
- Score Board
- Receiver of all Event Emitters of Hosted Templates
- Loader
- Telemetry wrapper for all emitted events
- Common Latex library which can process inline latex content
- Shuffle questions to give equivalent yet different test
- Instruction (start) page
- Summary (end) page
- Report card for detailed question level results
- ...
Beneficiaries / Stakeholders
- Developer community
- Building on open-source standards allows us to attract more contributors
- Ease of development due to latest tech stack and popular industry technologies
- Users
- Faster player
- Better User experienceÂ
- Lightweight device storage requirements for player installation
- Help reduce content size due to template bundling
- Product & Business team
- Cost / Time / Effort of development would reduce
- Faster feature dev
- Customisations supported - various use-cases supported by one player
Comparison of current (ECML) Content player and QuML player
Current (ECML) Content Player | QuML Player | |
---|---|---|
Generic player built for variety of content types | Specific player built for a purpose | |
Content Types | Supported Content Types: Resource | Supported Content Type: Practice Question Set |
Formats | Supporte Formats:Â
| Supported Formats: QuML Question Set |
Tech stack | Technology used: | Technology used: |
Load time & performance | Player load time is comparatively higher since it loads all dependent libraries before it begins to play content | Player load time is comparatively lesser .. |
Responsiveness | Responsiveness.. | |
Indian language support | ||
Introducing new capabilities | ||
Player size | 600 KB inclusing KaTeX dependencies |
Discussion Points
Forward/Backward Compatibility of Questions Ex: Introduction of new capability would end us up with introducing new player version for content.
Introduction of New Question Types - introducing a new question type (new evaluation logic) requires you to upgrade the player or supports only..
Evaluation logic 1 : Select / Multi-select would support various MCQ templates
Evaluation logic 2 : Pairs would support various templates such as MTF, Reordering, Sequencing, Memory game
Evaluation logic 3 : Text input would support FTB, ordered FTB, unordered FTB,Â
New evaluation logic requires player upgrade. Older players will not support these Â
Download dependencies if compatibility is broken and play as iframe; and in the upcoming release upgrade the player
What will QuML player be capable of?
List of capabilities and NFRs
Users will continue to create Practice Set (QuML) using Program portal and/or Contribution workflow. The editors would generate the appropriate content HTML / QuML as per specification. The player, built as per QuML specs, would play these content seamlessly & efficiently.Â
Alpha
Target release: 2.7.0
- Responsive to variety of form factors - can adapt to any screen size and orientation
- MCQ with dynamic layout selection - vertical, horizontal, grid, multiple column
- Initially built using Angular, Vue JS, TypeScript
- Later decided to build using Pure JS & Angular
- (Spike) Embed in non-Angular apps
Beta
Target release: 2.8.0
Feature parity with current Practice Set
player
- Support MCQ with all 4 layouts and be capable of supporting more layouts in future - SB-17576Getting issue details... STATUS
- Support Subjective questions - SB-17578Getting issue details... STATUS
- Support Question + Answer + Solution for MCQ & Subjective question typesÂ
-
SB-17579Getting issue details...
STATUS
- Solution as text + image
- Solution as video
- Support show / hide of evaluation feedback - SB-17580Getting issue details... STATUS
- Support top (new) navigation design - SB-17583Getting issue details... STATUS
- MenuÂ
- Support for end (summary) page as-is in Content Player
- Custom end page for Course AssessmentÂ
- Generate telemetry + summary events - SB-17410Getting issue details... STATUS
Changes required in Content Editors
- Generate QuML as per specification
- Integrate QuML player to show preview to the creator
- Learning platform would send QuML body in content archive package
- Ensure correct & appropriate telemetry is generated from editor & player
Gold (v0)
Target release: 2.9.0
- Ready to use in
- Mobile
- Portal
- Desktop app
- Editors
- MCQ - support for additional layouts
- Support for Question set configurations - shuffle questions, show x/y questions, show/hide evaluation feedback
- MSQ (MMCQ)
- Support for creating MCQ with multiple correct options
- Support for all / any correct option evaluation
- Question type templates - FTB, MTF, SubjectiveÂ
V1
Target release:Â
- Support for timer in Question sets (Time restricted and Time counter)
- Configuration to customise end summary page
How will these capabilities be built?
Tech designÂ
When will it be built?
Versions and Release planÂ