Results of the current study extend those of the previous studies by applying a machine-learning framework to analyse the dynamic glucose time series response to an OGTT with 16 timepoints, with demonstrated ability to identify insulin resistance, β-cell defect and incretin defect better than currently available tests including surrogate biomarkers, clinical-demographic profile and polygenic risk score. This evidence concerns the gene GCG and Insulin resistance.