Skip to content

Instantly share code, notes, and snippets.

@armandofox
Last active February 7, 2025 02:24
Show Gist options
  • Save armandofox/554b613c261f8d9129ce2046be660567 to your computer and use it in GitHub Desktop.
Save armandofox/554b613c261f8d9129ce2046be660567 to your computer and use it in GitHub Desktop.
Example infoAssessment.json for allowing students to upload personal cheatsheets for use during CBTF exams
//
// NOTE: delete all lines beginning with '//' before using--the file
// will cause errors otherwise!
//
{
// replace the following with a real uuid, as always
"uuid": "99999999-8888-7777-6666-555544443333",
"type": "Homework",
"title": "Quiz 1 Cheatsheet",
"set": "Personal Cheatsheets",
"number": "1",
// the following line is important - without it, students can add arbitrary
// notes to their cheatsheet that are invisible to the instructors:
"allowPersonalNotes": false,
"allowAccess": [
// access rule #1: window for students to UPLOAD personal cheatsheet
{
"startDate": "2025-02-25T23:59:59",
"endDate": "2025-03-03T23:59:59",
"credit": 100
},
// rule #2: window for course staff to REVIEW/APPROVE cheatsheets
{
"startDate": "2025-03-04T00:00:01",
"endDate": "2025-03-09T00:00:01",
"active": false,
"showClosedAssessment": true
},
// rule #3: makes cheatsheet available to student DURING EXAM
{
"mode": "Exam",
"examUuid": "REPLACE WITH THE examUuid OF YOUR REAL EXAM",
"showClosedAssessment": true,
"active": false
}
],
"zones": [
{
"title": "Quiz 1 Cheatsheet",
"comment": "This is where the student can upload a cheatsheet.",
"questions": [
// create a Question for uploading cheatsheets...
// see https://gist.github.com/armandofox/42487a2a33b4ecb1d2e30440346e495a
// for an example
{"id": "others/cheatsheets/quiz_1", "autoPoints": 0}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment