-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stats return all zeroes when there is a change in arrays #10
Comments
Please note that |
/ping @b5 |
Hi @christian-roggia, apologies for the delay, we're going to be focusing on fixing this as soon as possible and hope to have it figured out by the end of the week. |
Any update on this issue? |
@christian-roggia Sorry for dropping off. After looking into this, there's some problems in deepdiff where some results are returned non-deterministically, and some where clearly wrong results are returned for maps (like your example). There's also a general lack of understanding around the codebase. We're going to need to rewrite the core algorithm in order to fix both of these problems, so it's going to take some more time. However, it is something we want to fix soon, since it's causing user-facing bugs in https://github.com/qri-io/qri. Perhaps there'll be better news in a few more weeks, but I understand if you need to switch to a different library. |
@dustmop thank you very much for sharing the current status quo of this library. We will momentarily switch to another one until the refactor is complete. |
@christian-roggia would you mind sharing the alternative library you've elected for you project. I'm looking for a similar alternative. I would enjoy to hear news from you too @dustmop Also looking forward to help you with this rewrite once I'm able find a little more time with my side projects. |
@malikbenkirane we switched back to https://github.com/yudai/gojsondiff as in general we are performing relatively small diffs. |
The following test code does throws an error as the diff fails to pick up the changes from file A to file B:
testdata/regression-00-a.json
:testdata/regression-00-b.json
:The text was updated successfully, but these errors were encountered: