Skip to content

Landmark bugs - #1745

Merged
karussell merged 7 commits into
masterfrom
landmark_bugs
Oct 8, 2019
Merged

karussell merged 7 commits into
masterfrom
landmark_bugs

Conversation

@michaz

@michaz michaz commented Oct 7, 2019

Copy link
Copy Markdown
Member

Minimal fix for the two failing tests in #1687.

The first was already discussed (missing setter for the 'fallback' approximator).

The second one was due to an incorrect treatment of "minned out" "delta" weights. See comment in code.

@michaz

michaz commented Oct 7, 2019 •

Copy link
Copy Markdown
Member Author

I understand you are already investigating creating an extra factor for the delta weights, doing performance tests etc., but IMO step one is maintaining correctness, in this case doing the right thing when a delta weight is minned out. Then, step two is seeing how we can make sure this happens less often (if necessary).

I also removed the setMaxWeight from the test. PrepareLandmarks guesses this value by itself, and this must always work, i.e. it must guess in the right direction.

@michaz
michaz requested review from easbar and karussell October 7, 2019 06:09
@michaz

michaz commented Oct 7, 2019 •

Copy link
Copy Markdown
Member Author

I think (?) one issue here was the test -- there even was a "setGet"-test, but it was rather technical and white-box -- it was basically testing that the bits would be twiddled in the same way the code says they would be twiddled. :-) But the important property -- that the remaining weight must never be over-estimated -- was not tested.

@karussell karussell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@karussell
karussell merged commit e1d5452 into master Oct 8, 2019
@karussell karussell added this to the 1.0 milestone Oct 8, 2019
@karussell karussell added the bug label Oct 8, 2019
@easbar easbar mentioned this pull request Oct 9, 2019
2 tasks
@michaz
michaz deleted the landmark_bugs branch April 22, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants