Skip to content

Commit

Permalink
docs: add schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed May 23, 2024
1 parent cfd98c5 commit 1b1db98
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
56 changes: 56 additions & 0 deletions models/problems/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,12 @@ models:
- name: course_order
data_type: Int32
description: "The sort order of this block in the course across all course blocks"
- name: subsection_block_id
data_type: string
description: "The unique identifier for the subsection block"
- name: section_block_id
data_type: string
description: "The unique identifier for the section block"

- name: fact_problem_engagement_per_subsection
description: "A dataset with one record representing a problem attempted by a learner and the section and subsection that problem belongs to"
Expand Down Expand Up @@ -463,3 +469,53 @@ models:
- name: emission_time
data_type: datetime
description: "The timestamp of the last attempt or the first successful attempt"

- name: section_problem_engagement
description: "A record per course per section per learner with their engagement level"
columns:
- name: org
data_type: string
description: "The organization that the course belongs to"
- name: course_key
data_type: string
description: "The course key for the course"
- name: actor_id
data_type: string
description: "The xAPI actor identifier"
- name: section_block_id
data_type: string
description: "The unique identifier for the section block"
- name: engagement_level
data_type: string
description: "The engagement level of the learner with the section"
tests:
- accepted_values:
values:
- 'No problems attempted yet'
- 'All problems attempted'
- 'At least one problem attempted'

- name: subsection_problem_engagement
description: "A record per course per subsection per learner with their engagement level"
columns:
- name: org
data_type: string
description: "The organization that the course belongs to"
- name: course_key
data_type: string
description: "The course key for the course"
- name: actor_id
data_type: string
description: "The xAPI actor identifier"
- name: subsection_block_id
data_type: string
description: "The unique identifier for the subsection block"
- name: engagement_level
data_type: string
description: "The engagement level of the learner with the subsection"
tests:
- accepted_values:
values:
- 'No problems attempted yet'
- 'All problems attempted'
- 'At least one problem attempted'
6 changes: 6 additions & 0 deletions models/video/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ models:
- name: course_order
data_type: Int32
description: "The sort order of this block in the course across all course blocks"
- name: subsection_block_id
data_type: string
description: "The unique identifier for the subsection block"
- name: section_block_id
data_type: string
description: "The unique identifier for the section block"

- name: fact_video_engagement_per_subsection
description: "A dataset with one record representing a video viewed by a learner and the section and subsection that video belongs to"
Expand Down

0 comments on commit 1b1db98

Please sign in to comment.