Identifying Latent Declarative Representations of Code for Assisting Repository Migration
Source
arxiv.org
Author
Shraddha Surana, Ashwin Srinivasan, Michael Bain
Date
Context
ADFD-Migrate translates a software repository through an intermediate description of what its parts do and how data moves between them. A Large language modelA model trained on large amounts of data to process and generate language.Full definition → builds this annotated diagram from source code, with static-analysis checks guiding coverage. Differences between the source diagram and one recovered from the translated code guide another generation pass.
On 50 Fortran repositories translated into Python, the authors report 327 passing behavioral probes out of 382, or 85.6%. Forty repositories passed every probe attempted on them. These results show agreement on the tested behaviors; they do not establish that every behavior of those repositories survived migration.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Program — A set of instructions stored so that a computer can run it.
Dependency — Anything a program needs to run that its author did not write: the language, its standard library, or a separately installed package.
Document chunking — Splitting source material into units that can be indexed and retrieved.