def METHOD_NAME(
    modified_process_model_identifier: str, body: dict[str, str | bool | int]
) -> flask.wrappers.Response:
    # FIXME: We should probably clear this somewhere else but this works
    current_app.config["THREAD_LOCAL_DATA"].process_instance_id = None
    python_script = _get_required_parameter_or_raise("python_script", body)
    input_json = _get_required_parameter_or_raise("input_json", body)
    expected_output_json = _get_required_parameter_or_raise("expected_output_json", body)
    result = ScriptUnitTestRunner.run_with_script_and_pre_post_contexts(
        python_script, input_json, expected_output_json
    )
    return make_response(jsonify(result), 200)