Skip to content

Fixes from testing PR #56 (ORCID, history, dedup, PAPER_TYPE, BibTeX start) - #9

Open
BenjaminNavet wants to merge 6 commits into
datalogism:mainfrom
Wimmics:pr56-review-fixes
Open

BenjaminNavet wants to merge 6 commits into
datalogism:mainfrom
Wimmics:pr56-review-fixes

Conversation

@BenjaminNavet

Copy link
Copy Markdown
Contributor

Fixes found while testing Wimmics#56 end to end in Chrome (real OpenAlex + arXiv collection, 528 papers). Merging this into main updates #56.

Each fix has a regression test. The full suite passes (2342 tests) and ruff check and format are clean.

Fixes

  1. ORCID gate: after a valid Save on the first screen, the form stayed displayed (navigating to the current sub-page does not draw it again). It now reloads the page that was asked for.
  2. Review history: a new review showed "created by unknown (before tracking)" (an inferred creation was written before the real one), and its first collection was listed as an extension in PRISMA and in the history. The first collection or import of an empty review is now its origin.
  3. Event loop blocked on Explore: scilex.tag_analysis imported matplotlib at module level, and on first launch the font cache build froze the UI ("Connection lost"). pyplot is now imported only when a chart is drawn.
  4. DOI deduplication (bug already in dev): duplicates were compared on the raw DOI, so 10.1109/tvcg… (OpenAlex) and 10.1109/TVCG… (arXiv) stayed as two papers. Deduplication now uses normalize_doi.
  5. PAPER_TYPE: tags counted as annotations: the tags are now workflow tags, so they no longer count as codes in Consolidate, tag analysis or the KG keywords, as the PR description intends.
  6. Starting a review from a BibTeX file: ⑤ Extend is locked while a review has no papers, so an empty review could not import a BibTeX file. ② Collect now offers "Or start from papers you already have" with the BibTeX and Zotero imports, and PRISMA counts those papers as identified.

Smaller changes

  • C8 lists only the rules that actually exclude papers (no more ranking weights, max_papers or citation sources).
  • The "Validated by me" button is renamed "Validate" (it read like a status).
  • ruff format over the repo (27 files) and one B905 fix.

Suggestions (not changed)

  • The sidebar numbering is inconsistent: Eligibility criteria and Consolidate have no number.
  • "Never run" badges are red, like errors.
  • The Accessibility report title is a very large heading.
  • "Years: 2024–2024" could just say 2024.

🤖 Generated with Claude Code

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