Skip to content

Commit

Permalink
fix: reset assets
Browse files Browse the repository at this point in the history
  • Loading branch information
saraburns1 committed Oct 2, 2024
1 parent fe08281 commit 7992108
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
unused_uuids:
datasets:
charts:
- ccdd7d98-4722-490b-a0b2-077380a7c7eb
- b73b0a5c-4861-402e-a39c-d73333a4d911
- 4e48b8f9-e757-4263-a9d7-d18018620a24

ignored_uuids:
datasets:
charts:
- bb13bb31-c797-4ed3-a7f9-7825cc6dc482 # "Query performance" needed for the performance_metrics script
- bb13bb31-c797-4ed3-a7f9-7825cc6dc482 # "Query performance" needed for the performance_metrics script
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ def create_assets():
with open(path, "w") as file:
yaml.dump(translated_asset_uuids, file, default_flow_style=False)

# import_assets()
# update_dashboard_roles(roles)
# update_embeddable_uuids()
# update_datasets()
# create_rls_filters()
import_assets()
update_dashboard_roles(roles)
update_embeddable_uuids()
update_datasets()
create_rls_filters()

# Delete unused UUIDs from yaml list
with open(os.path.join(PYTHONPATH,"aspects_asset_list.yaml"), "r", encoding="utf-8") as file:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
operator: TEMPORAL_RANGE
subject: emission_time
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dataset_uuid: ffc33796-bcd4-4e8b-a4e4-ab6517b72116
description: |-
<dl>
<dt>Avg % Correct on 1st Attempt </dt>
<dd> The average percentage of correct answers on the first attempt </dd>
<dd> The average percentage of correct answers on the first attempt of the learners who attempted the problem. </dd>
</dl>
params:
adhoc_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: null
params:
adhoc_filters: []
all_columns: []
annotation_layers: []
color_pn: true
column_config:
rewatched_percent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@ metadata:
- '#9EE5E5'
- '#D1C6BC'
cross_filters_enabled: true
default_filters: '{}'
expanded_slices:
'1504': true
'1505': true
'1506': true
'1507': true
'1287': true
'1294': true
'1301': true
'1303': true
global_chart_configuration:
chartsInScope:
- 1467
Expand Down Expand Up @@ -350,7 +349,7 @@ position:
children: []
id: CHART-explore-1467-1
meta:
chartId: 1467
chartId: 1282
height: 50
sliceName: Video Engagement
uuid: 5b00f792-233c-4ee6-9411-7df49f4b5061
Expand All @@ -365,7 +364,7 @@ position:
children: []
id: CHART-explore-1500-1
meta:
chartId: 1500
chartId: 1298
height: 50
sliceName: Course Info
uuid: b2fff8a7-3ace-4075-9a3f-5fa5b99f81bb
Expand All @@ -380,7 +379,7 @@ position:
children: []
id: CHART-explore-1501-1
meta:
chartId: 1501
chartId: 1286
height: 50
sliceName: Course Info
uuid: ccdd7d98-4722-490b-a0b2-077380a7c7eb
Expand All @@ -395,7 +394,7 @@ position:
children: []
id: CHART-explore-1502-1
meta:
chartId: 1502
chartId: 1295
height: 50
sliceName: Enrollment Counts
uuid: 7eaf5bc2-0067-424b-a50b-607cf54c086a
Expand All @@ -410,7 +409,7 @@ position:
children: []
id: CHART-explore-1503-1
meta:
chartId: 1503
chartId: 1290
height: 50
sliceName: Enrollment Counts
uuid: 8230a366-957d-4667-a2ff-3cbcb2f25f60
Expand All @@ -425,7 +424,7 @@ position:
children: []
id: CHART-explore-1504-1
meta:
chartId: 1504
chartId: 1294
height: 50
sliceName: Learner Performance Breakdown
uuid: b73b0a5c-4861-402e-a39c-d73333a4d911
Expand All @@ -440,7 +439,7 @@ position:
children: []
id: CHART-explore-1505-1
meta:
chartId: 1505
chartId: 1301
height: 50
sliceName: Learner Performance Breakdown
uuid: d414b144-467b-456b-b899-9cfb3579faba
Expand All @@ -455,7 +454,7 @@ position:
children: []
id: CHART-explore-1506-1
meta:
chartId: 1506
chartId: 1287
height: 50
sliceName: Learner Performance
uuid: b518f341-9ed4-4c23-bb88-6c1d497aa260
Expand All @@ -470,7 +469,7 @@ position:
children: []
id: CHART-explore-1507-1
meta:
chartId: 1507
chartId: 1303
height: 50
sliceName: Learner Performance
uuid: b0e170ce-26f1-4452-a3c0-49b41fa6e529
Expand All @@ -485,7 +484,7 @@ position:
children: []
id: CHART-explore-1508-1
meta:
chartId: 1508
chartId: 1302
height: 50
sliceName: Video Engagement
uuid: 6b7610a7-41d0-4d14-be81-62a5a8f22d62
Expand Down Expand Up @@ -669,4 +668,4 @@ position:
published: true
slug: course-comparison
uuid: c6c7062d-dd90-4292-b9cf-84f7b9f38e73
version: 1.0.0
version: 1.0.0

0 comments on commit 7992108

Please sign in to comment.