Skip to content

Commit

Permalink
docs: update docs for 051ca59
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed Jan 12, 2024
1 parent 27c49ea commit 487b760
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 4 deletions.
2 changes: 1 addition & 1 deletion catalog.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.7.0", "generated_at": "2024-01-12T15:40:36.942575Z", "invocation_id": "9f4d01d6-ea21-4441-9c5c-39c7d3c44b0e", "env": {}}, "nodes": {}, "sources": {}, "errors": null}
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.7.0", "generated_at": "2024-01-12T21:21:42.744492Z", "invocation_id": "a795bd6c-4581-43fe-b9ab-e6fb93378742", "env": {}}, "nodes": {}, "sources": {}, "errors": null}
18 changes: 18 additions & 0 deletions compiled/aspects/models/navigation/fact_navigation.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
select
navigation.emission_time as emission_time,
navigation.org as org,
navigation.course_key as course_key,
blocks.course_name as course_name,
blocks.course_run as course_run,
navigation.actor_id as actor_id,
navigation.block_id as block_id,
blocks.block_name as block_name,
blocks.display_name_with_location as block_name_with_location,
navigation.object_type as object_type,
navigation.starting_position as starting_position,
navigation.ending_point as ending_point
from
`xapi`.`navigation_events` navigation
join `xapi`.`dim_course_blocks` blocks
on (navigation.course_key = blocks.course_key
and navigation.block_id = blocks.block_id)
32 changes: 32 additions & 0 deletions compiled/aspects/models/navigation/navigation_events.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@


SELECT
event_id,
cast(emission_time as DateTime) as emission_time,
actor_id,
splitByString('/xblock/', object_id)[-1] as block_id,
splitByString('/', course_id)[-1] AS course_key,
org,
verb_id,
JSONExtractString(event_str, 'object', 'definition', 'type') AS object_type,
-- clicking a link and selecting a module outline have no starting-position field
if (
object_type in (
'http://adlnet.gov/expapi/activities/link',
'http://adlnet.gov/expapi/activities/module'
),
0,
JSONExtractInt(
event_str,
'context', 'extensions', 'http://id.tincanapi.com/extension/starting-position'
)
) AS starting_position,
JSONExtractString(
event_str,
'context', 'extensions', 'http://id.tincanapi.com/extension/ending-point'
) AS ending_point
FROM
`xapi`.`xapi_events_all_parsed`
WHERE verb_id IN (
'https://w3id.org/xapi/dod-isd/verbs/navigated'
)
Binary file modified graph.gpickle
Binary file not shown.
2 changes: 1 addition & 1 deletion graph_summary.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"_invocation_id": "9f4d01d6-ea21-4441-9c5c-39c7d3c44b0e", "linked": {"0": {"name": "source.aspects.xapi.xapi_events_all", "type": "source", "succ": [4]}, "1": {"name": "source.aspects.event_sink.course_block_names", "type": "source", "succ": [3, 7, 20]}, "2": {"name": "source.aspects.event_sink.course_names", "type": "source", "succ": [3, 6, 7, 18, 20]}, "3": {"name": "model.aspects.dim_course_blocks", "type": "model", "succ": [9, 12, 13, 15]}, "4": {"name": "model.aspects.xapi_events_all_parsed", "type": "model", "succ": [5, 8, 11, 10, 14, 19, 21]}, "5": {"name": "model.aspects.forum_events", "type": "model", "succ": [6]}, "6": {"name": "model.aspects.fact_forum_interactions", "type": "model"}, "7": {"name": "model.aspects.fact_grades", "type": "model", "succ": [24]}, "8": {"name": "model.aspects.grading_events", "type": "model", "succ": [7]}, "9": {"name": "model.aspects.fact_video_plays", "type": "model"}, "10": {"name": "model.aspects.video_playback_events", "type": "model", "succ": [9]}, "11": {"name": "model.aspects.video_transcript_events", "type": "model", "succ": [12]}, "12": {"name": "model.aspects.fact_transcript_usage", "type": "model"}, "13": {"name": "model.aspects.fact_problem_responses", "type": "model", "succ": [17]}, "14": {"name": "model.aspects.problem_events", "type": "model", "succ": [13, 15]}, "15": {"name": "model.aspects.int_problem_hints", "type": "model", "succ": [16]}, "16": {"name": "model.aspects.fact_learner_problem_summary", "type": "model", "succ": [22, 25, 26]}, "17": {"name": "model.aspects.int_problem_results", "type": "model", "succ": [16, 23]}, "18": {"name": "model.aspects.fact_enrollments", "type": "model", "succ": [27]}, "19": {"name": "model.aspects.enrollment_events", "type": "model", "succ": [18]}, "20": {"name": "model.aspects.fact_completions", "type": "model"}, "21": {"name": "model.aspects.completion_events", "type": "model", "succ": [20]}, "22": {"name": "test.aspects.learner_problem_summary_uniqueness", "type": "test"}, "23": {"name": "test.aspects.problem_results_uniqueness", "type": "test"}, "24": {"name": "test.aspects.accepted_values_fact_grades_grade_type__course__subsection__problem.712bd50c2f", "type": "test"}, "25": {"name": "test.aspects.not_null_fact_learner_problem_summary_success.76b52cb2da", "type": "test"}, "26": {"name": "test.aspects.not_null_fact_learner_problem_summary_attempts.817beed32b", "type": "test"}, "27": {"name": "test.aspects.accepted_values_fact_enrollments_enrollment_status__registered__unregistered.f8d10203f4", "type": "test"}}}
{"_invocation_id": "a795bd6c-4581-43fe-b9ab-e6fb93378742", "linked": {"0": {"name": "source.aspects.xapi.xapi_events_all", "type": "source", "succ": [4]}, "1": {"name": "source.aspects.event_sink.course_block_names", "type": "source", "succ": [3, 7, 22]}, "2": {"name": "source.aspects.event_sink.course_names", "type": "source", "succ": [3, 6, 7, 18, 22]}, "3": {"name": "model.aspects.dim_course_blocks", "type": "model", "succ": [9, 12, 13, 15, 20]}, "4": {"name": "model.aspects.xapi_events_all_parsed", "type": "model", "succ": [5, 8, 11, 10, 14, 19, 21, 23]}, "5": {"name": "model.aspects.forum_events", "type": "model", "succ": [6]}, "6": {"name": "model.aspects.fact_forum_interactions", "type": "model"}, "7": {"name": "model.aspects.fact_grades", "type": "model", "succ": [26]}, "8": {"name": "model.aspects.grading_events", "type": "model", "succ": [7]}, "9": {"name": "model.aspects.fact_video_plays", "type": "model"}, "10": {"name": "model.aspects.video_playback_events", "type": "model", "succ": [9]}, "11": {"name": "model.aspects.video_transcript_events", "type": "model", "succ": [12]}, "12": {"name": "model.aspects.fact_transcript_usage", "type": "model"}, "13": {"name": "model.aspects.fact_problem_responses", "type": "model", "succ": [17]}, "14": {"name": "model.aspects.problem_events", "type": "model", "succ": [13, 15]}, "15": {"name": "model.aspects.int_problem_hints", "type": "model", "succ": [16]}, "16": {"name": "model.aspects.fact_learner_problem_summary", "type": "model", "succ": [24, 27, 28]}, "17": {"name": "model.aspects.int_problem_results", "type": "model", "succ": [16, 25]}, "18": {"name": "model.aspects.fact_enrollments", "type": "model", "succ": [29]}, "19": {"name": "model.aspects.enrollment_events", "type": "model", "succ": [18]}, "20": {"name": "model.aspects.fact_navigation", "type": "model"}, "21": {"name": "model.aspects.navigation_events", "type": "model", "succ": [20]}, "22": {"name": "model.aspects.fact_completions", "type": "model"}, "23": {"name": "model.aspects.completion_events", "type": "model", "succ": [22]}, "24": {"name": "test.aspects.learner_problem_summary_uniqueness", "type": "test"}, "25": {"name": "test.aspects.problem_results_uniqueness", "type": "test"}, "26": {"name": "test.aspects.accepted_values_fact_grades_grade_type__course__subsection__problem.712bd50c2f", "type": "test"}, "27": {"name": "test.aspects.not_null_fact_learner_problem_summary_success.76b52cb2da", "type": "test"}, "28": {"name": "test.aspects.not_null_fact_learner_problem_summary_attempts.817beed32b", "type": "test"}, "29": {"name": "test.aspects.accepted_values_fact_enrollments_enrollment_status__registered__unregistered.f8d10203f4", "type": "test"}}}
2 changes: 1 addition & 1 deletion manifest.json

Large diffs are not rendered by default.

Binary file modified partial_parse.msgpack
Binary file not shown.
2 changes: 1 addition & 1 deletion run_results.json

Large diffs are not rendered by default.

0 comments on commit 487b760

Please sign in to comment.