![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,863
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question about ratings
Ratings are on a 1-5 scale, with zero being a null. However, while messing around with search and replace, I found the numbers appear doubled:
So I went and looked at the books_ratings_link table in metadata.db and it was in 1-5 range. Why does it display doubled in some places? I also noticed it in the Audit Log plugin. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,279
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They are stored internally as 0-10 not 1-5
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,863
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
interesting because this is what the rating table looks like to me (0s were not present):
Is there any purpose for it being a 0-10? I know that requests for a 10-point rating column with half-stars were turned down a few times. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,394
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,863
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Now I am curious what would happen if something forced it to use an odd number.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,394
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,863
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I would expect either an error when trying to calculate what to display, or it to round it to an even number (whether up or down I am not sure).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Download number of ratings and exact ratings from amazon (partly solved) | Bücherwurm1 | Library Management | 0 | 08-01-2014 04:23 AM |
Ratings question | Hattie | Library Management | 1 | 03-29-2013 09:30 PM |
What do you think about ratings? | pigeonweather | Writers' Corner | 1 | 10-02-2010 04:23 AM |
Ratings gone | pda_junkie | Calibre | 8 | 09-26-2010 10:13 AM |
Too Many Ratings | DoctorOhh | Calibre | 4 | 06-19-2010 03:27 AM |