There, it is calculated for a huge number of participants, but we are not just doing this for nothing. Let's recalculate it correctly. We need to think about it.
Added 10 minutes later
Another function, although I can't write it as a formula.
X - the number in the table, in order, according to the results, of course.
Y - will be the rating.
Y(x) = Y(x-1) - Y(x-1) * 10% - I think something like this.
A non-linear function, and it also takes into account the number of participants.