Bug 513139

Summary: Average rating is incorrect
Product: [Applications] Discover Reporter: Thomas Bertels <tbertels>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, nate
Priority: HI    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Quick PDF Join
Sejda PDF Desktop

Description Thomas Bertels 2025-12-09 20:45:58 UTC
Created attachment 187469 [details]
Quick PDF Join

SUMMARY
The average rating seems to be computed incorrectly.

OBSERVED RESULT
Quick PDF Join: 4 ratings of 5 stars each -> average of 4.0
Sejda PDF Desktop: 4 ratings of between 1 and 3 stars -> average of 3.9

EXPECTED RESULT
Quick PDF Join: average of 5.0
Sejda PDF Desktop: average of 3.0 or less

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Comment 1 Thomas Bertels 2025-12-09 20:46:22 UTC
Created attachment 187470 [details]
Sejda PDF Desktop
Comment 2 Nate Graham 2025-12-10 16:39:36 UTC
Can reproduce.
Comment 3 Nate Graham 2025-12-18 22:52:38 UTC
The issue here is that the bars for each star rating aren't reflective of all the reviews, only some of them. Need to look into why we don't get all of them.