Skip to content

Commit eee620f

Browse files
[Documentation:InstructorUI] Add redaction instructions (#682)
This pull request introduces a new feature for handling redactions in bulk PDF uploads to enhance student privacy during grading. The changes include documentation updates explaining how to prepare and view redactions. ### Redaction Feature Documentation: * [`_docs/instructor/assignment_preparation/bulk_pdf_upload.md`](diffhunk://#diff-1c99d839d2dfcea1c6b0d4f30171cd40bc8e53df5768e0e27613c031e42c872aR256-R291): Added a section on redactions, detailing the creation of a JSON file for specifying redacted areas on PDF pages, enabling the feature in the "Rubric" tab, and viewing redactions during grading. Includes examples of JSON format and visual aids for preparation and viewing. --------- Co-authored-by: Barb Cutler <[email protected]> Co-authored-by: Barb Cutler <Barb Cutler>
1 parent 37c0fea commit eee620f

File tree

3 files changed

+68
-30
lines changed

3 files changed

+68
-30
lines changed

Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ GEM
280280
concurrent-ruby (~> 1.0)
281281
unicode-display_width (1.8.0)
282282
uri (0.13.0)
283-
wdm (0.2.0)
284283
webrick (1.9.1)
285284
yell (2.2.2)
286285

@@ -294,7 +293,6 @@ DEPENDENCIES
294293
github-pages (= 232)
295294
html-proofer (~> 3.19.4)
296295
json
297-
wdm (>= 0.1.1)
298296
webrick (~> 1.9)
299297

300298
BUNDLED WITH

_docs/instructor/assignment_preparation/bulk_pdf_upload.md

Lines changed: 68 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ redirect_from:
55
- /instructor/bulk_pdf_upload
66
---
77

8-
Submitty supports instructor upload of bulk PDF files to then be divided into individual assignment PDFs and assigned to students.
8+
Submitty supports instructor upload of bulk (multiple students) scanned PDF files
9+
to then be divided into individual assignment PDFs and assigned to students.
910

10-
If there is TA grading, questions can also be assigned page numbers by either instructor or student. In the TA grading interface, clicking on a question will open the corresponding page in the PDF.
11+
If there is TA/manual grading, rubric questions can also be assigned
12+
page numbers by either instructor or student. In the TA grading interface,
13+
clicking on a question will open the corresponding page in the PDF.
1114

15+
To support anonymized manual grading, the instructor can also specify
16+
that portions of one or more pages of each individual student PDF
17+
containing the students name or other identifying information be
18+
redacted from view by the graders.
1219

20+
---
1321

14-
### Preparing the Exams for Scanning
22+
## Preparing the Exams for Scanning
1523

1624
* If you notice a student has extra pages or missing pages, or the
1725
exam is rather crumpled, set them to the side for individual
@@ -24,7 +32,7 @@ If there is TA grading, questions can also be assigned page numbers by either in
2432
* Make most stacks the exact same count, and make sure the person
2533
working the scanner knows how many pages to expect per pack (e.g. 98
2634
pages or 140 pages). The scanner person should check the page count
27-
after each scan and try to catch problems early.
35+
after each scan and try to catch problems early.
2836

2937
* Use scissors to cut the staple corner off the exams. *IMPORTANT:
3038
Carefully cut off the smallest amount of paper with the staple. If
@@ -45,7 +53,7 @@ If there is TA grading, questions can also be assigned page numbers by either in
4553
every page.
4654

4755

48-
### Tips for Scanning
56+
## Tips for Scanning
4957

5058
Explore the options / settings on your scanner. Things to check:
5159

@@ -73,7 +81,7 @@ Explore the options / settings on your scanner. Things to check:
7381

7482

7583

76-
#### Scanning with the ScanSnap iX500 on Linux
84+
## Scanning with the ScanSnap iX500 on Linux
7785

7886
We use the portable ScanSnap iX500 for scanning our exams. This works with
7987
[SANE](http://www.sane-project.org/) out of the box; a variety of of
@@ -109,7 +117,9 @@ balloons pretty quickly and required clearing that out every few times
109117
a PDF was exported.
110118

111119

112-
### Creating the New Gradeable for Bulk PDF Upload
120+
---
121+
122+
## Creating the New Gradeable for Bulk PDF Upload
113123

114124
Click "New Gradeable" from the left sidebar and fill out the form. Be
115125
sure to select the Gradeable Type: "TA/Instructor will (bulk) upload
@@ -134,8 +144,9 @@ downloadable) when the scores from manual grading are released. You
134144
can modify this setting from the "Submissions/Autograding" tab.
135145

136146

147+
---
137148

138-
### Manual Rubric Preparation and Page Correspondence
149+
## Manual Rubric Preparation and Page Correspondence
139150

140151
You will presumably be grading this assignment manually -- by TA or
141152
instructor. If the assignment is formatted with problems on
@@ -150,8 +161,9 @@ within the document, you can request that they specify the page
150161
assignment when they upload the file.
151162

152163

164+
---
153165

154-
### Bulk PDF Upload
166+
## Bulk PDF Upload
155167

156168
On the gradeable submission page, the instructor has three options:
157169
Normal Submission, Make Submission for a Student, and Bulk Upload. For
@@ -182,7 +194,7 @@ After the page reloads, another section on the page will appear called
182194

183195

184196

185-
### Associating PDFs with Students in your Course
197+
## Associating PDFs with Students in your Course
186198

187199
The "Unassigned PDF Uploads" section contains all items within the
188200
`/uploads/split_pdf/gradeable_id` folder.
@@ -199,8 +211,9 @@ Once submitted, the split PDF item is moved from
199211

200212

201213

214+
---
202215

203-
### Automatic Association of PDFs using Customized Exams with QR Codes
216+
## Automatic Association of PDFs using Customized Exams with QR Codes
204217

205218
Alternatively, if you have included a QR code on the coversheet of
206219
every exam packet, the system can separate or split your large bulk
@@ -234,22 +247,49 @@ match the expected page count will be highlighted in red.
234247

235248
![Bulk upload submission](/images/bulkupload_labeling.png){:width="600px"}
236249

237-
### Automatic Student ID Number Detection (*Work in progress!*)
238-
239-
*Note: This feature is currently [feature flagged](/developer/developing_the_php_site/feature_flags) the "submitty_ocr" flag must be set to true in your course config.json*
240-
241-
Instead of associating student IDs with QR codes you can provide
242-
a space for students to write their student ID number in. This
243-
will require placing a QR code to detect the region to scan.
244-
245-
*Note: QRs must be placed to the left of the digit entry box and must be taller than the box*
246-
247-
The QR code and digit entry box can be placed anywhere on the packet cover sheet and will be automatically located and scanned, currently you cannot have any other print to the right of the digit entry box.
248-
249-
To use this function select the 'Detect Student ID's' box on the
250-
submission page.
251-
252-
![Bulk upload submission with OCR enabled](/images/bulkuploadsubmission_ocr.png)
253250

251+
---
254252

255-
See also: [Personalized Exams](/instructor/personalized_exams)
253+
## Page Redactions for Anonymized Grading
254+
255+
The instructor can specify the redaction of portions of one or more
256+
pages of each student's PDF that contain their name or other
257+
personally identifying information. The original unredacted PDF is
258+
saved on the server, but Submitty also prepares .png images of each
259+
page of the PDF with the specified areas redacted (covered with a grey
260+
checkerboard pattern). When the grader is in blinded or anonymous
261+
mode, the redacted .png file will be displayed.
262+
263+
264+
To enable page redactions, enter the "Edit Gradeable" menu, make sure
265+
you have enabled "Manual Grading", then click on the "Rubric" panel,
266+
and click "yes" for "Are student submissions/uploads a single file PDF
267+
with a fixed/prescribed format?"
268+
269+
![Redactions Preparation](/images/start_redactions.png){:width="600px"}
270+
271+
272+
Here is a sample of the JSON format for the page redactions. This
273+
sample places a rectangle on the first and second pages of the
274+
document. The (x,y) coordinates specify the upper left and lower
275+
right corners of each rectangle, where (0,0) is the upper left and
276+
(1,1) is the lower right corner.
277+
278+
```json
279+
[
280+
{
281+
"page": 1,
282+
"x1": 0.25,
283+
"y1": 0.25,
284+
"x2": 0.75,
285+
"y2": 0.75
286+
},
287+
{
288+
"page": 2,
289+
"x1": 0.1,
290+
"y1": 0.1,
291+
"x2": 0.9,
292+
"y2": 0.9
293+
}
294+
]
295+
```

images/start_redactions.png

293 KB
Loading

0 commit comments

Comments
 (0)