SecondThread's blog

By SecondThread, history, 5 years ago, In English

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.

  • Vote: I like it
  • +508
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +35 Vote: I do not like it

    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

»
5 years ago, # |
  Vote: I like it +29 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +122 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +35 Vote: I do not like it

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)

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +16 Vote: I do not like it

    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!

»
5 years ago, # |
  Vote: I like it -10 Vote: I do not like it

Thanks! I feel very good about myself now.

»
5 years ago, # |
  Vote: I like it +21 Vote: I do not like it

![ ]()

»
5 years ago, # |
  Vote: I like it +31 Vote: I do not like it

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

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +20 Vote: I do not like it

    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.

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      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.

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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.

      • »
        »
        »
        »
        5 years ago, # ^ |
          Vote: I like it +13 Vote: I do not like it

        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.

        • »
          »
          »
          »
          »
          5 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Yikes! I definitely should have noticed that bug! Thanks for letting me know, it should be fixed now.

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
5 years ago, # |
  Vote: I like it +9 Vote: I do not like it

updated to show results of Global Round 8

»
4 years ago, # |
  Vote: I like it +13 Vote: I do not like it

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

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

great work