Skip to content

v0.5.0 - Academic wave 2 and the code profile

Choose a tag to compare

@CerebroCanibalus CerebroCanibalus released this 04 Oct 02:05
· 11 commits to main since this release

Academic wave 2 and a dedicated software profile.

New adapters

Ten keyless adapters, each with a pure fixture-tested parser:

Profile Adapters
academic + Europe PMC, PubMed, DOAJ, Semantic Scholar
code GitHub, crates.io, npm, Packagist
news GDELT
knowledge Wikipedia (MediaWiki API)

Profiles are disjoint families: searching for a library never queries a web SERP, and an academic search never spends HTML engine quota.

status accepts the same profile argument and probes only that family, so checking health no longer costs requests against sixteen providers.

Quality-gate change the smoke tests forced

The lexical relevance filter now applies only to the HTML engines. It exists because search pages drift and can answer a different question while returning HTTP 200. A curated index is itself the relevance signal, and re-filtering it only discarded good results — crates.io was dropping matching crates because their canonical URL is the repository rather than the registry page. Domain scoping still applies to every provider.

Bugs found by smoke testing real payloads

  • Serde reads a JSON sequence into a struct without complaint, so PubMed's sibling uids array decoded as a paper titled with its first PMID. Only objects are documents now.
  • Snippets assembled from upstream free text produced doubled marks (Author.. Journal), because those fields end in their own full stop. Fixed once in the shared funnel rather than in ten adapters.
  • Europe PMC needs resultType=core to return abstracts; lite silently omits them.
  • GDELT asks for one request every five seconds, so pacing is enforced locally instead of being paid for with 429s.

Adds ARGOS_GITHUB_TOKEN (GitHub Search allows 60/h unauthenticated) and ARGOS_SEMANTIC_SCHOLAR_KEY. Both are optional; keyless remains the default.