This study selected the λ value corresponding to the minimum partial likelihood deviance, which included 8 variables: ECOG PS score, tumor stage, tumor tissue Her2 expression status, line of anti-PD-1 treatment, peritoneal metastasis, NLR, CONUT, and beneficial irAE. The gene discussed is ERBB2; the disease is neoplasm.