GPT and diabetes mellitus: The Cox proportional hazard model and smooth curve fitting were used to explore the relationship between the baseline AST/ALT ratio and the risk of diabetes in prediabetic patients.