Skip to main content

nirs4all-papers

nirs4all-papers

Public archive for deposited nirs4all papers and reproducible public code bundles.

Part of the open-source NIRS tools ecosystem: file readers, datasets, methods, browser modelling, reproducible pipelines, papers, benchmarks, and release dashboards for near-infrared spectroscopy.

This repository is for material that can be public and permanent:

  • accepted/deposited paper PDFs;
  • reproducibility kits;
  • public data references and download scripts;
  • frozen code used for a paper result;
  • WASM/static builds linked from nirs4all.org;
  • DOI, tag, release, and provenance metadata.

Drafts, reviewer-private material, journal scouting, private datasets, and in-progress manuscripts belong in the private nirs4all-drafts repository.

Lifecycle

  1. Work happens privately in nirs4all-drafts and experimentally in nirs4all-lab.
  2. Once the draft and lab work are ready for public release, move only the deposited PDF and reproducible public code here.
  3. Build a stable WASM/static artifact when the paper needs an interactive public companion.
  4. Link the released paper bundle from nirs4all.org.

Layout

papers/
  README.md
templates/
  reproducibility-kit/
    README.md

Each paper should use a stable slug, for example:

papers/2026-aom-transfer/
  README.md
  paper.pdf
  CITATION.cff
  code/
  data/
  wasm/

Do not commit generated caches, private review files, unpublished drafts, or data that cannot be redistributed.

Reproduction-document publisher

n4a-papers publishes public archive metadata and byte-identical downloads. Optional current reading delegates V1 transport/inventory and native Package2/3 admission to Core; SDK-host serialized JSON inspection belongs to the SDK. Complete owner documents are published as escaped text and exact bytes, including distinct original training declarations and cosmetic prediction configurations. No fitted objects are loaded and no metric, pipeline or scientific identity is reconstructed.

The Python 3.10 base requires PyYAML only and can publish historical raw downloads without admitting them to the current reader. The optional current-reader (Core) and sdk-host-reader (SDK) extras require Python 3.11 through their owners. Their tested-series ranges Core >=0.6,<0.7 and SDK >=1.6,<1.7 must be used with the matching qualified native wheel/SDK source cohort; they are not claims about every published artifact with those labels.

n4a-papers build . --out <dedicated-output>                 # archive-only
n4a-papers build . --out <dedicated-output> --read-current  # optional current inspection
n4a-papers check <public-paper-directory> --read-current

Missing optional readers and unsupported/corrupt transport have distinct visible statuses and do not remove catalog entries. Downloads preserve original bytes and URLs. Raw historical copies are not current admission. Native/SDK documents retain their own identities and complete available score context; depositor metrics are separately labelled as published. Missing training recipes or scores remain absent. Unknown foreign content stays inventory-only. Readability is not executability.

Approximate-JS companions use an explicitly declared replay_plan in paper.yaml and a separate replay.json dataset. They run in the browser independently of optional owner reading, with no native parity claim. The public PLS demo includes its plan and method_ids for the restored bibliography. No source archive is rewritten by reading. Builds retain the output marker and refuse to wipe unmarked directories.

Shared UI presentation

Paper pages use the actual UI.2 StatTile export for a compact reading/identity summary and as published result cards. A partition filter changes only the displayed cards; it does not select, rank or recompute scores. Reading and execution remain distinct, with execution explicitly Not evaluated. Original downloads, full owner documents and complete static results remain accessible without JavaScript. All enhancement assets are local; the existing site chrome is separate.

The Python package ships prebuilt resources under data/ui/. The installed builder does not call or look for Node, and an unstaged source checkout retains static-only publication. Maintainer-only staging uses ui/build.mjs, the exact accepted UI archive and an explicit existing Web dependency cohort, without an npm install or UI rebuild. See the presentation staging instructions.

Provider/plugin facade

nirs4all_papers.provider exposes list_papers, load_paper, load_paper_bundle, inspect_bundle, build_methods_section, citation and bibtex, plus explicit local build_repro_page/export_sidecars. Catalog/view/build/export calls accept read_current=False; inspect_bundle always uses the actual current owner reader. The facade does not execute, upload or write back to other stores.

See publisher contract and the existing contributor/quality-gate commands. The narrow publisher checks and CI-equivalent provider/coverage gate remain distinct.

License

This repository — reproducibility code and accompanying content alike — is dual-licensed open-source — CeCILL-2.1 OR AGPL-3.0-or-later — with an optional commercial license (for any commercial use, contact nirs4all-admin@cirad.fr), matching the rest of the nirs4all ecosystem. Deposited manuscripts carry their publisher's terms, and datasets / third-party assets keep their upstream terms. See LICENSING.md and LICENSES/.

Metadata

Release files for nirs4all-papers 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nirs4all-papers 0.2.5
File Size Uploaded Provenance Actions
nirs4all_papers-0.2.5.tar.gz 182.4 kB With provenance Details for nirs4all_papers-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nirs4all-papers 0.2.5
File Interpreter ABI Platform Actions
nirs4all_papers-0.2.5-py3-none-any.whl Python 3 none any Details for nirs4all_papers-0.2.5-py3-none-any.whl

Total release size: 365.0 kB

Release files / nirs4all_papers-0.2.5.tar.gz

Download URL nirs4all_papers-0.2.5.tar.gz
Size 182.4 kB
Tags Source
SHA-256 checksum
How to use checksums
54b0c1c3e9ebbf78c2902dfa77d8eacb777113616b7288d8358c75a62ace95af
BLAKE2b-256 checksum
How to use checksums
f83f22104c5eb36588ecf4dca88223c02ab877f894c2f51ed417e608ddc36241
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / nirs4all_papers-0.2.5-py3-none-any.whl

Download URL nirs4all_papers-0.2.5-py3-none-any.whl
Size 182.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
684662d4e84e7f839e382fe40e1760a0ff52d3287b9a5b09cf062f86ba2dd7c7
BLAKE2b-256 checksum
How to use checksums
e6117d00e064f199fd171d71c967ba4b519d98a32519aeb252e6d541a4fa5c02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for nirs4all-papers 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nirs4all_papers-0.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page