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 adding targets for collected data with multiple entries #673

Merged
merged 2 commits into from
Aug 14, 2020

Conversation

Kimaiyo077
Copy link
Collaborator

What is the Purpose?

Update how targets for different periods are calculated when a collected data has several entries.

What was the approach?

Save periodic target id in an array so that the target is not added twice

Are there any concerns to addressed further before or after merging this PR?

None

Mentions?

@andrewtpham @sannleen

Issue(s) affected?

Closes #646

@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

Merging #673 into develop will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #673      +/-   ##
===========================================
- Coverage    55.41%   55.39%   -0.02%     
===========================================
  Files          130      130              
  Lines         8498     8501       +3     
===========================================
  Hits          4709     4709              
- Misses        3789     3792       +3     
Impacted Files Coverage Δ
reports/views.py 16.34% <0.00%> (-0.24%) ⬇️

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 41908d7...272fc28. Read the comment docs.

Copy link
Member

@andrewtpham andrewtpham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and it looks good. Nicely done 🎉

@andrewtpham andrewtpham merged commit cc36d8b into develop Aug 14, 2020
@andrewtpham andrewtpham deleted the fix-iptt branch August 14, 2020 14:31
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.

IPTT: For Target column in the various periods, use the Target Period value and not summation
2 participants