Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,12 @@ models:
data_type: boolean
- name: is_low_25_fl
data_type: boolean
- name: is_completion_row
data_type: boolean
description: >-
True for the single deduplication row per student-assessment: the
response_type = 'overall' row for completed assessments, or the null
response_type row for assigned-but-incomplete assessments. Filter on
this field instead of response_type = 'overall' when computing
completion rates so that incomplete assessments are included in the
denominator.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ select

if(qbls.qbl is not null, true, false) as is_qbl,

if(
co.response_type = 'overall' or co.response_type is null, true, false
) as is_completion_row,

coalesce(ip.is_pass_2_lessons_int_reading, 0) as is_passed_iready_2plus_reading_int,
coalesce(ip.is_pass_4_lessons_int_reading, 0) as is_passed_iready_4plus_reading_int,
coalesce(ip.is_pass_2_lessons_int_math, 0) as is_passed_iready_2plus_math_int,
Expand Down Expand Up @@ -374,6 +378,10 @@ select

if(qbls.qbl is not null, true, false) as is_qbl,

if(
co.response_type = 'overall' or co.response_type is null, true, false
) as is_completion_row,

null as is_passed_iready_2plus_reading_int,
null as is_passed_iready_4plus_reading_int,
null as is_passed_iready_2plus_math_int,
Expand Down Expand Up @@ -501,6 +509,7 @@ select
null as total_iready_lessons_passed_reading,
null as total_iready_lessons_passed_math,
null as is_qbl,
null as is_completion_row,
null as is_passed_iready_2plus_reading_int,
null as is_passed_iready_4plus_reading_int,
null as is_passed_iready_2plus_math_int,
Expand Down
Loading