Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meooow25/carrot

A browser extension for Codeforces rating prediction
https://github.com/meooow25/carrot

browser-extension codeforces

Last synced: 3 days ago
JSON representation

A browser extension for Codeforces rating prediction

Awesome Lists containing this project

README

        



Carrot logo

Carrot

Mozilla Add-onsChrome Web Store

A browser extension to enhance [Codeforces](https://codeforces.com) ranklists

**For an active contest**
Carrot calculates rating changes according the current standings when you open the ranklist, and displays them in a new column. Carrot also adds a column showing the delta required to rank up. The delta calculation is done in real time.

**For a finished contest**
Carrot displays the final deltas of each contestant in a new column and shows their rank change, if any, in an adjacent column.

For both active and finished contests, Carrot displays a column for performance, the rating at which the delta would be zero.

## FAQ

#### How does it work?
Carrot runs in the browser and fetches all the data it needs from the [Codeforces API](https://codeforces.com/apiHelp).
It then calculates the rating changes following the algorithm published by Mike Mirzayanov [here](https://codeforces.com/blog/entry/20762), slightly modified so that it matches the current CF algorithm. This updated algorithm is adapted from [TLE](https://github.com/cheran-senthil/TLE/blob/master/tle/util/ranklist/rating_calculator.py).

#### Is this better than [CF-Predictor](https://codeforces.com/blog/entry/50411)?
Not necessarily. The CF-Predictor extension communicates with a server, while Carrot fetches data and performs all calculations in the browser. So the network usage is significantly lower for CF-Predictor. However, Carrot is ~~100% accurate~~ (see [#18](https://github.com/meooow25/carrot/pull/18)), it works in real time, and it shows performance values.

#### How is Carrot fast enough to calculate rating changes of every contestant in real time?
FFT. The answer is always FFT.

#### I found a bug or would like to request a feature.
Reports are welcome, please [open an issue](https://github.com/meooow25/carrot/issues).