validatePair

fun validatePair(requestData: RequestData, simulationRun: SimulationRun): Boolean

Validates whether a given RequestData instance is compatible with a specified SimulationRun instance.

The compatibility criteria are:

  1. The model identifiers in RequestData and SimulationRun must match.

  2. All input names in RequestData must exist in the SimulationRun's inputs.

  3. All response names in RequestData must exist in the SimulationRun's results.

Return

true if the RequestData is compatible with the SimulationRun, false otherwise.

Parameters

requestData

the RequestData instance containing the model identification, inputs, and response names to validate.

simulationRun

the SimulationRun instance containing the inputs and results to validate against.