return-youtube-dislike icon indicating copy to clipboard operation
return-youtube-dislike copied to clipboard

(Feature Request): Add option to show percentage in place of dislike numbers

Open cyrildtm opened this issue 2 years ago • 5 comments

Extension or Userscript?

Both

Request or suggest a new feature!

This extension works based on a simple assumption that the extension users represent the entire YT audience. Based on this assumption, the linear model extrapolates the numbers and estimates how many people would have disliked.

We can eliminate the assumption by not showing the "exact" dislike numbers, but rather a percentage of extension users who either liked or disliked the video. "Exact" means showing the actual number of people in this context. Its accuracy highly depends on whether the linear model is effective.

It is the user's choice to decide if the percentage is representative. Yes you may just "assume" it's always accurate -- then perhaps you can flip the optional switch back to default to show the estimated numbers.

Also include format: ratio #607

Ways to implement this!

  • add a switch
  • Using RYD server response: percentage = dislike / like

In the future when more detailed data is available from server response, the formula above can be modified. But with the linear predictive model, the percentage should not change by more than quantization error or machine epsilon, whichever is bigger.

Can you work on this?

  • [X] Yes
  • [ ] No

cyrildtm avatar May 10 '22 01:05 cyrildtm

This is a fantastic idea and I though about something similar myself!

One question that comes to mind is, should the number of likes be treated as "correct"? What I mean by that is, before the change (removing the dislike button) a user could do 3 things:

  • press the like button
  • press the dislike button
  • do nothing

In that case wouldn't "doing nothing" (so not clicking the like button) be counted as a dislike (for people that don't have the extension as in that case them clicking the dislike button doesn't mean anything)?


I don't know, honestly this is a hard problem, but my solution would be summing up the amount of likes and dislikes (both saved and from the extension) and calculating the percentage compared to the sum of likes and dislikes:

const likesYT = 100; // (Doesn't contain `likesExt`)
const likesExt = 54;
const dislikesExt = 43;
const dislikesSaved = 10;
// ^ This makes it: 👍🏻 154 / 👎🏻 53 = 74% / 26%

const sum = likesYT + likesExt + dislikesExt + dislikesSaved;

console.log(`${(((likesExt + dislikesExt + dislikesSaved) * 100) / sum).toFixed(1)}% accuracy`);

But in the end this issue requires quite a bit more thought.

ErykDarnowski avatar Nov 15 '22 18:11 ErykDarnowski

Has it been added? I still am unable to find the option. I have this one enabled but it does nothing. I still see the dislikes in numbers instead of percentage.

image

bagajohny avatar Jul 11 '23 02:07 bagajohny

@bagajohny This option (like it's name suggests) only shows the percentages in the tooltip meaning the menu that shows up when you hover your mouse over the like / dislike bar.

ErykDarnowski avatar Jul 11 '23 04:07 ErykDarnowski

@ErykDarnowski I am sorry. I was dumb. I didn't know what tooltip meant. Thanks for the reply.

bagajohny avatar Jul 12 '23 05:07 bagajohny

@bagajohny No worries, happens to all of us :)

ErykDarnowski avatar Jul 12 '23 16:07 ErykDarnowski