TRANSREPO-BENCH
收藏资源简介:
TRANSREPO-BENCH是一个用于代码库翻译的高质量开源基准测试,专注于Java到C#的翻译。该数据集由13个任务组成,每个任务包含源Java代码库、目标C#代码库骨架、单元测试和测试环境。数据集通过提取和翻译代码库的骨架结构,确保翻译的一致性和可维护性。TRANSREPO-BENCH旨在解决代码库翻译中的跨文件依赖和模块交互问题,提供细粒度的质量评估,帮助研究人员在实际场景中评估模型性能。
TRANSREPO-BENCH is a high-quality open-source benchmark for codebase translation, focusing on Java-to-C# translation. This dataset comprises 13 tasks, each containing the source Java codebase, the skeleton of the target C# codebase, unit tests, and test environments. The dataset ensures translation consistency and maintainability by extracting and translating the skeleton structures of codebases. TRANSREPO-BENCH aims to address cross-file dependencies and module interaction issues in codebase translation, and provides fine-grained quality evaluation to help researchers assess model performance in real-world scenarios.




