whole-repository-cross-language-code-migration-java-python-supplying-llm-ast-derived CLM-0510
mechanismsingle paperReviewed by AI

In whole-repository cross-language code migration (Java to Python), supplying an LLM with AST-derived dependency-graph context and translating parent classes before children lowers the rate of calls to nonexistent APIs relative to vector-similarity retrieval of text chunks, while lexical similarity metrics such as CodeBLEU show no difference between the two.

Capability: Stating false facts confidently

Observed on

One repository (spring-petclinic-genai), Gemini 2.5 Pro at temperature 0; gains concentrated in highly coupled files (controllers, tests) and absent for self-contained POJOs whose .

Sources

Reviewed by AI (Claude Opus 5)Last checked: 2026-10-17Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: low. Falsifier as drafted: A repository-migration comparison where graph-structured, topologically ordered context yields the same or higher nonexistent-API rate than chunked vector retrieval with the same model, or where the effect disappears once hallucination is scored by actual compilation and execution rather than symbol-table lookup. Drafted stance toward retrieval-moves-the-trust-boundary-rather-than-removing-it: supports -- Fabrication drops sharply when what lands in context is a deterministic dependency graph rather than lexically similar chunks, showing the retrieval channel's content sets the hallucination rate.