paper-with-me

Papers

Skeleton-Guided-Translation: A Benchmarking Framework for Code Repository Translation with Fine-Grained Quality Evaluation

2025-01-27 · Xing Zhang, Jiaheng Wen, Fangkai Yang, Pu Zhao, Yu Kang, Junhao Wang, Maoquan Wang, Yufan Huang, Elsie Nallipogu, QIngwei Lin, Yingnong Dang, Saravan Rajmohan, Dongmei Zhang, Qi Zhang

The advancement of large language models has intensified the need to modernize enterprise applications and migrate legacy systems to secure, versatile languages. However, existing code translation benchmarks primarily focus on individual functions, overlooking the complexities involved in translating entire repositories, such as maintaining inter-module coherence and managing dependencies. While some recent repository-level translation benchmarks attempt to address these challenges, they still face limitations, including poor maintainability and overly coarse evaluation granularity, which make them less developer-friendly. We introduce Skeleton-Guided-Translation, a framework for repository-level Java to C# code translation with fine-grained quality evaluation. It uses a two-step process: first translating the repository's structural "skeletons", then translating the full repository guided by these skeletons. Building on this, we present TRANSREPO-BENCH, a benchmark of high quality open-source Java repositories and their corresponding C# skeletons, including matching unit tests and build configurations. Our unit tests are fixed and can be applied across multiple or incremental translations without manual adjustments, enhancing automation and scalability in evaluations. Additionally, we develop fine-grained evaluation metrics that assess translation quality at the individual test case level, addressing traditional binary metrics' inability to distinguish when build failures cause all tests to fail. Evaluations using TRANSREPO-BENCH highlight key challenges and advance more accurate repository level code translation.

📄 PDF Abstract BibTeX arXiv:2501.16050

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingC++ codeCode TranslationTranslation

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Spatial-Temporal Graph Mamba for Music-Guided Dance Video Synthesis

2025-07-09 · Hao Tang, Ling Shao, Zhenyu Zhang, Luc Van Gool 외 arxiv

We propose a novel spatial-temporal graph Mamba (STG-Mamba) for the music-guided dance video synthesis task, i.e., to translate the input music to a dance video. STG-Mamba consists of two translation mappings: music-to-s…

EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translation

2025-08-06 · Chaofan Wang, Tingrui Yu, Beijun Shen, Jie Wang 외 arxiv

Translating legacy C codebases to Rust is increasingly demanded for building safety-critical systems. While various approaches have emerged for this task, they face inherent trade-offs: rule-based methods often struggle …

Unified Generative Adversarial Networks for Controllable Image-to-Image Translation

2019-12-12 · Hao Tang, Hong Liu, Nicu Sebe

We propose a unified Generative Adversarial Network (GAN) for controllable image-to-image translation, i.e., transferring an image from a source to a target domain guided by controllable structures. In addition to condit…

Facial Expression TranslationGenerative Adversarial NetworkGesture-to-Gesture TranslationImage Generation+2

Zero-shot Skeleton-based Action Recognition with Prototype-guided Feature Alignment

2025-07-01 · Kai Zhou, Shuhai Zhang, Zeng You, Jinwu Hu 외

Zero-shot skeleton-based action recognition aims to classify unseen skeleton-based human actions without prior exposure to such categories during training. This task is extremely challenging due to the difficulty in gene…

Action RecognitionOne-Shot 3D Action RecognitionSkeleton Based Action RecognitionTransfer Learning+2

Skelite: Compact Neural Networks for Efficient Iterative Skeletonization

2025-03-10 · Luis D. Reyes Vargas, Martin J. Menten, Johannes C. Paetzold, Nassir Navab 외

Skeletonization extracts thin representations from images that compactly encode their geometry and topology. These representations have become an important topological prior for preserving connectivity in curvilinear str…

BenchmarkingComputational Efficiency