Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dashboard updates for sumac #967

Merged
merged 5 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions tutoraspects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@
"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 Down Expand Up @@ -391,7 +385,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.33.1"),
("DBT_BRANCH", "v3.33.2"),
("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
@@ -1,5 +1,6 @@
unused_uuids:
datasets:
- 4df7005e-3a7e-4979-a4e3-e70f22d36daa # At Risk problem results
charts:
- a433e3cc-8ed5-454a-8b17-5dd75cfc84e4 # Course Info
- e0098cfe-a312-4c49-8efd-7e74256b6ea4 # Course info
Expand All @@ -11,6 +12,7 @@ unused_uuids:
- 4250c976-a9b7-43ff-b5ad-8dd00a5acef7 # Learner performance breakdown
- 9c3f7291-1bd9-4b2f-abc0-472aad3aff06 # Learner performance breakdown
- 8b0535a8-a43f-49bf-9d50-439a16bd3f74 # Video engagement
- fa249dda-78da-4ccc-9ef3-39177e6aae0c # Course Information

ignored_uuids:
datasets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
annotation_layers: []
color_pn: false
column_config:
active_count:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
annotation_layers: []
color_pn: false
column_config:
Current Enrollees:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ params:
adhoc_filters:
- clause: WHERE
comparator: No filter
datasourceWarning: false
expressionType: SIMPLE
filterOptionName: filter_6yivq3tfsx5_ple4axtqz6
isExtra: false
isNew: false
operator: TEMPORAL_RANGE
sqlExpression: null
subject: enrolled_at
all_columns: []
annotation_layers: []
color_pn: true
column_config:
Avg Course Grade:
Expand All @@ -22,10 +26,6 @@ params:
d3NumberFormat: ~g
d3SmallNumberFormat: ~g
conditional_formatting:
- colorScheme: '#ACE1C4'
column: active_within
operator: "\u2265"
targetValue: 0
- colorScheme: '#EFA1AA'
column: avg_course_grade
operator: <
Expand All @@ -47,14 +47,18 @@ params:
column: median_course_grade
operator: <
targetValue: 50
- colorScheme: '#ACE1C4'
column: active_within_7_days
operator: '>'
targetValue: 0
extra_form_data: {}
groupby:
- org
- course_key
- course_name
- course_run
metrics:
- active_within
- active_within_7_days
- avg_course_grade
- median_course_grade
order_by_cols: []
Expand All @@ -67,19 +71,23 @@ params:
table_timestamp_format: smart_date
temporal_columns_lookup:
enrolled_at: true
time_grain_sqla: P1D
viz_type: table
query_context:
datasource:
id: 38
id: 301
type: table
force: false
form_data:
adhoc_filters:
- clause: WHERE
comparator: No filter
datasourceWarning: false
expressionType: SIMPLE
filterOptionName: filter_6yivq3tfsx5_ple4axtqz6
isExtra: false
isNew: false
operator: TEMPORAL_RANGE
sqlExpression: null
subject: enrolled_at
all_columns: []
color_pn: true
Expand All @@ -91,10 +99,6 @@ query_context:
d3NumberFormat: ~g
d3SmallNumberFormat: ~g
conditional_formatting:
- colorScheme: '#ACE1C4'
column: active_within
operator: "\u2265"
targetValue: 0
- colorScheme: '#EFA1AA'
column: avg_course_grade
operator: <
Expand All @@ -116,9 +120,13 @@ query_context:
column: median_course_grade
operator: <
targetValue: 50
- colorScheme: '#ACE1C4'
column: active_within_7_days
operator: '>'
targetValue: 0
dashboards:
- 17
datasource: 38__table
- 581
datasource: 301__table
extra_form_data: {}
force: false
groupby:
Expand All @@ -127,7 +135,7 @@ query_context:
- course_name
- course_run
metrics:
- active_within
- active_within_7_days
- avg_course_grade
- median_course_grade
order_by_cols: []
Expand All @@ -139,11 +147,10 @@ query_context:
row_limit: 1000
server_page_length: 10
show_cell_bars: true
slice_id: 49
slice_id: 1481
table_timestamp_format: smart_date
temporal_columns_lookup:
enrolled_at: true
time_grain_sqla: P1D
viz_type: table
queries:
- annotation_layers: []
Expand All @@ -157,19 +164,18 @@ query_context:
custom_params: {}
extras:
having: ''
time_grain_sqla: P1D
where: ''
filters:
- col: enrolled_at
op: TEMPORAL_RANGE
val: No filter
metrics:
- active_within
- active_within_7_days
- avg_course_grade
- median_course_grade
order_desc: true
orderby:
- - active_within
- - active_within_7_days
- false
post_processing: []
row_limit: 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ params:
markerSize: 6
metrics:
- number_of_learners
only_total: true
opacity: 0.2
order_desc: true
rich_tooltip: true
rolling_type: cumsum
row_limit: 10000
Expand All @@ -49,21 +47,15 @@ params:
truncate_metric: true
viz_type: echarts_area
x_axis: emission_time
x_axis_sort_asc: true
x_axis_sort_series: name
x_axis_sort_series_ascending: true
x_axis_time_format: smart_date
x_axis_title_margin: 15
y_axis_bounds:
- null
- null
y_axis_format: ~g
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
zoomable: true
query_context:
datasource:
id: 29
id: 24
type: table
force: false
form_data:
Expand All @@ -81,7 +73,9 @@ query_context:
annotation_layers: []
color_scheme: supersetColors
comparison_type: values
datasource: 29__table
dashboards:
- 24
datasource: 24__table
extra_form_data: {}
force: false
forecastInterval: 0.8
Expand All @@ -95,9 +89,7 @@ query_context:
markerSize: 6
metrics:
- number_of_learners
only_total: true
opacity: 0.2
order_desc: true
result_format: json
result_type: full
rich_tooltip: true
Expand All @@ -108,23 +100,17 @@ query_context:
show_extra_controls: false
show_legend: true
show_value: false
slice_id: 30
slice_id: 41
sort_series_type: sum
time_grain_sqla: P1M
tooltipTimeFormat: smart_date
truncateXAxis: true
truncate_metric: true
viz_type: echarts_area
x_axis: emission_time
x_axis_sort_asc: true
x_axis_sort_series: name
x_axis_sort_series_ascending: true
x_axis_time_format: smart_date
x_axis_title_margin: 15
y_axis_bounds:
- null
- null
y_axis_format: ~g
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
zoomable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ params:
metrics:
- views
- number_of_learners
only_total: true
opacity: 0.2
order_desc: true
rich_tooltip: true
rolling_type: cumsum
row_limit: 10000
Expand All @@ -42,21 +39,15 @@ params:
truncate_metric: true
viz_type: echarts_timeseries_line
x_axis: visited_on
x_axis_sort_asc: true
x_axis_sort_series: name
x_axis_sort_series_ascending: true
x_axis_time_format: smart_date
x_axis_title_margin: 15
y_axis_bounds:
- null
- null
y_axis_format: ',d'
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
zoomable: true
query_context:
datasource:
id: 73
id: 41
type: table
force: false
form_data:
Expand All @@ -70,8 +61,8 @@ query_context:
color_scheme: supersetColors
comparison_type: values
dashboards:
- 28
datasource: 73__table
- 24
datasource: 41__table
extra_form_data: {}
force: false
forecastInterval: 0.8
Expand All @@ -84,9 +75,6 @@ query_context:
metrics:
- views
- number_of_learners
only_total: true
opacity: 0.2
order_desc: true
result_format: json
result_type: full
rich_tooltip: true
Expand All @@ -95,7 +83,7 @@ query_context:
seriesType: line
show_empty_columns: true
show_legend: true
slice_id: 62
slice_id: 94
sort_series_ascending: true
sort_series_type: sum
time_grain_sqla: P1M
Expand All @@ -104,15 +92,9 @@ query_context:
truncate_metric: true
viz_type: echarts_timeseries_line
x_axis: visited_on
x_axis_sort_asc: true
x_axis_sort_series: name
x_axis_sort_series_ascending: true
x_axis_time_format: smart_date
x_axis_title_margin: 15
y_axis_bounds:
- null
- null
y_axis_format: ',d'
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
zoomable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ params:
y_axis_title_position: Left
query_context:
datasource:
id: 54
id: 63
type: table
force: false
form_data:
adhoc_filters: []
annotation_layers: []
color_scheme: supersetColors
comparison_type: values
datasource: 54__table
datasource: 63__table
extra_form_data: {}
force: false
forecastInterval: 0.8
Expand All @@ -75,7 +75,7 @@ query_context:
show_empty_columns: true
show_legend: true
show_value: false
slice_id: 95
slice_id: 23
sort_series_type: sum
tooltipTimeFormat: smart_date
truncateXAxis: true
Expand Down
Loading
Loading