mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Count passing final grades since Fall 22 #5307

Closed annagav closed 1 year ago

annagav commented 1 year ago

What are the relevant tickets?

Fix https://github.com/mitodl/micromasters/issues/5299

What's this PR do?

if the user has a passing FinalGrade for a course run that finished after September 2022.

How should this be manually tested?

The tests should pass.

Create a passing final grade for your user for a course run with start date after September 1st 2022. Make sure CourseRunFreezeStatus is 'complete'.

This course should be counted in the towards completion of the program in the ProgressWidget on the right of your dashboard.

codecov-commenter commented 1 year ago

Codecov Report

Merging #5307 (832ba62) into master (c27b2a4) will increase coverage by 0.00%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master    #5307   +/-   ##
=======================================
  Coverage   93.64%   93.64%           
=======================================
  Files         499      499           
  Lines       23062    23066    +4     
  Branches      966      966           
=======================================
+ Hits        21596    21600    +4     
  Misses       1359     1359           
  Partials      107      107           
Impacted Files Coverage Δ
dashboard/utils.py 95.27% <100.00%> (+0.08%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.