Uh oh!
There was an error while loading. Please reload this page.
Fixed #610 Imprecision in identical subsequence case - #657
Fixed #610 Imprecision in identical subsequence case#657NimaSarajpoor wants to merge 46 commits into
Conversation
So, this problem is more complicated than I thought :) I think I found an alternative approach and it seems it is working. HOWEVER, it does not work for this new test function I designed: There are still two identical subsequences... let's see the error: Now, the third element in y is (I think the pearson value is about |
Codecov Report
@@ Coverage Diff @@## main #657 +/- ##
=======================================
Coverage 99.89% 99.89% =======================================
Files 80 80 Lines 11434 11531 +97 =======================================
+ Hits 11422 11519 +97
Misses 12 12
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
NimaSarajpoor
commented
Sep 2, 2022
@seanlaw |
dbaccab to
1d0a22cCompareNotes: (1) This approach sometimes results in error. In one case, (2) |
(1) I decided to not pursue a new approach for calculating (2) The two new test functions related to identical subsequences are now passing. Also, as opposed to our first attempt, all other test functions are passing as well. (3) I am refining "var" in (4) I refine The downside of doing the refinement in (5) I did not record the running time of (6) In case that matters, there is this test function below that is not added to This test function fails and, I couldn't resolve it yet. |
seanlaw
left a comment
There was a problem hiding this comment.
@NimaSarajpoor Please consider the following suggestions
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seanlaw
commented
Sep 3, 2022
I think I like where
Right. This is why I would keep the refinement in
Where is the 10% increase coming from? Which line is causing such a huge increase? If there are no identical subsequences, does the time go back to what it was before?
It seems important to resolve :) |
NimaSarajpoor
commented
Sep 5, 2022
@seanlaw |
NimaSarajpoor
commented
Sep 5, 2022
@seanlaw |
seanlaw
commented
Sep 5, 2022
@NimaSarajpoor Let me try to take a look and see what happens when I run your latest commit locally as well. The fact that the same test is failing in three independent environments is concerning. |
@NimaSarajpoor When I cloned your branch and executed the tests suite, I am seeing the same failed tests: This failed 5/5 times in a row with the same error. By any chance, are you forgetting to reinstall the latest version of your local branch? |
I think I am installing it. Please see below: Note that all 27 test are passing. As you can see, I installed it. I am going to push again just in case I missed something before. |
seanlaw
commented
Sep 6, 2022
@NimaSarajpoor I'm not sure why you aren't seeing the failed test. The only thing that I noticed was that, in your case, it says: But, in the Github Actions (as well as my local copy of your branch), I see: We should both have the same set of files |
Thanks for brining that to my attention. I tried to do a Update |
seanlaw
commented
Sep 6, 2022
I don't know if that is the source of the failed test but it is clear that there are differences between what has been pushed and what you have installed locally |
NimaSarajpoor
commented
Sep 6, 2022
Yeah...if I cannot find the file, or the cause of this problem, I may create a new, clean branch and apply the changes there and then submit another PR. If it goes well, then we can close this one. Is that okay? |
In case it matters, to recreate your branch and trigger the failed test, I simply did:
|
seanlaw
commented
Aug 24, 2023
@NimaSarajpoor Can this be closed or is there more work to be done? |
NimaSarajpoor
commented
Aug 24, 2023
This PR was replaced with PR #668 (see #668 (comment)) So, I think we can just close this PR and track the progress in the PR #668 |
This PR resolves issue #610 by adding a new config variable to reset the already-calculated pearson value to
1.0when it exceeds the threshold set by the config variable.