Yves Forkl | 19 Jun 2012 18:28
Picon
Favicon

Effort per Day: mismatch between total and sum of efforts

In the effort viewer in "Effort per Day" mode (no rounding), I observe that there is frequently a mismatch
between the displayed daily total and the actual sum of efforts of that day.

E.g.:
Total = 3:57:16, but efforts = 3:36:54 + 0:03:05, or
Total = 1:21:05, but efforts = 0:41:39 + 0:10:30 + 0:23:48 = 1:15:57, or
Total = 2:05:13, but single effort = 0:58:23, or
Total = 8:05:13, but sum of efforts = 6:24:34

At least in the last of these examples, I have verified that it is the total which is correct, and the
individual efforts are wrong. (Calculated the total myself here, but could attach a screenshot to prove it.)

I am experiencing this in TaskCoach 1.3.16 and can't remember having seen that frightening behaviour in
earlier versions of it.

Is there a simple explanation to it? Or should I open a bug report and add an anonymized *.tsk file?

Yves

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
(Continue reading)

Jérôme Laheurte | 24 Jun 2012 15:28
Picon
Favicon

Re: Effort per Day: mismatch between total and sum of efforts


Le 19 juin 2012 à 18:28PM, Yves Forkl <yvesforkl02@...> a écrit :

> In the effort viewer in "Effort per Day" mode (no rounding), I observe that there is frequently a mismatch
between the displayed daily total and the actual sum of efforts of that day.

How are they wrong ? I think it's because of a rounding error; times are stored with a better than 1s precision
but are displayed rounded to the second.

Cheers
Jérôme

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-digest@... 
    taskcoach-fullfeatured@...

(Continue reading)

Yves Forkl | 25 Jun 2012 13:07
Picon
Favicon

Re: Effort per Day: mismatch between total and sum of efforts

Am 24.06.2012 15:28, schrieb Jérôme Laheurte:
>
> Le 19 juin 2012 à 18:28PM, Yves Forkl <yvesforkl02@...
> <mailto:yvesforkl02%40arcor.de>> a écrit :
>
>> In the effort viewer in "Effort per Day" mode (no rounding), I
>> observe that there is frequently a mismatch between the displayed
>> daily total and the actual sum of efforts of that day.
>
> How are they wrong ? I think it's because of a rounding error; times
> are stored with a better than 1s precision but are displayed rounded
> to the second.

Hi Jérôme,

thanks for responding.

Unfortunately this is not about rounding errors in the range of seconds. Please follow up with the bug
report I have created:

https://sourceforge.net/tracker/?func=detail&aid=3537707&group_id=130831&atid=719135

Yves

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach/
(Continue reading)

Jérôme Laheurte | 25 Jun 2012 13:23
Picon
Favicon

Re: Effort per Day: mismatch between total and sum of efforts


Le 25 juin 2012 à 13:07PM, Yves Forkl <yvesforkl02@...> a écrit :

> Am 24.06.2012 15:28, schrieb Jérôme Laheurte:
>> 
>> Le 19 juin 2012 à 18:28PM, Yves Forkl <yvesforkl02@...
>> <mailto:yvesforkl02%40arcor.de>> a écrit :
>> 
>>> In the effort viewer in "Effort per Day" mode (no rounding), I
>>> observe that there is frequently a mismatch between the displayed
>>> daily total and the actual sum of efforts of that day.
>> 
>> How are they wrong ? I think it's because of a rounding error; times
>> are stored with a better than 1s precision but are displayed rounded
>> to the second.
> 
> Hi Jérôme,
> 
> thanks for responding.
> 
> Unfortunately this is not about rounding errors in the range of seconds. Please follow up with the bug
report I have created:
> 
> https://sourceforge.net/tracker/?func=detail&aid=3537707&group_id=130831&atid=719135

Ah, thanks for the report. I'll take a look at that ASAP.

Cheers
Jérôme

(Continue reading)

Jérôme Laheurte | 25 Jun 2012 14:42
Picon
Favicon

Re: Effort per Day: mismatch between total and sum of efforts


Le 25 juin 2012 à 13:23PM, Jérôme Laheurte <fraca7@...> a écrit :

> 
> Le 25 juin 2012 à 13:07PM, Yves Forkl <yvesforkl02@...> a écrit :
> 
>> Am 24.06.2012 15:28, schrieb Jérôme Laheurte:
>>> 
>>> Le 19 juin 2012 à 18:28PM, Yves Forkl <yvesforkl02@...
>>> <mailto:yvesforkl02%40arcor.de>> a écrit :
>>> 
>>>> In the effort viewer in "Effort per Day" mode (no rounding), I
>>>> observe that there is frequently a mismatch between the displayed
>>>> daily total and the actual sum of efforts of that day.
>>> 
>>> How are they wrong ? I think it's because of a rounding error; times
>>> are stored with a better than 1s precision but are displayed rounded
>>> to the second.
>> 
>> Hi Jérôme,
>> 
>> thanks for responding.
>> 
>> Unfortunately this is not about rounding errors in the range of seconds. Please follow up with the bug
report I have created:
>> 
>> https://sourceforge.net/tracker/?func=detail&aid=3537707&group_id=130831&atid=719135
> 
> Ah, thanks for the report. I'll take a look at that ASAP.

(Continue reading)

Frank Niessink | 25 Jun 2012 19:19
Gravatar

Re: Effort per Day: mismatch between total and sum of efforts

2012/6/25 Jérôme Laheurte <fraca7@...>:
> Err. Frank, I'm a bit lost here. Seems like the cache in CompositeEffort gets out of sync, but I can't see
why. And if I add an "or theTask is None" condition in EffortAggregator.getCompositesForTask() I
actually get random results: sometimes the total is right and sometimes wrong just after launch…

There have been lots of changes in this area to work around the slow
pubsub subscribe method that you fixed recently. So maybe it's
possible to undo my changes. I'll take a look.

Cheers, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach/join
    (Yahoo! ID required)

<*> To change settings via email:
    taskcoach-digest@... 
    taskcoach-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
(Continue reading)

Frank Niessink | 25 Jun 2012 23:09
Gravatar

Re: Effort per Day: mismatch between total and sum of efforts

2012/6/25 Frank Niessink <frank@...>:
> 2012/6/25 Jérôme Laheurte <fraca7@...>:
>> Err. Frank, I'm a bit lost here. Seems like the cache in CompositeEffort gets out of sync, but I can't see
why. And if I add an "or theTask is None" condition in EffortAggregator.getCompositesForTask() I
actually get random results: sometimes the total is right and sometimes wrong just after launch…
>
> There have been lots of changes in this area to work around the slow
> pubsub subscribe method that you fixed recently. So maybe it's
> possible to undo my changes. I'll take a look.

I committed a fix to our source code repository that you test via
http://taskcoach.org/download_daily_build.html.

I expect to release a new version of Task Coach next weekend.

Regards, Frank

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/taskcoach/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/taskcoach/join
    (Yahoo! ID required)
(Continue reading)


Gmane