Skip to content

Fix: json achievements parsing#11

Open
gibbenergy wants to merge 2 commits intomainfrom
fix/json-achievements-parsing
Open

Fix: json achievements parsing#11
gibbenergy wants to merge 2 commits intomainfrom
fix/json-achievements-parsing

Conversation

@gibbenergy
Copy link
Copy Markdown
Owner

Summary

This PR addresses issues with Fix: json achievements parsing

Planned Commits

  • Add regression tests for achievements parsing in JSON import
  • Fix: Preserve achievements list during JSON resume import

gibbenergy and others added 2 commits February 11, 2026 19:23
SchemaEngine.extract_list_fields() converts the achievements array to a
Python string representation because the EXPERIENCE schema defines
achievements as type: str. The subsequent isinstance() check then fails,
causing all bullet points to be silently dropped.

Fix by capturing the raw achievements lists from the JSON data before
schema extraction, then re-injecting them after processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 tests covering the bug where achievements bullet points were silently
dropped during JSON resume import:
- Achievements are preserved in form output
- Achievement content is not truncated
- Achievements formatted as bullet list
- Empty achievements handled gracefully
- Missing achievements key handled gracefully

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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