abhigupta0507's blog

By abhigupta0507, history, 15 months ago, In English

To be honest there is little to no escape until codeforces provides a editor and we can submit code from there only along with disabling copy paste of problem statement from website and pasting any external codes/text is also not allowed (if possible i am not a web dev expert but i have seen it on platforms like hackerrank).

(in coding ninjas problem of the day interface you cannot paste any external code/text) (leetcode does video monitoring in its contests but again that is possible only because they provide their own editor)

I am not providing a sol for plag check but i think prevention is better than cure. since plag check may have some false positives and there will always be a dilemma whether to punish user or consider it as warning.

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

»
15 months ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

Exactly, like the code replay in leetcode

»
15 months ago, hide # |
 
Vote: I like it +25 Vote: I do not like it

There is a huge cost to what you are suggesting with a little benefit. A cheater would still cheat, just copy the code by hand.

The cost: Upgrade servers Facilitate testing/running code in a timely manner. Upgrade servers some more. Find a way to implement templates, because I am not going to write a segment tree every time I need from scratch.

All it would do is add the "typing really fast" as the required skill for cheaters.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

After so many back and forth, I finally realized one fact: There is no way to anti-cheat in online contests.

Imagine lots of low reds are solving a contest containing a 3000 rated problem. Now most of them will get stuck at some place because obviously the problem is much above their strength. At this level, a oneliner hint at the correct place would be more than enough to give away a solve. No online anti-cheat (including yours) works for this case.

Fortunately, most master+ people are genuine enough not to attempt cheating. But the lower rated area is completely ruined.

»
15 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Having a scrutinizable recording of someone's local code editor, even if it were 1fps 720p, would introduce significant ease of use problems for those who are using AI to cheat. We could have the top N people upload their recordings somewhere so they can be scrutinized for a week or two. I personally think that the mere existence of potentially incriminating evidence would be enough to discourage cheating for most people. It would also make identifying blatant cheaters much easier.

The downsides of this would be a loss of privacy of how people are setting up their editors + a new requirement for the contestants + the coding required to implement this feature on CF. I personally think being able to review the videos of people better than me would be educational, though.