Блог пользователя SecondThread

Автор SecondThread, история, 4 года назад, По-английски

LGM Sniper

I just created a cool CF tool called LGM Sniper. It looks at scoreboard data from every Div1 and Div1+Div2 round ever and tells you which LGM's you have beaten, how many times you have beaten them, and which rounds you beat them in. You can also compare yourself to your friends to see which one of you wins more! If you want to compare yourself with some friends, check the 'show ex-lgms' box and enter the friend you want to compare to as Handle #2, and they will show up on the bottom.

You can try it out for yourself at lgmsniper.com, or in the competative programming section of Wumbo Games, if you would prefer. Tooltips show the name of the rounds you won in (hover your mouse over the checkmark).

If you find any interesting facts or have suggestions for how I could improve the tool, let me know in the comments!


Don't try to DDOS Codeforces Disclaimer

All data is stored locally on my server. So although these queries are computationally expensive you can't DDOS Codeforces to make a round unrated using this tool because it doesn't actually query Codeforces except for when I update the data, which I obviously won't do during a round. Please don't try to abuse it, you'll just make LGM Sniper slower for other people who might want to get inspired by learning that the beat an LGM and you'll annoy me.

Update: New Features

I added a couple new features/fixes that people brought to me. Here are the ones people will likely care about most:

  • I added a checkbox to only show rounds that were rated in which you beat someone who was an LGM at the time you beat them. If it is checked and you still beat someone, then you definitely earned it!
  • There are now round id numbers shown on the rounds that you won. This is helpful if you want to check out the scoreboard of some contest for instance.
  • I updated the blacklist of excluded contests to not include practice rounds, so it should be more accurate now.

Let me know what you think!

Last Updated:

Includes data from competitions up to and including Round 700 Div1/Div2.

  • Проголосовать: нравится
  • +508
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Perhaps add links (or at least numbers) to contests in which we "won", that should be helpful :)

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +35 Проголосовать: не нравится

    If you hover over the checkmark, you can see the names of the contests you won. Adding numbers is a good idea though and should be pretty easy

»
4 года назад, # |
  Проголосовать: нравится +29 Проголосовать: не нравится

Update: currently too many people are querying the server at once so there are connection errors lol. Trying to optimize things a bit to fix this. Should be fixed in ~30 minutes

»
4 года назад, # |
  Проголосовать: нравится +122 Проголосовать: не нравится

You shouldn't have posted the disclaimer, then there was a chance someone would waste time trying it.

»
4 года назад, # |
  Проголосовать: нравится +35 Проголосовать: не нравится

Great tool! Does the tool check if the round was rated? For example, it considers this unrated practice round: Mail.Ru Cup 2018 - Practice Round (which isn't a fair comparison)

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +16 Проголосовать: не нравится

    Thanks! It does not check if the round was rated. (That data isn’t available on the CF API and I wasn’t going to manually check 500 rounds by hand) Currently I do some processing of round names to filter out common round types I knew to not be rated (div 2 rounds, Ed rounds, and some other types don’t count, for instance). I’ll add that round to the blacklist though, thanks for the heads up!

»
4 года назад, # |
  Проголосовать: нравится -10 Проголосовать: не нравится

Thanks! I feel very good about myself now.

»
4 года назад, # |
  Проголосовать: нравится +21 Проголосовать: не нравится

![ ]()

»
4 года назад, # |
  Проголосовать: нравится +31 Проголосовать: не нравится

Finally, a blog post that makes me feel less bad about myself.

  • »
    »
    4 года назад, # ^ |
      Проголосовать: нравится +20 Проголосовать: не нравится

    It had the same effect on me ("Wow, it's almost all green").

    Then I checked "Show win matchup ratio" and it wasn't so positive anymore.

    On a more serious note, it makes more sense to only count a snipe when that person is a LGM at the time of the contest -- everybody was able beat a LGM back when he was green.

    • »
      »
      »
      4 года назад, # ^ |
        Проголосовать: нравится +3 Проголосовать: не нравится

      Makes sense. I was surprised to see that I have beaten 300iq more than 20% of times. It turns out all those rounds are 4-5 years old when he was not even in Div 1.

    • »
      »
      »
      4 года назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      I got this feedback from a bunch of people. There is now an option for "Only consider rounds where opponent was an LGM at time of round" which does what the label would imply. It also only considers rated rounds, so if the round later was declared unrated for some reason, it doesn't count.

      • »
        »
        »
        »
        4 года назад, # ^ |
          Проголосовать: нравится +13 Проголосовать: не нравится

        I was unpleasantly surprised how bad I perform if I count only the rounds when person in question was LGM, but then I noted that it is bugged, because you do not decrease denominator.

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by SecondThread (previous revision, new revision, compare).

»
4 года назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

updated to show results of Global Round 8

»
4 года назад, # |
  Проголосовать: нравится +13 Проголосовать: не нравится

Updated for Global Round 9. Congrats to conqueror_of_tourist for beating 9 LGMS in Global Round 9, using Python only!

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

great work