int__micromasters__course_enrollments contains duplicate enrollments for DEDP prior to 2021. As we migrated these DEDP enrollments from MicroMasters where courseware_backend = 'edxorg' to MITx Online last year, these overlap with DEDP enrollments from edxorg
There are around 78 runs that were double counted, for example 'course-v1:MITx+JPAL102x+3T2020' is the same run as 'MITx/JPAL102x/3T2020, this course was running on edxorg.
To fix this, we should add a filter to __micromasters_course_enrollments_from_mitxonline where platform = 'mitxonline', so it doesn't count these DEDP enrollments twice for the same user (email). Since this is currently used in the MM summary report, we should check for any side effect
int__micromasters__course_enrollments
contains duplicate enrollments for DEDP prior to 2021. As we migrated these DEDP enrollments from MicroMasters where courseware_backend = 'edxorg' to MITx Online last year, these overlap with DEDP enrollments from edxorgThere are around 78 runs that were double counted, for example
'course-v1:MITx+JPAL102x+3T2020'
is the same run as'MITx/JPAL102x/3T2020
, this course was running on edxorg.To fix this, we should add a filter to
__micromasters_course_enrollments_from_mitxonline
where platform = 'mitxonline', so it doesn't count these DEDP enrollments twice for the same user (email). Since this is currently used in the MM summary report, we should check for any side effect