are the CODY challenges being curated and tested properly?

조회 수: 1 (최근 30일)
Jimmy Sølvsteen Nielsen
Jimmy Sølvsteen Nielsen 2020년 9월 13일
댓글: Christian Schröder 2022년 12월 30일
hi there
I have from time to time fallen over extremely short "leading solutions" in various challenges. E.g. Cody 558
the "leading solution" is
function ans = your_fcn_name(varargin)
! echo "function assert(~)" > ./assert.m
end
It seems to me that a lot of the "solutions" are just clever hacks to get around the asserts, and not a proper solution to the challenges.
If the leader board is to have any valude you need to CHANGE THIS, PLEASE!
  댓글 수: 4
John D'Errico
John D'Errico 2020년 9월 13일
Yes. You know good code when you see it, when you write it. So enjoy Cody for what it is worth - a source of interesting problems.
Christian Schröder
Christian Schröder 2022년 12월 30일
Shell escapes are not permitted on Cody anymore BTW, and if you find any solutions abusing them, you should flag them as Hacks/Cheats so the moderators can handle them.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Number games에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by