The finalized model comprised seven variables: ECOG PS score, tumor stage, HER2 expression status in tumor tissue, first-line anti-PD-1 treatment, peritoneal metastasis, CONUT score, and protective irAE. This evidence concerns the gene ERBB2 and neoplasm.