📜 ⬆️ ⬇️

A new algorithm for calculating the rating of "Kinopoisk" prefers movies with a paid view. Mini investigation



Late update to the post: 2 months after the post was released, the formula for calculating the rating was amended, which is described in this post on the project blog. They bring the ratings of "Kinopoisk" to those that were before (although this is not a full rollback). The author of this post does not have an unequivocal opinion on whether everything is as it should now, only cautious optimism.

The events around the Kinopoisk reboot seem to be noisy, the users who have left are spending time on the previous site, the developers with parsers make insidious plans, the management has made personnel decisions of ambiguous focus, and everything else has returned to normal. But not all.
')
Rollback to the previous version of the site has not touched movie ratings. And although on the Top 250 we can see a familiar familiarity with many things with “Escape from the Shawshank” and “The Green Mile” as leaders, on the pages of the films themselves, in the Google issue and other places, the rating is displayed - the one that went to the basis of Topa-250 beta (I have it open intermittently, which was observed immediately after the restart).

And after a week nothing has changed, as if hinting to us that the new rating will remain for a long time, if not forever. I don’t exclude that the old top will be updated soon, maybe it keeps only because the rating calculation algorithm differs from the algorithm on the film pages (“in the top, special mechanisms are used that prevent unscrupulous users from cheating the rating”), and this algorithm corrects not a new one, but an old rating (mostly within a couple of hundredths).

General view


Well, let's look at the new rating . If you do not open it, you can use the version I saved . It is a week (I wanted to do this work a long time and started at the beginning of last week, but I managed to finish it only recently, then wrote another post) , but the ratings have changed only slightly (no more than a few thousandths, if we compare the detailed versions) stamp, with one important exception - see below).

What I have to say right away - in all the time, I have not seen a relatively new algorithm for comments by service representatives. According to the redesign, any meaningful comments slipped through, but the circumstances of entering the new rating calculation algorithm are shrouded in deaf fog. The only comment we have is criticism of the founder of Kinopoisk, Vitaly Tatsiya , who expressed concern that “they [the new Kinopoisk team will kill] the only decent rating of films in runet ... and whether all their users will be sent to imdb.

The fact that everyone noticed was a sharp drop by 35 positions of the two leaders mentioned above and the rise of Interstellar from 12th position to 2nd, as well as a scandalous 8.2 points instead of 4.8 in the trash film Green Elephant (and after the flash mob, users who saw this and decided to make it absurd were already 9.1). These changes may seem strange to someone, but they themselves are difficult to evaluate (with the exception, perhaps, of “Elephant”, which I, however, did not watch). Yes, the old rating on these points was closer to the IMDb rating (where Escape from the Shoushenk is also in the first place, and Interstellar on the 29th), but this is still not an argument.

A closer look reveals other strange and controversial things. To begin with - all the films with the number of votes less than 70 thousand were removed from the beta beta (the limit was established by practical consideration). This is not such a trifle: in connection with this decision, 21 films fly out of the top 100, 152nd place moves to the 100th, and 489th to the 224th (the full version of the new top without these exemptions, see this list on the old “Kinopoisk”, sorted by rating ). 70 thousand votes is more than a serious border; it has not yet been overcome, including the acclaimed "Leviathan" or launched in two weeks ago in the Russian box office and a month and a half ago in the world "Martian" . At the same time, in the old top the border was 500, and I did not hear any special complaints about it in this regard.


The arrows connect positions in the same top with a threshold of 70 thousand votes and without

Such a decision could be made from commercial considerations: less popular films are less likely to be available for online viewing at Yandex partners. And indeed: films with fewer than 70 thousand votes in the first hundred top beta versions are usually made far in the past century and are either available for free from Yandex partners or not available; There is no paid one. (To verify this, you can use the regular expression ^[^\t]+\t((\d\d?|100)\t|[^\t]+\t(\d\d?|100)\t).+$ on this table , which is described below under the spoiler. Movies outside the top are those with a dash in the second and third columns.)

Let us turn to the ratings themselves. Since the top beta version displays ratings up to a tenth instead of a thousandth, instead it’s better to work with the mentioned list on the old Kinopoisk .

Films from the 1st to the 42nd position cover the range from 9.465 to 9,000 points, moreover, in three films the rating is exactly 9,000, and the next one has a rating of 8,299 . Then follow immediately 55 films in the range from 8,271 to 8,200.



Wow a failure of 0.7 points! In turn, “nine exactly” - these are clearly traces of some kind of either external intervention, or incomprehensible rounding; the rest gives just some fancy ratio of factors in the formula, generating an uneven distribution.

And now pay attention that these are three films with 9,000: these are the very fallen “Shawshank Escape” and “The Green Mile”, and with them for the company and exchanging 5th place for the 38th “1 + 1” . Ahead of everything that will be said later, you can immediately draw attention to the fact that “Escape from the Shoushenk” and “1 + 1” are films available for free viewing at Yandex partners.

Further more. During the few days that I worked with the top, I fell to witness the miraculous metamorphosis with the rating of another film - "Chorus." He fell from 8.745 (the same “blind zone” for other films) to 8.260 in a couple of days. I even managed to capture this incredible “journey” on webcitation.org with the help of the Bing cache: here the movie has a rating of 8.745 , here it is 8.515 , and at the moment it has 8.260 . I feel like a paranormal hunter. No other movies have a rating even at close speed. This film is not available from partners of "Yandex" neither for free nor for a fee.


Another strange detail - the new ratings change in a strange relationship with the change of the old. Top for October 15 and yesterday , the films "Leon" and "Interstellar"

Preparation for calculations


I must say that at first I took the new rating as technical problems of the new Kinopoisk team, without seriously considering the version about its deliberate distortion. This is simply not the style of "Yandex" - a company that generally keeps its reputation; such manipulations for it must be the strictest taboos. But after the first alarm bells, suspicions began to creep in. And then I decided to sort things out.

And if we have two tops - new and old - and even both ratings for each film, as well as data on the availability of these films for paid / free viewing from Yandex partners, the solution suggests a simple one: to compare the positions of all films in one top and in another, and before the heap - and their ratings, calculate the arithmetic average of paid, free and all other films and compare. Of course, this method does not pretend to the accuracy of the findings, but it is capable of a general impression.

Methodological details, process and table with summary data
Despite the seeming ease of the task, several difficulties arose in the process, firstly, in order to withstand the relative methodological correctness, and secondly, to the volume of copy-text, text processing and rechecking, which increased many times in this connection. From these considerations, it was decided to be limited to the first 100 positions. Moreover, taking into account all 250, there would be difficulties with the fact that a film from one top is not present at all in another, and it is not clear how to take into account such cases.

Methodological difficulties begin with the fact that comparing two stamps, in one of which (old) there are all films, and in the other (new) a threshold for entering 70 thousand votes is set for them, it is not quite correct. That is, it is possible to compare with the goal of finding out how much the films with paid viewing have advanced in the new top, and the result will obviously be “well advanced” in the light of the above circumstances. Nevertheless, here human intervention can still find some profound explanation (well, or not to find, but simply state the obvious - “Yes, in this way they push partner films to the top”). I am more interested in the technical side, the rating itself - what will change (or has already changed, if the current state of affairs is supposed to be fixed) with its introduction.

As a result, I did this. I took the top of the old version and in the same way cut out films with the number of votes less than 70 thousand. Then I calculated the new positions (the 100th became the 82nd and the 144th became the 100th). And then I worked with two versions of the old top (below they are combined into one table).

Then, first, I went through the positions of the films in the top beta version and found the corresponding positions in the two tops of the old version. Then I did the same thing the other way around and added the missing films (if the film from the old top was not at all in the new one due to the lack of votes, I opened the film page and looked to see if there was a possibility to watch the film). In the cumulative list were films that are present in at least one of the top 100. The second step (“vice versa”) is needed in order to avoid a bias towards the first top: if it takes the starting point, then the average position in it will be significantly lower than in the second, and what other anomalies can it have with it? bring

The results, I must say, were not long in coming - 4 paid films and not a free one got into the new top 100 of the second hundred, even the adapted old one, and 4 free ones and 1 paid left. But let's not get ahead of events.

According to the results, the following tablet came out (the full version ; as I said, over the past time, the ratings have changed slightly, except for “The Chorus”, about the anomaly with which read above):

 1 1 36    9.202 9.000  2 2 37   9.154 9.000 3 3 1   9.008 9.465 4 4 3   8.895 9.405 5 5 38 1+1 8.880 9.000  6 6 4   8.775 9.397 7 7 5  8.773 9.358  8 8 14  8.772 9.272 9 9 6   8.710 9.336 10 10 12   8.700 9.294  11 11 8     8.694 9.324  12 12 2  8.667 9.409 13 13 11    8.657 9.295  14 14 10   8.650 9.299 15 15 22  8.632 9.190  ... 128 94 103    8.197 8.156  130 95 101  №17 8.194 8.158  133 96 79   8.192 8.197  141 97 135   8.180 8.128  142 98 96  8.180 8.168  143 99 106   8.179 8.149 144 100 91  8.178 8.174 161 109 99  ! 8.163 8.161  164 110 85   8.161 8.182  170 113 73  8.151 8.207 177 117 94   8.140 8.171 187 122 97     8.129 8.167 210 130 100     8.097 8.161  296 155 92  :   8.053 8.171  362 164 98    8.025 8.165 

The first column is the position in the old top, the second is the position in it, if you exclude from it films with the number of votes less than 70 thousand, the third is the position in the new top on the beta version of the site. First comes the old rating, then the new one. The last letter or its absence is the availability of paid (“p”) and free (“b”) viewing at Yandex partners.

(Since the ratings were written a little later than the positions, the 39th position in the new top of the "Diamond Hand" does not match its rating between the 47th and 48th positions. And judging by the fact that the 39th place should have a rating between 8,299 and 9,000, she experienced just that anomaly, which I described above in the case of "Chorus", which before my eyes fell from 43rd position to 49th. I feel even more like a character in the X-Files series. there is still a film "Paranormal Activity" about it - you have to look Wow, you can. online 99 ₽ the new "kinopoisk" Wait 7.0 points.! e, as it grew by half a point ?)


Simple arithmetic


Get down to business. In this place it is worthwhile to stipulate that what I have done can be repeated by everyone. Those interested can do it not for 100, but for all 250 films (if they can overcome the above difficulties). At the bottom of the post I gave regular expressions that allow you to select from the table above under the spoiler, in case you want to work with it.

Positions


1. First, let's see how the positions between the two tops have changed as is, i.e. without agreeing on the criteria for inclusion in the top (cutting out films from an old top with less than 70 thousand votes and subsequent position adjustments, see above under the spoiler).

All calculations in expanded form are shown here . (It would probably be more convenient to turn all this into a spreadsheet, but it was too lazy to remember them; regulars + multiple cursors + copy-to-calculator are also nothing.)


And the most important thing:


2. Now let's see what is the participation of the rating itself, and not the rating + criteria for inclusion in the top. Compare the position between the new top and the old one adapted for the harmonization of criteria .

Calculations - here .


Total:


Ratings


3. Since all films have ratings regardless of the number of votes, we can compare movie ratings in the aggregate sample of both top 100 directly. The number of films in the sample increases. Compare the new top with unadapted old .

Calculations .


Total:

* - The dramatic change in the rating of “Choristov”, described above, will increase these values ​​by several thousandths.

Nine hundredth is not so little as it may seem. If the average rating on the old “Kinopoisk” is 7.2, and the maximum is 9.2, and if you consider all movies from 7 and above to have to watch, this is not less than 4% of the “watchable zone” range.

4. Finally, take a sample from the second comparison and apply it to the ratings. We compare the ratings between the new top and the old one adapted for the harmonization of criteria .

Calculations .


Total:

(There are no “choristers” in this sample.)

All calculations have been re-checked.

findings


Reasonable doubt


In principle, one paid film, which went 150 positions up, would give the result shown in the second comparison, and this could be considered an accident. But there are no such huge differences in positions between the two tops. The maximum difference in paid films is 63 positions, won back by “Mad Max: Dear Rage”, and the rise of Mad Max is compensated, for example, by the fall of “White Captivity” by 38 positions.

Also, probably, it would be possible to calculate how much such a deviation is likely if the calculation formula would give the films random positions within certain limits. Due to my lack of great knowledge in statistics, I leave it to those who have it. But I have big doubts that such a probability is somehow great. (Coarsely, one can be convinced of the uniformity of deviation by counting indicators separately for the top 50 and films from 51 to 100 positions according to the same principles; what I did is that the conclusions remain (growth 4.44 and 8.19 for paid ones in the second sample; the second value is greater, obviously, because the jumps on the top are stronger).)

In itself, raising the ratings of paid films and sagging free ones does not mean intent - there may be unobvious factors that by pure coincidence increase the value of some variables and lower the others. Relatively speaking, it is possible to imagine that for old Soviet films, which most often have the possibility of free viewing, there are some peculiarities of putting users in their ratings, which, from the point of view of the new algorithm, play down the rating of these films. On the other hand, the mere fact that these coincidences mysteriously play into the hands of the commercial interests of the company (and not, for example, against its interests) in any case cannot be ignored by the public.

What else? Since correlation does not mean a causal relationship, the inverse relationship hypothesis comes to mind.
An example of how it works
It was this assumption that was a plausible explanation of the phenomenon noted in a popular post 3 years ago, where a supposedly minimal correlation between signs of the zodiac and character traits was revealed. People interested in astrology, were tested to determine the psychological type. The proposed explanation was that their ideas about their zodiac sign reflected on how they answered the test questions, hence the correlation.
Could it have been so that the new top was given to the partners of Yandex, and they drove their assortment under it?

Cynical version



Kinopoisk visitors, movie lovers, know what these guys are.

There is a more trivial explanation. It sounds like this:

The effective managers of Yandex are very effective and very strong in metrics, analysis and calculations.They were so tempted to optimize everything around that they not only nibbled the site’s functionality, having excluded everything that does not bring direct income , but even the opportunity to push the rating of paid films up to the tenth point did not miss. At the same time, it is reasonable to reason that if we correct the rating, it is unnoticeable, so as not to provoke mass discontent, be it clumsy. In fact - will anyone really sit with a calculator and calculate the difference in positions and rating for each film ?? OH SH ...

And so 9 positions in the top 100 or one-tenth rating points - it would seem nonsense - are converted into quite tangible thousands and millions of wood.

Total


From myself I’ll say that I was not convinced by the version for reasonable doubt, and I tend to the second, although I can only guess what logic the decision-makers had. However, in the light of the recent insider, I can almost imagine it.

Yes, and I can hardly imagine why, in principle , a rating “adjustment” may be necessary. I would like to ask: “What are you going to adjust? An objective opinion of tens and hundreds of thousands? " (And yet - and this already repeats the" big "story with the restarting of" Film Search "- " Why don't you need to give any comments on this? " But God bless him ...) What was not so with the old one?

Clearing up? But in the old top it has already been applied, and cope with the wrap can be a more direct way - removing fictitious ratings along with the users who put them. Yes, and I doubt that someone might need to wind the "Escape from the Shawshank."

Nevertheless, all this in any case will only suspicion. Therefore, it would be interesting to listen to the position of Yandex itself. I do not exclude that there is some more trivial explanation that escaped my attention.

Anyway, this whole undertaking with a new rating doesn’t cause anything but bewilderment, both for me and for everyone else whose opinion I had to face, whether on objective grounds or on the basis of purely subjective feelings. Therefore, as well as the results of the foregoingI urge Yandex to abandon the new algorithm in order not to undermine the credibility of the unique rating of films, TV series, etc. in Runet. - a worthy alternative to the IMDb rating, as well as to the Kinopoisk and Yandex.

In order not to end on a bad note, I will say that in the process of working with the top of the new site, I was able to evaluate, in my opinion, the function of short tags, which is far better than the notation , unjustly ridiculed in the memorable post andorro “What's wrong with the launch of“ Kinopoisk ” the genre makes it clear what this or that film is about, as well as the title pictures of films instead of advertising posters.

Appendage


Saved by me in the web archive:

(I, in my opinion, took data from slightly earlier versions.)

Regulars for choosing from the table by the link above all films:

Source: https://habr.com/ru/post/368759/


All Articles