Skip to content

v0.2.0

Latest

Choose a tag to compare

@Rimagination Rimagination released this 29 Sep 08:10

Highlights

  • Offline queue planner: instsci queue references.csv splits mixed-publisher reading lists into per-publisher CSVs plus a queue.json plan (TXT/CSV/TSV input, DOI normalization and dedupe, unknown-publisher rows preserved). No login or downloads happen at planning time.
  • OpenAIRE fallback: generic fetch/batch/MCP retrieval now consults the OpenAIRE Graph API when Unpaywall yields no sufficient text; candidates must match the DOI and carry instance-level OA rights.
  • Transient-failure recovery: known transient publisher failures get one sequential retry pass after a 30 s cooldown (instsci jobs resume JOB_ID --transient-only); HTTP metadata requests respect bounded Retry-After.
  • Elsevier API source and ACS batch expansion carried over from the pending workspace work, together with session-broker hardening and the supplementary-materials smoke matrix.
  • Publisher access fixes (issues #6 #10 #13 #15):
    • Stale CARSI/institutional login URLs refreshed: Springer/Nature → wayf.springernature.com, Wiley/T&F → /action/ssostart, ScienceDirect → /user/institution/login, IEEE → wayf.jsp. CARSI session validation now probes the publisher domain instead of the always-200 WAYF page, and a dead login entry fails fast with a clear "adapter stale" error instead of parking on a 404.
    • Springer's "Log in via an institution" card is recognized as an auth wall; Springer/Nature ESM assets (MOESM/MediaObjects/ESM) can no longer masquerade as the paywalled full text — cover-sheet text forces verified_match=False.
    • "Buy article PDF USD 39.95"-style paywalls are detected as hard auth walls, and generic PDF-entry selectors skip Buy/Cart/price controls.
  • Python 3.14 guard (issue #9): browser launch paths refuse 3.14+ with a clear "use 3.10–3.13" message (Playwright Sync API mis-detects an asyncio loop there). Imports and OA/HTTP fetching are unaffected.
  • pymupdf handle fix: PDF text extraction parses from memory, so freshly written PDFs no longer stay file-locked on Windows until a cyclic GC pass.

Validation

  • python -m pytest tests/ -q → 310 passed, 1 skipped (includes 15 new regression tests for the publisher-access fixes, plus a CI guard asserting no configured CARSI login_url uses the retired /institutional-login pattern).
  • Live URL probes: IEEE wayf.jsp 200; Springer/Nature WAYF endpoints verified 200 earlier; /institutional-login confirmed 404 for Springer/Nature/T&F.

Notes

  • Publisher PDF capability verdicts still require visible browser-backed evidence; HTTP probes remain preflight only.
  • T&F and ScienceDirect front their sites with bot protection, so scripted probes return 403 for everything — the new login entries follow each platform's standard federated SSO endpoint; real-browser confirmation is welcome in issue follow-ups.