TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gao, Shuzheng, Li, Eric John, Lam, Man Ho, Xiao, Jingyu, Wan, Yuxuan, Wang, Chaozheng, Tik, Ng Man, Lyu, Michael R.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918164004077568
author Gao, Shuzheng
Li, Eric John
Lam, Man Ho
Xiao, Jingyu
Wan, Yuxuan
Wang, Chaozheng
Tik, Ng Man
Lyu, Michael R.
author_facet Gao, Shuzheng
Li, Eric John
Lam, Man Ho
Xiao, Jingyu
Wan, Yuxuan
Wang, Chaozheng
Tik, Ng Man
Lyu, Michael R.
contents Large foundation models are fundamentally transforming the software engineering landscape, demonstrating exceptional capabilities across diverse tasks such as code generation, debugging, and testing. Despite this rapid progress, a significant gap remains in how to comprehensively evaluate these models' trustworthiness in real-world software engineering scenarios. Existing benchmarks suffer from limited task scope and fail to incorporate critical evaluation aspects such as the robustness and reliability of models. To bridge this gap, we present an evaluation framework called TREAT (Code LLMs Trustworthiness / Reliability Evaluation And Testing) that provides a holistic assessment of model performance in code intelligence tasks. Our evaluation framework addresses key limitations in existing approaches with four main improvements: (1) Multi-Task Holistic Evaluation that spans diverse software engineering activities rather than limited coding tasks; (2) Multi-Language and Multi-Modality Assessment that extends beyond traditional single-language, text-only benchmarks to include multi-modality coding tasks; (3) Robustness Assessment that evaluates model reliability under semantically-preserving code transformations; and (4) Rigorous Evaluation Methodology that enhances the trustworthiness of evaluation results through diverse evaluation prompts and adaptive solution extraction. Based on this evaluation framework, we assess 26 state-of-the-art models and uncover both their strengths and limitations, yielding several key insights:(1) Current models show substantial performance variation across programming tasks; (2) Multi-modal language models demonstrate specific performance limitations in UI code generation and edit;
format Preprint
id arxiv_https___arxiv_org_abs_2510_17163
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework
Gao, Shuzheng
Li, Eric John
Lam, Man Ho
Xiao, Jingyu
Wan, Yuxuan
Wang, Chaozheng
Tik, Ng Man
Lyu, Michael R.
Software Engineering
Artificial Intelligence
Large foundation models are fundamentally transforming the software engineering landscape, demonstrating exceptional capabilities across diverse tasks such as code generation, debugging, and testing. Despite this rapid progress, a significant gap remains in how to comprehensively evaluate these models' trustworthiness in real-world software engineering scenarios. Existing benchmarks suffer from limited task scope and fail to incorporate critical evaluation aspects such as the robustness and reliability of models. To bridge this gap, we present an evaluation framework called TREAT (Code LLMs Trustworthiness / Reliability Evaluation And Testing) that provides a holistic assessment of model performance in code intelligence tasks. Our evaluation framework addresses key limitations in existing approaches with four main improvements: (1) Multi-Task Holistic Evaluation that spans diverse software engineering activities rather than limited coding tasks; (2) Multi-Language and Multi-Modality Assessment that extends beyond traditional single-language, text-only benchmarks to include multi-modality coding tasks; (3) Robustness Assessment that evaluates model reliability under semantically-preserving code transformations; and (4) Rigorous Evaluation Methodology that enhances the trustworthiness of evaluation results through diverse evaluation prompts and adaptive solution extraction. Based on this evaluation framework, we assess 26 state-of-the-art models and uncover both their strengths and limitations, yielding several key insights:(1) Current models show substantial performance variation across programming tasks; (2) Multi-modal language models demonstrate specific performance limitations in UI code generation and edit;
title TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2510.17163