# How do I implement a grading rubric in concert with Cody Coursework?

3 views (last 30 days)
With the introduction of Cody Coursework, I'm often asked how faculty implement a grading rubric, especially mindful of privacy concerns. For this reason, Cody Coursework was designed such that MathWorks systems need never know which programming problems you assign for practice vs. for credit. This way, as a third-party to the school, we can never correlate students with grades, thus protecting privacy.

MathWorks Community Team on 27 Feb 2014
Edited: MathWorks Community Team on 9 Jun 2014
Cody Coursework provides for exporting all student solution attempts, as input into any further assessment you may wish to conduct. Each row of the CSV export from Cody Coursework represents a student solution attempt.
With this raw data, your grading rubric can be implemented a number of ways, for example
1. MATLAB script
This way, you decide which problems were assigned for credit vs. practice, which exceptions to grant, and what weights to place on each as input into final grades.
##### 2 CommentsShowHide 1 older comment
C Lira on 23 Mar 2014
Here is what I came up with:
% problem ID (asc), then e-mail (asc),
% then correct (dec), then submission time (dec).
% save as xls or xlsx.
% After running this script, open the .txt file in MSWORD,
% and each solution will start on a new page.
fid = fopen('../../../../Desktop/codyresults.txt','w+');
% number of data rows
nrows = size(raw,1);
prevprid = -1; % previous problem id
prevuid = ''; % previous user id
for i = 2:nrows
prid = raw{i,10}; %problem id
if (prid ~= prevprid)
% output problem title
fprintf(fid,'############## %s #########\n',raw{i,11})
prevprid = prid;
end
uid = raw{i,1};
uid = strtok(uid,'@');
% test if username is different than last row and test passed.
if (~strcmp(uid,prevuid) && (raw{2,8}==1))
fprintf(fid,'*********** %s ************\r\n',uid)
fprintf(fid,'%s\r\n\f',raw{i,3})
end
prevuid = uid;
end
fclose(fid)

### Community Treasure Hunt

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

Start Hunting!

Translated by