Reproduce “Detecting Semantic Conflicts with Unit Tests” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Léuson Da Silva, Paulo Borba, Toni Maciel, Wardah Mahmood, Thorsten Berger, João Moisakis, Aldiberg Gomes, Vinícius Leite
SAM (SemAntic Merge), a semantic merge tool, detects behavioral semantic conflicts in Java projects by leveraging automated unit test generation. An evaluation across 85 real-world merge scenarios demonstrated SAM's ability to identify 9 out of 28 actual conflicts (32%) with a low false positive rate of 3 out of 57 non-conflicting cases, primarily utilizing EvoSuite and Differential EvoSuite combined with testability transformations.
Key insights
- Automated unit tests can serve as effective "partial specifications" for detecting behavioral semantic conflicts, offering a more lightweight alternative to formal specifications or extensive static analysis.
- Applying source code "Testability Transformations" significantly enhances the ability of automated test generation tools to create conflict-revealing tests by making internal elements more accessible.
- Combining multiple unit test generation strategies, specifically EvoSuite and Differential EvoSuite, is crucial for maximizing the detection rate of diverse semantic conflicts.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.