mlsanityData to 7 Oct 2026

UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing

arXiv 2402.03396 ↗First posted 4 Feb 2024cs.SE cs.AI cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

The remarkable capability of large language models (LLMs) in generating high-quality code has drawn increasing attention in the software testing community. However, existing code LLMs often demonstrate unsatisfactory capabilities in generating accurate and complete tests since they were trained on code snippets collected without differentiating between code for testing purposes and other code. In this paper, we present a large-scale dataset UniTSyn, which is capable of enhancing the prowess of LLMs for Unit Test Synthesis. Associating tests with the tested functions is crucial for LLMs to infer the expected behavior and the logic paths to be verified. By leveraging Language Server Protocol, UniTSyn achieves the challenging goal of collecting focal-test pairs without per-project execution setups or per-language heuristics that tend to be fragile and difficult to scale. It contains 2.7 million focal-test pairs across five mainstream programming languages, making it possible to be utilized for enhancing the test generation ability of LLMs. The details of UniTSyn can be found in Table 1. Our experiments demonstrate that, by building an autoregressive model based on UniTSyn, we can achieve significant benefits in learning and understanding unit test representations, resulting in improved generation accuracy and code coverage across all evaluated programming languages. Code and data will be publicly available.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 32 of its 74 references that are in the map. First posted on arXiv 4 Feb 2024.

Builds on

32 of 74 references.

References · 32

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  7. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  8. 2023StarCoder: may the source be with you!cited by 790
  9. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  10. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  11. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  12. 2022CodeT: Code Generation with Generated Testscited by 369
20 more
  1. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  2. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  3. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  4. 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
  5. 2023SantaCoder: don't reach for the stars!cited by 169
  6. 2020A Transformer-based Approach for Source Code Summarizationcited by 129
  7. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
  8. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  9. 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
  10. 2021TOGA: A Neural Method for Test Oracle Generationcited by 57
  11. 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
  12. 2023A3Test: Assertion-Augmented Automated Test Case Generationcited by 33
  13. 2023Learning Deep Semantics for Test Completioncited by 31
  14. 2023CAT-LM: Training Language Models on Aligned Code And Testscited by 28
  15. 2018Angora: Efficient Fuzzing by Principled Searchcited by 15
  16. 2023Understanding Programs by Exploiting (Fuzzing) Test Casescited by 13
  17. 2023The Program Testing Ability of Large Language Models for Codecited by 11
  18. 2023Code Representation Pre-training with Complements from Program Executionscited by 8
  19. 2019Matryoshka: Fuzzing Deeply Nested Branchescited by 4
  20. 2021The Specification Language Server Protocol: A Proposal for Standardised LSP Extensionscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 1.

5 papers.