Skip to content

Commit

Permalink
feat: new course comparison dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
saraburns1 committed Sep 11, 2024
1 parent 3ec4f93 commit 0466fdb
Show file tree
Hide file tree
Showing 22 changed files with 2,085 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tutoraspects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
"uuid": "abae8a25-1ba4-4653-81bd-d3937a162a11",
"allow_translations": True,
},
{
"name": "Course Comparison Dashboard",
"slug": "course-comparison",
"uuid": "c6c7062d-dd90-4292-b9cf-84f7b9f38e73",
"allow_translations": True,
},
],
),
# The following settings are used to configure the Superset dashboards
Expand All @@ -140,6 +146,7 @@
"course-dashboard": "c0e64194-33d1-4d5a-8c10-4f51530c5ee9",
"learner-groups": "8661d20c-cee6-4245-9fcc-610daea5fd24",
"individual-learner": "abae8a25-1ba4-4653-81bd-d3937a162a11",
"course-comparison": "c6c7062d-dd90-4292-b9cf-84f7b9f38e73",
},
),
# ClickHouse xAPI settings
Expand Down Expand Up @@ -376,7 +383,7 @@
# For now we are pulling this from github, which should allow maximum
# flexibility for forking, running branches, specific versions, etc.
("DBT_REPOSITORY", "https://github.com/openedx/aspects-dbt"),
("DBT_BRANCH", "v3.31.0"),
("DBT_BRANCH", "v3.33.1"),
("DBT_SSH_KEY", ""),
("DBT_STATE_DIR", "/app/aspects-dbt/state"),
("DBT_PROFILES_DIR", "/app/aspects/dbt/"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
_file_name: Course_Info_a433e3.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
annotation_layers: []
color_pn: false
column_config:
active_count:
columnWidth: 200
course_name:
columnWidth: 300
enrollees:
columnWidth: 150
org:
columnWidth: 200
tag_list:
truncateLongCells: true
conditional_formatting: []
extra_form_data: {}
groupby:
- course_name
- org
metrics:
- enrollees
- active_count
- tag_list
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
query_context: null
slice_name: Course Info
uuid: a433e3cc-8ed5-454a-8b17-5dd75cfc84e4
version: 1.0.0
viz_type: table
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
_file_name: Course_Info_e0098c.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
annotation_layers: []
color_pn: false
column_config:
Current Enrollees:
columnWidth: 150
active_count:
columnWidth: 200
course_name:
columnWidth: 200
course_run:
columnWidth: 300
tag_list:
truncateLongCells: true
conditional_formatting: []
extra_form_data: {}
groupby:
- course_run
- course_name
metrics:
- active_count
- tag_list
- enrollees
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
query_context: null
slice_name: Course Info
uuid: e0098cfe-a312-4c49-8efd-7e74256b6ea4
version: 1.0.0
viz_type: table
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
_file_name: Enrollment_Counts_2f2af8.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
date_format: smart_date
extra_form_data: {}
groupbyColumns:
- enrollment_mode
groupbyRows:
- course_name
metrics:
- enrollees
metricsLayout: COLUMNS
order_desc: true
rowOrder: key_a_to_z
row_limit: 10000
temporal_columns_lookup: {}
time_grain_sqla: P1D
valueFormat: SMART_NUMBER
viz_type: pivot_table_v2
query_context:
datasource:
id: 221
type: table
force: false
form_data:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
datasource: 221__table
date_format: smart_date
extra_form_data: {}
force: false
groupbyColumns:
- enrollment_mode
groupbyRows:
- course_name
metrics:
- enrollees
metricsLayout: COLUMNS
order_desc: true
result_format: json
result_type: full
rowOrder: key_a_to_z
row_limit: 10000
slice_id: 161
temporal_columns_lookup: {}
time_grain_sqla: P1D
valueFormat: SMART_NUMBER
viz_type: pivot_table_v2
queries:
- annotation_layers: []
applied_time_extras: {}
columns:
- enrollment_mode
- course_name
custom_form_data: {}
custom_params: {}
extras:
having: ''
time_grain_sqla: P1D
where: ''
filters:
- col: emission_time
op: TEMPORAL_RANGE
val: No filter
metrics:
- enrollees
order_desc: true
orderby:
- - enrollees
- false
row_limit: 10000
series_limit: 0
url_params: {}
result_format: json
result_type: full
slice_name: Enrollment Counts
uuid: 2f2af8b0-94ae-4300-b71f-3bd7f9fc127c
version: 1.0.0
viz_type: pivot_table_v2
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
_file_name: Enrollment_Counts_bd37be.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
date_format: smart_date
extra_form_data: {}
groupbyColumns:
- enrollment_mode
groupbyRows:
- course_run
metrics:
- enrollees
metricsLayout: COLUMNS
order_desc: false
rowOrder: key_a_to_z
row_limit: 50000
temporal_columns_lookup: {}
time_grain_sqla: P1D
valueFormat: SMART_NUMBER
viz_type: pivot_table_v2
query_context: null
slice_name: Enrollment Counts
uuid: bd37be7f-6672-4dca-80ae-a54f69d169da
version: 1.0.0
viz_type: pivot_table_v2
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
_file_name: Learner_Performance_4e48b8.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: ffc33796-bcd4-4e8b-a4e4-ab6517b72116
description: |-
<dl>
<dt>Avg % Correct on 1st Attempt </dt>
<dd> The average percentage of correct answers on the first attempt </dd>
</dl>
params:
adhoc_filters: []
all_columns:
- success
annotation_layers: []
color_pn: true
column_config:
avg_course_grade:
d3NumberFormat: ',.1%'
first_try_correct:
d3NumberFormat: ',.1%'
showCellBars: false
med_course_grade:
d3NumberFormat: ',.1%'
conditional_formatting: []
extra_form_data: {}
groupby:
- course_name
- org
metrics:
- first_try_correct
- count_passing
- avg_course_grade
- med_course_grade
order_by_cols: []
order_desc: true
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
query_context: null
slice_name: Learner Performance
uuid: 4e48b8f9-e757-4263-a9d7-d18018620a24
version: 1.0.0
viz_type: table
Loading

0 comments on commit 0466fdb

Please sign in to comment.