Skip to content

fix: normalize unicode chars in title matching for artifact URL lookup#12

Merged
vahldiek merged 1 commit into
ReproDB:mainfrom
vahldiek:fix/unicode-title-normalization
May 15, 2026
Merged

fix: normalize unicode chars in title matching for artifact URL lookup#12
vahldiek merged 1 commit into
ReproDB:mainfrom
vahldiek:fix/unicode-title-normalization

Conversation

@vahldiek

Copy link
Copy Markdown
Member

Problem

Paper titles sometimes differ between artifacts.json and author_profiles.json by unicode characters — e.g. en-dash (U+2013) vs hyphen - (U+002D), or smart quotes vs ASCII quotes. This causes ~151 papers to show no artifact link on profile pages even though artifact URLs exist in the data.

Example: "SoK: Automated TTP Extraction from CTI Reports – Are We There Yet?" (USENIX Security 2025) has a Zenodo link in artifacts.json, but the profile stores the title with a regular hyphen, so the lookup fails.

Fix

Add normalizeTitle() in reprodb-profile-page.js that normalizes unicode dashes and quotes to their ASCII equivalents (in addition to the existing lowercase + trailing-dot stripping). Used in all three artifact URL map operations:

  • Map building (from artifacts.json)
  • Author profile paper table lookup
  • Institution profile artifacts table lookup

Add normalizeTitle() that handles en-dash/em-dash, smart quotes, and case
differences when matching paper titles to artifact URLs. Fixes 151 papers
(e.g. USENIX Security 2025) where titles differ only by unicode variants
like en-dash (U+2013) vs hyphen (U+002D).
@vahldiek vahldiek merged commit 56a743e into ReproDB:main May 15, 2026
3 checks passed
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