Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meooow25/carrot
A browser extension for Codeforces rating prediction
https://github.com/meooow25/carrot
browser-extension codeforces
Last synced: 8 days ago
JSON representation
A browser extension for Codeforces rating prediction
- Host: GitHub
- URL: https://github.com/meooow25/carrot
- Owner: meooow25
- License: mit
- Created: 2020-04-05T14:10:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-14T14:48:20.000Z (7 months ago)
- Last Synced: 2024-04-15T14:35:57.956Z (7 months ago)
- Topics: browser-extension, codeforces
- Language: JavaScript
- Homepage:
- Size: 1.41 MB
- Stars: 97
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CarrotA 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).