nirs4all.pipeline.storage.prediction_export module

Portable, read-only prediction array exports backed by a committed store snapshot.

nirs4all.pipeline.storage.prediction_export.export_prediction_arrays(workspace_path: str, request: dict[str, Any]) → dict[str, str][source]

Export selected live prediction rows as self-describing Parquet or ZIP.

Deleted/tombstoned prediction arrays are omitted using the current metadata snapshot. Dataset names are resolved through ArrayStore’s owner filename mapping; sanitized filename collisions remain distinct via dataset_name.