Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Parser: achievement year lost on re-import when '· YYYY' wrapped to its own line

Open
#1,194 0 comments 0 reactions 0 assignees View on GitHub

@gaal-agent is already working on this.

Since Oct 13, 2026.

  • #1195 by @gaal-agent — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
data

Research direction

Start by checking open pull request #1195, since this issue already has one and the fix may be in progress. Reproduce by exporting a PDF with a long achievement header whose · YYYY wraps to its own line, re-importing it, and inspecting headerLine in the rebuilt model. Done means the wrapped year is reattached to its header and an export, import, export round-trip test covers it.

Written by the indexing model from the issue text.

Description

bug gaal ready-for-agent ux:parsing

Problem

When a re-imported offlinecv export has an achievement header whose trailing year wrapped onto its own line, the parser drops the year. The rebuilt model's headerLine ends without · YYYY, and the next export silently loses the date.

Repro (synthetic)

  1. Make an achievement whose header is long enough that · 2019 wraps, e.g. Patent · Issued Patent US1234567B1 a very long descriptive title for a widget-processing system used across catalogs. · 2019
  2. Export the PDF. The year renders alone on the next line.
  3. Re-import that PDF and export again. The Patent header has no year now. Shorter siblings (Publication · … · 2009) keep theirs.

Observed in the model after re-import:

"headerLine": "<B>Patent</B> · Issued Patent … catalogs."      ← year gone
"headerLine": "<B>Publication</B> · Co-authored … · 2009"     ← fine

Expected

A bare YYYY (or a · YYYY fragment) on the line right after an achievement header gets reattached to that header as its year, the same way a single-line header keeps it.

Acceptance criteria

  • Re-importing an export whose achievement year wrapped keeps the year in headerLine
  • Export → import → export round-trip test covering a wrapped achievement year
Dominant language
TypeScript
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from offlinecv/OfflineCV

All issues in offlinecv/OfflineCV

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.