Bug 2408 - Calculation errors in speller tests
Summary: Calculation errors in speller tests
Alias: None
Product: Testing
Classification: Unclassified
Component: Speller testing (show other bugs)
Version: unspecified
Hardware: All All
: P4 - Within a month normal
Assignee: Børre Gaup
URL: https://gtsvn.uit.no/langtech/trunk/l...
Depends on:
Reported: 2017-06-30 03:34 CEST by Sjur Nørstebø Moshagen
Modified: 2021-10-28 13:21 CEST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sjur Nørstebø Moshagen 2017-06-30 03:34:06 CEST
See the URL provided. Notice that the total number of bugs in the Suggestion summary field does not sum up to the total number of recognised bugs (9 vs 14).

Also notice how the Average position for the correct suggestions: is 1.07, when it should be more like 1.2. Another user even had a value less than 1! (not possible, since you can't be higher up (ie lower number) than the first position. Could it be that the calculation of the average position includes spelling errors with _no_ correct suggestions? They have the position value '-', which could explain the numbers seen.

The percentages seem right, though.

I used the KAL test results, since it contains so few typos right now, which makes it easy to spot calculation errors.
Comment 1 Sjur Nørstebø Moshagen 2021-10-28 12:31:15 CEST
The "Average position for the correct suggestions" bug was fixed in:


The other bug ("Total number of bugs") is still not fixed.
Comment 2 Sjur Nørstebø Moshagen 2021-10-28 13:21:35 CEST
The "Total number of bugs" bug is fixed in https://github.com/giellalt/giella-core/commit/9ca30d3fb582e6585f13a6ec725bcb903d62cb44