Usage of "regexp" or "!" command in Cody. Cody​でのregexpや!​といったコマンドの使​用に関して

2 ビュー (過去 30 日間)
M
M 2020 年 4 月 15 日
コメント済み: M 2020 年 4 月 18 日
Codyにて以下のようなleading solutionを見かけました。
I found the following leading solution in Cody.
function ans = reverseVector(x)
! echo "function assert(~)" > ./assert.m
% Cody Team, please restric usage of regexp and !
end
解答した方も述べていますし、MATLAB Answersでも似たようなことを述べている方はいますが、Codyにおいて ! や regexp といったコマンドを使うとコードサイズの小さい「leading solution」を作ることができます。
It is possible that the usage of "!" or "regexp" command in Cody brings "leading solution" which means minimun code size and this is said by the solver or someone in MATLAB Answers.
しかし、これをleading solutionとすることはCodyの本質にそぐわないことだと思いますし、leading solutionを見て勉強しようという方への妨げにもなってしまいます。対策はされる(されている)のでしょうか。
I think this is the problem od Cody because it doesn't match the concept of Cody or it prevents people from studying by the leading solution. Do (or did) Cody team of Mathworks deal with of this problem?
Thanks,

採用された回答

Santosh Kasula
Santosh Kasula 2020 年 4 月 17 日
We (Cody Team) are aware of this issue. We are working on a solution to prevent some of this cheating automatically. Along with automatic prevention, we are also evaluating options for the community to flag/moderate such solutions to prevent cheating and bubble up good solutions.
  1 件のコメント
M
M 2020 年 4 月 18 日
Thank you for your replying!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB 入門 についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!