Bug 404139 - After taking a rhythm test, correctly answered percentage is incorrect.
Summary: After taking a rhythm test, correctly answered percentage is incorrect.
Status: RESOLVED FIXED
Alias: None
Product: minuet
Classification: Applications
Component: user-interface (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Tammes Burghard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-09 17:01 UTC by Dani Pozo
Modified: 2023-11-14 21:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A screenshot of a 280 % percentage of correctly answered questions. (26.46 KB, image/png)
2019-02-09 17:01 UTC, Dani Pozo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Pozo 2019-02-09 17:01:12 UTC
Created attachment 117950 [details]
A screenshot of a 280 % percentage of correctly answered questions.

SUMMARY
After taking a rhythm test, the percentage of correctly answered questions reported is clearly incorrect, sometimes taking values over 100 %. My guess is that it corresponds to percentage of notes correctly positioned in answers over 100.

STEPS TO REPRODUCE
1. Take a rhythm test, taking note of correctly answered questions.
2. Observe the correctly answered questions percentage reported by the application.

OBSERVED RESULT

The percentage observed will be most likely incorrect if this bug is reproducible.
EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dani Pozo 2019-02-09 17:03:41 UTC
I can't report accurately the version of the software I am using:

- my package manager reports 18.12.1-1, which I guess refers to the KDE Applications version.
- minuet --version doesn't report a version number.
Comment 2 Tammes Burghard 2023-11-02 22:09:46 UTC
I was able to reproduce this and will see if I can fix it.
It seems like it is counting the number of correctly clicked elements and assumes a total of ten such elements while there are in fact 40.
Comment 3 Tammes Burghard 2023-11-02 23:13:57 UTC
https://invent.kde.org/education/minuet/-/merge_requests/29
This should fix it
Comment 4 Albert Astals Cid 2023-11-14 21:40:36 UTC
Git commit f810c10cf67fb9775e8b02bbc775fefaa2f9ed82 by Albert Astals Cid, on behalf of Tammes Burghard.
Committed on 14/11/2023 at 22:40.
Pushed by aacid into branch 'master'.

fix percentage display in rythm tests

M  +1    -1    src/app/qml/ExerciseView.qml

https://invent.kde.org/education/minuet/-/commit/f810c10cf67fb9775e8b02bbc775fefaa2f9ed82