[Design] - Observation with Rubrics
Introduction
This wiki explains the design approach for enhancing the Question and QuestionSet Objects to support creation and consumption of Observation with Rubrics.
Problem Statement
Creator should be able to create an observation with rubrics against a framework which will have domain & criteria (criteria’s will be associated to domain).
Creator should be able to tag observation and its questions with Evidence Collection Method (ECM).
Creator should be able to decide on page numbers for questions under either ECM or Criteria
Creator should be able to define Scoring, Max and Min Scoring level (at each criteria level).
Gathering additional metadata at each framework category level should be driven be form configuration.
Consumer should be able to consume the Observation in two ways
by browsing taxonomy structure i.e: domain & criteria
by browsing list of Evidence Collection Method (ECM)
Rubric is an algorithmic expression which can be used to decide the level of observation consumer.
Approach 1: Creating hierarchy with leafNodes directly
The taxonomy structure will be captured and stored at observation root node.
The
frameworkTemplate
metadata will hold the taxonomy structure. sample value is as below:
"frameworkTemplate": {
"domain": [
{
"name": "<name_given_by_creator>",
"domain": "domain1",
"description": ""
}
],
"criteria": [
{
"name": "<name_given_by_creator>",
"domain": "domain1",
"description": "",
"criteria": "criteria1"
},
{
"name": "<name_given_by_creator>",
"domain": "domain1",
"description": "",
"criteria": "criteria2"
}
]
}
list of ECMs will be stored as
ecm
metadata at root levelall children will be stored at level 1
additional metadata
pageNumber
need to be stampedSample Hierarchy Structure is as below:
{
"Observation": {
"name": "observation",
"description": "test observation",
"primaryCtegory": "Observation",
"identifier": "do_1_observation",
"frameworkTemplate": [],
"ecm": [
"ecm1",
"ecm2",
"ecm3"
],
"children": [
{
"identifier": "do_1_question1",
"name": "question1",
"parent": "do_1_observation",
"domain": "domain1",
"criteria": "criteria1",
"pageNumber": 1,
"ecm": "ecm1" // ecm meta is optional
},
{
"identifier": "do_1_question2",
"name": "question2",
"parent": "do_1_observation",
"domain": "domain1",
"criteria": "criteria1",
"pageNumber": 2,
"ecm": "ecm2" // ecm meta is optional
}
]
}
}
Pros:
This approach is simpler because it provides required views with minimum computation.
creation of different needs to perform two operation: filter by metadata and group by pageNumber
this approach requires minimal changes in the platform.
Cons:
player need to understand
pageNumber
metadata.player need to perform two operation: filter by metadata and group by pageNumber
storing the forms is still not solved with this approach
Approach 2: FrameworkTemplate and View
ObservationType - 'Self' (without ECM)
{
"Observation": {
"type": "self",
"frameworkTemplate": {
"domain": [],
"criteria": []
},
"sections": [],
"view": [],
"children": []
}
}
ObservationType - 'External' (with ECM)
children
is the existing structure with new question properties such as domain
, criteria
, ecm
etc.
Pros
Creating the views (ECM & non-ECM) for both editor and player becomes easier with the flattened structure.
It addresses all the possible scenarios of sequence/order and presentation of question on the consumption side.
It allows to store the snapshot of the taxonomy with additional metadata.
This design allows to add any framework categories under
frameworkTemplate
based on the need and views based on any metadata (ex: ECM)
Cons
Every time the editor is loaded, mapping needs to be done between the taxonomy tree and questions in
children
property.Proposed structure is different from the current structure supported by the platform.
If a question is deleted, it has to be removed from
sections
list, but the question does not have any property to hold the section id to backtrack. Hence removing questions from particular `sections` becomes challenging.
Open Questions:
QUESTION - The relation between the
criteria
andsections
?
Approach 3: Creating hierarchy folder structure as per the taxonomy structure
Domain, Criteria & Section will be created as nested folders under observation root node.
The hierarchy structure without ECM will be as below:
The hierarchy structure with ECM will be as below:
Pros:
The hierarchy structure is as similar as currently supported by the platform.
storing forms for each folder is easy in the category definition
Cons:
loading the required presentation (criteria view, ecm view) at consumption requires more processing.
Rubrics at each criteria
Behaviour:
Creator will see the framework hierarchical structure of domain & criteria for the first time, when creation of observation begins.
Once the observation is created, the taxonomy structure will be copied to the observation and same will be shown to the user from next loading of editor.
Label and some additional information (description, keywords, etc) can be updated by creator for the copied taxonomy structure.
Recommended Approach:
QuestionSet will have the hierarchy as usual. For Observation with rubrics, the editor will auto-create the question-set hierarchy using the framework structure.
The editor (or the question set category - Observation with Rubric) should use a config to specify the list of framework categories that are to be used to create the hierarchy.
Once the hierarchy is created, the editor shall not allow editing the structure of the hierarchy (i.e. the folders).
Regarding the pagination structure, lets add a new attribute “rendering_sequence” to the question_set object. This attribute has the following structure:
No partial updates are allowed for rendering_sequence. The complete sequence will be overridden on update.
Platform will not validate the rendering_sequence. I.e, if the rendering_sequence has a question_id that doesn’t exist in the hierarchy, API will still update the value.
Old players which do not understand rendering_sequence can fall back to use the default hierarchy.
If the rendering_sequence has invalid data, player can choose to skip the question, fail the rendering of the question set or fall back to use the default hierarchy.
Rubrics should be defined on the sections of the original hierarchy using the outcome_declaration attribute (should have the same structure as response_declaration of questions).
Open Item: should Observations with rubric be a new primary category or a new object type? It depends on the PRD:
- if the editor workflow is generalised enough to embed in the question set editor or not
- if the behaviours like rendering_sequence and rubrics are applicable for any question set or not
Questions: