Skip to content

Summary Node

Summary node captures the learning status of content library entity for a given iep or student. Summary node replicates the same hierarchy structure as content library entity and decorates them with the learning status of a student. The status of the node incrementally changes through the course of the iep from oboarding to daily assessments to end of the iep duration. Ultimately using this status student reports and the next iep are drafted.

Summary node is represented as a tree. While the domain node forms the root of the tree, assessments form the leaves of this tree.

graph TB
  A[Domain Node] --> |Has Many| B[Category Node];  
  B --> |Has Many| C[Goal Node];  
  C --> |Has Many| D[Subgoal Node];
  D --> |Has Many| E[Assessment];  
  E --> |New/Update/Delete Trigger| D
  D --> |Status Trigger| C
  C --> |Status Trigger| B
  B --> |Status Trigger| A

As can be noticed from the diagram above, the status changes are triggered from leaf to root. Every change to assessment (new/update or delete) is reflected at subgoal, whose changes bubble up the status change all the way to the root of the tree, i.e., domain node.

The learning status of an iep is captured as the aggregation of status of domain summary nodes. The learning status of the student is captured as the aggregation of status of iep summary nodes.

Entity Attributes

Following attributes define a summary node.

type

The type of the summary node, possible summary nodes are domain, category, goal and subgoal.

status

The status of the node. Possible values are completed, failed, forgotten, pending_assessments, progress.

ancestry

The path of the node in the tree.

count_summary
Count summary of various statuses of child nodes. For example in goal node, the count summary can be captured as 3 subgoals in progress, 2 completed, 3 failed etc.
status_history
Captures how the node status is changing over time.
completed_on
Latest timestamp of when the node is marked as completed.
failed_on
Latest timestamp of when the node is marked as failed.
forgotten_on
Latest timestamp of when the node is marked as forgotten.

Entity Relationships

iep

The iep to which the node belongs to.

record

The content library entity which this node represents.

assessment

Only a subgoal node as many assessments, rest of the nodes do not have assessments, their assessments are deduced from the descendants of the tree.

Admin UI

There is not admin UI for summary node as it is internal data representation.