Repository navigation
Read ORCID iDs from the page and from the ORCID icon's link, and find the corresponding author in more layouts - #292
Open
thesanogoeffect wants to merge 3 commits into
Open
thesanogoeffect wants to merge 3 commits into
thesanogoeffect wants to merge 3 commits into
Conversation
…t paths Addresses the two validation setbacks in jats_eval_v1: - ORCID iDs: add AuthorOrcidHarvester (shared by default LLM and --fast) with ISO 7064 MOD 11-2 checksum validation, document-wide non-reference printed-ORCID harvesting (rejoining wrapped IDs, shared-surname and initials attribution, editorial guards), PDF URI-link icon harvesting via existing pdf_uri_links + ref_page_lines, and [ORCID identifiers] context injection into authors_text. - Corresponding author: restore page-1 author-metadata headings in FrontMatterResolution (without seeding false title records), preserve pre-title sidebars and post-abstract correspondence blocks in render_author_context, feed single-record page-1 correspondence footnotes into authors_text and AuthorEmailHarvester, and add Taylor & Francis CONTACT cues, Nature Communications back-matter correspondence statements, wrapped/space-split TLD email repair and truncated-email upgrades, shared-surname disambiguation, byline-star / dropped-star fallbacks, and corresponding-author name fallback in front_tagger.
…he release note The fixtures and comments of the ORCID and corresponding-author fix quoted real authors' names, e-mail addresses and ORCID iDs. They are replaced by made-up ones of the same shape (the iDs keep a valid check digit, in a block ORCID never assigns). No code path changes: the diff under bibr/ is comments and docstrings only.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #292 +/- ##
==========================================
- Coverage 91.14% 91.03% -0.12%
==========================================
Files 344 345 +1
Lines 73647 74520 +873
Branches 13667 13921 +254
==========================================
+ Hits 67125 67836 +711
- Misses 4041 4116 +75
- Partials 2481 2568 +87 🚀 New features to boost your workflow:
|
thesanogoeffect
added a commit
that referenced
this pull request
Nov 27, 2026
…ix of #292 With the fix the 100 DPI run gets 90.5% and 91.0% of the papers fully right, as the 200 DPI run does: five Psychological Medicine papers recover their author names.
…leased The automatic merge filed the note under 0.9.2, which main has already closed.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
The 0.9.2 evaluation on the public JATS benchmark showed two weak fields: ORCID iDs (F1 0.03, where GROBID 0.9.1 gets 0.41) and the corresponding author (0.58 on the default route and 0.76 with
--fast, where GROBID gets 0.62).--fast, reads an author's iD from wherever the paper prints it outside the reference list, and from the link behind the ORCID icon in a born-digital PDF. Most publishers print only the icon, so the iD was nowhere in the text bibr read. An iD needs a valid check digit, goes to the author named beside it, and is never taken from an "Edited by" or "Reviewed by" block.The second commit replaces the real authors' names, e-mail addresses and ORCID iDs that the new tests and comments quoted with made-up ones of the same shape. It changes no code path: under
bibr/it touches comments and docstrings only.Measured
--faston the CPU (200 DPI), 300 born-digital papers of the public benchmark, the 0.9.2 release branch (aee4224d) with and without this change, same machine, environment and scorer as the release evaluation of 24 November:At the 100 DPI that 0.9.2 ships with, the same comparison gives ORCID iDs 0.000 to 0.991 and the corresponding author 0.730 to 0.875 (46 papers better, 4 worse). There it also changes author names: five Psychological Medicine papers go from 0.0 to 0.6 F1 on full names to 1.0, with their affiliations, and papers fully right go from 89.3% to 90.7%. No paper gets worse on names or affiliations, and no other field changes.
What is not measured yet
Tests
463 tests in
tests/extract/test_author_orcid_harvester.py,tests/extract/test_orcid_corresponding_wiring.py,tests/extract/test_author_email_harvester.pyandtests/front_taggerpass locally;ruff checkandruff format --checkare clean on the touched files.Merge order and the red check
"Dependency and source security" fails here for a reason that is on
main: the audit exception for PYSEC-2026-3447 expired on 23 November, so the job stops before it audits anything. #285 (Prepare 0.9.2) renews the exceptions. Merge #285 first, then mergemaininto this branch: the check goes green, and this PR's release note, now under[Unreleased], has to move into the 0.9.2 section that #285 creates.