You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In meals consumption VS schedule, comparison process don't detect several issues like double consumption
Steps To Reproduce
Have a meal element in schedule
Duplicate the consumption entry record for that meal element
Expected behavior
Compression should show that meal element has been consumed in first entry, and 2nd is an extra (over consumption)
Additional context
Currently, consumption is being compare to what is supposed to consumed by looping through consumption. Correct approach is vice versa, where loop go through scheduled and exclude it once it's detected as consumed. Could also add a note of being missed element in case it was in consumption.
The text was updated successfully, but these errors were encountered:
Describe the bug
In meals consumption VS schedule, comparison process don't detect several issues like double consumption
Steps To Reproduce
Expected behavior
Compression should show that meal element has been consumed in first entry, and 2nd is an extra (over consumption)
Additional context
Currently, consumption is being compare to what is supposed to consumed by looping through consumption. Correct approach is vice versa, where loop go through scheduled and exclude it once it's detected as consumed. Could also add a note of being missed element in case it was in consumption.
The text was updated successfully, but these errors were encountered: