Skip to main content

derive_work_unit_config

Function derive_work_unit_config 

Source
pub fn derive_work_unit_config(
    base_intent: &SimConfigIntent,
    payload: &TournamentPayload,
    kind: &RuntimeWorkItemKind,
) -> Result<String, DeriveError>
Expand description

Derive the concrete sim config for one work item; only Tournament items apply gear overrides, the rest run the base config.

ยงErrors

Returns DeriveError for an unknown tournament slot or a serialization failure.