Skip to content

Conversation

narmion
Copy link
Contributor

@narmion narmion commented Aug 9, 2017

Most of the fixes are for ChangeDistiller.
And you really should consider adjusting the default MIN_HEIGHT ;).

narmion added 5 commits August 9, 2017 15:37
The old version always returns the last element instead of null at the
end.
The old version did not compare all possible leaf pairs.
As the similarity between two entries is not unique it is possible
that across different runs of gumtree on the same changed file the order
in ambiguousList changes. This can cause a change in the mapping. The added ID
criteria enforces an absolute order. Of course other absolute orders
would also be valid.
In the publication, leaves have height 1, in the source code they have height 0.
MIN_HEIGHT=1 also leads to better results than MIN_HEIGHT=2.
@coveralls
Copy link

Coverage Status

Coverage increased (+1.0%) to 55.471% when pulling ef4df73 on FAU-Inf2:bugfixes into f532a86 on GumTreeDiff:develop.

@jrfaller jrfaller merged commit 9b4f7a3 into GumTreeDiff:develop Oct 4, 2017
@jrfaller
Copy link
Member

jrfaller commented Oct 4, 2017

Hi! Thanks for the bug fixes 👍

@narmion narmion deleted the bugfixes branch February 14, 2018 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants