joshsoftware / joshsoftware/EZScreen

Bug-009 -Resume parser fails to extract candidate email when the email address is visually wrapped across two lines in the resume PDF, causing the resume to be rejected with an extraction error instead of being processed.

Open
#43 1 comment 0 reactions 2 assignees Claimed by @devkatevighnesh View on GitHub
Done
Dominant language
Python
Stars
0
Forks
0
Avg merge
18h 32m
Merged PRs (30d)
30

Description

Bug-009

Bug Summary:
Resume parser fails to extract candidate email when the email address is visually wrapped across two lines in the resume PDF, causing the resume to be rejected with an extraction error instead of being processed.

Environment: Staging

Module: Resume Upload — Email Parsing / Extraction

Preconditions
User is logged in.
Job "Golang" exists with an active upload flow.
Resume file "Copy of GO_SOURABH_KUMAR_SAHU (1).pdf" has the candidate's email split across two lines in the contact-info section (sourabhkumarsahu030 / [496@gmail.com](mailto:496@gmail.com)) due to column width formatting.

Steps to Reproduce

Login to the application.
Open job "Golang" screening workspace.
Click "Upload resumes" and select "Copy of GO_SOURABH_KUMAR_SAHU (1).pdf" (candidate: Sourabh Kumar Sahu).
Observe the banner/message shown after processing completes.
Open the resume file directly and inspect the contact-info section for the email field.

Expected Result
System should correctly extract the candidate's email ([sourabhkumarsahu030496@gmail.com](mailto:sourabhkumarsahu030496@gmail.com)) even when it is visually wrapped across two lines in the PDF, and the candidate should appear in the Applicants list with a score, like other successfully processed resumes.

Actual Result
System shows: "2 resumes could not be processed — Copy of GO_SOURABH_KUMAR_SAHU (1).pdf: Could not extract candidate email from parsed resume" (message repeated twice for the same file/duplicate upload attempt). Candidate is not added to the Applicants list and is not scored. Root cause: PDF text extraction reads the email as two separate broken tokens ("sourabhkumarsahu030" and "[496@gmail.com](mailto:496@gmail.com)") instead of stitching them into one valid email string before validation.

Test Data
Job "Golang"; resume file "Copy of GO_SOURABH_KUMAR_SAHU (1).pdf" (candidate: Sourabh Kumar Sahu, email wrapped across two lines).

Severity: Medium

Priority: High

Attachnment :

Image
Image
https://github.com/user-attachments/assets/f91359b4-ae9b-4a3d-86ed-5b9f90c9f481

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.