The ```output_type``` is not correct. It should be ```hazard_curve```