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.

Accepted Answer

MathWorks Community Team
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
  2. Spreadsheet pivot table
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.
C Lira
C Lira on 23 Mar 2014
Here is what I came up with:
% sort spreadsheet by
% 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.
[num,txt,raw] = xlsread('../../../../Desktop/cody.xlsx')
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;
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)
prevuid = uid;

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!