Matlab cody problem submission is removed. Why?

13 views (last 30 days)
I have submitted a problem in cody some days back. Now it is not showing in my profile. Initially it was accepted and some people submitted the solutions also, however It has been removed after that, are there some guidelines which I am not following?

Answers (1)

Christian Schröder
Christian Schröder on 30 Dec 2022
It's hard to say for sure without having seen the specific problem you submitted.
That said, in my experience, problems sometimes get deleted when they are altogether too simple and provide no value whatsoever to Cody. The bar's really quite low, but just to give an example I've seen problems with descriptions such as "sqrt(2)" and a single test case get deleted.
A problem that has a decent title and description and multiple test cases, that requires more than hard-coded results, and that it is not a duplicate of an existing problem should survive.
If it does not, I would suggest asking the Cody admins about it.
  2 Comments
John D'Errico
John D'Errico on 5 Jan 2023
Yes. A Cody problem with only 1 test case is a bad problem. It invites hacks. It invites a solver to just return the known answer.
A good problem has multiple test cases. The best problems have multiple randomly generated test cases, reducing the chances of a solver posting a hack.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!