function validateInputs(data, scope) {
    const invalids = [];

    data.groups[0].inputs.forEach((dataInput) => {
        const matchInput = scope.Input.find((simulatorInput) => simulatorInput.label.trim() === dataInput.label.trim());

        if (matchInput === undefined) {
            invalids.push({
                type: VALIDATION_ERRORS.NOTPRESENT,
                identifier: dataInput.label.trim(),
                message: 'Input is not present in the circuit',
            });
        } else if (matchInput.bitWidth !== dataInput.bitWidth) {
            invalids.push({
                type: VALIDATION_ERRORS.WRONGBITWIDTH,
                identifier: dataInput.label.trim(),
                extraInfo: {
                    element: matchInput,
                    expectedBitWidth: dataInput.bitWidth,
                },
                message: `Input bitwidths don't match in circuit and test (${matchInput.bitWidth} vs ${dataInput.bitWidth})`,
            });
        }
    });

    if (invalids.length > 0) return { ok: false, invalids };
    return { ok: true };
}
Validates presence and bitwidths of test inputs in the circuit.
Called by validate()
@param {Object} data - Object containing Test Data
@param {Scope} scope - the circuit