How do I write an effective Test Suite in Cody Coursework?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Community Team
el 26 de Feb. de 2014
Comentada: Ben Hawkins
el 27 de Oct. de 2017
With the introduction of Cody Coursework, I'm often asked how to best use the power of MATLAB to effectively challenge students' code.
1 comentario
Ben Hawkins
el 27 de Oct. de 2017
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.
Respuesta aceptada
MathWorks Community Team
el 27 de Feb. de 2014
Editada: MathWorks Community Team
el 9 de Jun. de 2014
2 comentarios
C Lira
el 19 de Mzo. de 2014
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
el 23 de Mzo. de 2014
Editada: Jan
el 24 de Mzo. de 2014
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?
Más respuestas (0)
Ver también
Categorías
Más información sobre Test Execution en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!