Skip to contents

Wraps the plain-list result returned by pesto_ies_callback() (and, eventually, pesto_ies()) in the S7 manifest contract object so downstream packages can consume it via S7 dispatch without reaching into PESTO-specific list internals.

Usage

as_manifest(x, ...)

Arguments

x

A pesto_ies_callback_result (or any object with a method registered against this generic).

...

Method-specific arguments. For pesto_ies_callback_result: run_id (character, defaults to a timestamp+hash slug), seed (integer, defaults to NA_integer_), fidelity (structured provenance list or NULL; defaults to the record captured by pesto_ies_callback() for a multi-fidelity run), apsim_version (character, defaults to NA_character_; pass attr(fm, "apsim_version") from an apsim_callback() forward model to ground the run to its simulator), and obs_schema (a grounded semantic descriptor from pesto_obs_schema() or NULL).

Value

A pesto_ensemble_manifest S7 object.