This algorithm provides automated basal insulin adjustments at 5 min intervals, continuously adjusting insulin delivery based on real-time CGM (rtCGM), and automatic correction bolus delivery in cases of incipient hyperglycemia. The gene discussed is INS; the disease is Hyperglycemia.