paper-with-me

Papers

Serenity: Library Based Python Code Analysis for Code Completion and Automated Machine Learning

2023-01-05 · Wenting Zhao, Ibrahim Abdelaziz, Julian Dolby, Kavitha Srinivas, Mossad Helali, Essam Mansour

Dynamically typed languages such as Python have become very popular. Among other strengths, Python's dynamic nature and its straightforward linking to native code have made it the de-facto language for many research areas such as Artificial Intelligence. This flexibility, however, makes static analysis very hard. While creating a sound, or a soundy, analysis for Python remains an open problem, we present in this work Serenity, a framework for static analysis of Python that turns out to be sufficient for some tasks. The Serenity framework exploits two basic mechanisms: (a) reliance on dynamic dispatch at the core of language translation, and (b) extreme abstraction of libraries, to generate an abstraction of the code. We demonstrate the efficiency and usefulness of Serenity's analysis in two applications: code completion and automated machine learning. In these two applications, we demonstrate that such analysis has a strong signal, and can be leveraged to establish state-of-the-art performance, comparable to neural models and dynamic analysis respectively.

📄 PDF Abstract BibTeX arXiv:2301.05108

Code (0)

등록된 구현이 없습니다.

Tasks

Code Completion

Similar Papers 제목 키워드 기반

A Library for Representing Python Programs as Graphs for Machine Learning

2022-08-15 · David Bieber, Kensen Shi, Petros Maniatis, Charles Sutton 외

Graph representations of programs are commonly a central element of machine learning for code research. We introduce an open source Python library python_graphs that applies static analysis to construct graph representat…

Picasso: A Sparse Learning Library for High Dimensional Data Analysis in R and Python

2020-06-27 · Jason Ge, Xingguo Li, Haoming Jiang, Han Liu 외

We describe a new library named picasso, which implements a unified framework of pathwise coordinate optimization for a variety of sparse learning problems (e.g., sparse linear regression, sparse logistic regression, spa…

regressionSparse Learning

abess: A Fast Best Subset Selection Library in Python and R

2021-10-19 · Jin Zhu, Xueqin Wang, Liyuan Hu, Junhao Huang 외

We introduce a new library named abess that implements a unified framework of best-subset selection for solving diverse machine learning problems, e.g., linear regression, classification, and principal component analysis…

Model SelectionSparse LearningVariable Selection

Tick: a Python library for statistical learning, with a particular emphasis on time-dependent modelling

2017-07-10 · Emmanuel Bacry, Martin Bompaire, Stéphane Gaïffas, Soren Poulsen

Tick is a statistical learning library for Python~3, with a particular emphasis on time-dependent models, such as point processes, and tools for generalized linear models and survival analysis. The core of the library is…

Point ProcessesSurvival Analysis

MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarios

2025-06-15 · Jinyang Huang, Xiachong Feng, Qiguang Chen, Hanjie Zhao 외

Code debugging is a crucial task in software engineering, which attracts increasing attention. While remarkable success has been made in the era of large language models (LLMs), current research still focuses on the simp…

Benchmarking