Our study found that the level of tumour inflammation markedly affected the sensitivity of the AI-based BRAF prediction, which was low for inflamed UC and high in those without associated inflammation. Here, BRAF is linked to neoplasm.