Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Misfit relevance calculation is wrong #38
When trying to fit a HtmlPage or HtmlElement into a gauge, many so-called misfits will be reported during the process.
For example with the following HtmlElement
And the gauge
The Gauge will first try to match
In case no matching element is found, the Gauge will fail and report the most relevant misfits. To do so, a misfit relevance is attached to every misfit. The misfit relevance should increase the further down we go into the gauge definition.
Recent tests showed that it increases when the element is nested deeper, but doesn't if it is further down. Assume the following gauge definition
If a misfit is reported when trying to fit