From 5a322a53303fcbe3968dc6320551039a95186b33 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Wed, 10 Apr 2024 08:52:20 -0500 Subject: [PATCH] feat: import course dashboard v1 (#710) * feat: import course dashboard v1 * chore: setup roles, colors and slug for course dashboard * fix: schema on braces for valid yaml * chore: add annotation layers for Charts * fix: serialize selects as long strings * chore: set course dashboard as instructor dashboard * fix: except empty datasets for performance metrics# --- tutoraspects/plugin.py | 8 +- .../pythonpath/performance_metrics.py | 8 +- .../assets/charts/Course_Information.yaml | 185 +++ .../Cumulative_Enrollments_by_Track.yaml | 98 ++ .../charts/Cumulative_Interactions.yaml | 118 ++ .../assets/charts/Current_Enrollees.yaml | 72 + .../Distribution_of_Current_Course_Grade.yaml | 29 + .../Enrollees_per_Enrollment_Track.yaml | 100 ++ .../charts/Evolution_of_engagement.yaml | 115 ++ .../charts/Learners_with_Passing_Grade.yaml | 74 + .../Page_views_per_section_subsection.yaml | 87 ++ .../Partial_and_full_views_per_video.yaml | 46 +- .../assets/charts/Problem_Interactions.yaml | 169 +++ .../assets/charts/Problem_Results.yaml | 146 ++ ...lems_attempted_per_section_subsection.yaml | 84 ++ .../assets/charts/Section_Summary.yaml | 146 ++ .../assets/charts/Subsection_Summary.yaml | 148 ++ .../Video_views_per_section_subsection.yaml | 84 ++ .../dashboards/Course_Dashboard_V1.yaml | 1242 +++++++++++++++++ .../dashboards/Instructor_Dashboard.yaml | 2 +- .../assets/datasets/ab_user.yaml | 5 +- .../assets/datasets/course_blocks.yaml | 5 +- .../assets/datasets/course_names.yaml | 5 +- .../assets/datasets/course_overviews.yaml | 5 +- .../assets/datasets/dashboards.yaml | 2 +- .../assets/datasets/dim_course_problems.yaml | 2 +- .../assets/datasets/dim_course_videos.yaml | 2 +- .../assets/datasets/fact_course_grades.yaml | 2 +- .../datasets/fact_enrollment_status.yaml | 110 ++ .../assets/datasets/fact_enrollments.yaml | 2 +- .../datasets/fact_enrollments_by_day.yaml | 2 +- .../datasets/fact_forum_interactions.yaml | 2 +- .../fact_learner_problem_course_summary.yaml | 2 +- .../fact_learner_problem_summary.yaml | 2 +- .../assets/datasets/fact_navigation.yaml | 174 +++ .../datasets/fact_navigation_completion.yaml | 126 ++ .../datasets/fact_pageview_engagement.yaml | 2 +- .../datasets/fact_problem_engagement.yaml | 2 +- .../assets/datasets/fact_problem_grades.yaml | 2 +- .../datasets/fact_problem_responses.yaml | 2 +- .../assets/datasets/fact_student_status.yaml | 164 +++ .../datasets/fact_transcript_usage.yaml | 2 +- .../datasets/fact_video_engagement.yaml | 2 +- .../assets/datasets/fact_video_plays.yaml | 2 +- .../assets/datasets/fact_video_watches.yaml | 2 +- .../datasets/fact_watched_video_segments.yaml | 2 +- .../assets/datasets/hints_per_success.yaml | 2 +- .../assets/datasets/indexed_events.yaml | 2 +- .../assets/datasets/int_problem_results.yaml | 201 +++ .../assets/datasets/posts_per_user.yaml | 2 +- .../assets/datasets/slices.yaml | 5 +- .../assets/datasets/superset_action_log.yaml | 2 +- .../assets/datasets/user_pii.yaml | 2 +- .../datasets/xapi_events_all_parsed.yaml | 5 +- 54 files changed, 3752 insertions(+), 60 deletions(-) create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Course_Information.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Enrollments_by_Track.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Interactions.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Current_Enrollees.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Distribution_of_Current_Course_Grade.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Enrollees_per_Enrollment_Track.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Evolution_of_engagement.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Learners_with_Passing_Grade.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Page_views_per_section_subsection.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Interactions.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Results.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problems_attempted_per_section_subsection.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Section_Summary.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Subsection_Summary.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Video_views_per_section_subsection.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Course_Dashboard_V1.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollment_status.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation_completion.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_student_status.yaml create mode 100644 tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/int_problem_results.yaml diff --git a/tutoraspects/plugin.py b/tutoraspects/plugin.py index cc0c1ff52..bac7af5db 100644 --- a/tutoraspects/plugin.py +++ b/tutoraspects/plugin.py @@ -80,9 +80,9 @@ "ASPECTS_INSTRUCTOR_DASHBOARDS", [ { - "name": "Instructor Dashboard", - "slug": "instructor-dashboard", - "uuid": "1d6bf904-f53f-47fd-b1c9-6cd7e284d286", + "name": "Course Dashboard", + "slug": "course-dashboard-v1", + "uuid": "c0e64194-33d1-4d5a-8c10-4f51530c5ee9", }, { "name": "Learner Groups Dashboard", @@ -102,7 +102,7 @@ ( "SUPERSET_EMBEDDABLE_DASHBOARDS", { - "instructor-dashboard": "1d6bf904-f53f-47fd-b1c9-6cd7e284d286", + "course-dashboard-v1": "c0e64194-33d1-4d5a-8c10-4f51530c5ee9", "learner-groups": "8661d20c-cee6-4245-9fcc-610daea5fd24", "individual-learner": "abae8a25-1ba4-4653-81bd-d3937a162a11", }, diff --git a/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py b/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py index e0f19c1ba..e038c59b5 100644 --- a/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py +++ b/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py @@ -54,6 +54,8 @@ def performance_metrics(): logger.info(f"Dashboard: {dashboard.slug}") for slice in dashboard.slices: result = measure_chart(slice) + if not result: + continue for query in result["queries"]: # Remove the data from the query to avoid memory issues on large datasets. query.pop("data") @@ -87,7 +89,11 @@ def measure_chart(slice, extra_filters=[]): command = ChartDataCommand(query_context) start_time = datetime.now() - result = command.run() + try: + result = command.run() + except Exception as e: + logger.error(f"Error fetching slice data: {slice}. Error: {e}") + return end_time = datetime.now() result["time_elapsed"] = (end_time - start_time).total_seconds() diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Course_Information.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Course_Information.yaml new file mode 100644 index 000000000..9b7998c63 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Course_Information.yaml @@ -0,0 +1,185 @@ +_file_name: Course_Information.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 633a1d4e-cd40-482f-a5dc-d5901c2181c2 +description: null +params: + adhoc_filters: [] + all_columns: [] + annotation_layers: [] + color_pn: true + conditional_formatting: + - colorScheme: '#ACE1C4' + column: Graded Learners + operator: '>' + targetValue: 0 + - colorScheme: '#FDE380' + column: Avg Course Grade + operator: "\u2264 x \u2264" + targetValueLeft: '0.5' + targetValueRight: '0.7' + - colorScheme: '#EFA1AA' + column: Avg Course Grade + operator: < + targetValue: 0.5 + - colorScheme: '#ACE1C4' + column: Avg Course Grade + operator: "\u2265" + targetValue: 0.7 + - colorScheme: '#ACE1C4' + column: Median Course Grade + operator: "\u2265" + targetValue: 0.7 + - colorScheme: '#FDE380' + column: Median Course Grade + operator: "\u2264 x \u2264" + targetValueLeft: '0.5' + targetValueRight: '0.7' + - colorScheme: '#EFA1AA' + column: Median Course Grade + operator: < + targetValue: 0.5 + extra_form_data: {} + groupby: + - org + - course_key + - course_name + - course_run + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 457 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Graded Learners + optionName: metric_25t7qgbwxu5_a9fbiaboytw + sqlExpression: null + - aggregate: AVG + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: course_grade + description: null + expression: null + filterable: true + groupby: true + id: 461 + is_certified: false + is_dttm: false + python_date_format: null + type: FLOAT64 + type_generic: 0 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Avg Course Grade + optionName: metric_i5mlkxng7kb_5auir2yzvnx + sqlExpression: null + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Median Course Grade + optionName: metric_prd604bf33n_j3zxzos2g5 + sqlExpression: 'quantile(0.5)(course_grade) ' + order_by_cols: [] + order_desc: true + percent_metrics: [] + query_mode: aggregate + row_limit: 1000 + server_page_length: 10 + show_cell_bars: true + table_timestamp_format: smart_date + temporal_columns_lookup: {} + time_grain_sqla: P1D + viz_type: table +query_context: "{\"datasource\":{\"id\":70,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[],\"extras\":{\"time_grain_sqla\":\"P1D\",\"having\":\"\ + \",\"where\":\"\"},\"applied_time_extras\":{},\"columns\":[\"org\",\"course_key\"\ + ,\"course_name\",\"course_run\"],\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\"\ + ,\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\"\ + :null,\"column_name\":\"actor_id\",\"description\":null,\"expression\":null,\"filterable\"\ + :true,\"groupby\":true,\"id\":457,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\"\ + :null,\"type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Graded Learners\",\"optionName\":\"metric_25t7qgbwxu5_a9fbiaboytw\"\ + ,\"sqlExpression\":null},{\"aggregate\":\"AVG\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"course_grade\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":461,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"FLOAT64\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Avg Course Grade\",\"optionName\":\"metric_i5mlkxng7kb_5auir2yzvnx\"\ + ,\"sqlExpression\":null},{\"aggregate\":null,\"column\":null,\"datasourceWarning\"\ + :false,\"expressionType\":\"SQL\",\"hasCustomLabel\":true,\"label\":\"Median Course\ + \ Grade\",\"optionName\":\"metric_prd604bf33n_j3zxzos2g5\",\"sqlExpression\":\"\ + quantile(0.5)(course_grade) \"}],\"orderby\":[[{\"aggregate\":\"COUNT_DISTINCT\"\ + ,\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\"\ + :null,\"column_name\":\"actor_id\",\"description\":null,\"expression\":null,\"filterable\"\ + :true,\"groupby\":true,\"id\":457,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\"\ + :null,\"type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Graded Learners\",\"optionName\":\"metric_25t7qgbwxu5_a9fbiaboytw\"\ + ,\"sqlExpression\":null},false]],\"annotation_layers\":[],\"row_limit\":1000,\"\ + series_limit\":0,\"order_desc\":true,\"url_params\":{},\"custom_params\":{},\"custom_form_data\"\ + :{},\"post_processing\":[]}],\"form_data\":{\"datasource\":\"70__table\",\"viz_type\"\ + :\"table\",\"slice_id\":186,\"query_mode\":\"aggregate\",\"groupby\":[\"org\",\"\ + course_key\",\"course_name\",\"course_run\"],\"time_grain_sqla\":\"P1D\",\"temporal_columns_lookup\"\ + :{},\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":457,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Graded Learners\",\"optionName\":\"metric_25t7qgbwxu5_a9fbiaboytw\"\ + ,\"sqlExpression\":null},{\"aggregate\":\"AVG\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"course_grade\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":461,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"FLOAT64\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Avg Course Grade\",\"optionName\":\"metric_i5mlkxng7kb_5auir2yzvnx\"\ + ,\"sqlExpression\":null},{\"aggregate\":null,\"column\":null,\"datasourceWarning\"\ + :false,\"expressionType\":\"SQL\",\"hasCustomLabel\":true,\"label\":\"Median Course\ + \ Grade\",\"optionName\":\"metric_prd604bf33n_j3zxzos2g5\",\"sqlExpression\":\"\ + quantile(0.5)(course_grade) \"}],\"all_columns\":[],\"percent_metrics\":[],\"adhoc_filters\"\ + :[],\"order_by_cols\":[],\"row_limit\":1000,\"server_page_length\":10,\"order_desc\"\ + :true,\"table_timestamp_format\":\"smart_date\",\"show_cell_bars\":true,\"color_pn\"\ + :true,\"conditional_formatting\":[{\"colorScheme\":\"#ACE1C4\",\"column\":\"Graded\ + \ Learners\",\"operator\":\">\",\"targetValue\":0},{\"colorScheme\":\"#FDE380\"\ + ,\"column\":\"Avg Course Grade\",\"operator\":\"\u2264 x \u2264\",\"targetValueLeft\"\ + :\"0.5\",\"targetValueRight\":\"0.7\"},{\"colorScheme\":\"#EFA1AA\",\"column\":\"\ + Avg Course Grade\",\"operator\":\"<\",\"targetValue\":0.5},{\"colorScheme\":\"#ACE1C4\"\ + ,\"column\":\"Avg Course Grade\",\"operator\":\"\u2265\",\"targetValue\":0.7},{\"\ + colorScheme\":\"#ACE1C4\",\"column\":\"Median Course Grade\",\"operator\":\"\u2265\ + \",\"targetValue\":0.7},{\"colorScheme\":\"#FDE380\",\"column\":\"Median Course\ + \ Grade\",\"operator\":\"\u2264 x \u2264\",\"targetValueLeft\":\"0.5\",\"targetValueRight\"\ + :\"0.7\"},{\"colorScheme\":\"#EFA1AA\",\"column\":\"Median Course Grade\",\"operator\"\ + :\"<\",\"targetValue\":0.5}],\"extra_form_data\":{},\"dashboards\":[16],\"force\"\ + :false,\"result_format\":\"json\",\"result_type\":\"full\"},\"result_format\":\"\ + json\",\"result_type\":\"full\"}" +slice_name: Course Information +uuid: fa249dda-78da-4ccc-9ef3-39177e6aae0c +version: 1.0.0 +viz_type: table diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Enrollments_by_Track.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Enrollments_by_Track.yaml new file mode 100644 index 000000000..7e2b4a6cf --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Enrollments_by_Track.yaml @@ -0,0 +1,98 @@ +_file_name: Cumulative_Enrollments_by_Track.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: a234545d-08ff-480d-8361-961c3d15f14f +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_utjjqw9427d_5p5ur7mob2 + isExtra: false + isNew: false + operator: TEMPORAL_RANGE + sqlExpression: null + subject: emission_time + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: + - enrollment_mode + legendMargin: null + legendOrientation: top + legendType: scroll + markerEnabled: true + markerSize: 6 + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 138 + is_certified: false + is_dttm: false + python_date_format: null + type: String + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_tpdu0kpjpka_gsgo2so3eld + sqlExpression: null + only_total: true + opacity: 0.2 + order_desc: true + rich_tooltip: true + rolling_type: cumsum + row_limit: 10000 + seriesType: line + show_empty_columns: true + show_extra_controls: false + show_legend: true + show_value: false + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + 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_title_margin: 15 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":12,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"emission_time","label":"emission_time","expressionType":"SQL"},"enrollment_mode"],"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_tpdu0kpjpka_gsgo2so3eld","sqlExpression":null}],"orderby":[[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_tpdu0kpjpka_gsgo2so3eld","sqlExpression":null},false]],"annotation_layers":[],"row_limit":10000,"series_columns":["enrollment_mode"],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["emission_time"],"columns":["enrollment_mode"],"aggregates":{"Number + of Learners":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"cum","options":{"operator":"sum","columns":{"Number + of Learners":"Number of Learners"}}},{"operation":"rename","options":{"columns":{"Number + of Learners":null},"level":0,"inplace":true}},{"operation":"flatten"}]}],"form_data":{"datasource":"12__table","viz_type":"echarts_area","slice_id":189,"x_axis":"emission_time","time_grain_sqla":"P1M","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_tpdu0kpjpka_gsgo2so3eld","sqlExpression":null}],"groupby":["enrollment_mode"],"adhoc_filters":[{"expressionType":"SIMPLE","subject":"emission_time","operator":"TEMPORAL_RANGE","comparator":"No + filter","clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_utjjqw9427d_5p5ur7mob2"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"rolling_type":"cumsum","comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","seriesType":"line","opacity":0.2,"show_value":false,"only_total":true,"show_extra_controls":false,"markerEnabled":true,"markerSize":6,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","legendMargin":null,"x_axis_time_format":"smart_date","rich_tooltip":true,"tooltipTimeFormat":"smart_date","y_axis_format":"~g","y_axis_bounds":[null,null],"extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Cumulative Enrollments by Track +uuid: f207c896-030a-462b-b69f-6416230d50b6 +version: 1.0.0 +viz_type: echarts_area diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Interactions.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Interactions.yaml new file mode 100644 index 000000000..7442987cf --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Cumulative_Interactions.yaml @@ -0,0 +1,118 @@ +_file_name: Cumulative_Interactions.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: visited_on + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendMargin: null + legendOrientation: top + legendType: scroll + markerEnabled: true + markerSize: 7 + metrics: + - aggregate: SUM + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: page_count + description: null + expression: null + filterable: true + groupby: true + id: 468 + is_certified: false + is_dttm: false + python_date_format: null + type: UINT64 + type_generic: 0 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Total Views + optionName: metric_42el42svy4d_vtnwv1k58f + sqlExpression: null + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 469 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Total Learners + optionName: metric_f5k0vtt5bm_na5cjsf1ax + sqlExpression: null + only_total: true + opacity: 0.2 + order_desc: true + rich_tooltip: true + rolling_type: cumsum + row_limit: 1000 + seriesType: line + show_empty_columns: true + show_legend: true + show_value: false + sort_series_ascending: true + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_line + x_axis: visited_on + x_axis_sort: Views + 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_title_margin: 15 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":42,"type":"table"},"force":false,"queries":[{"filters":[{"col":"visited_on","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"visited_on","label":"visited_on","expressionType":"SQL"}],"metrics":[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":469,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Learners","optionName":"metric_f5k0vtt5bm_na5cjsf1ax","sqlExpression":null}],"orderby":[[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},false]],"annotation_layers":[],"row_limit":1000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["visited_on"],"columns":[],"aggregates":{"Total + Views":{"operator":"mean"},"Total Learners":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"cum","options":{"operator":"sum","columns":{"Total + Views":"Total Views","Total Learners":"Total Learners"}}},{"operation":"flatten"}]}],"form_data":{"datasource":"42__table","viz_type":"echarts_timeseries_line","slice_id":195,"x_axis":"visited_on","time_grain_sqla":"P1M","x_axis_sort":"Views","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":469,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Learners","optionName":"metric_f5k0vtt5bm_na5cjsf1ax","sqlExpression":null}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No + filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"visited_on"}],"order_desc":true,"row_limit":1000,"truncate_metric":true,"show_empty_columns":true,"rolling_type":"cumsum","comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","sort_series_type":"sum","sort_series_ascending":true,"color_scheme":"supersetColors","seriesType":"line","show_value":false,"only_total":true,"opacity":0.2,"markerEnabled":true,"markerSize":7,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","legendMargin":null,"x_axis_time_format":"smart_date","rich_tooltip":true,"tooltipTimeFormat":"smart_date","y_axis_format":",d","y_axis_bounds":[null,null],"extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Cumulative Interactions +uuid: c44e43b5-ba69-4805-8d01-3b04dcbf2cb6 +version: 1.0.0 +viz_type: echarts_timeseries_line diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Current_Enrollees.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Current_Enrollees.yaml new file mode 100644 index 000000000..851a068d4 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Current_Enrollees.yaml @@ -0,0 +1,72 @@ +_file_name: Current_Enrollees.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: a234545d-08ff-480d-8361-961c3d15f14f +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_w289d0y7sjh_5e8k4qfsgou + isExtra: false + isNew: false + operator: TEMPORAL_RANGE + sqlExpression: null + subject: emission_time + - clause: WHERE + comparator: + - registered + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_ft5qci1uk74_ejjj76o6scl + isExtra: false + isNew: false + operator: IN + operatorId: IN + sqlExpression: null + subject: enrollment_status + annotation_layers: [] + conditional_formatting: [] + extra_form_data: {} + header_font_size: 0.4 + metric: + aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 138 + is_certified: false + is_dttm: false + python_date_format: null + type: String + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_aw0btdmzbxf_6vx2yp23yt4 + sqlExpression: null + subheader_font_size: 0.2 + time_format: smart_date + viz_type: big_number_total + y_axis_format: ',d' +query_context: '{"datasource":{"id":12,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"},{"col":"enrollment_status","op":"IN","val":["registered"]}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[],"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_aw0btdmzbxf_6vx2yp23yt4","sqlExpression":null}],"annotation_layers":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"12__table","viz_type":"big_number_total","slice_id":185,"metric":{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_aw0btdmzbxf_6vx2yp23yt4","sqlExpression":null},"adhoc_filters":[{"clause":"WHERE","comparator":"No + filter","datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_w289d0y7sjh_5e8k4qfsgou","isExtra":false,"isNew":false,"operator":"TEMPORAL_RANGE","sqlExpression":null,"subject":"emission_time"},{"clause":"WHERE","comparator":["registered"],"datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_ft5qci1uk74_ejjj76o6scl","isExtra":false,"isNew":false,"operator":"IN","operatorId":"IN","sqlExpression":null,"subject":"enrollment_status"}],"header_font_size":0.4,"subheader_font_size":0.2,"y_axis_format":",d","time_format":"smart_date","conditional_formatting":[],"extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Current Enrollees +uuid: 00de2f72-b3ed-4994-b231-fd3cf29d758d +version: 1.0.0 +viz_type: big_number_total diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Distribution_of_Current_Course_Grade.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Distribution_of_Current_Course_Grade.yaml new file mode 100644 index 000000000..f3eaa5731 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Distribution_of_Current_Course_Grade.yaml @@ -0,0 +1,29 @@ +_file_name: Distribution_of_Current_Course_Grade.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 633a1d4e-cd40-482f-a5dc-d5901c2181c2 +description: null +params: + adhoc_filters: [] + all_columns_x: + - Course Grade + annotation_layers: [] + color_scheme: supersetColors + cumulative: false + extra_form_data: {} + groupby: [] + link_length: '10' + normalized: true + row_limit: 10000 + show_legend: true + viz_type: histogram + x_axis_label: Grade + y_axis_label: Number of Learners +query_context: '{"datasource":{"id":70,"type":"table"},"force":false,"queries":[{"filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[],"metrics":[],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"70__table","viz_type":"histogram","slice_id":197,"all_columns_x":["Course + Grade"],"adhoc_filters":[],"row_limit":10000,"groupby":[],"color_scheme":"supersetColors","link_length":"10","x_axis_label":"Grade","y_axis_label":"Number + of Learners","show_legend":true,"normalized":true,"cumulative":false,"extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Distribution of Current Course Grade +uuid: ea565658-6796-40e8-9d1e-01ffd0778bc9 +version: 1.0.0 +viz_type: histogram diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Enrollees_per_Enrollment_Track.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Enrollees_per_Enrollment_Track.yaml new file mode 100644 index 000000000..bfc0864bd --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Enrollees_per_Enrollment_Track.yaml @@ -0,0 +1,100 @@ +_file_name: Enrollees_per_Enrollment_Track.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 3dde421d-c0d0-43ab-8087-ca470985e88e +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_3lacmmheoza_5bcm089g49o + isExtra: false + isNew: false + operator: TEMPORAL_RANGE + sqlExpression: null + subject: emission_time + - clause: WHERE + comparator: + - registered + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_qttcfymcil_aplt776mxl + isExtra: false + isNew: false + operator: IN + operatorId: IN + sqlExpression: null + subject: enrollment_status + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendMargin: null + legendOrientation: top + legendType: scroll + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 138 + is_certified: false + is_dttm: false + python_date_format: null + type: String + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_1toulfn6uev_crrzwxqvjvj + sqlExpression: null + only_total: true + order_desc: true + orientation: vertical + rich_tooltip: true + row_limit: 100 + show_empty_columns: true + show_legend: true + show_value: true + sort_series_type: sum + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_bar + x_axis: enrollment_mode + 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_title_margin: 15 + y_axis_title_position: Left +query_context: '{"datasource":{"id":71,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"},{"col":"enrollment_status","op":"IN","val":["registered"]}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"columnType":"BASE_AXIS","sqlExpression":"enrollment_mode","label":"enrollment_mode","expressionType":"SQL"}],"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_1toulfn6uev_crrzwxqvjvj","sqlExpression":null}],"orderby":[[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_1toulfn6uev_crrzwxqvjvj","sqlExpression":null},false]],"annotation_layers":[],"row_limit":100,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["enrollment_mode"],"columns":[],"aggregates":{"Number + of Learners":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"71__table","viz_type":"echarts_timeseries_bar","slice_id":188,"x_axis":"enrollment_mode","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":138,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"String","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Number + of Learners","optionName":"metric_1toulfn6uev_crrzwxqvjvj","sqlExpression":null}],"groupby":[],"adhoc_filters":[{"expressionType":"SIMPLE","subject":"emission_time","operator":"TEMPORAL_RANGE","comparator":"No + filter","clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_3lacmmheoza_5bcm089g49o"},{"expressionType":"SIMPLE","subject":"enrollment_status","operator":"IN","operatorId":"IN","comparator":["registered"],"clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_qttcfymcil_aplt776mxl"}],"order_desc":true,"row_limit":100,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","show_value":true,"only_total":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","legendMargin":null,"x_axis_time_format":"smart_date","y_axis_format":",d","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Enrollees per Enrollment Track +uuid: e584199e-0ed6-42bf-afb9-db3b9fe4132b +version: 1.0.0 +viz_type: echarts_timeseries_bar diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Evolution_of_engagement.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Evolution_of_engagement.yaml new file mode 100644 index 000000000..2ec9765f0 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Evolution_of_engagement.yaml @@ -0,0 +1,115 @@ +_file_name: Evolution_of_engagement.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: visited_on + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendOrientation: top + legendType: scroll + markerEnabled: true + markerSize: 6 + metrics: + - aggregate: SUM + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: page_count + description: null + expression: null + filterable: true + groupby: true + id: 468 + is_certified: false + is_dttm: false + python_date_format: null + type: UINT64 + type_generic: 0 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Total Views + optionName: metric_42el42svy4d_vtnwv1k58f + sqlExpression: null + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 469 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Total Learners + optionName: metric_f5k0vtt5bm_na5cjsf1ax + sqlExpression: null + only_total: true + opacity: 0.2 + order_desc: true + rich_tooltip: true + row_limit: 1000 + seriesType: line + show_empty_columns: true + show_legend: true + show_value: false + sort_series_ascending: true + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_line + x_axis: visited_on + x_axis_sort: Views + 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_title_margin: 15 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":42,"type":"table"},"force":false,"queries":[{"filters":[{"col":"visited_on","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"visited_on","label":"visited_on","expressionType":"SQL"}],"metrics":[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":469,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Learners","optionName":"metric_f5k0vtt5bm_na5cjsf1ax","sqlExpression":null}],"orderby":[[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},false]],"annotation_layers":[],"row_limit":1000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["visited_on"],"columns":[],"aggregates":{"Total + Views":{"operator":"mean"},"Total Learners":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"42__table","viz_type":"echarts_timeseries_line","slice_id":194,"x_axis":"visited_on","time_grain_sqla":"P1M","x_axis_sort":"Views","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":"SUM","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"page_count","description":null,"expression":null,"filterable":true,"groupby":true,"id":468,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"UINT64","type_generic":0,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Views","optionName":"metric_42el42svy4d_vtnwv1k58f","sqlExpression":null},{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"actor_id","description":null,"expression":null,"filterable":true,"groupby":true,"id":469,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":true,"label":"Total + Learners","optionName":"metric_f5k0vtt5bm_na5cjsf1ax","sqlExpression":null}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No + filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"visited_on"}],"order_desc":true,"row_limit":1000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","sort_series_type":"sum","sort_series_ascending":true,"color_scheme":"supersetColors","seriesType":"line","show_value":false,"only_total":true,"opacity":0.2,"markerEnabled":true,"markerSize":6,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","rich_tooltip":true,"tooltipTimeFormat":"smart_date","y_axis_format":",d","y_axis_bounds":[null,null],"extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Evolution of engagement +uuid: d3ae0546-37a8-4841-a57b-8087a6c33049 +version: 1.0.0 +viz_type: echarts_timeseries_line diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Learners_with_Passing_Grade.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Learners_with_Passing_Grade.yaml new file mode 100644 index 000000000..42ec6ecb8 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Learners_with_Passing_Grade.yaml @@ -0,0 +1,74 @@ +_file_name: Learners_with_Passing_Grade.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 633a1d4e-cd40-482f-a5dc-d5901c2181c2 +description: null +params: + adhoc_filters: [] + annotation_layers: [] + conditional_formatting: + - colorScheme: '#ACE1C4' + column: Number of Learners + operator: "\u2265" + targetValue: 0 + extra_form_data: {} + header_font_size: 0.6 + metric: + aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 457 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_edlf1m0plr_j1zup9r1ixl + sqlExpression: null + subheader_font_size: 0.4 + time_format: smart_date + viz_type: big_number_total + y_axis_format: SMART_NUMBER +query_context: "{\"datasource\":{\"id\":70,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[],\"extras\":{\"having\":\"\",\"where\":\"\"},\"applied_time_extras\"\ + :{},\"columns\":[],\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"\ + advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"\ + column_name\":\"actor_id\",\"description\":null,\"expression\":null,\"filterable\"\ + :true,\"groupby\":true,\"id\":457,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\"\ + :null,\"type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners\",\"optionName\":\"metric_edlf1m0plr_j1zup9r1ixl\"\ + ,\"sqlExpression\":null}],\"annotation_layers\":[],\"series_limit\":0,\"order_desc\"\ + :true,\"url_params\":{},\"custom_params\":{},\"custom_form_data\":{}}],\"form_data\"\ + :{\"datasource\":\"70__table\",\"viz_type\":\"big_number_total\",\"slice_id\":196,\"\ + metric\":{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\":null,\"\ + certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":457,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners\",\"optionName\":\"metric_edlf1m0plr_j1zup9r1ixl\"\ + ,\"sqlExpression\":null},\"adhoc_filters\":[],\"header_font_size\":0.6,\"subheader_font_size\"\ + :0.4,\"y_axis_format\":\"SMART_NUMBER\",\"time_format\":\"smart_date\",\"conditional_formatting\"\ + :[{\"colorScheme\":\"#ACE1C4\",\"column\":\"Number of Learners\",\"operator\":\"\ + \u2265\",\"targetValue\":0}],\"extra_form_data\":{},\"dashboards\":[16],\"force\"\ + :false,\"result_format\":\"json\",\"result_type\":\"full\"},\"result_format\":\"\ + json\",\"result_type\":\"full\"}" +slice_name: Learners with Passing Grade +uuid: b40cdabc-b265-48d2-913d-a9dfee0b6ab1 +version: 1.0.0 +viz_type: big_number_total diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Page_views_per_section_subsection.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Page_views_per_section_subsection.yaml new file mode 100644 index 000000000..b9bf48de7 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Page_views_per_section_subsection.yaml @@ -0,0 +1,87 @@ +_file_name: Page_views_per_section_subsection.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1c443466-300e-4f01-a690-3d9d1b934d9a +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: emission_time + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendOrientation: top + legendType: scroll + metrics: + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: All pages viewed + optionName: metric_79weo5uoij_22vrzytsx8v + sqlExpression: rand() % 10 + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: At least one page viewed + optionName: metric_oijxyr99vkc_bvobo3jivn + sqlExpression: rand() % 20 + only_total: true + order_desc: true + orientation: vertical + rich_tooltip: true + row_limit: 10000 + show_empty_columns: true + show_legend: true + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_bar + xAxisLabelRotation: 45 + x_axis: + expressionType: SQL + label: section_with_name + sqlExpression: block_name_with_location + 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: SMART_NUMBER + y_axis_title: Number of learners + y_axis_title_margin: 30 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":69,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","label":"section_with_name","sqlExpression":"block_name_with_location","expressionType":"SQL"}],"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"All + pages viewed","optionName":"metric_79weo5uoij_22vrzytsx8v","sqlExpression":"rand() + % 10"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"At + least one page viewed","optionName":"metric_oijxyr99vkc_bvobo3jivn","sqlExpression":"rand() + % 20"}],"orderby":[[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"All + pages viewed","optionName":"metric_79weo5uoij_22vrzytsx8v","sqlExpression":"rand() + % 10"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["section_with_name"],"columns":[],"aggregates":{"All + pages viewed":{"operator":"mean"},"At least one page viewed":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"69__table","viz_type":"echarts_timeseries_bar","slice_id":201,"x_axis":{"label":"section_with_name","sqlExpression":"block_name_with_location","expressionType":"SQL"},"time_grain_sqla":"P1M","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"All + pages viewed","optionName":"metric_79weo5uoij_22vrzytsx8v","sqlExpression":"rand() + % 10"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"At + least one page viewed","optionName":"metric_oijxyr99vkc_bvobo3jivn","sqlExpression":"rand() + % 20"}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_time"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title":"Number + of learners","y_axis_title_margin":30,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","only_total":true,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","xAxisLabelRotation":45,"y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Page views per section/subsection +uuid: 0538470d-0328-4f15-9e48-ffc9e84c4c06 +version: 1.0.0 +viz_type: echarts_timeseries_bar diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Partial_and_full_views_per_video.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Partial_and_full_views_per_video.yaml index 5c942f464..cb458f2fc 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Partial_and_full_views_per_video.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Partial_and_full_views_per_video.yaml @@ -2,10 +2,15 @@ _file_name: Partial_and_full_views_per_video.yaml cache_timeout: null certification_details: null certified_by: null -dataset_uuid: d0070c9a-5b1c-4e52-867b-79aa46a8cdcf +dataset_uuid: 6ec360a5-e247-42e7-b301-fa8275fc93f9 description: null params: - adhoc_filters: [] + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: emission_time annotation_layers: [] color_scheme: supersetColors comparison_type: values @@ -21,17 +26,17 @@ params: datasourceWarning: false expressionType: SQL hasCustomLabel: true - label: Full view - optionName: metric_9xymoehul6n_han197f2mfn - sqlExpression: countIf(watched_entire_video) + label: Partial views + optionName: metric_vw56yidojpl_5lfi6gz2u79 + sqlExpression: rand() % 20 - aggregate: null column: null datasourceWarning: false expressionType: SQL hasCustomLabel: true - label: Partial view - optionName: metric_19eyr91cqyh_xj9dhjmv0qr - sqlExpression: countIf(not(watched_entire_video)) + label: Full views + optionName: metric_dwlfxsuu7da_ja3w75iht7 + sqlExpression: rand() % 10 only_total: true order_desc: true orientation: vertical @@ -40,7 +45,7 @@ params: show_empty_columns: true show_legend: true sort_series_type: sum - time_grain_sqla: P1D + time_grain_sqla: P1M tooltipTimeFormat: smart_date truncate_metric: true viz_type: echarts_timeseries_bar @@ -50,7 +55,7 @@ params: x_axis_sort_series: name x_axis_sort_series_ascending: true x_axis_time_format: smart_date - x_axis_title_margin: '0' + x_axis_title_margin: 15 y_axis_bounds: - null - null @@ -58,15 +63,18 @@ params: y_axis_title: Number of learners y_axis_title_margin: 30 y_axis_title_position: Left -query_context: '{"datasource":{"id":557,"type":"table"},"force":false,"queries":[{"filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1D","columnType":"BASE_AXIS","sqlExpression":"video_name_with_location","label":"video_name_with_location","expressionType":"SQL"}],"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Full - view","optionName":"metric_9xymoehul6n_han197f2mfn","sqlExpression":"countIf(watched_entire_video)"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Partial - view","optionName":"metric_19eyr91cqyh_xj9dhjmv0qr","sqlExpression":"countIf(not(watched_entire_video))"}],"orderby":[[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Full - view","optionName":"metric_9xymoehul6n_han197f2mfn","sqlExpression":"countIf(watched_entire_video)"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["video_name_with_location"],"columns":[],"aggregates":{"Full - view":{"operator":"mean"},"Partial view":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"557__table","viz_type":"echarts_timeseries_bar","slice_id":921,"x_axis":"video_name_with_location","time_grain_sqla":"P1D","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Full - view","optionName":"metric_9xymoehul6n_han197f2mfn","sqlExpression":"countIf(watched_entire_video)"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Partial - view","optionName":"metric_19eyr91cqyh_xj9dhjmv0qr","sqlExpression":"countIf(not(watched_entire_video))"}],"groupby":[],"adhoc_filters":[],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":"0","y_axis_title":"Number - of learners","y_axis_title_margin":30,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","only_total":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","xAxisLabelRotation":45,"y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[2042],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' + zoomable: true +query_context: '{"datasource":{"id":23,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"video_name_with_location","label":"video_name_with_location","expressionType":"SQL"}],"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Partial + views","optionName":"metric_vw56yidojpl_5lfi6gz2u79","sqlExpression":"rand() % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Full + views","optionName":"metric_dwlfxsuu7da_ja3w75iht7","sqlExpression":"rand() % 10"}],"orderby":[[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Partial + views","optionName":"metric_vw56yidojpl_5lfi6gz2u79","sqlExpression":"rand() % 20"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["video_name_with_location"],"columns":[],"aggregates":{"Partial + views":{"operator":"mean"},"Full views":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"23__table","viz_type":"echarts_timeseries_bar","slice_id":204,"x_axis":"video_name_with_location","time_grain_sqla":"P1M","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Partial + views","optionName":"metric_vw56yidojpl_5lfi6gz2u79","sqlExpression":"rand() % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Full + views","optionName":"metric_dwlfxsuu7da_ja3w75iht7","sqlExpression":"rand() % 10"}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No + filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_time"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title":"Number + of learners","y_axis_title_margin":30,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","only_total":true,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","xAxisLabelRotation":45,"y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' slice_name: Partial and full views per video -uuid: 5052449a-424c-41bf-b8b0-d920424c4784 +uuid: 14c5cd80-cb50-4136-9911-d77da1737d69 version: 1.0.0 viz_type: echarts_timeseries_bar diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Interactions.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Interactions.yaml new file mode 100644 index 000000000..4fa460117 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Interactions.yaml @@ -0,0 +1,169 @@ +_file_name: Problem_Interactions.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: c0c8b8a3-b18a-4c17-a69b-e6befea0159d +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_qqnzi3klvaa_mtbj67olly + isExtra: false + isNew: false + operator: TEMPORAL_RANGE + sqlExpression: null + subject: emission_time + all_columns: [] + annotation_layers: [] + color_pn: true + conditional_formatting: + - colorScheme: '#ACE1C4' + column: Avg Attempts + operator: '=' + targetValue: 1 + - colorScheme: '#FDE380' + column: Avg Attempts + operator: "\u2264 x \u2264" + targetValueLeft: '2' + targetValueRight: '4' + - colorScheme: '#EFA1AA' + column: Avg Attempts + operator: '>' + targetValue: 4 + - colorScheme: '#ACE1C4' + column: Median of Attempts + operator: < + targetValue: 3 + - colorScheme: '#FDE380' + column: Median of Attempts + operator: "\u2264 x \u2264" + targetValueLeft: '3' + targetValueRight: '5' + - colorScheme: '#EFA1AA' + column: Median of Attempts + operator: '>' + targetValue: 5 + extra_form_data: {} + groupby: + - problem_name_with_location + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 698 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners who attemped the problem + optionName: metric_zboha5uydk_auondva1ju5 + sqlExpression: null + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Median of Attempts + optionName: metric_v4jssil92q_9ajhtgt7xwt + sqlExpression: 'quantile(0.5)(attempts) ' + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Avg Attempts + optionName: metric_qqr85xkaahh_5e6q3lf3a0w + sqlExpression: SUM(attempts)/COUNT(actor_id) + order_by_cols: [] + order_desc: true + percent_metrics: [] + query_mode: aggregate + row_limit: 1000 + server_page_length: 10 + show_cell_bars: true + table_timestamp_format: smart_date + temporal_columns_lookup: + emission_time: true + time_grain_sqla: P1M + viz_type: table +query_context: "{\"datasource\":{\"id\":66,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[{\"col\":\"emission_time\",\"op\":\"TEMPORAL_RANGE\",\"\ + val\":\"No filter\"}],\"extras\":{\"time_grain_sqla\":\"P1M\",\"having\":\"\",\"\ + where\":\"\"},\"applied_time_extras\":{},\"columns\":[\"problem_name_with_location\"\ + ],\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":698,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners who attemped the problem\",\"optionName\":\"\ + metric_zboha5uydk_auondva1ju5\",\"sqlExpression\":null},{\"aggregate\":null,\"column\"\ + :null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"Median of Attempts\",\"optionName\":\"metric_v4jssil92q_9ajhtgt7xwt\"\ + ,\"sqlExpression\":\"quantile(0.5)(attempts) \"},{\"aggregate\":null,\"column\"\ + :null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"Avg Attempts\",\"optionName\":\"metric_qqr85xkaahh_5e6q3lf3a0w\"\ + ,\"sqlExpression\":\"SUM(attempts)/COUNT(actor_id)\"}],\"orderby\":[[{\"aggregate\"\ + :\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\":null,\"certification_details\"\ + :null,\"certified_by\":null,\"column_name\":\"actor_id\",\"description\":null,\"\ + expression\":null,\"filterable\":true,\"groupby\":true,\"id\":698,\"is_certified\"\ + :false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"STRING\",\"type_generic\"\ + :1,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Number of Learners\ + \ who attemped the problem\",\"optionName\":\"metric_zboha5uydk_auondva1ju5\",\"\ + sqlExpression\":null},false]],\"annotation_layers\":[],\"row_limit\":1000,\"series_limit\"\ + :0,\"order_desc\":true,\"url_params\":{},\"custom_params\":{},\"custom_form_data\"\ + :{},\"post_processing\":[]}],\"form_data\":{\"datasource\":\"66__table\",\"viz_type\"\ + :\"table\",\"slice_id\":198,\"query_mode\":\"aggregate\",\"groupby\":[\"problem_name_with_location\"\ + ],\"time_grain_sqla\":\"P1M\",\"temporal_columns_lookup\":{\"emission_time\":true},\"\ + metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":698,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners who attemped the problem\",\"optionName\":\"\ + metric_zboha5uydk_auondva1ju5\",\"sqlExpression\":null},{\"aggregate\":null,\"column\"\ + :null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"Median of Attempts\",\"optionName\":\"metric_v4jssil92q_9ajhtgt7xwt\"\ + ,\"sqlExpression\":\"quantile(0.5)(attempts) \"},{\"aggregate\":null,\"column\"\ + :null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"Avg Attempts\",\"optionName\":\"metric_qqr85xkaahh_5e6q3lf3a0w\"\ + ,\"sqlExpression\":\"SUM(attempts)/COUNT(actor_id)\"}],\"all_columns\":[],\"percent_metrics\"\ + :[],\"adhoc_filters\":[{\"clause\":\"WHERE\",\"comparator\":\"No filter\",\"datasourceWarning\"\ + :false,\"expressionType\":\"SIMPLE\",\"filterOptionName\":\"filter_qqnzi3klvaa_mtbj67olly\"\ + ,\"isExtra\":false,\"isNew\":false,\"operator\":\"TEMPORAL_RANGE\",\"sqlExpression\"\ + :null,\"subject\":\"emission_time\"}],\"order_by_cols\":[],\"row_limit\":1000,\"\ + server_page_length\":10,\"order_desc\":true,\"table_timestamp_format\":\"smart_date\"\ + ,\"show_cell_bars\":true,\"color_pn\":true,\"conditional_formatting\":[{\"colorScheme\"\ + :\"#ACE1C4\",\"column\":\"Avg Attempts\",\"operator\":\"=\",\"targetValue\":1},{\"\ + colorScheme\":\"#FDE380\",\"column\":\"Avg Attempts\",\"operator\":\"\u2264 x \u2264\ + \",\"targetValueLeft\":\"2\",\"targetValueRight\":\"4\"},{\"colorScheme\":\"#EFA1AA\"\ + ,\"column\":\"Avg Attempts\",\"operator\":\">\",\"targetValue\":4},{\"colorScheme\"\ + :\"#ACE1C4\",\"column\":\"Median of Attempts\",\"operator\":\"<\",\"targetValue\"\ + :3},{\"colorScheme\":\"#FDE380\",\"column\":\"Median of Attempts\",\"operator\"\ + :\"\u2264 x \u2264\",\"targetValueLeft\":\"3\",\"targetValueRight\":\"5\"},{\"colorScheme\"\ + :\"#EFA1AA\",\"column\":\"Median of Attempts\",\"operator\":\">\",\"targetValue\"\ + :5}],\"extra_form_data\":{},\"dashboards\":[16],\"force\":false,\"result_format\"\ + :\"json\",\"result_type\":\"full\"},\"result_format\":\"json\",\"result_type\":\"\ + full\"}" +slice_name: Problem Interactions +uuid: ba14d2ea-8c53-4f79-aa1b-434011f3c725 +version: 1.0.0 +viz_type: table diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Results.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Results.yaml new file mode 100644 index 000000000..31f4dd941 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problem_Results.yaml @@ -0,0 +1,146 @@ +_file_name: Problem_Results.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: c0c8b8a3-b18a-4c17-a69b-e6befea0159d +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + datasourceWarning: false + expressionType: SIMPLE + filterOptionName: filter_yd770pyvxe_mwgme7m4o1 + isExtra: false + isNew: false + operator: TEMPORAL_RANGE + sqlExpression: null + subject: emission_time + all_columns: [] + annotation_layers: [] + color_pn: true + column_config: + '% Correct': + d3NumberFormat: ',.1%' + '% Incorrect': + d3NumberFormat: ',.1%' + conditional_formatting: + - colorScheme: '#ACE1C4' + column: '% Correct' + operator: "\u2265" + targetValue: 0 + - colorScheme: '#EFA1AA' + column: '% Incorrect' + operator: "\u2265" + targetValue: 0 + extra_form_data: {} + groupby: + - problem_name_with_location + metrics: + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Correct Attempts + optionName: metric_4wynopl5mu7_myvr5czklwq + sqlExpression: SUM(CASE WHEN success THEN attempts ELSE 0 END) + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Incorrect Attempts + optionName: metric_8mktj1c72pr_ns807h5ezdq + sqlExpression: SUM(CASE WHEN NOT success THEN attempts ELSE 0 END) + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: '% Correct' + optionName: metric_v4jssil92q_9ajhtgt7xwt + sqlExpression: " ROUND(\r\n (SUM(CASE WHEN success THEN attempts ELSE 0 END))\ + \ /\r\n SUM(attempts), 2\r\n )" + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: '% Incorrect' + optionName: metric_hzpgxuaz7sg_xsxko68w3k8 + sqlExpression: " ROUND(\r\n (SUM(CASE WHEN NOT success THEN attempts ELSE 0\ + \ END)) /\r\n SUM(attempts), 2\r\n )" + order_by_cols: [] + order_desc: true + percent_metrics: [] + query_mode: aggregate + row_limit: 1000 + server_page_length: 10 + server_pagination: false + show_cell_bars: true + show_totals: false + table_timestamp_format: smart_date + temporal_columns_lookup: + emission_time: true + time_grain_sqla: P1M + viz_type: table +query_context: "{\"datasource\":{\"id\":66,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[{\"col\":\"emission_time\",\"op\":\"TEMPORAL_RANGE\",\"\ + val\":\"No filter\"}],\"extras\":{\"time_grain_sqla\":\"P1M\",\"having\":\"\",\"\ + where\":\"\"},\"applied_time_extras\":{},\"columns\":[\"problem_name_with_location\"\ + ],\"metrics\":[{\"aggregate\":null,\"column\":null,\"datasourceWarning\":false,\"\ + expressionType\":\"SQL\",\"hasCustomLabel\":true,\"label\":\"Correct Attempts\"\ + ,\"optionName\":\"metric_4wynopl5mu7_myvr5czklwq\",\"sqlExpression\":\"SUM(CASE\ + \ WHEN success THEN attempts ELSE 0 END)\"},{\"aggregate\":null,\"column\":null,\"\ + datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\":true,\"\ + label\":\"Incorrect Attempts\",\"optionName\":\"metric_8mktj1c72pr_ns807h5ezdq\"\ + ,\"sqlExpression\":\"SUM(CASE WHEN NOT success THEN attempts ELSE 0 END)\"},{\"\ + aggregate\":null,\"column\":null,\"datasourceWarning\":false,\"expressionType\"\ + :\"SQL\",\"hasCustomLabel\":true,\"label\":\"% Correct\",\"optionName\":\"metric_v4jssil92q_9ajhtgt7xwt\"\ + ,\"sqlExpression\":\" ROUND(\\r\\n (SUM(CASE WHEN success THEN attempts ELSE\ + \ 0 END)) /\\r\\n SUM(attempts), 2\\r\\n )\"},{\"aggregate\":null,\"column\"\ + :null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"% Incorrect\",\"optionName\":\"metric_hzpgxuaz7sg_xsxko68w3k8\"\ + ,\"sqlExpression\":\" ROUND(\\r\\n (SUM(CASE WHEN NOT success THEN attempts ELSE\ + \ 0 END)) /\\r\\n SUM(attempts), 2\\r\\n )\"}],\"orderby\":[[{\"aggregate\"\ + :null,\"column\":null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"\ + hasCustomLabel\":true,\"label\":\"Correct Attempts\",\"optionName\":\"metric_4wynopl5mu7_myvr5czklwq\"\ + ,\"sqlExpression\":\"SUM(CASE WHEN success THEN attempts ELSE 0 END)\"},false]],\"\ + annotation_layers\":[],\"row_limit\":1000,\"series_limit\":0,\"order_desc\":true,\"\ + url_params\":{},\"custom_params\":{},\"custom_form_data\":{},\"post_processing\"\ + :[]}],\"form_data\":{\"datasource\":\"66__table\",\"viz_type\":\"table\",\"slice_id\"\ + :205,\"query_mode\":\"aggregate\",\"groupby\":[\"problem_name_with_location\"],\"\ + time_grain_sqla\":\"P1M\",\"temporal_columns_lookup\":{\"emission_time\":true},\"\ + metrics\":[{\"aggregate\":null,\"column\":null,\"datasourceWarning\":false,\"expressionType\"\ + :\"SQL\",\"hasCustomLabel\":true,\"label\":\"Correct Attempts\",\"optionName\":\"\ + metric_4wynopl5mu7_myvr5czklwq\",\"sqlExpression\":\"SUM(CASE WHEN success THEN\ + \ attempts ELSE 0 END)\"},{\"aggregate\":null,\"column\":null,\"datasourceWarning\"\ + :false,\"expressionType\":\"SQL\",\"hasCustomLabel\":true,\"label\":\"Incorrect\ + \ Attempts\",\"optionName\":\"metric_8mktj1c72pr_ns807h5ezdq\",\"sqlExpression\"\ + :\"SUM(CASE WHEN NOT success THEN attempts ELSE 0 END)\"},{\"aggregate\":null,\"\ + column\":null,\"datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\"\ + :true,\"label\":\"% Correct\",\"optionName\":\"metric_v4jssil92q_9ajhtgt7xwt\",\"\ + sqlExpression\":\" ROUND(\\r\\n (SUM(CASE WHEN success THEN attempts ELSE 0\ + \ END)) /\\r\\n SUM(attempts), 2\\r\\n )\"},{\"aggregate\":null,\"column\":null,\"\ + datasourceWarning\":false,\"expressionType\":\"SQL\",\"hasCustomLabel\":true,\"\ + label\":\"% Incorrect\",\"optionName\":\"metric_hzpgxuaz7sg_xsxko68w3k8\",\"sqlExpression\"\ + :\" ROUND(\\r\\n (SUM(CASE WHEN NOT success THEN attempts ELSE 0 END)) /\\r\\\ + n SUM(attempts), 2\\r\\n )\"}],\"all_columns\":[],\"percent_metrics\":[],\"\ + adhoc_filters\":[{\"clause\":\"WHERE\",\"comparator\":\"No filter\",\"datasourceWarning\"\ + :false,\"expressionType\":\"SIMPLE\",\"filterOptionName\":\"filter_yd770pyvxe_mwgme7m4o1\"\ + ,\"isExtra\":false,\"isNew\":false,\"operator\":\"TEMPORAL_RANGE\",\"sqlExpression\"\ + :null,\"subject\":\"emission_time\"}],\"order_by_cols\":[],\"server_pagination\"\ + :false,\"row_limit\":1000,\"server_page_length\":10,\"order_desc\":true,\"show_totals\"\ + :false,\"table_timestamp_format\":\"smart_date\",\"show_cell_bars\":true,\"color_pn\"\ + :true,\"column_config\":{\"% Correct\":{\"d3NumberFormat\":\",.1%\"},\"% Incorrect\"\ + :{\"d3NumberFormat\":\",.1%\"}},\"conditional_formatting\":[{\"colorScheme\":\"\ + #ACE1C4\",\"column\":\"% Correct\",\"operator\":\"\u2265\",\"targetValue\":0},{\"\ + colorScheme\":\"#EFA1AA\",\"column\":\"% Incorrect\",\"operator\":\"\u2265\",\"\ + targetValue\":0}],\"extra_form_data\":{},\"dashboards\":[16],\"force\":false,\"\ + result_format\":\"json\",\"result_type\":\"full\"},\"result_format\":\"json\",\"\ + result_type\":\"full\"}" +slice_name: Problem Results +uuid: 6df96404-8c09-4a52-96c8-9a60a92cec29 +version: 1.0.0 +viz_type: table diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problems_attempted_per_section_subsection.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problems_attempted_per_section_subsection.yaml new file mode 100644 index 000000000..30ba73ce7 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Problems_attempted_per_section_subsection.yaml @@ -0,0 +1,84 @@ +_file_name: Problems_attempted_per_section_subsection.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1c443466-300e-4f01-a690-3d9d1b934d9a +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: emission_time + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendOrientation: top + legendType: scroll + metrics: + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Attempted at least one problem + optionName: metric_0gasd9pjc5y_44f8wzc1g3q + sqlExpression: rand() % 20 + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: Attempted all problems + optionName: metric_6ibge21tuod_k3hhlneae8f + sqlExpression: rand() % 10 + only_total: true + order_desc: true + orientation: vertical + rich_tooltip: true + row_limit: 10000 + show_empty_columns: true + show_legend: true + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_bar + xAxisLabelRotation: 45 + x_axis: block_name_with_location + 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: SMART_NUMBER + y_axis_title: Number of learners + y_axis_title_margin: 30 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":69,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"block_name_with_location","label":"block_name_with_location","expressionType":"SQL"}],"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Attempted + at least one problem","optionName":"metric_0gasd9pjc5y_44f8wzc1g3q","sqlExpression":"rand() + % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Attempted + all problems","optionName":"metric_6ibge21tuod_k3hhlneae8f","sqlExpression":"rand() + % 10"}],"orderby":[[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Attempted + at least one problem","optionName":"metric_0gasd9pjc5y_44f8wzc1g3q","sqlExpression":"rand() + % 20"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["block_name_with_location"],"columns":[],"aggregates":{"Attempted + at least one problem":{"operator":"mean"},"Attempted all problems":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"69__table","viz_type":"echarts_timeseries_bar","slice_id":202,"x_axis":"block_name_with_location","time_grain_sqla":"P1M","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Attempted + at least one problem","optionName":"metric_0gasd9pjc5y_44f8wzc1g3q","sqlExpression":"rand() + % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"Attempted + all problems","optionName":"metric_6ibge21tuod_k3hhlneae8f","sqlExpression":"rand() + % 10"}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_time"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title":"Number + of learners","y_axis_title_margin":30,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","only_total":true,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","xAxisLabelRotation":45,"y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Problems attempted per section/subsection +uuid: 869edaf6-f911-4ca7-9e4b-28435bba2e82 +version: 1.0.0 +viz_type: echarts_timeseries_bar diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Section_Summary.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Section_Summary.yaml new file mode 100644 index 000000000..f4c8d1be8 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Section_Summary.yaml @@ -0,0 +1,146 @@ +_file_name: Section_Summary.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: visited_on + all_columns: [] + annotation_layers: [] + color_pn: true + conditional_formatting: + - colorScheme: '#ACE1C4' + column: Number of Learners + operator: "\u2265" + targetValue: 1 + - colorScheme: '#ACE1C4' + column: Views + operator: "\u2265" + targetValue: 1 + extra_form_data: {} + groupby: + - section_with_name + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 469 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_irehgr64yc_a873p00dn94 + sqlExpression: null + - aggregate: SUM + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: page_count + description: null + expression: null + filterable: true + groupby: true + id: 468 + is_certified: false + is_dttm: false + python_date_format: null + type: UINT64 + type_generic: 0 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Views + optionName: metric_lmuvjt8ora9_y80kswm8xuo + sqlExpression: null + order_by_cols: [] + order_desc: true + percent_metrics: [] + query_mode: aggregate + row_limit: 1000 + server_page_length: 10 + show_cell_bars: true + table_timestamp_format: smart_date + temporal_columns_lookup: + visited_on: true + time_grain_sqla: P1D + viz_type: table +query_context: "{\"datasource\":{\"id\":42,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[{\"col\":\"visited_on\",\"op\":\"TEMPORAL_RANGE\",\"val\"\ + :\"No filter\"}],\"extras\":{\"time_grain_sqla\":\"P1D\",\"having\":\"\",\"where\"\ + :\"\"},\"applied_time_extras\":{},\"columns\":[\"section_with_name\"],\"metrics\"\ + :[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\":null,\"certification_details\"\ + :null,\"certified_by\":null,\"column_name\":\"actor_id\",\"description\":null,\"\ + expression\":null,\"filterable\":true,\"groupby\":true,\"id\":469,\"is_certified\"\ + :false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"STRING\",\"type_generic\"\ + :1,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Number of Learners\"\ + ,\"optionName\":\"metric_irehgr64yc_a873p00dn94\",\"sqlExpression\":null},{\"aggregate\"\ + :\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"\ + certified_by\":null,\"column_name\":\"page_count\",\"description\":null,\"expression\"\ + :null,\"filterable\":true,\"groupby\":true,\"id\":468,\"is_certified\":false,\"\ + is_dttm\":false,\"python_date_format\":null,\"type\":\"UINT64\",\"type_generic\"\ + :0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Views\",\"optionName\"\ + :\"metric_lmuvjt8ora9_y80kswm8xuo\",\"sqlExpression\":null}],\"orderby\":[[{\"aggregate\"\ + :\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\":null,\"certification_details\"\ + :null,\"certified_by\":null,\"column_name\":\"actor_id\",\"description\":null,\"\ + expression\":null,\"filterable\":true,\"groupby\":true,\"id\":469,\"is_certified\"\ + :false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"STRING\",\"type_generic\"\ + :1,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Number of Learners\"\ + ,\"optionName\":\"metric_irehgr64yc_a873p00dn94\",\"sqlExpression\":null},false]],\"\ + annotation_layers\":[],\"row_limit\":1000,\"series_limit\":0,\"order_desc\":true,\"\ + url_params\":{},\"custom_params\":{},\"custom_form_data\":{},\"post_processing\"\ + :[]}],\"form_data\":{\"datasource\":\"42__table\",\"viz_type\":\"table\",\"slice_id\"\ + :191,\"query_mode\":\"aggregate\",\"groupby\":[\"section_with_name\"],\"time_grain_sqla\"\ + :\"P1D\",\"temporal_columns_lookup\":{\"visited_on\":true},\"metrics\":[{\"aggregate\"\ + :\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\":null,\"certification_details\"\ + :null,\"certified_by\":null,\"column_name\":\"actor_id\",\"description\":null,\"\ + expression\":null,\"filterable\":true,\"groupby\":true,\"id\":469,\"is_certified\"\ + :false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"STRING\",\"type_generic\"\ + :1,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Number of Learners\"\ + ,\"optionName\":\"metric_irehgr64yc_a873p00dn94\",\"sqlExpression\":null},{\"aggregate\"\ + :\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"\ + certified_by\":null,\"column_name\":\"page_count\",\"description\":null,\"expression\"\ + :null,\"filterable\":true,\"groupby\":true,\"id\":468,\"is_certified\":false,\"\ + is_dttm\":false,\"python_date_format\":null,\"type\":\"UINT64\",\"type_generic\"\ + :0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"\ + expressionType\":\"SIMPLE\",\"hasCustomLabel\":true,\"label\":\"Views\",\"optionName\"\ + :\"metric_lmuvjt8ora9_y80kswm8xuo\",\"sqlExpression\":null}],\"all_columns\":[],\"\ + percent_metrics\":[],\"adhoc_filters\":[{\"clause\":\"WHERE\",\"comparator\":\"\ + No filter\",\"expressionType\":\"SIMPLE\",\"operator\":\"TEMPORAL_RANGE\",\"subject\"\ + :\"visited_on\"}],\"order_by_cols\":[],\"row_limit\":1000,\"server_page_length\"\ + :10,\"order_desc\":true,\"table_timestamp_format\":\"smart_date\",\"show_cell_bars\"\ + :true,\"color_pn\":true,\"conditional_formatting\":[{\"column\":\"Number of Learners\"\ + ,\"colorScheme\":\"#ACE1C4\",\"operator\":\"\u2265\",\"targetValue\":1},{\"colorScheme\"\ + :\"#ACE1C4\",\"column\":\"Views\",\"operator\":\"\u2265\",\"targetValue\":1}],\"\ + extra_form_data\":{},\"dashboards\":[16],\"force\":false,\"result_format\":\"json\"\ + ,\"result_type\":\"full\"},\"result_format\":\"json\",\"result_type\":\"full\"}" +slice_name: Section Summary +uuid: 47417136-acd1-44a1-b41e-644eb2c237c3 +version: 1.0.0 +viz_type: table diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Subsection_Summary.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Subsection_Summary.yaml new file mode 100644 index 000000000..4b968af4b --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Subsection_Summary.yaml @@ -0,0 +1,148 @@ +_file_name: Subsection_Summary.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: visited_on + all_columns: [] + annotation_layers: [] + color_pn: true + conditional_formatting: + - colorScheme: '#ACE1C4' + column: Number of Learners + operator: "\u2265" + targetValue: 1 + - colorScheme: '#ACE1C4' + column: Views + operator: "\u2265" + targetValue: 1 + extra_form_data: {} + groupby: + - section_with_name + - subsection_with_name + metrics: + - aggregate: COUNT_DISTINCT + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: actor_id + description: null + expression: null + filterable: true + groupby: true + id: 469 + is_certified: false + is_dttm: false + python_date_format: null + type: STRING + type_generic: 1 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Number of Learners + optionName: metric_irehgr64yc_a873p00dn94 + sqlExpression: null + - aggregate: SUM + column: + advanced_data_type: null + certification_details: null + certified_by: null + column_name: page_count + description: null + expression: null + filterable: true + groupby: true + id: 468 + is_certified: false + is_dttm: false + python_date_format: null + type: UINT64 + type_generic: 0 + verbose_name: null + warning_markdown: null + datasourceWarning: false + expressionType: SIMPLE + hasCustomLabel: true + label: Views + optionName: metric_lmuvjt8ora9_y80kswm8xuo + sqlExpression: null + order_by_cols: [] + order_desc: true + percent_metrics: [] + query_mode: aggregate + row_limit: 1000 + server_page_length: 10 + show_cell_bars: true + table_timestamp_format: smart_date + temporal_columns_lookup: + visited_on: true + time_grain_sqla: P1D + viz_type: table +query_context: "{\"datasource\":{\"id\":42,\"type\":\"table\"},\"force\":false,\"\ + queries\":[{\"filters\":[{\"col\":\"visited_on\",\"op\":\"TEMPORAL_RANGE\",\"val\"\ + :\"No filter\"}],\"extras\":{\"time_grain_sqla\":\"P1D\",\"having\":\"\",\"where\"\ + :\"\"},\"applied_time_extras\":{},\"columns\":[\"section_with_name\",\"subsection_with_name\"\ + ],\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":469,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners\",\"optionName\":\"metric_irehgr64yc_a873p00dn94\"\ + ,\"sqlExpression\":null},{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"page_count\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":468,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"UINT64\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Views\",\"optionName\":\"metric_lmuvjt8ora9_y80kswm8xuo\",\"sqlExpression\"\ + :null}],\"orderby\":[[{\"aggregate\":\"COUNT_DISTINCT\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"actor_id\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":469,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners\",\"optionName\":\"metric_irehgr64yc_a873p00dn94\"\ + ,\"sqlExpression\":null},false]],\"annotation_layers\":[],\"row_limit\":1000,\"\ + series_limit\":0,\"order_desc\":true,\"url_params\":{},\"custom_params\":{},\"custom_form_data\"\ + :{},\"post_processing\":[]}],\"form_data\":{\"datasource\":\"42__table\",\"viz_type\"\ + :\"table\",\"slice_id\":192,\"query_mode\":\"aggregate\",\"groupby\":[\"section_with_name\"\ + ,\"subsection_with_name\"],\"time_grain_sqla\":\"P1D\",\"temporal_columns_lookup\"\ + :{\"visited_on\":true},\"metrics\":[{\"aggregate\":\"COUNT_DISTINCT\",\"column\"\ + :{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"\ + column_name\":\"actor_id\",\"description\":null,\"expression\":null,\"filterable\"\ + :true,\"groupby\":true,\"id\":469,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\"\ + :null,\"type\":\"STRING\",\"type_generic\":1,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Number of Learners\",\"optionName\":\"metric_irehgr64yc_a873p00dn94\"\ + ,\"sqlExpression\":null},{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\"\ + :null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"page_count\"\ + ,\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"\ + id\":468,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"\ + type\":\"UINT64\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\"\ + :null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\"\ + :true,\"label\":\"Views\",\"optionName\":\"metric_lmuvjt8ora9_y80kswm8xuo\",\"sqlExpression\"\ + :null}],\"all_columns\":[],\"percent_metrics\":[],\"adhoc_filters\":[{\"clause\"\ + :\"WHERE\",\"comparator\":\"No filter\",\"expressionType\":\"SIMPLE\",\"operator\"\ + :\"TEMPORAL_RANGE\",\"subject\":\"visited_on\"}],\"order_by_cols\":[],\"row_limit\"\ + :1000,\"server_page_length\":10,\"order_desc\":true,\"table_timestamp_format\":\"\ + smart_date\",\"show_cell_bars\":true,\"color_pn\":true,\"conditional_formatting\"\ + :[{\"colorScheme\":\"#ACE1C4\",\"column\":\"Number of Learners\",\"operator\":\"\ + \u2265\",\"targetValue\":1},{\"colorScheme\":\"#ACE1C4\",\"column\":\"Views\",\"\ + operator\":\"\u2265\",\"targetValue\":1}],\"extra_form_data\":{},\"dashboards\"\ + :[16],\"force\":false,\"result_format\":\"json\",\"result_type\":\"full\"},\"result_format\"\ + :\"json\",\"result_type\":\"full\"}" +slice_name: Subsection Summary +uuid: 2a8d96be-687d-4918-98fe-ae9fbd599152 +version: 1.0.0 +viz_type: table diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Video_views_per_section_subsection.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Video_views_per_section_subsection.yaml new file mode 100644 index 000000000..7faa36831 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/charts/Video_views_per_section_subsection.yaml @@ -0,0 +1,84 @@ +_file_name: Video_views_per_section_subsection.yaml +cache_timeout: null +certification_details: null +certified_by: null +dataset_uuid: 1c443466-300e-4f01-a690-3d9d1b934d9a +description: null +params: + adhoc_filters: + - clause: WHERE + comparator: No filter + expressionType: SIMPLE + operator: TEMPORAL_RANGE + subject: emission_time + annotation_layers: [] + color_scheme: supersetColors + comparison_type: values + extra_form_data: {} + forecastInterval: 0.8 + forecastPeriods: 10 + groupby: [] + legendOrientation: top + legendType: scroll + metrics: + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: At least one video viewed + optionName: metric_pjnwyhoqed_98z4w1j60l + sqlExpression: rand() % 20 + - aggregate: null + column: null + datasourceWarning: false + expressionType: SQL + hasCustomLabel: true + label: All videos viewed + optionName: metric_jo791jxqdd_ob1j1gmk0uh + sqlExpression: rand() % 10 + only_total: true + order_desc: true + orientation: vertical + rich_tooltip: true + row_limit: 10000 + show_empty_columns: true + show_legend: true + sort_series_type: sum + time_grain_sqla: P1M + tooltipTimeFormat: smart_date + truncate_metric: true + viz_type: echarts_timeseries_bar + xAxisLabelRotation: 45 + x_axis: block_name_with_location + 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: SMART_NUMBER + y_axis_title: Number of learners + y_axis_title_margin: 30 + y_axis_title_position: Left + zoomable: true +query_context: '{"datasource":{"id":69,"type":"table"},"force":false,"queries":[{"filters":[{"col":"emission_time","op":"TEMPORAL_RANGE","val":"No + filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1M","columnType":"BASE_AXIS","sqlExpression":"block_name_with_location","label":"block_name_with_location","expressionType":"SQL"}],"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"At + least one video viewed","optionName":"metric_pjnwyhoqed_98z4w1j60l","sqlExpression":"rand() + % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"All + videos viewed","optionName":"metric_jo791jxqdd_ob1j1gmk0uh","sqlExpression":"rand() + % 10"}],"orderby":[[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"At + least one video viewed","optionName":"metric_pjnwyhoqed_98z4w1j60l","sqlExpression":"rand() + % 20"},false]],"annotation_layers":[],"row_limit":10000,"series_columns":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["block_name_with_location"],"columns":[],"aggregates":{"At + least one video viewed":{"operator":"mean"},"All videos viewed":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"flatten"}]}],"form_data":{"datasource":"69__table","viz_type":"echarts_timeseries_bar","slice_id":203,"x_axis":"block_name_with_location","time_grain_sqla":"P1M","x_axis_sort_asc":true,"x_axis_sort_series":"name","x_axis_sort_series_ascending":true,"metrics":[{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"At + least one video viewed","optionName":"metric_pjnwyhoqed_98z4w1j60l","sqlExpression":"rand() + % 20"},{"aggregate":null,"column":null,"datasourceWarning":false,"expressionType":"SQL","hasCustomLabel":true,"label":"All + videos viewed","optionName":"metric_jo791jxqdd_ob1j1gmk0uh","sqlExpression":"rand() + % 10"}],"groupby":[],"adhoc_filters":[{"clause":"WHERE","comparator":"No filter","expressionType":"SIMPLE","operator":"TEMPORAL_RANGE","subject":"emission_time"}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title":"Number + of learners","y_axis_title_margin":30,"y_axis_title_position":"Left","sort_series_type":"sum","color_scheme":"supersetColors","only_total":true,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","xAxisLabelRotation":45,"y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[16],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +slice_name: Video views per section/subsection +uuid: 2c8072e7-44d1-4337-a843-aa2eb670b70e +version: 1.0.0 +viz_type: echarts_timeseries_bar diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Course_Dashboard_V1.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Course_Dashboard_V1.yaml new file mode 100644 index 000000000..00ea7cf9f --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Course_Dashboard_V1.yaml @@ -0,0 +1,1242 @@ +_file_name: Course_Dashboard_V1.yaml +_roles: +- '{{ SUPERSET_ROLES_MAPPING.instructor }}' +certification_details: null +certified_by: null +css: '' +dashboard_title: Course Dashboard V1 +description: null +metadata: + chart_configuration: + '186': + crossFilters: + chartsInScope: + - 45 + - 185 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 186 + '188': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 188 + '189': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 189 + '191': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 191 + '192': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 192 + '194': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 194 + '195': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 195 + '198': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 198 + '201': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 202 + - 203 + - 204 + - 205 + scope: global + id: 201 + '202': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 203 + - 204 + - 205 + scope: global + id: 202 + '203': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 204 + - 205 + scope: global + id: 203 + '204': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 205 + scope: global + id: 204 + '205': + crossFilters: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + scope: global + id: 205 + color_scheme: supersetColors + color_scheme_domain: + - '#1FA8C9' + - '#454E7C' + - '#5AC189' + - '#FF7F44' + - '#666666' + - '#E04355' + - '#FCC700' + - '#A868B7' + - '#3CCCCB' + - '#A38F79' + - '#8FD3E4' + - '#A1A6BD' + - '#ACE1C4' + - '#FEC0A1' + - '#B2B2B2' + - '#EFA1AA' + - '#FDE380' + - '#D3B3DA' + - '#9EE5E5' + - '#D1C6BC' + cross_filters_enabled: true + default_filters: '{}' + expanded_slices: {} + global_chart_configuration: + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 201 + - 202 + - 203 + - 204 + - 205 + scope: + excluded: [] + rootPath: + - ROOT_ID + label_colors: {} + native_filter_configuration: + - cascadeParentIds: [] + chartsInScope: + - 191 + - 192 + - 194 + - 195 + controlValues: + defaultToFirstItem: true + enableEmptyFilter: false + inverseSelection: false + multiSelect: true + searchAllOptions: false + defaultDataMask: + __cache: {} + extraFormData: {} + filterState: {} + ownState: {} + description: '' + filterType: filter_select + id: NATIVE_FILTER-QrTlO4wBf + name: Organization + requiredFirst: true + scope: + excluded: [] + rootPath: + - ROOT_ID + tabsInScope: + - TAB-_Ey4nPhFr + - TAB-nqLFUR_Tg + targets: + - column: + name: org + datasetUuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae + type: NATIVE_FILTER + - cascadeParentIds: [] + chartsInScope: + - 45 + - 185 + - 186 + - 188 + - 189 + - 191 + - 192 + - 194 + - 195 + - 196 + - 197 + - 198 + - 199 + - 201 + - 202 + - 203 + - 204 + controlValues: + defaultToFirstItem: true + enableEmptyFilter: false + inverseSelection: false + multiSelect: true + searchAllOptions: false + defaultDataMask: + __cache: {} + extraFormData: {} + filterState: {} + ownState: {} + description: '' + filterType: filter_select + id: NATIVE_FILTER-IfS-Rd0ZS + name: Course Name + requiredFirst: true + scope: + excluded: [] + rootPath: + - ROOT_ID + tabsInScope: + - TAB-4ptSkqs5MS + - TAB-5Guk2p9fd + - TAB-V5zNdxwhsP + - TAB-_Ey4nPhFr + - TAB-nqLFUR_Tg + - TAB-vze5iq6jg + targets: + - column: + name: course_name + datasetUuid: 41278a97-d0ff-4645-9514-d79f80d275df + type: NATIVE_FILTER + - cascadeParentIds: + - NATIVE_FILTER-IfS-Rd0ZS + chartsInScope: + - 185 + - 186 + - 187 + - 188 + controlValues: + defaultToFirstItem: false + enableEmptyFilter: false + inverseSelection: false + multiSelect: true + searchAllOptions: true + defaultDataMask: + __cache: {} + extraFormData: {} + filterState: {} + ownState: {} + description: '' + filterType: filter_select + id: NATIVE_FILTER-w863AfFgi + name: Course Run + scope: + excluded: [] + rootPath: + - ROOT_ID + tabsInScope: + - TAB-4ptSkqs5MS + targets: + - column: + name: course_run + datasetUuid: 41278a97-d0ff-4645-9514-d79f80d275df + type: NATIVE_FILTER + - chartsInScope: [] + description: '' + id: NATIVE_FILTER_DIVIDER-HAScs3d7P + scope: + excluded: [] + rootPath: + - ROOT_ID + tabsInScope: [] + title: Time filters + type: DIVIDER + - cascadeParentIds: [] + chartsInScope: + - 185 + - 187 + - 188 + - 189 + controlValues: + enableEmptyFilter: false + defaultDataMask: + __cache: {} + extraFormData: {} + filterState: {} + ownState: {} + description: '' + filterType: filter_time + id: NATIVE_FILTER-T8dy9gl7K + name: Date + scope: + excluded: + - 94 + - 100 + - 104 + - 96 + - 64 + rootPath: + - ROOT_ID + tabsInScope: + - TAB-4ptSkqs5MS + targets: + - {} + type: NATIVE_FILTER + - cascadeParentIds: [] + chartsInScope: + - 189 + - 194 + - 195 + controlValues: + enableEmptyFilter: false + defaultDataMask: + extraFormData: + time_grain_sqla: P1M + filterState: + label: Month + value: + - P1M + description: '' + filterType: filter_timegrain + id: NATIVE_FILTER-uPaSvFul8 + name: Time Grain + scope: + excluded: + - 87 + - 100 + - 104 + rootPath: + - TAB-4ptSkqs5MS + - TAB-_Ey4nPhFr + tabsInScope: + - TAB-4ptSkqs5MS + - TAB-_Ey4nPhFr + - TAB-nqLFUR_Tg + targets: + - datasetUuid: 41278a97-d0ff-4645-9514-d79f80d275df + type: NATIVE_FILTER + - cascadeParentIds: + - NATIVE_FILTER-IfS-Rd0ZS + chartsInScope: + - 45 + - 203 + - 204 + controlValues: + defaultToFirstItem: false + enableEmptyFilter: false + inverseSelection: false + multiSelect: false + searchAllOptions: false + defaultDataMask: + __cache: {} + extraFormData: {} + filterState: {} + ownState: {} + description: '' + filterType: filter_select + id: NATIVE_FILTER-aT2KP-m-p + name: Video name + scope: + excluded: + - 85 + - 61 + - 110 + - 94 + - 87 + - 115 + - 100 + - 104 + - 96 + - 64 + - 112 + - 65 + - 108 + rootPath: + - ROOT_ID + tabsInScope: + - TAB-V5zNdxwhsP + targets: + - column: + name: video_name + datasetUuid: 6ec360a5-e247-42e7-b301-fa8275fc93f9 + type: NATIVE_FILTER + refresh_frequency: 0 + shared_label_colors: {} + timed_refresh_immune_slices: [] +position: + CHART-8p_tmmvFsY: + children: [] + id: CHART-8p_tmmvFsY + meta: + chartId: 85 + height: 50 + sliceName: Page views per section/subsection + uuid: 0538470d-0328-4f15-9e48-ffc9e84c4c06 + width: 12 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + - ROW-6oVc0KNyM1 + type: CHART + CHART-LiY7tPJWZv: + children: [] + id: CHART-LiY7tPJWZv + meta: + chartId: 61 + height: 50 + sliceName: Problems attempted per section/subsection + uuid: 869edaf6-f911-4ca7-9e4b-28435bba2e82 + width: 12 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-vze5iq6jg + - ROW-iV463iCf2a + type: CHART + CHART-Q6nr6irIdz: + children: [] + id: CHART-Q6nr6irIdz + meta: + chartId: 93 + height: 50 + sliceName: Watched Video Segments + uuid: 2985a9db-c338-4008-af52-2930b81ee2e5 + width: 12 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + - ROW-ToSAm6kqA2 + type: CHART + CHART-_BfZOEhMVM: + children: [] + id: CHART-_BfZOEhMVM + meta: + chartId: 120 + height: 50 + sliceName: Partial and full views per video + uuid: 14c5cd80-cb50-4136-9911-d77da1737d69 + width: 12 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + - ROW-vpQpToPQb + type: CHART + CHART-explore-185-1: + children: [] + id: CHART-explore-185-1 + meta: + chartId: 110 + height: 28 + sliceName: Current Enrollees + uuid: 00de2f72-b3ed-4994-b231-fd3cf29d758d + width: 2 + parents: + - ROOT_ID + - GRID_ID + - ROW-qDVwqO3bi4 + type: CHART + CHART-explore-186-1: + children: [] + id: CHART-explore-186-1 + meta: + chartId: 94 + height: 18 + sliceName: Course Information + uuid: fa249dda-78da-4ccc-9ef3-39177e6aae0c + width: 3 + parents: + - ROOT_ID + - GRID_ID + - ROW-qDVwqO3bi4 + - COLUMN-ttuyLjaKs0 + type: CHART + CHART-explore-188-1: + children: [] + id: CHART-explore-188-1 + meta: + chartId: 87 + height: 64 + sliceName: Enrollees per Enrollment Track + uuid: e584199e-0ed6-42bf-afb9-db3b9fe4132b + width: 5 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-4ptSkqs5MS + - ROW-EpJDdqK8c + type: CHART + CHART-explore-189-1: + children: [] + id: CHART-explore-189-1 + meta: + chartId: 115 + height: 51 + sliceName: Cumulative Enrollments by Track + uuid: f207c896-030a-462b-b69f-6416230d50b6 + width: 4 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-4ptSkqs5MS + - ROW-EpJDdqK8c + - COLUMN-2jtUMCFWN3 + type: CHART + CHART-explore-191-1: + children: [] + id: CHART-explore-191-1 + meta: + chartId: 100 + height: 50 + sliceName: Section Summary + uuid: 47417136-acd1-44a1-b41e-644eb2c237c3 + width: 5 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + - ROW-_KbR9wzEQb + type: CHART + CHART-explore-192-1: + children: [] + id: CHART-explore-192-1 + meta: + chartId: 104 + height: 50 + sliceName: Subsection Summary + uuid: 2a8d96be-687d-4918-98fe-ae9fbd599152 + width: 5 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + - ROW-GlQl7V_ol + type: CHART + CHART-explore-194-1: + children: [] + id: CHART-explore-194-1 + meta: + chartId: 96 + height: 50 + sliceName: Evolution of engagement + uuid: d3ae0546-37a8-4841-a57b-8087a6c33049 + width: 7 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + - ROW-GlQl7V_ol + type: CHART + CHART-explore-195-1: + children: [] + id: CHART-explore-195-1 + meta: + chartId: 64 + height: 50 + sliceName: Cumulative Interactions + uuid: c44e43b5-ba69-4805-8d01-3b04dcbf2cb6 + width: 7 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + - ROW-_KbR9wzEQb + type: CHART + CHART-explore-196-1: + children: [] + id: CHART-explore-196-1 + meta: + chartId: 112 + height: 20 + sliceName: Learners with Passing Grade + uuid: b40cdabc-b265-48d2-913d-a9dfee0b6ab1 + width: 2 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-5Guk2p9fd + - ROW-sMfqRh00J + - COLUMN-N18OE5OVho + type: CHART + CHART-explore-197-1: + children: [] + id: CHART-explore-197-1 + meta: + chartId: 65 + height: 50 + sliceName: Distribution of Current Course Grade + uuid: ea565658-6796-40e8-9d1e-01ffd0778bc9 + width: 5 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-5Guk2p9fd + - ROW-sMfqRh00J + type: CHART + CHART-explore-198-1: + children: [] + id: CHART-explore-198-1 + meta: + chartId: 108 + height: 50 + sliceName: Problem Interactions + uuid: ba14d2ea-8c53-4f79-aa1b-434011f3c725 + width: 5 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-vze5iq6jg + - ROW-7xndTh8hI + type: CHART + CHART-explore-205-1: + children: [] + id: CHART-explore-205-1 + meta: + chartId: 106 + height: 50 + sliceName: Problem Results + uuid: 6df96404-8c09-4a52-96c8-9a60a92cec29 + width: 5 + parents: + - ROOT_ID + - GRID_ID + - ROW-fXap6bmp94 + type: CHART + CHART-jsy_lFvqGu: + children: [] + id: CHART-jsy_lFvqGu + meta: + chartId: 97 + height: 50 + sliceName: Video views per section/subsection + uuid: 2c8072e7-44d1-4337-a843-aa2eb670b70e + width: 12 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + - ROW-_dGQijoSEk + type: CHART + COLUMN-2jtUMCFWN3: + children: + - MARKDOWN-OJhMYV_oUT + - CHART-explore-189-1 + id: COLUMN-2jtUMCFWN3 + meta: + background: BACKGROUND_TRANSPARENT + width: 7 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-4ptSkqs5MS + - ROW-EpJDdqK8c + type: COLUMN + COLUMN-N18OE5OVho: + children: + - CHART-explore-196-1 + id: COLUMN-N18OE5OVho + meta: + background: BACKGROUND_TRANSPARENT + width: 2 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-5Guk2p9fd + - ROW-sMfqRh00J + type: COLUMN + COLUMN-ttuyLjaKs0: + children: + - MARKDOWN-sjJpVYkXem + - CHART-explore-186-1 + id: COLUMN-ttuyLjaKs0 + meta: + background: BACKGROUND_TRANSPARENT + width: 8 + parents: + - ROOT_ID + - GRID_ID + - ROW-qDVwqO3bi4 + type: COLUMN + DASHBOARD_VERSION_KEY: v2 + GRID_ID: + children: + - ROW-qDVwqO3bi4 + - TABS-UDkdlBRw4n + id: GRID_ID + parents: + - ROOT_ID + type: GRID + HEADER_ID: + id: HEADER_ID + meta: + text: Course Dashboard V1 + type: HEADER + MARKDOWN-30KBrMMImF: + children: [] + id: MARKDOWN-30KBrMMImF + meta: + code: Information is needed on which section and subsection each problem is + located in and whether or not these are graded. I have already sent the request + and the report is being worked on. + height: 50 + width: 2 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-vze5iq6jg + - ROW-7xndTh8hI + type: MARKDOWN + MARKDOWN-OJhMYV_oUT: + children: [] + id: MARKDOWN-OJhMYV_oUT + meta: + code: "\u23F2\uFE0F Use the \u2018Time Grain\u2019 filter to update the time\ + \ frame intervals shown in the following graph(s)" + height: 8 + width: 3 + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-4ptSkqs5MS + - ROW-EpJDdqK8c + - COLUMN-2jtUMCFWN3 + type: MARKDOWN + MARKDOWN-sjJpVYkXem: + children: [] + id: MARKDOWN-sjJpVYkXem + meta: + code: ' The number of learners who completed at least one graded problem in + the course.' + height: 8 + width: 4 + parents: + - ROOT_ID + - GRID_ID + - ROW-qDVwqO3bi4 + - COLUMN-ttuyLjaKs0 + type: MARKDOWN + ROOT_ID: + children: + - GRID_ID + id: ROOT_ID + type: ROOT + ROW-6oVc0KNyM1: + children: + - CHART-8p_tmmvFsY + id: ROW-6oVc0KNyM1 + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + type: ROW + ROW-7xndTh8hI: + children: + - CHART-explore-198-1 + - CHART-explore-205-1 + - MARKDOWN-30KBrMMImF + id: ROW-7xndTh8hI + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-vze5iq6jg + type: ROW + ROW-EpJDdqK8c: + children: + - CHART-explore-188-1 + - COLUMN-2jtUMCFWN3 + id: ROW-EpJDdqK8c + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-4ptSkqs5MS + type: ROW + ROW-GlQl7V_ol: + children: + - CHART-explore-192-1 + - CHART-explore-194-1 + id: ROW-GlQl7V_ol + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + type: ROW + ROW-ToSAm6kqA2: + children: + - CHART-Q6nr6irIdz + id: ROW-ToSAm6kqA2 + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + type: ROW + ROW-_KbR9wzEQb: + children: + - CHART-explore-191-1 + - CHART-explore-195-1 + id: ROW-_KbR9wzEQb + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-nqLFUR_Tg + type: ROW + ROW-_dGQijoSEk: + children: + - CHART-jsy_lFvqGu + id: ROW-_dGQijoSEk + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + type: ROW + ROW-iV463iCf2a: + children: + - CHART-LiY7tPJWZv + id: ROW-iV463iCf2a + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-vze5iq6jg + type: ROW + ROW-qDVwqO3bi4: + children: + - CHART-explore-185-1 + - COLUMN-ttuyLjaKs0 + id: ROW-qDVwqO3bi4 + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + type: ROW + ROW-sMfqRh00J: + children: + - COLUMN-N18OE5OVho + - CHART-explore-197-1 + id: ROW-sMfqRh00J + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-5Guk2p9fd + type: ROW + ROW-vpQpToPQb: + children: + - CHART-_BfZOEhMVM + id: ROW-vpQpToPQb + meta: + background: BACKGROUND_TRANSPARENT + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + - TAB-V5zNdxwhsP + type: ROW + TAB-4ptSkqs5MS: + children: + - ROW-EpJDdqK8c + id: TAB-4ptSkqs5MS + meta: + defaultText: Tab title + placeholder: Tab title + text: Enrollment + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + type: TAB + TAB-5Guk2p9fd: + children: + - ROW-sMfqRh00J + id: TAB-5Guk2p9fd + meta: + defaultText: Tab title + placeholder: Tab title + text: Performance + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + type: TAB + TAB-V5zNdxwhsP: + children: + - ROW-_dGQijoSEk + - ROW-vpQpToPQb + - ROW-ToSAm6kqA2 + id: TAB-V5zNdxwhsP + meta: + defaultText: Tab title + placeholder: Tab title + text: Videos + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + type: TAB + TAB-_Ey4nPhFr: + children: + - TABS-nk8aeLmc5o + id: TAB-_Ey4nPhFr + meta: + defaultText: Tab title + placeholder: Tab title + text: Engagement + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + type: TAB + TAB-nqLFUR_Tg: + children: + - ROW-6oVc0KNyM1 + - ROW-_KbR9wzEQb + - ROW-GlQl7V_ol + id: TAB-nqLFUR_Tg + meta: + defaultText: Tab title + placeholder: Tab title + text: Pages + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + type: TAB + TAB-vze5iq6jg: + children: + - ROW-iV463iCf2a + - ROW-7xndTh8hI + id: TAB-vze5iq6jg + meta: + defaultText: Tab title + placeholder: Tab title + text: Problems + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + - TABS-nk8aeLmc5o + type: TAB + TABS-UDkdlBRw4n: + children: + - TAB-4ptSkqs5MS + - TAB-_Ey4nPhFr + - TAB-5Guk2p9fd + id: TABS-UDkdlBRw4n + meta: {} + parents: + - ROOT_ID + - GRID_ID + type: TABS + TABS-nk8aeLmc5o: + children: + - TAB-nqLFUR_Tg + - TAB-vze5iq6jg + - TAB-V5zNdxwhsP + id: TABS-nk8aeLmc5o + meta: {} + parents: + - ROOT_ID + - GRID_ID + - TABS-UDkdlBRw4n + - TAB-_Ey4nPhFr + type: TABS +published: true +slug: course-dashboard-v1 +uuid: c0e64194-33d1-4d5a-8c10-4f51530c5ee9 +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Instructor_Dashboard.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Instructor_Dashboard.yaml index 83f8c7205..93e9b1edb 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Instructor_Dashboard.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/dashboards/Instructor_Dashboard.yaml @@ -543,7 +543,7 @@ position: chartId: 921 height: 64 sliceName: Partial and full views per video - uuid: 5052449a-424c-41bf-b8b0-d920424c4784 + uuid: 14c5cd80-cb50-4136-9911-d77da1737d69 width: 12 parents: - ROOT_ID diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/ab_user.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/ab_user.yaml index 783ca674f..9007765df 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/ab_user.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/ab_user.yaml @@ -190,8 +190,9 @@ metrics: normalize_columns: false offset: 0 params: null -schema: {{ SUPERSET_DB_NAME }} -sql: select * from ab_user +schema: '{{ SUPERSET_DB_NAME }}' +sql: + select * from ab_user table_name: ab_user template_params: null uuid: 304a5d6d-c589-483a-8e8d-3fadbccef648 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_blocks.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_blocks.yaml index 69dfd6934..2c4c8587a 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_blocks.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_blocks.yaml @@ -127,8 +127,9 @@ metrics: warning_text: null offset: 0 params: null -schema: {{ASPECTS_EVENT_SINK_DATABASE}} -sql: "select * from {{ASPECTS_EVENT_SINK_DATABASE}}.{{ ASPECTS_EVENT_SINK_NODES_TABLE }}" +schema: '{{ASPECTS_EVENT_SINK_DATABASE}}' +sql: |- + select * from {{ASPECTS_EVENT_SINK_DATABASE}}.{{ ASPECTS_EVENT_SINK_NODES_TABLE }} table_name: "{{ ASPECTS_EVENT_SINK_NODES_TABLE }}" template_params: null uuid: 1b73d066-fd6c-411d-a99d-fc585f9474b1 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_names.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_names.yaml index 0f5b62bd1..695a2bacc 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_names.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_names.yaml @@ -70,8 +70,9 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ASPECTS_EVENT_SINK_DATABASE}} -sql: select * from {{ ASPECTS_EVENT_SINK_DATABASE }}.course_names +schema: '{{ASPECTS_EVENT_SINK_DATABASE}}' +sql: |- + select * from {{ ASPECTS_EVENT_SINK_DATABASE }}.course_names table_name: course_names template_params: null uuid: 41278a97-d0ff-4645-9514-d79f80d275df diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_overviews.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_overviews.yaml index 3bd9afa12..7924458f7 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_overviews.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/course_overviews.yaml @@ -177,8 +177,9 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ ASPECTS_EVENT_SINK_DATABASE }} -sql: select * from {{ ASPECTS_EVENT_SINK_DATABASE }}.course_overviews +schema: '{{ ASPECTS_EVENT_SINK_DATABASE }}' +sql: |- + select * from {{ ASPECTS_EVENT_SINK_DATABASE }}.course_overviews table_name: course_overviews template_params: null uuid: 46183302-6fa6-41a3-b6a7-79ff6c1c8402 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dashboards.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dashboards.yaml index e87e4d03a..ab5aec95b 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dashboards.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dashboards.yaml @@ -226,7 +226,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ SUPERSET_DB_NAME }} +schema: '{{ SUPERSET_DB_NAME }}' sql: 'select * from dashboards' table_name: dashboards template_params: null diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_problems.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_problems.yaml index 8b2e28f67..24831724a 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_problems.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_problems.yaml @@ -106,7 +106,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/dim_course_problems.sql' %}{% endfilter %} table_name: dim_course_problems diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_videos.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_videos.yaml index 4ba84705b..a3eff081d 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_videos.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/dim_course_videos.yaml @@ -106,7 +106,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/dim_course_videos.sql' %}{% endfilter %} table_name: dim_course_videos diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_course_grades.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_course_grades.yaml index f07091bf3..bcdda0a1e 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_course_grades.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_course_grades.yaml @@ -151,7 +151,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_course_grades.sql' %}{% endfilter %} table_name: fact_course_grades diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollment_status.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollment_status.yaml new file mode 100644 index 000000000..55072ecd6 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollment_status.yaml @@ -0,0 +1,110 @@ +_file_name: fact_enrollment_status.yaml +always_filter_main_dttm: false +cache_timeout: null +columns: +- advanced_data_type: null + column_name: emission_time + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: true + python_date_format: null + type: DATETIME + verbose_name: null +- advanced_data_type: null + column_name: actor_id + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: enrollment_status + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_key + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: enrollment_mode + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: org + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6 +default_endpoint: null +description: null +extra: null +fetch_values_predicate: null +filter_select_enabled: true +main_dttm_col: emission_time +metrics: +- currency: null + d3format: null + description: null + expression: COUNT(*) + extra: + warning_markdown: '' + metric_name: count + metric_type: count + verbose_name: COUNT(*) + warning_text: null +normalize_columns: false +offset: 0 +params: null +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' +sql: |- + select * from {{ DBT_PROFILE_TARGET_DATABASE }}.fact_enrollment_status +table_name: fact_enrollment_status +template_params: null +uuid: 3dde421d-c0d0-43ab-8087-ca470985e88e +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments.yaml index f69a2f902..0dc497002 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments.yaml @@ -118,7 +118,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_enrollments.sql' %}{% endfilter %} table_name: fact_enrollments diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments_by_day.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments_by_day.yaml index c81c96997..d3abd488f 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments_by_day.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_enrollments_by_day.yaml @@ -118,7 +118,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_enrollments_by_day.sql' %}{% endfilter %} table_name: fact_enrollments_by_day diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_forum_interactions.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_forum_interactions.yaml index c74d9c6b4..b06ff22af 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_forum_interactions.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_forum_interactions.yaml @@ -130,7 +130,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_forum_interactions.sql' %}{% endfilter %} table_name: fact_forum_interactions diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_course_summary.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_course_summary.yaml index df158dc19..8b0b9f7c7 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_course_summary.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_course_summary.yaml @@ -154,7 +154,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_learner_problem_course_summary.sql' %}{% endfilter %} table_name: fact_learner_problem_course_summary diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_summary.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_summary.yaml index 08163658e..e8a22ee74 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_summary.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_learner_problem_summary.yaml @@ -163,7 +163,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_learner_problem_summary.sql' %}{% endfilter %} table_name: fact_learner_problem_summary diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation.yaml new file mode 100644 index 000000000..8130a5dde --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation.yaml @@ -0,0 +1,174 @@ +_file_name: fact_navigation.yaml +always_filter_main_dttm: false +cache_timeout: null +columns: +- advanced_data_type: null + column_name: starting_position + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: INT64 + verbose_name: null +- advanced_data_type: null + column_name: emission_time + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: true + python_date_format: null + type: DATETIME + verbose_name: null +- advanced_data_type: null + column_name: block_name_with_location + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: block_name + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: actor_id + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_name + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: block_id + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: object_type + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_key + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_run + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: ending_point + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: org + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6 +default_endpoint: null +description: null +extra: null +fetch_values_predicate: null +filter_select_enabled: true +main_dttm_col: emission_time +metrics: +- currency: null + d3format: null + description: null + expression: COUNT(*) + extra: null + metric_name: count + metric_type: count + verbose_name: COUNT(*) + warning_text: null +normalize_columns: false +offset: 0 +params: null +schema: reporting +sql: null +table_name: fact_navigation +template_params: null +uuid: 1c443466-300e-4f01-a690-3d9d1b934d9a +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation_completion.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation_completion.yaml new file mode 100644 index 000000000..06a75698e --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_navigation_completion.yaml @@ -0,0 +1,126 @@ +_file_name: fact_navigation_completion.yaml +always_filter_main_dttm: false +cache_timeout: null +columns: +- advanced_data_type: null + column_name: page_count + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: UINT64 + verbose_name: null +- advanced_data_type: null + column_name: visited_on + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: true + python_date_format: null + type: DATE + verbose_name: null +- advanced_data_type: null + column_name: subsection_with_name + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: section_with_name + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: actor_id + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: block_id + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_key + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: org + description: null + expression: null + extra: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6 +default_endpoint: null +description: null +extra: null +fetch_values_predicate: null +filter_select_enabled: true +main_dttm_col: visited_on +metrics: +- currency: null + d3format: null + description: null + expression: COUNT(*) + extra: null + metric_name: count + metric_type: count + verbose_name: COUNT(*) + warning_text: null +normalize_columns: false +offset: 0 +params: null +schema: reporting +sql: null +table_name: fact_navigation_completion +template_params: null +uuid: 1b1cbf0a-1193-4251-ad52-724c2f0190ae +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_pageview_engagement.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_pageview_engagement.yaml index e361cfd82..524b94ce2 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_pageview_engagement.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_pageview_engagement.yaml @@ -106,7 +106,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_pageview_engagement.sql' %}{% endfilter %} table_name: fact_pageview_engagement diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_engagement.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_engagement.yaml index 17a17178a..0172bb8b1 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_engagement.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_engagement.yaml @@ -105,7 +105,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: main +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_problem_engagement.sql' %}{% endfilter %} table_name: fact_problem_engagement diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_grades.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_grades.yaml index e77a59b14..2f0f66402 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_grades.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_grades.yaml @@ -163,7 +163,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_problem_grades.sql' %}{% endfilter %} table_name: fact_problem_grades diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_responses.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_responses.yaml index d62901ef3..bc931b8ef 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_responses.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_problem_responses.yaml @@ -175,7 +175,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_problem_responses.sql' %}{% endfilter %} table_name: fact_problem_responses diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_student_status.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_student_status.yaml new file mode 100644 index 000000000..c0322b957 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_student_status.yaml @@ -0,0 +1,164 @@ +_file_name: fact_student_status.yaml +always_filter_main_dttm: false +cache_timeout: null +columns: +- advanced_data_type: null + column_name: Course Grade + description: null + expression: course_grade * 100 + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: null + verbose_name: null +- advanced_data_type: null + column_name: course_grade + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: FLOAT64 + verbose_name: null +- advanced_data_type: null + column_name: approving_state + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: grade_bucket + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: actor_id + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_name + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: enrollment_status + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_key + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_run + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: enrollment_mode + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: org + description: null + expression: null + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6 +default_endpoint: null +description: null +extra: null +fetch_values_predicate: null +filter_select_enabled: true +main_dttm_col: null +metrics: +- currency: null + d3format: null + description: null + expression: COUNT(*) + extra: + warning_markdown: '' + metric_name: count + metric_type: count + verbose_name: COUNT(*) + warning_text: null +normalize_columns: false +offset: 0 +params: null +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' +sql: |- + select * from {{ DBT_PROFILE_TARGET_DATABASE }}.fact_student_status +table_name: fact_student_status +template_params: null +uuid: 633a1d4e-cd40-482f-a5dc-d5901c2181c2 +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_transcript_usage.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_transcript_usage.yaml index 71e8ddba0..fb5b74f14 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_transcript_usage.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_transcript_usage.yaml @@ -138,7 +138,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_transcript_usage.sql' %}{% endfilter %} table_name: fact_transcript_usage diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_engagement.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_engagement.yaml index 1e0af1f04..f0dca6d90 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_engagement.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_engagement.yaml @@ -106,7 +106,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_video_engagement.sql' %}{% endfilter %} table_name: fact_video_engagement diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_plays.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_plays.yaml index f6975c097..39ae11dc5 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_plays.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_plays.yaml @@ -199,7 +199,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_video_plays.sql' %}{% endfilter %} table_name: fact_video_plays diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_watches.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_watches.yaml index d3db837f3..07406fa7f 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_watches.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_video_watches.yaml @@ -148,7 +148,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: main +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_video_watches.sql' %}{% endfilter %} table_name: fact_video_watches diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_watched_video_segments.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_watched_video_segments.yaml index 6f0796a34..58ec42a9c 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_watched_video_segments.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/fact_watched_video_segments.yaml @@ -149,7 +149,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/fact_watched_video_segments.sql' %}{% endfilter %} table_name: fact_watched_video_segments diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/hints_per_success.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/hints_per_success.yaml index 271afd617..bc5afb0c4 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/hints_per_success.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/hints_per_success.yaml @@ -127,7 +127,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/hints_per_success.sql' %}{% endfilter %} table_name: hints_per_success diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/indexed_events.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/indexed_events.yaml index 5dbf2a996..3dad75506 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/indexed_events.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/indexed_events.yaml @@ -129,7 +129,7 @@ metrics: normalize_columns: false offset: 0 params: null -schema: {{ ASPECTS_XAPI_DATABASE }} +schema: '{{ ASPECTS_XAPI_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/indexed_events.sql' %}{% endfilter %} table_name: indexed_events diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/int_problem_results.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/int_problem_results.yaml new file mode 100644 index 000000000..95b3bb578 --- /dev/null +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/int_problem_results.yaml @@ -0,0 +1,201 @@ +_file_name: int_problem_results.yaml +always_filter_main_dttm: false +cache_timeout: null +columns: +- advanced_data_type: null + column_name: Result + description: null + expression: " CASE\r\n WHEN success THEN 'Correct'\r\n ELSE 'Incorrect'\r\ + \n END" + extra: {} + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: null + verbose_name: null +- advanced_data_type: null + column_name: attempts + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: INT16 + verbose_name: null +- advanced_data_type: null + column_name: emission_time + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: true + python_date_format: null + type: DATETIME + verbose_name: null +- advanced_data_type: null + column_name: success + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: BOOL + verbose_name: null +- advanced_data_type: null + column_name: problem_name_with_location + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: problem_name + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: actor_id + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_name + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: problem_id + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_key + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: course_run + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: responses + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +- advanced_data_type: null + column_name: org + description: null + expression: null + extra: + warning_markdown: null + filterable: true + groupby: true + is_active: true + is_dttm: false + python_date_format: null + type: STRING + verbose_name: null +database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6 +default_endpoint: null +description: null +extra: null +fetch_values_predicate: null +filter_select_enabled: true +main_dttm_col: emission_time +metrics: +- currency: null + d3format: null + description: null + expression: COUNT(*) + extra: + warning_markdown: '' + metric_name: count + metric_type: count + verbose_name: COUNT(*) + warning_text: null +normalize_columns: false +offset: 0 +params: null +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' +sql: |- + select * from {{ DBT_PROFILE_TARGET_DATABASE }}.int_problem_results +table_name: int_problem_results +template_params: null +uuid: c0c8b8a3-b18a-4c17-a69b-e6befea0159d +version: 1.0.0 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/posts_per_user.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/posts_per_user.yaml index 9b6987615..f0efb7a04 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/posts_per_user.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/posts_per_user.yaml @@ -103,7 +103,7 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ DBT_PROFILE_TARGET_DATABASE }} +schema: '{{ DBT_PROFILE_TARGET_DATABASE }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/posts_per_user.sql' %}{% endfilter %} table_name: posts_per_user diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/slices.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/slices.yaml index 312811a05..de5ecf11a 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/slices.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/slices.yaml @@ -273,8 +273,9 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ SUPERSET_DB_NAME }} -sql: select * from slices +schema: '{{ SUPERSET_DB_NAME }}' +sql: |- + select * from slices table_name: slices template_params: null uuid: aaf1ae12-73c1-4b88-b07d-7a8988333018 diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/superset_action_log.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/superset_action_log.yaml index 77c0642ef..2f2b4abc4 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/superset_action_log.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/superset_action_log.yaml @@ -190,7 +190,7 @@ metrics: normalize_columns: false offset: 0 params: null -schema: {{ SUPERSET_DB_NAME }} +schema: '{{ SUPERSET_DB_NAME }}' sql: |- {% filter indent(width=2) %}{% include 'openedx-assets/queries/superset_action_log.sql' %}{% endfilter %} table_name: superset_action_log diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/user_pii.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/user_pii.yaml index b0e01efc2..8688fbd89 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/user_pii.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/user_pii.yaml @@ -5,7 +5,7 @@ description: null default_endpoint: null offset: 0 cache_timeout: null -schema: {{ ASPECTS_EVENT_SINK_DATABASE }} +schema: '{{ ASPECTS_EVENT_SINK_DATABASE }}' sql: 'select * from {{ ASPECTS_EVENT_SINK_DATABASE }}.user_pii' params: null template_params: null diff --git a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/xapi_events_all_parsed.yaml b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/xapi_events_all_parsed.yaml index 8fb2ac3b0..6178cf8d0 100644 --- a/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/xapi_events_all_parsed.yaml +++ b/tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/datasets/xapi_events_all_parsed.yaml @@ -183,8 +183,9 @@ metrics: normalize_columns: true offset: 0 params: null -schema: {{ ASPECTS_XAPI_DATABASE }} -sql: SELECT * FROM {{ASPECTS_XAPI_DATABASE}}.xapi_events_all_parsed +schema: '{{ ASPECTS_XAPI_DATABASE }}' +sql: |- + SELECT * FROM {{ASPECTS_XAPI_DATABASE}}.xapi_events_all_parsed table_name: xapi_events_all_parsed template_params: null uuid: 2a2498dc-03ce-41a0-b798-d84f808f7da6