Diagnostics of homologous solar-surge plasma as observed by IRIS and SDO