OTS standard procedure for GATE paper processing, image validation and question-level answer validation configuration.
PDF → pdfToImages API → allOptions API → Linux Images → WinSCP Download → Image Validation → Manual Crop if Required → Upload Corrected Images → Prepare CSV → Configure Validation Type → Final QA
D:\FortressProjects\Gate_Paper\MECH_GATE_MOCK TEST -3_20-08-2025.pdf
POST https://apigateway.fortresscareer.com/orchestrator/api/v1/pdf/images/pdfToImages
| Key | Type | Value |
|---|---|---|
| file | File | Source GATE PDF |
| outputDirectory | Text | /home/srinath/opt/apps/testimages/GATE/ME/Mock3 |
| linuxEnv | Text | true |
curl --location 'https://apigateway.fortresscareer.com/orchestrator/api/v1/pdf/images/pdfToImages' \ --header 'Authorization: Bearer <VALID_BEARER_TOKEN>' \ --form 'file=@"/D:/FortressProjects/Gate_Paper/MECH_GATE_MOCK TEST -3_20-08-2025.pdf"' \ --form 'outputDirectory="/home/srinath/opt/apps/testimages/GATE/ME/Mock3"' \ --form 'linuxEnv="true"'
POST https://apigateway.fortresscareer.com/orchestrator/api/v1/pdf/images/allOptions
| Key | Type | Value |
|---|---|---|
| file | File | Same source GATE PDF |
| outputDirectory | Text | /home/srinath/opt/apps/testimages/GATE/ME/Mock3 |
| linuxEnv | Text | true |
curl --location 'https://apigateway.fortresscareer.com/orchestrator/api/v1/pdf/images/allOptions' \ --header 'Authorization: Bearer <VALID_BEARER_TOKEN>' \ --form 'file=@"/D:/FortressProjects/Gate_Paper/MECH_GATE_MOCK TEST -3_20-08-2025.pdf"' \ --form 'outputDirectory="/home/srinath/opt/apps/testimages/GATE/ME/Mock3"' \ --form 'linuxEnv="true"'
/home/srinath/opt/apps/testimages/GATE/ME/Mock3.| Check | Validation |
|---|---|
| Question | Complete text, diagrams, tables and equations are visible. |
| Options | All required options are present, readable and correctly mapped. |
| Solution | Complete solution is visible and mapped to the correct question, where applicable. |
| Quality | No clipping, distortion, unwanted content or excessive blank area. |
After the image processing and cross-validation are completed, prepare the question-level CSV using the PDF, approved answer key and solution information.
| Field | Purpose |
|---|---|
| QuestionNo | Question number from the paper. |
| CorrectAnswer | Approved correct answer. |
| SolutionLink | Approved solution URL. |
| DifficultyLevel | Easy / Medium / Hard or project-supported value. |
| questionType | MCQ or applicable project question type. |
| validation_type | Answer validation method. |
| decimal_places | Decimal precision when applicable. |
| range_type | Range boundary configuration when RANGE is used. |
| range_min | Minimum value for RANGE validation. |
| range_max | Maximum value for RANGE validation. |
| tolerance | Allowed numeric difference for TOLERANCE validation. |
QuestionNo,CorrectAnswer,SolutionLink,DifficultyLevel,questionType,validation_type,decimal_places,range_type,range_min,range_max,tolerance
RANGEDECIMAL_PLACESEXACTTOLERANCE
| Type | Use | Fields |
|---|---|---|
| EXACT | Answer must exactly match the expected answer. Suitable for MCQ A/B/C/D. | CorrectAnswer |
| DECIMAL_PLACES | Numeric answer is validated using configured decimal precision. | decimal_places |
| RANGE | Numeric answer is accepted inside a configured interval. | range_type, range_min, range_max |
| TOLERANCE | Small numerical difference from the expected answer is allowed. | CorrectAnswer, tolerance |
For the specified OTS rule:
submittedAnswer > rangeMin AND submittedAnswer < rangeMax
Example: range_min=10 and range_max=20 accepts values strictly between 10 and 20. Therefore 10 and 20 are not accepted under this exclusive rule.
EXCLUSIVE, configure range_type=EXCLUSIVE.Use this when the question requires a numeric answer to be handled at a specified decimal precision. Example: decimal_places=2.
Tolerance is used for numerical answers where a small difference from the expected answer should still be considered correct. It is useful for rounding, floating-point calculations, engineering/scientific calculations and approximate numerical answers.
Conceptually, if the correct answer is C and tolerance is T:
lower limit = C - T upper limit = C + T
Example: CorrectAnswer = 10.00 and tolerance = 0.50 gives a conceptual acceptable interval of 9.50 to 10.50. Whether 9.50 and 10.50 themselves are accepted depends on the backend comparison rule.
EXACT unless the application specification says otherwise.| Question Scenario | Configuration |
|---|---|
| MCQ answer D | CorrectAnswer=D, validation_type=EXACT |
| Numeric answer with decimal precision | validation_type=DECIMAL_PLACES, decimal_places=<value> |
| Numeric answer accepted within limits | validation_type=RANGE, range_type=<configured value>, range_min=<min>, range_max=<max> |
| Numeric answer allowing small deviation | validation_type=TOLERANCE, CorrectAnswer=<value>, tolerance=<value> |
QuestionNo,CorrectAnswer,SolutionLink,DifficultyLevel,questionType,validation_type,decimal_places,range_type,range_min,range_max,tolerance 1,D,<solution-link>,Easy,MCQ,EXACT,,,,, 2,C,<solution-link>,Easy,MCQ,EXACT,,,,, 3,D,<solution-link>,Easy,MCQ,EXACT,,,,, 4,D,<solution-link>,Medium,MCQ,EXACT,,,,, 5,C,<solution-link>,Easy,MCQ,EXACT,,,,, 6,B,<solution-link>,Medium,MCQ,EXACT,,,,, 7,C,<solution-link>,Easy,MCQ,EXACT,,,,, 8,D,<solution-link>,Easy,MCQ,EXACT,,,,, 9,D,<solution-link>,Hard,MCQ,EXACT,,,,, 10,A,<solution-link>,Easy,MCQ,EXACT,,,,, 11,C,<solution-link>,Easy,MCQ,EXACT,,,,, 12,C,<solution-link>,Medium,MCQ,EXACT,,,,, 13,C,<solution-link>,Easy,MCQ,EXACT,,,,, 14,B,<solution-link>,Medium,MCQ,EXACT,,,,, 15,D,<solution-link>,Easy,MCQ,EXACT,,,,, 16,C,<solution-link>,Easy,MCQ,EXACT,,,,,
Note: The sample answer/difficulty rows above are based on the data visible in the supplied screenshot. For the actual paper, verify each value against the PDF and approved answer key.
PDF → REST APIs → Linux Images → WinSCP → Image Cross-Verification → Manual Crop/Correction → Upload → Prepare CSV → Configure validation_type → Validate CSV → Final QA