How do I write an effective Test Suite in Cody Coursework?
조회 수: 3 (최근 30일)
이전 댓글 표시
MathWorks Community Team
2014년 2월 26일
댓글: Ben Hawkins
2017년 10월 27일
With the introduction of Cody Coursework, I'm often asked how to best use the power of MATLAB to effectively challenge students' code.
댓글 수: 1
Ben Hawkins
2017년 10월 27일
This answer is very outdated. Unfortunately, it shows up really high on Google search results. None of these are necessary with recent updates to Cody, in my experience.
채택된 답변
MathWorks Community Team
2014년 2월 27일
편집: MathWorks Community Team
2014년 6월 9일
댓글 수: 2
C Lira
2014년 3월 19일
Can you explain the line
k = regexp...?
does not the line
k = regexp...
cause any code the student has written that has formatted output fail the test?
Many of my templates will include these statements unless I edit them heavily.
Jan
2014년 3월 23일
편집: Jan
2014년 3월 24일
Searching for "web" will cause false hits, e.g. when it occurs in a comment. It will be very frustrating for a student, when his solution fails, because his name contains this character sequence.
After several discussions in this forum it is clear, that the contents of P-coded functions is not hidden securely, because the debugger reveals almost all details. I would encourage any teacher to read the code of the students personally, while the automatic assessment can and will be cheated.
[EDITED] You can let Cody's virtual machine load and run code from external links? Isn't this a massive security problem?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Test Execution에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!