ac-predictor

Predict AtCoder's performance during the contest

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
keymoon
Dziennych instalacji
5
Wszystkich instalacji
17 548
Oceny
16 2 0
Wersja
2.0.12
Utworzono
01-07-2018
Zaktualizowano
09-11-2025
Rozmiar
70,8 KB
Licencja
MIT
Dotyczy

Important Notice

For any issues, please report them as an issue on GitHub.

Regarding External Communication

This script communicates with external servers. The communication is strictly used for the following:

For detailed information about this data and why it must be fetched from external sources, please refer to the documentation. Since we only handle data retrieval, no account information or submission data is transmitted through this communication.

Details Technical details (as of December 2020) are available at The Technology Behind ac-predictor - Qiita. Below is a summary of sections relevant to external communication.

Why the Script Needs to Communicate with External Sites

For performance prediction, we require a value called APerf, which is calculated based on each participant's past performance.
If each user were to retrieve this value individually, it would result in approximately 10,000 requests per user. Considering load issues, we've implemented a system that aggregates these requests and computes APerf in batch, then distributes the results.

About APerf

APerf is a special rate used in performance calculations, derived from a weighted average of past performances. For detailed information, please refer to AtCoder's Rate Calculation Formula - Qiita. (This is the "internal rate" referred to in this article.)

About the Source Code

This script consists of approximately 1,000 lines of code. It was created using a tool to consolidate multiple files that originally existed as separate files. For those wishing to examine the script's source code, we recommend reading the pre-bundled source at this location. You can verify that running pnpm bundle at commit time for version updates produces identical script outputs.

Feature Description

Predictor

Adds a row to the rankings page displaying each participant's performance score and rating.

Estimator

Displays the value needed to achieve a specific rating or the rating you would have achieved with a particular performance score. The functionality can be toggled using the "Swap" button.