Author search matches everyone with the same name

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
data, search

Research direction

Start by reading osti.py and tracing how author names are converted into searches for PubMed Central, Europe PMC, and OSTI. The issue proposes ORCID search, evidence-based scoring, JSON output, and persisted accept/reject choices, so first map the existing search and workspace update flows. Done means the acceptance criteria work across both named sources and preserve choices for --update.

Written by the indexing model from the issue text.

Description

area:config area:sources enhancement

Part of lanl/chatty#65.

A config's author ("hlavacek ws") becomes hlavacek ws[au] for PubMed Central and AUTH:"hlavacek ws" for Europe PMC. That matches every author with that surname and those initials. For a distinctive name that works. For a common one (wang j, smith j), most hits are other people, and nothing removes them.

Nothing in text-fetch uses ORCID iDs or affiliations. The OSTI client strips the ORCID and affiliation that OSTI appends to each author name (osti.py).

Proposal:

  1. Search by ORCID iD where the source supports it: "orcid": "0000-0002-..." in the config, or --orcid. Europe PMC and PubMed can both search by ORCID iD. Many papers carry no ORCID, so this finds papers that are certainly the person's, which seed the next step. It doesn't give a complete list.
  2. Score name matches by evidence: a matching ORCID, affiliation, co-authors shared with the person's known papers, and similarity of topic to them. Keep OSTI's ORCIDs and affiliations for this.
  3. Show the evidence: --dry-run --json lists each candidate with its score and the evidence behind it, so an agent or a person can accept or reject it. A threshold or an explicit list decides what is downloaded.

Acceptance criteria:

  • --orcid works for PubMed Central and Europe PMC.
  • A name search with disambiguation lists each match with a score and its evidence.
  • The accepted and rejected papers are recorded in the workspace, so --update applies the same choices to new papers.
Dominant language
Python
Stars
1
Forks
0
Avg merge
1h 1m
Merged PRs (30d)
31

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 lanl/text-fetch

All issues in lanl/text-fetch

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.