AI-assisted quantification of tumor-infiltrating lymphocytes (TILs) proved prognostically valuable in primary melanoma and predictive of anti-PD-1 therapy response in metastatic cases. Here, PDCD1 is linked to neoplasm.