oss-slu / bubble_scan

GNU General Public License v3.0
0 stars 7 forks source link

The program is able to distinguish between original scantron sheets and custom sheets. #102

Closed ramezmosad closed 1 month ago

ramezmosad commented 1 month ago

Fixes #97

What was changed?

In this update, the file upload functionality of the application was modified to handle two different types of exam sheets: the standard Scantron 95945 sheets and custom exam sheets. Specifically, changes were made to:

Additionally, I added logic to return a "Not yet supported" message for custom sheets while successfully processing Scantron sheets, and also wrote unit tests for these changes.

Why was it changed?

This change addresses the need to support multiple sheet types in the application, specifically the standard Scantron and custom exam sheets. The approach I took was letting the user specify the type of sheet they are uploading.

By prompting the user to select the sheet type, the backend can more easily determine if the file should be processed or if a "Custom sheets are not yet supported" message should be returned.

How was it changed?

Screenshot 2024-10-17 at 2 31 09 PM