From 1747a7b568523998c885c730d518a1c4f3a71a19 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Tue, 7 Jun 2022 22:46:26 +0530 Subject: [PATCH 1/3] Add formula used for dislike calculation Added Q: How is the dislike count calculated? --- Docs/FAQ.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 02336f4..b8d6d8b 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -1,11 +1,13 @@ # Frequently Asked Questions ## Before asking a question on GitHub or Discord, please refer to this. + ### **1. Where does this extension get the data?** A Combination of Google APIs and scraped data. We save all available data to our DB for it to be available after Google shuts down dislike counts in their API. + ### **2. Video dislike count doesn't update** Right now video dislikes are cached, and aren't updated very frequenly. Once every 2-3 days, not more often. @@ -17,5 +19,23 @@ The extension collects the video id of the video you are watching, fetches the d ### **4. What will happen after the YouTube API stops returning the dislike count?** The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives. +### **5. How is the dislike count calculated?** + +RYD uses the votes from it's users to extrapolate the dislike count. + +- If the video was uploaded after the API was shut down: + + $$ RYD \ \ Dislike \ \ Count = ( { RYD \ \ Users \ \ Like \ \ Count \over RYD \ \ Users \ \ Dislike \ \ Count} ) * Public \ \ Like \ \ Count $$ + +- If the RYD database somehow had the actual like and dislike count (provided by the uploader or from the archive), the dislike count will be calculated based on both - the users' votes and the archived value. The archived value will have less influence on the final count as it ages. + +--- + +This in video form + +[![IReturn YouTube Dislike Explained](https://yt-embed.herokuapp.com/embed?v=GSmmtv-0yYQ)](https://www.youtube.com/watch?v=GSmmtv-0yYQ) + +--- + ## I have security / privacy concerns See [this page](SECURITY-FAQ.md) for more info. From ca751cde9159f576016f98ae45fdc82613f73b1d Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Wed, 8 Jun 2022 17:00:13 +0530 Subject: [PATCH 2/3] Fixed tex --- Docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index b8d6d8b..b8b41b4 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -25,7 +25,7 @@ RYD uses the votes from it's users to extrapolate the dislike count. - If the video was uploaded after the API was shut down: - $$ RYD \ \ Dislike \ \ Count = ( { RYD \ \ Users \ \ Like \ \ Count \over RYD \ \ Users \ \ Dislike \ \ Count} ) * Public \ \ Like \ \ Count $$ + $$ \textup{RYD Dislike Count} = \left( \frac{\textup{RYD Users Like Count}}{\textup{RYD Users Dislike Count}} \right) \times \textup{Public Like Count} $$ - If the RYD database somehow had the actual like and dislike count (provided by the uploader or from the archive), the dislike count will be calculated based on both - the users' votes and the archived value. The archived value will have less influence on the final count as it ages. From abbc09ce1bade2e58882ae5fb1d3fe3a65b33fe9 Mon Sep 17 00:00:00 2001 From: sy-b <94835959+sy-b@users.noreply.github.com> Date: Wed, 8 Jun 2022 17:01:51 +0530 Subject: [PATCH 3/3] Spacing improved --- Docs/FAQ.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index b8b41b4..4a47957 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -1,24 +1,32 @@ # Frequently Asked Questions ## Before asking a question on GitHub or Discord, please refer to this. +
### **1. Where does this extension get the data?** A Combination of Google APIs and scraped data. We save all available data to our DB for it to be available after Google shuts down dislike counts in their API. +
### **2. Video dislike count doesn't update** Right now video dislikes are cached, and aren't updated very frequenly. Once every 2-3 days, not more often. Yeah, it's not ideal, but it is what it is. Working on improving how often we can update them. +
+ ### **3. How does this work?** The extension collects the video id of the video you are watching, fetches the dislike (and other fields like views, likes etc) using our API, if this is the first time the video was fetched by our API, it will use the YouTube API to get the data, then stores the data in a database for caching (cached for around 2-3 days) and archiving purposes and returns it to you. The extension then displays the dislikes to you. +
+ ### **4. What will happen after the YouTube API stops returning the dislike count?** The backend will switch to using a combination of archived dislike stats, estimates extrapolated from extension user data and estimates based on view/like ratios for videos whose dislikes weren't archived and for outdated dislike archives. +
+ ### **5. How is the dislike count calculated?** RYD uses the votes from it's users to extrapolate the dislike count. @@ -29,6 +37,8 @@ RYD uses the votes from it's users to extrapolate the dislike count. - If the RYD database somehow had the actual like and dislike count (provided by the uploader or from the archive), the dislike count will be calculated based on both - the users' votes and the archived value. The archived value will have less influence on the final count as it ages. +
+ --- This in video form @@ -37,5 +47,7 @@ This in video form --- +
+ ## I have security / privacy concerns See [this page](SECURITY-FAQ.md) for more info.