2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) 2019
DOI: 10.1109/ase.2019.00052
|View full text |Cite
|
Sign up to set email alerts
|

V2: Fast Detection of Configuration Drift in Python

Abstract: Code snippets are prevalent, but are hard to reuse because they often lack an accompanying environment configuration. Most are not actively maintained, allowing for drift between the most recent possible configuration and the code snippet as the snippet becomes out-of-date over time. Recent work has identified the problem of validating and detecting out-of-date code snippets as the most important consideration for code reuse. However, determining if a snippet is correct, but simply out-of-date, is a non-trivia… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
7
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 20 publications
(8 citation statements)
references
References 33 publications
1
7
0
Order By: Relevance
“…• DockerizeMe [10], which infers the runtime environments based on a pre-built knowledge base, without considering Python versions nor specific dependency versions. • V2 [11], which reuses the inference results of DockerzieMe as the starting environments in Python 2 and Python 3, and guides the version changes by the error messages of code execution until finding a working environment. • SnifferDog [21], which uses a pre-built API bank to restore the execution environments of Jupyter notebooks.…”
Section: Evaluation 51 Experiments Settingsmentioning
confidence: 99%
See 3 more Smart Citations
“…• DockerizeMe [10], which infers the runtime environments based on a pre-built knowledge base, without considering Python versions nor specific dependency versions. • V2 [11], which reuses the inference results of DockerzieMe as the starting environments in Python 2 and Python 3, and guides the version changes by the error messages of code execution until finding a working environment. • SnifferDog [21], which uses a pre-built API bank to restore the execution environments of Jupyter notebooks.…”
Section: Evaluation 51 Experiments Settingsmentioning
confidence: 99%
“…com/nju-websoft/PyCRE) and evaluate it with 10,250 realworld Python code snippets on Gistable [9]. Our experiments show that PyCRE efficiently resolves dependency issues for both Python 2 and Python 3, leaving only 1,524 ImportError, which is significantly superior to 2,654 ImportError of the state-of-the-art approach [11].…”
Section: Introductionmentioning
confidence: 96%
See 2 more Smart Citations
“…Second, DockerizeMe does not execute code to validate its findings, let alone compare results against published results-whereas SnifferDog automatically determines the configuration that makes the notebook executable, ideally even reproducing the results. The authors further proposed the tool V2 that takes the program crashes information to guide the search for correct environment dependencies [21]. However this approach relies on repeated execution of code snippets and does not handle the case when no crash happen and dependencies are incorrect.…”
Section: A Restoring Execution Environmentsmentioning
confidence: 99%