2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) 2019
DOI: 10.1109/icse.2019.00047
|View full text |Cite
|
Sign up to set email alerts
|

DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippets

Abstract: Platforms like Stack Overflow and GitHub's gist system promote the sharing of ideas and programming techniques via the distribution of code snippets designed to illustrate particular tasks. Python, a popular and fast-growing programming language, sees heavy use on both sites, with nearly one million questions asked on Stack Overflow and 400 thousand public gists on GitHub. Unfortunately, around 75% of the Python example code shared through these sites cannot be directly executed. When run in a clean environmen… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
32
0

Year Published

2019
2019
2024
2024

Publication Types

Select...
5
4

Relationship

2
7

Authors

Journals

citations
Cited by 54 publications
(32 citation statements)
references
References 19 publications
0
32
0
Order By: Relevance
“…V2, "Version 2", is an extension of DockerizeMe [9] that adds support for validating multiple environments and reasoning over dependency versions. V2 determines if a code snippet or its dependencies is out-of-date by discovering instances of configuration drift.…”
Section: V2mentioning
confidence: 99%
See 1 more Smart Citation
“…V2, "Version 2", is an extension of DockerizeMe [9] that adds support for validating multiple environments and reasoning over dependency versions. V2 determines if a code snippet or its dependencies is out-of-date by discovering instances of configuration drift.…”
Section: V2mentioning
confidence: 99%
“…This leaves 2,096 gists that we refer to as the Gist dataset. Prior work was unable to make 1,999 of these gists execute successfully after candidate environment generation using the latest versions of all dependencies [9]. Second, we collect larger Python code snippets in the form of Python notebooks.…”
Section: A Datasetsmentioning
confidence: 99%
“…In [3] In [2] from pandas import read_excel as re re(…) # read_excel(…) from pandas import * read_excel(…) In [6] In [4] The following code cell demonstrates how to draw a histogram using pandas's DataFrame. This is an example of Jupyter notebook.…”
Section: Code Cellmentioning
confidence: 99%
“…Other interesting approach would involve automatic inference and construction base images for running tutorials. For example, DockerizeMe [13] is a technique that given a Python code snippet, can automatically infer system and transitive dependencies required to successfully execute a code snippet. Such a technique could be adopted to determine the dependencies necessary for running a tutorial.…”
Section: Implication Iiiðprovide Self-containedmentioning
confidence: 99%