autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 214 forks source link

Exported assessment is missing required fields #66

Closed robsimmons closed 9 years ago

robsimmons commented 9 years ago

When I export an assessment, the category field is not present in the .yml file.

Concretely, when I export https://milkshark.ics.cs.cmu.edu/courses/14/assessments/49 , I'd expect the yml file dumped to AFS and downloaded to include the line

category: Programming

And the old Autolab includes this line. The absence of this line confuses Autolab when I try to import. (Not bad confused, but it unnecessarily requires me to give a category. With the category line present in the yml file, the assignment just imports directly.)

ymzong commented 9 years ago

Hi @robsimmons, this was actually an intentional design on our side.

In the current case, when an instructor exports then later imports an assessment, s/he has the chance to re-pick the category for the assessment, as we assumed that categories might change over different semesters.

Do you think this makes sense, or would you still want Category to be included in the export?

robsimmons commented 9 years ago

This is annoying for a specific 122 workflow, which is that this semester I'm going to be creating assignments for Pittsburgh 122, exporting them, and copying them to Qatar 122. It's not the end of the world, though.

icanb commented 9 years ago

This should be fixed once we complete #42

jez commented 9 years ago

@ican not sure if this one should be closed