GitXplorerGitXplorer
S

SmartCommitEvaluation-Viz

public
5 stars
3 forks
2 issues

Commits

List of commits on branch main.
Unverified
6b00cad03afd043485f49ccc0be18f176890a824

data: add dataset zip.

SSymbolk committed 4 years ago
Unverified
a50b1f3dd2690308cdd8e9e8142664d56784b1a1

doc: add sup pdf and users-week statistics

SSymbolk committed 4 years ago
Unverified
30deb946fc7c6e84ffc169257f05fde930f2e7a7

feat: add users-week visualization

SSymbolk committed 4 years ago
Unverified
1289c76689884aa787114f9a2ad1d4b1f188ded5

data: add dataset zip.

SSymbolk committed 4 years ago
Unverified
27c3b37d63d8760edf66ae790612c945a8bd0d7e

doc: update README.

SSymbolk committed 4 years ago
Unverified
9793b8cb01a41e68f63e2d92e40b13f3db0e420d

script: add all viz code.

SSymbolk committed 4 years ago

README

The README file for this repository.

SmartCommitEvaluation-Viz

Requirements

  • macOS/Linux
  • Python 3.7.0
  • PyCharm 2020

Instructions

  1. Open the project in PyCharm, setup the vent as Python 3.7.0, and install dependencies:

    pip install -r requirements.txt
    
  2. Edit SmartCommitEvaluation-Viz/config.py to change the raw data directory:

    # root dir of raw data
    root_path = str(Path.home()) + '/smartcommit/viz/'
    
  3. For Controlled Open Source Experiment:

    • Run rq1/rq1-boxplot-project_method.py to generate rq1-baselines.pdf: Accuracy of SmartCommit and 3 baseline methods (Figure 7(a) in the paper)
    • Run rq1/rq1-boxplot-project_length.py to generate rq1-length.pdf: Accuracy of SmartCommit for different numbers of merged atomic commits (Figure 7(b) in the paper)
    • Run rq2/rq2-adjustments.py to generate reassign_frequency.txt and reorder_frequency.txt: Number of reassign and reorder steps and proportions.
  4. For Industrial Field Study:

    • Run rq3/rq3-scatterplot.py to generate rq3.pdf: the runtime cost with different input sizes;
    • Run rq4/preprocess.py first, and other python files then to generate usage distributions (Figure 9 in the paper).