Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rewhile/carrot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carrot hotfix

This is a fork that aims to make carrot actually work. Last confirmed working: 18/03/2025

image

Installation

  • Go to https://github.com/rewhile/carrot/releases/ and download the carrot.zip file

  • Enable Developer mode on chrome://extensions/

  • Drag the zip into chrome://extensions/ and click install

  • Disable the upstream carrot extension if installed to avoid conflicts

carrot.mp4

Frequently asked questions

  • I can't open the zip (Compressed (zipped) Folder Error)

You probably tried to open the zip. Please watch the installation video above and drag it to the chrome://extensions/ tab instead

The zip is not actually a zip file, it was renamed from .crx file extension to bypass an error when you try to manually add extension to chrome. More details here: https://www.reddit.com/r/chrome_extensions/comments/zh4ave/comment/jqghtds/

  • How do I verify that your file is safe?

You can use 7zip > Open Archive > zip to view the content of the extension

image

You're also more than welcome to compile carrot yourself using build.sh

Carrot logo Carrot

Mozilla Add-onsChrome Web Store

A browser extension to enhance Codeforces 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.
It then calculates the rating changes following the algorithm published by Mike Mirzayanov here, slightly modified so that it matches the current CF algorithm. This updated algorithm is adapted from TLE.

Is this better than CF-Predictor?

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), 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.

About

Aims to make carrot actually work

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.7%
  • TypeScript 28.1%
  • Shell 6.7%
  • HTML 5.4%
  • CSS 3.1%