thomastom99 / wc

wc Public Repository
0 stars 0 forks source link

Scenario 2- difference in total hours #53

Open thomastom99 opened 8 years ago

thomastom99 commented 8 years ago

The sum of hours displayed with “Summary Of Tasks Accomplished“ and “Total Working Hours” are different.

Revathyms commented 8 years ago

The time difference is due to avoiding multiple entries. Total Working Hours is calculating without multiple Entries. But "Summary Of Tasks Accomplished" does not. Now I uncomment a label, which shows the duplication details. Screen shot is attached.

image

thomastom99 commented 8 years ago

By how much it is going to be different?..

thomastom99 commented 8 years ago

if there is not much difference then you can ignore it for now..

AjithJoseph510 commented 8 years ago

I think the algorithm for finding duplicate entries of screenshots need to be modified. Now duplicate entries are find by calculating time difference between two adjacent screen shots. and these will treated as duplicate if the difference is less than 10 minutes. This will skip some screenshots even they are not duplicates. For example, screenshots at 10.35 and 10.44. So the skipping of screenshots should perform only if their time difference is less than 10 Minutes and they are not consisting to same time slots.

(I think there is already data structures are implemented for checking whether screenshots are present on a particular time slots like b_0_10, b_10_20 etc)

thomastom99 commented 8 years ago

Revathy .. Please discuss with Ajith , Nobelin and Rajesh and come to a conclusion regarding algorithm.. For your information , Rajesh developed the core algorithm I believe and it needs to be carefully modified..