Project

General

Profile

Actions

Bug #3659

closed

Warn users if assessment has no question numbers

Added by Ryan McFall over 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
parser
Target version:
Start date:
11/13/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3659

Description

During the student testing, we encountered an exam that did not have any question numbers, and an exam that was a scanned document. We can probably detect these cases, and should warn the user about them, as the parser is never going to do well in these situations.

Actions #1

Updated by Sandeep Namilikonda about 15 years ago

(In reply to comment #0)

During the student testing, we encountered an exam that did not have any
question numbers, and an exam that was a scanned document. We can probably
detect these cases, and should warn the user about them, as the parser is never
going to do well in these situations.

Reference: PDFAssessment2_4.java

In the event of question numbers being absent, questionNumbers.size() is zero at the end of separateQuestions() in parse()! This can be used to pop-up a warning to the user. Is there a more appropriate check or will the above test suffice?
Actions #2

Updated by Ryan McFall about 15 years ago

I think it would be good to test each page and see if it contains anything other than an image to detect the case where the document is a scanned PDF.

But, for now, checking that the question list size is > 0 and warning the user if not, telling them that one possible reason would be a scanned document, would be good.

Actions #3

Updated by Sandeep Namilikonda almost 15 years ago

Since scanned documents are detected and handled in AssessmentFileSelection, this bug only corresponds to cases wherein the question numbers are not detected in the input document as they are actually absent.

Now, the question numbers are not actually processed until separateQuestions() function under "PDFAssessment*.java". Hence, this bug will be resolved in that function and not in AssessmentFileSelection!

When separateQuestions() returns with # of questions equal to zero, the current bug has occurred. Prompt a warning message to the user about potential faulty recognition if continued and provide an option for termination of the parser.

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3659

Actions

Also available in: Atom PDF