mlsanityData to 14 Oct 2026

Advancing Automated In-Isolation Validation in Repository-Level Code Translation

arXiv 2511.21878 ↗First posted 26 Nov 2025cs.SE cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

Repository-level code translation aims to migrate entire repositories across programming languages while preserving functionality automatically. Despite advancements in repository-level code translation, validating the translations remains challenging. This paper proposes TRAM, which combines context-aware type resolution with mock-based in-isolation validation to achieve high-quality translations between programming languages. Prior to translation, TRAM retrieves API documentation and contextual code information for each variable type in the source language. It then prompts a large language model (LLM) with retrieved contextual information to resolve type mappings across languages with precise semantic interpretations. Using the automatically constructed type mapping, TRAM employs a custom serialization/deserialization workflow that automatically constructs equivalent mock objects in the target language. This enables each method fragment to be validated in isolation, without the high cost of using agents for translation validation, or the heavy manual effort required by existing approaches that rely on language interoperability. TRAM demonstrates state-of-the-art performance in Java-to-Python translation, underscoring the effectiveness of its integration of RAG-based type resolution with reliable in-isolation validation.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 26 Nov 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024RustRepoTrans: Repository-level Code Translation Benchmark Targeting Rust
  2. 2025Towards Repository-Level Program Verification with Large Language Models
  3. 2025ACT: Bridging the Gap in Code Translation through Synthetic Data Generation & Adaptive Training
  4. 2025MRG-Bench: Evaluating and Exploring the Requirements of Context for Repository-Level Code Generation
  5. 2025TransLibEval: Demystify Large Language Models' Capability in Third-party Library-targeted Code Translation
  6. 2025RepoTransAgent: Multi-Agent LLM Framework for Repository-Aware Code Translation
  7. 2024SpecTra: Enhancing the Code Translation Ability of Language Models by Generating Multi-Modal Specifications
  8. 2026Beyond Vector Similarity: Hierarchical Context-Aware Graph RAG vs Standard RAG in Enterprise Code Migration