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.
Arguments
- x
A
pesto_ies_callback_result, apesto_ies_filter_result, apesto_abstention()(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 toNA_integer_),fidelity(structured provenance list orNULL; defaults to the record captured bypesto_ies_callback()for a multi-fidelity run),apsim_version(character, defaults toNA_character_; passattr(fm, "apsim_version")from anapsim_callback()forward model to ground the run to its simulator), andobs_schema(a grounded semantic descriptor frompesto_obs_schema()orNULL). For apesto_abstention: the samerun_id/seed/apsim_version/obs_schemaarguments plusmethod(character, one of"ies_callback","ies_filter","ies_pst","mda","surrogate"; default"ies_callback"– there is no ensemble to infer it from).
Value
A pesto_ensemble_manifest S7 object. When x is a
pesto_abstention(), params / outputs are empty (zero-row)
data frames, weights / obs_target are empty numeric vectors,
failure_rate is 1, and summary carries
list(abstained = TRUE, reason = x$reason, detail = x$detail) – the
abstention's reason travels into the manifest's typed verdict home
so a downstream consumer sees the decline without inspecting
PESTO-internal objects.
