Git Product home page Git Product logo

carrot's People

Contributors

meooow25 avatar nullchilly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

carrot's Issues

Read this if you're having font issues

Carrot uses some arrows from the Miscellaneous Symbols and Arrows Unicode block.
These are currently ⮭, ⭜ and ⭝.
If you do not see three arrows above, your browser could not display them properly.

Windows users should already have the font Segoe UI Symbol, which can display these characters. On other platforms, if the arrows are not shown properly consider installing a font which can display them. I'm told a font called Symbola works, it's free for personal, non-commercial use, available here.

Can't turn the options on again

I turned off all the options during a contest and now I can't turn them on again, since they don't appear. I tried removing and installing the extension again but it didn't work.
image

User performance in the rating graph

I know that the extension has not been updated for a long time, but still.
I think it's a good idea to add the user's performance to each round in the rating graph

Consider using user.info to get ratings

Codeforces has added an includeRetired param to user.ratedList (quite some time ago) with an undocumented default of true. This means that any user who hasn't been online in the last month but participates in a contest after Carrot has cached ratings (which within 1hr of a contest start by default) will appear to Carrot as a new user.

It's understandable that they might want to add a filter since the number of users on CF has grown rapidly and every request would a huge amount of data if all users were returned. I wish they wouldn't change things silently without any announcement or changelog, but that's a different matter.

I do not want to set includeRetired to true in Carrot because, as mentioned, it would be a huge amount of data. But keeping it false means worse predictions (perfect prediction is impossible due to fake ratings anyway).

An endpoint that can used instead of user.ratedList is user.info. It can be argued to be more suitable for this use case than user.ratedList. When this extension was written, however, it was unusable. But CF has added support for POST requests so it is usable now. This would mean more number of requests as opposed to one large request upfront. But it would only be the user info of the participants, so amount of data should be smaller.

Performance ratings for unofficial contestants

Hello! Extremely helpful extension. You have my utmost appreciation for it.

Currently, the extension shows performance ratings only for the official contestants. I was wondering if it would be possible to include the unofficial contestants too during the performance rating calculation. It'll be very useful for the higher-rated contestants participating in Div2 rounds for practice to have an estimation of their performance.

My guess about the reason why it's not already included in the extension yet is that there's no way to distinguish between the unofficial contestants from the virtual contestants in Codeforces API. This surely is a problem, and there seems to be no easy workaround for it. But at least for the higher-rated contestants who participate in a contest on time as it happens, being able to view the combined performance rating in real-time or shortly after the contest ends could still be perfectly useful. So maybe there could be an option to view the combined performance ratings (for the higher-rated contestants) or only the official performance ratings?

Looking forward to learning your thoughts on this. Thanks!

Unicode issue

BLACK_CURVED_RIGHTWARDS_AND_UPWARDS_ARROW: '\u2BAD',

This Unicode escape character doesn't work on my local. Maybe change it? Also in that entire section adding words to explain what the symbols mean might be helpful.

Better error messaging

The Codeforces API is often down and the extension stops working, but for a user there is no clue why it stopped working apart from a cryptic message in the console.
There should probably be better messaging about what failed and why.

Related: #39, #42

Unrated Users have Rating 0 for Performance Calculations

I do not know about live prediction calculations but at least for performance calculations after the contest is done, unrated users count as having rating 0 instead of the default rating of 1400.

I believe this is because the ratingChange api response returns rating 0 but the default rating is only used if the rating is null.

One possible fix would be to also use default rating if the rating is zero. There may be some false positives who actually have rating zero but they should be negligible, as there currently is no active user who has that rating. I tested this and it seems more accurate than before.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.