Feed resume review edits through Avocet corrections pipeline #112
Labels
No labels
a11y
backlog
beta-feedback
bug
enhancement
feature-request
frontend
needs-triage
question
vue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#112
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
As of v0.9.2, the Resume Review modal lets users edit the proposed summary and experience bullets before accepting them. Each edit is a (proposed, accepted) pair: the LLM output and what the user actually wanted.
Goal
Feed these correction pairs into the Avocet corrections pipeline so they can be used to fine-tune the resume optimizer LLM.
Data shape
When a user edits and approves:
{ proposed: string, accepted: string }— a text_diff correction{ proposed: string[], accepted: string[] }— a bullets_diff correctionBoth can be extracted from the
decisionsdict that the/reviewendpoint already receives.Implementation sketch
dev-api.pyPOST/resume_optimizer/review, after applying decisions, check if anyedited_textoredited_bulletsdiffer from the original proposed values.resume_optimizer_correctionstable (job_id, section, proposed_json, accepted_json, created_at).Notes
accepted=trueAND the text was modified (proposed != accepted).Labels