Skip to content

fix: extract company/location from JD file instead of using filename - #66

Open
jaimax0401 wants to merge 1 commit into
BPMSoftwareSolutions:mainfrom
jaimax0401:fix/resume-job-linking
Open

fix: extract company/location from JD file instead of using filename#66
jaimax0401 wants to merge 1 commit into
BPMSoftwareSolutions:mainfrom
jaimax0401:fix/resume-job-linking

Conversation

@jaimax0401

@jaimax0401 jaimax0401 commented May 18, 2026

Copy link
Copy Markdown

Fix Resume-Job Linking & Data Consistency Issues (Item 1)

Issue: #57 — Fix Resume-Job Linking & Data Consistency Issues

Problem

  • job_listing_id was always null because job title was derived from the filepath stem (e.g., job_listing.md → "job_listing") instead of the actual job title in the JD content
  • Company field was always empty — never extracted from the JD markdown
  • Location field was also never extracted

Fix

Parse the saved JD markdown file (after fetching) to extract:

  • Title from # heading line
  • Company from **Company:** company_name line
  • Location from **Location:** location line

Then create the JobListing entry with actual parsed metadata instead of empty defaults.

Files Changed

  • src/tailor_from_url.py: Added JD file parsing step before creating JobListing entry

Acceptance Criteria

  • Job listing entry has correct title (from # heading in markdown)
  • Job listing entry has correct company (from **Company:** in markdown)
  • Job listing entry has correct location (from **Location:** in markdown)
  • job_listing_id is no longer null when resumes are saved
  • Bi-directional linking works (resume → job listing, job listing → resume)

Issue: BPMSoftwareSolutions#57 - Fix Resume-Job Linking & Data Consistency Issues
Problem: job_listing_id was null because title was derived from
filepath stem instead of parsed from JD content. Company was always
empty since it was never extracted.

Fix: Parse markdown JD file to extract title, company, location
using regex before creating JobListing entry.

AI agent contribution (bounty work)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant