Write a Blog >>
ASE 2021
Sun 14 - Sat 20 November 2021 Australia
Tue 16 Nov 2021 19:20 - 19:40 at Kangaroo - Code Chair(s): Michael Pradel

Program translation is necessary in many real-world scenarios, such as porting codebases from an obsolete or deprecated language to a modern one or re-implementing existing projects in one’s preferred programming language. One way to automate program translation is to make use of Big Code. Existing data-driven approaches either training a translation model or leveraging cross-language retrieval. The former requires large amounts of training data and extra information or neglects significant characteristics of programs. The latter has a barrier to finding the translation with only the features of the input program as the query. In this paper, we present BigPT for interactive cross-language retrieval from Big Code only based on raw code and reusing the retrieved code to assist program translation. We build on existing work on cross-language code representation and we propose a novel predictive transformation model based on auto-encoders. The model is trained on Big Code to generate a target-language representation, which will be used as the query to retrieve the most relevant translations for a given program. Our succinct query enables the user to easily update and correct the returned results to improve the retrieval process. Our experiments show that BigPT outperforms state-of-the-art baselines in terms of program accuracy. Using our novel querying and retrieving mechanism, BigPT can be scaled to the large dataset and efficiently retrieve the translation.

Tue 16 Nov

Displayed time zone: Hobart change

19:00 - 20:00
CodeTool Demonstrations / Research Papers / NIER track at Kangaroo
Chair(s): Michael Pradel University of Stuttgart
19:00
20m
Talk
EditSum: A Retrieve-and-Edit Framework for Source Code Summarization
Research Papers
Jia Li Peking University, Yongmin Li Peking University, Ge Li Peking University, Xing Hu Zhejiang University, Xin Xia Huawei Software Engineering Application Technology Lab, Zhi Jin Peking University
19:20
20m
Talk
Interactive Cross-language Code Retrieval with Auto-Encoders
Research Papers
Binger Chen Technische Universität Berlin, Ziawasch Abedjan Leibniz Universität Hannover
19:40
10m
Talk
Did You Do Your Homework? Raising Awareness on Software Fairness and Discrimination
NIER track
Max Hort University College London, Federica Sarro University College London
19:50
5m
Talk
Quito: a Coverage-Guided Test Generator for Quantum Programs
Tool Demonstrations
Xinyi Wang Nanjing University of Aeronautics and Astronautics, Nanjing, China, Paolo Arcaini National Institute of Informatics , Tao Yue Nanjing University of Aeronautics and Astronautics, Shaukat Ali Simula Research Laboratory, Norway
19:55
5m
Talk
Revizor: A Data-Driven Approach to Automate Frequent Code Changes Based on Graph Matching
Tool Demonstrations
Oleg Smirnov JetBrains Research, Saint Petersburg State University, Artyom Lobanov JetBrains Research, Yaroslav Golubev JetBrains Research, Elena Tikhomirova JetBrains Research, Timofey Bryksin JetBrains Research; HSE University
Pre-print