Save /rank's gaps into seen_jobs.json, let /upskill use them #258
Replies: 1 comment
|
Verified against the files before answering, and you're right on all three counts: the agents do compute So yes, build it - and the two-PR split is exactly the right shape. Two design notes for PR 1: save both |
Uh oh!
There was an error while loading. Please reload this page.
/rankalready fetches every job posting and writes agapslist for each one (Step 2). But Step 4 only savesrank_score,rank_verdict, andrank_datetoseen_jobs.json. Thegapslist is shown once in the terminal and then lost.Real example from my own
seen_jobs.json:At the same time,
/upskill(aggregate mode) only readsjob_search_tracker.csv. That file is usually a small subset of the jobs you actually scraped and ranked. So/upskillends up guessing skill gaps from job titles/notes, when/rankalready has better data sitting right there, just not saved.Idea: small change, two parts:
/rankStep 4 also savesgaps(and maybestrengths) to the entry./upskillalso readsseen_jobs.jsonentries withstatus: rankedand uses theirgaps, weighted by(100 - rank_score), same idea as how tracker rows are weighted today.No new fetches, no schema break — just stop throwing away data that's already computed. Would split this into two PRs (save first, then consume) since that seems to be the preferred style here.
Posting this here first to check if it makes sense before I build it, or if there's a reason
gapswas left out on purpose.All reactions