Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix certificates count as proxy for course completions #244

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

johnbaldwin
Copy link
Contributor

Reworked function to get the latest sum of cerfificates across courses
for the site. This is done by querying CourseDailyMetrics.

  • Added new test module to focus on testing certificate metrics

This is a workaround. It fixes the metric, but is really just a patch. What needs to happen is to rethink this metric, what we want to say and how to efficiently (storage and query performance) manage certificates achived over time.

Especially since we only want to capture data as they change

@johnbaldwin johnbaldwin force-pushed the john/fix-site-cert-metrics branch 2 times, most recently from 627c4fe to e0dcc02 Compare August 12, 2020 02:45
Reworked function to get the latest sum of cerfificates across courses
for the site. This is done by querying CourseDailyMetrics.

* Added new test module to focus on testing certificate metrics

This is a workaround. It fixes the metric, but is really just a patch. What needs to happen is to rethink this metric, what we want to say and how to efficiently (storage and query performance) manage certificates achived over time.

Especially since we only want to capture data as they change
@johnbaldwin johnbaldwin force-pushed the john/fix-site-cert-metrics branch from e0dcc02 to 70ae18b Compare August 12, 2020 03:13
@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2020

Codecov Report

Merging #244 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #244   +/-   ##
=======================================
  Coverage   91.78%   91.78%           
=======================================
  Files          41       41           
  Lines        2129     2131    +2     
=======================================
+ Hits         1954     1956    +2     
  Misses        175      175           
Impacted Files Coverage Δ
figures/models.py 95.36% <ø> (ø)
figures/pipeline/course_daily_metrics.py 94.06% <ø> (ø)
figures/metrics.py 87.86% <100.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a882e9b...32f5eb5. Read the comment docs.

@johnbaldwin johnbaldwin merged commit 6eaa7d4 into master Aug 12, 2020
@johnbaldwin johnbaldwin deleted the john/fix-site-cert-metrics branch August 12, 2020 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants