updated matcher util, generated test data resumes with and without all data included

This commit is contained in:
2025-10-19 19:46:30 -05:00
committed by Jason Ross
parent a86ec0f09d
commit decae9bd7d
10 changed files with 100 additions and 68 deletions
+3 -3
View File
@@ -3,11 +3,11 @@ export interface ResumeData {
fullName: string;
email: string;
phone: string;
address: string;
address?: string;
city: string;
state: string;
zipCode: string;
country: string;
zipCode?: string;
country?: string;
linkedIn?: string;
github?: string;
website?: string;
-44
View File
@@ -1,44 +0,0 @@
John Smith
john.smith@email.com
(555) 123-4567
San Francisco, CA 94102
PROFESSIONAL SUMMARY
Experienced software engineer with 5+ years of expertise in full-stack web development.
Proficient in modern JavaScript frameworks and cloud technologies.
WORK EXPERIENCE
Senior Software Engineer
Tech Solutions Inc. | San Francisco, CA
January 2020 - Present
- Lead development of customer-facing web applications
- Mentor junior developers and conduct code reviews
- Improved application performance by 40%
Software Developer
Digital Innovations | San Jose, CA
June 2018 - December 2019
- Built RESTful APIs using Node.js and Express
- Implemented responsive UI components with React
- Collaborated with cross-functional teams
EDUCATION
Bachelor of Science in Computer Science
Stanford University | Stanford, CA
Graduated: May 2018
GPA: 3.8/4.0
SKILLS
JavaScript, TypeScript, React, Node.js, Python, Java, SQL, MongoDB, PostgreSQL,
AWS, Docker, Kubernetes, Git, CI/CD, Agile, REST APIs, GraphQL
CERTIFICATIONS
- AWS Certified Solutions Architect
- Google Cloud Professional Developer
PROJECTS
- Open source contributor to popular JavaScript libraries
- Personal portfolio website: https://johnsmith.dev
- LinkedIn: https://linkedin.com/in/johnsmith
Binary file not shown.
Binary file not shown.
+52
View File
@@ -0,0 +1,52 @@
John Smith
john.smith@email.com
+1-(555)-123-4567
123 Market Street
San Francisco, CA 94102
United States
LinkedIn: https://linkedin.com/in/johnsmith
GitHub: https://github.com/johnsmith
Website: https://johnsmith.dev
PROFESSIONAL SUMMARY
Experienced software engineer with 5+ years of expertise in full-stack web development.
Proficient in modern JavaScript frameworks and cloud technologies. Passionate about building
scalable applications and mentoring junior developers.
WORK EXPERIENCE
Senior Software Engineer
Tech Solutions Inc. | San Francisco, CA
January 2020 - Present
Lead development of customer-facing web applications using React and Node.js. Mentor junior
developers and conduct code reviews. Improved application performance by 40% through optimization
and refactoring. Implemented CI/CD pipelines and cloud infrastructure on AWS.
Software Developer
Digital Innovations | San Jose, CA
June 2018 - December 2019
Built RESTful APIs using Node.js and Express. Implemented responsive UI components with React.
Collaborated with cross-functional teams to deliver high-quality software solutions. Participated
in agile development processes and sprint planning.
EDUCATION
Bachelor of Science in Computer Science
Stanford University
Field of Study: Computer Science
Graduated: May 2018
GPA: 3.8
CERTIFICATIONS
AWS Certified Solutions Architect
Acquired: March 2021
Area of Expertise: Cloud Architecture and Infrastructure
Google Cloud Professional Developer
Acquired: September 2020
Area of Expertise: Cloud Development and Deployment
SKILLS
JavaScript, TypeScript, React, Node.js, Python, Java, SQL, MongoDB, PostgreSQL,
AWS, Docker, Kubernetes, Git, CI/CD, Agile, REST APIs, GraphQL
Binary file not shown.
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
John Smith
john.smith@email.com
+1-(555)-123-4567
San Francisco, CA
WORK EXPERIENCE
Senior Software Engineer
Tech Solutions Inc.
January 2020 - Present
Lead development of customer-facing web applications using React and Node.js. Mentor junior
developers and conduct code reviews. Improved application performance by 40% through optimization
and refactoring. Implemented CI/CD pipelines and cloud infrastructure on AWS.
Software Developer
Digital Innovations
June 2018 - December 2019
Built RESTful APIs using Node.js and Express. Implemented responsive UI components with React.
Collaborated with cross-functional teams to deliver high-quality software solutions. Participated
in agile development processes and sprint planning.
SKILLS
JavaScript, TypeScript, React, Node.js, Python, Java, SQL, MongoDB, PostgreSQL,
AWS, Docker, Kubernetes, Git, CI/CD, Agile, REST APIs, GraphQL
+18 -18
View File
@@ -28,7 +28,7 @@ export class FieldMatcher {
// Personal Info mappings - check specific names first before generic "name"
if (this.matchesAny(fieldText, ['first name', 'firstname', 'given name'])) {
const firstName =
this.resumeData.personalInfo.fullName.split(' ')[0] || '';
this.resumeData.personalInfo.fullName.split(' ')[0] ?? '';
return this.createMapping(field, 'personalInfo.firstName', firstName);
}
@@ -41,7 +41,7 @@ export class FieldMatcher {
])
) {
const parts = this.resumeData.personalInfo.fullName.split(' ');
const lastName = parts[parts.length - 1] || '';
const lastName = parts[parts.length - 1] ?? '';
return this.createMapping(field, 'personalInfo.lastName', lastName);
}
@@ -73,7 +73,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.address',
this.resumeData.personalInfo.address
this.resumeData.personalInfo.address ?? ''
);
}
@@ -105,7 +105,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.zipCode',
this.resumeData.personalInfo.zipCode
this.resumeData.personalInfo.zipCode ?? ""
);
}
@@ -113,7 +113,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.country',
this.resumeData.personalInfo.country
this.resumeData.personalInfo.country ?? ''
);
}
@@ -121,7 +121,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.linkedIn',
this.resumeData.personalInfo.linkedIn || ''
this.resumeData.personalInfo.linkedIn ?? ''
);
}
@@ -129,7 +129,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.github',
this.resumeData.personalInfo.github || ''
this.resumeData.personalInfo.github ?? ''
);
}
@@ -137,7 +137,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'personalInfo.website',
this.resumeData.personalInfo.website || ''
this.resumeData.personalInfo.website ?? ''
);
}
@@ -154,7 +154,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'workExperience.company',
latestJob?.company || ''
latestJob?.company ?? ''
);
}
@@ -171,7 +171,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'workExperience.position',
latestJob?.position || ''
latestJob?.position ?? ''
);
}
@@ -188,7 +188,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'education.institution',
latestEd?.institution || ''
latestEd?.institution ?? ''
);
}
@@ -197,7 +197,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'education.degree',
latestEd?.degree || ''
latestEd?.degree ?? ''
);
}
@@ -213,13 +213,13 @@ export class FieldMatcher {
return this.createMapping(
field,
'education.field',
latestEd?.field || ''
latestEd?.field ?? ''
);
}
if (this.matchesAny(fieldText, ['gpa'])) {
const latestEd = this.resumeData.education?.[0];
return this.createMapping(field, 'education.gpa', latestEd?.gpa || '');
return this.createMapping(field, 'education.gpa', latestEd?.gpa ?? '');
}
// Certifications
@@ -235,7 +235,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'certifications.certificationName',
latestCert?.certificationName || ''
latestCert?.certificationName ?? ''
);
}
@@ -251,7 +251,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'certifications.acquiredDate',
latestCert?.acquiredDate || ''
latestCert?.acquiredDate ?? ''
);
}
@@ -267,7 +267,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'certifications.areaOfExpertise',
latestCert?.areaOfExpertise || ''
latestCert?.areaOfExpertise ?? ''
);
}
@@ -294,7 +294,7 @@ export class FieldMatcher {
return this.createMapping(
field,
'summary',
this.resumeData.summary || ''
this.resumeData.summary ?? ''
);
}
+3 -3
View File
@@ -3,11 +3,11 @@ export interface ResumeData {
fullName: string;
email: string;
phone: string;
address: string;
address?: string;
city: string;
state: string;
zipCode: string;
country: string;
zipCode?: string;
country?: string;
linkedIn?: string;
github?: string;
website?: string;