How do I stop people from cheating on my Cody chalenges?

1 Ansicht (letzte 30 Tage)
Michael Eldredge
Michael Eldredge am 3 Dez. 2017
Kommentiert: per isakson am 3 Dez. 2017
I wrote a Cody problem, but I want to prevent people from using tricks to get a false "best" solution.
For example, many people do something like the following:
regexp '' '(?@"CODE HERE)';
in order to get the size of their program down to something quite small. I want to prevent this. I have seen people using some weird tests to try to block this, but I don't know how they work and when I try to copy them they fail.
  1 Kommentar
per isakson
per isakson am 3 Dez. 2017
Does this count as weird?
str = fileread( which(mfilename) );
assert( isempty( regexp( 'str', 'regexp' ) ) )
btw: I don't know if works on the Cody-server

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Historical Contests finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by