<h1>
<sub>
<img src="https://raw.githubusercontent.com/meooow25/carrot/master/carrot/icons/icon.svg" alt="Carrot logo" height="38">
</sub>
Carrot
</h1>
<a href="https://addons.mozilla.org/en-US/firefox/addon/carrot/"><img src="https://i.imgur.com/WJ9Fhop.png" alt="Mozilla Add-ons" height="48"></a> <a href="https://chrome.google.com/webstore/detail/carrot/gakohpplicjdhhfllilcjpfildodfnnn"><img src="https://i.imgur.com/iswHnpJ.png" alt="Chrome Web Store" height="48"></a>
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).
没有合适的资源?快使用搜索试试~ 我知道了~
carrot:用于 Codeforces 评级预测的浏览器扩展
共53个文件
js:19个
json:13个
ts:9个
5星 · 超过95%的资源 需积分: 48 15 下载量 184 浏览量
2021-05-29
21:41:47
上传
评论 1
收藏 1.23MB ZIP 举报
温馨提示
萝卜 用于增强排名的浏览器扩展 进行积极的比赛Carrot 会在您打开排名列表时根据当前排名计算等级变化,并将其显示在新列中。 Carrot 还添加了一列显示排名所需的增量。 增量计算是实时完成的。 对于完成的比赛Carrot 在新列中显示每个参赛者的最终 delta,并在相邻列中显示他们的排名变化(如果有)。 对于正在进行的和已完成的比赛,Carrot 都会显示一列表现,即 delta 为零的评分。 常问问题 它是如何工作的? Carrot 在浏览器中运行并从获取它需要的所有数据。 然后它按照 Mike Mirzayanov发布的算法计算评级变化,稍作修改以匹配当前的 CF 算法。 这个更新的算法改编自 。 这比好吗? 不必要。 CF-Predictor 扩展与服务器通信,而 Carrot 获取数据并在浏览器中执行所有计算。 因此,CF-Predictor 的网络使用率要低得多
资源推荐
资源详情
资源评论
收起资源包目录
carrot-master.zip (53个子文件)
carrot-master
.gitignore 44B
carrot
icons
icon.svg 2KB
src
options
options.css 246B
options.js 1008B
options.html 1KB
popup
popup.html 2KB
popup.js 2KB
popup.css 2KB
util
settings.js 1KB
conv.js 3KB
binsearch.js 482B
version-compare.js 385B
lock.js 658B
user-prefs.js 1KB
storage-wrapper.js 540B
background
cf-api.js 1KB
predict-response.js 2KB
predict.js 6KB
rank.js 1KB
cache
ratings.js 2KB
top-level-cache.js 748B
contests-complete.js 3KB
contests.js 1KB
background.html 143B
background.js 6KB
content
content.css 42B
content.js 11KB
tests
compare.ts 3KB
data
round-1349-641-div1-perfs.json 23KB
round-1305-ozon-2020-div1+2-data.json 213KB
round-1350-641-div2-data.json 343KB
round-1342-edu-86-perfs.json 285KB
round-1349-641-div1-data.json 35KB
round-1352-640-div4-perfs.json 267KB
round-1350-641-div2-perfs.json 228KB
round-1326-global-7-perfs.json 201KB
round-1326-global-7-data.json 308KB
round-1352-640-div4-data.json 395KB
round-1342-edu-86-data.json 415KB
round-1305-ozon-2020-div1+2-perfs.json 139KB
perfs.ts 4KB
test-perf.ts 2KB
perf-worker.ts 938B
perf-util.ts 1KB
test-predict.ts 744B
rounds.ts 2KB
test-conv.ts 1KB
asserts.ts 4KB
manifest.json 895B
LICENSE 1KB
.github
workflows
deno.yml 332B
README.md 2KB
build.sh 5KB
共 53 条
- 1
资源评论
- weixin_588362142021-08-13用户下载后在一定时间内未进行评价,系统默认好评。
火影耀阳
- 粉丝: 0
- 资源: 4560
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功