Public bug reported: Current version does improper "safe days" calculation (compared to other calculators and sane logic) in SOME cases.
Testcase: 1) Delete all previous data in ~/.cycle/* 2) Run "cycle" 3) Mark (example) October 17th and November 9th as start day. 4) Leave other options untouched (by default, 28 days cycle). Expected result: "Cycle" should calculate next data starting from November 9th based on default settings (28 days/cycle), which is: safe days start on November 28th. Actual result: "Cycle" calculates safe days to start on November 22nd (!!!! incorrect !!!, 6 days offset), while correctly showing next cycle to start on December 7th. Assumption: probably (not sure), "Cycle" calculates safe days always with non-default option (even being turned off) "on average", and calculated next cycle start date base on options set (should only use the option set in the menu - otherwise 2 differect methods are used for 2 dates within one cycle). As a result, data shown is EXTREMELY incorrect and may lead to "unexpected results". Please correct the issue. ** Affects: cycle (Ubuntu) Importance: Undecided Status: New ** Description changed: Current version does improper "safe days" calculation (compared to other calculators and sane logic) in SOME cases. Testcase: 1) Delete all previous data in ~/.cycle/* 2) Run "cycle" 3) Mark (example) October 17th and November 9th as start day. 4) Leave other options untouched (by default, 28 days cycle). Expected result: "Cycle" should calculate next data starting from November 9th based on default settings (28 days/cycle), which is: safe days start on November 28th. Actual result: "Cycle" calculates safe days to start on November 22nd (!!!! incorrect !!!, 6 days offset), while correctly showing next cycle to start on December 7th. Assumption: probably (not sure), "Cycle" calculates safe days always - with non-default option (even being turned off) "on average", while it - should only use the option selected in the menu. Otherwise, data shown - is incorrect and may lead to "unexpected results". + with non-default option (even being turned off) "on average", and + calculated next cycle start date base on options set (should only use + the option set in the menu - otherwise 2 differect methods are used for + 2 dates within one cycle). Otherwise, data shown is incorrect and may + lead to "unexpected results". Please correct the issue. ** Description changed: Current version does improper "safe days" calculation (compared to other calculators and sane logic) in SOME cases. Testcase: 1) Delete all previous data in ~/.cycle/* 2) Run "cycle" 3) Mark (example) October 17th and November 9th as start day. 4) Leave other options untouched (by default, 28 days cycle). Expected result: "Cycle" should calculate next data starting from November 9th based on default settings (28 days/cycle), which is: safe days start on November 28th. Actual result: "Cycle" calculates safe days to start on November 22nd (!!!! incorrect !!!, 6 days offset), while correctly showing next cycle to start on December 7th. Assumption: probably (not sure), "Cycle" calculates safe days always with non-default option (even being turned off) "on average", and calculated next cycle start date base on options set (should only use the option set in the menu - otherwise 2 differect methods are used for - 2 dates within one cycle). Otherwise, data shown is incorrect and may - lead to "unexpected results". + 2 dates within one cycle). As a result, data shown is EXTREMELY + incorrect and may lead to "unexpected results". Please correct the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/889769 Title: Improper "safe days" calculation in cycle 0.3.1-7ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cycle/+bug/889769/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs