File tree Expand file tree Collapse file tree 13 files changed +82
-109
lines changed
Expand file tree Collapse file tree 13 files changed +82
-109
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,9 @@ This repository provides scripts and setup files for running both kinds of evalu
2222
2323### Setup
2424
25- To set up the environment, refer to the following :
25+ To set up the environment, refer to:
2626
27- * ` scripts/mutation-prerequisites.md ` for mutation analysis
28- * ` scripts/defects4j-prerequisites.md ` for defect detection
27+ * ` scripts/prerequisites.md ` for all prerequisites and setup instructions
2928
3029### Running Scripts
3130
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ USAGE_STRING="usage: defects4j-evosuite.sh -b id -o RESULTS_CSV [-t total_time]
4242# ------------------------------------------------------------------------------
4343# Prerequisites:
4444# ------------------------------------------------------------------------------
45- # See file `defects4j- prerequisites.md`.
45+ # See file `prerequisites.md`.
4646
4747# Fail this script on errors.
4848set -e
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ USAGE_STRING="usage: defects4j-randoop.sh -b id -o RESULTS_CSV [-f features] [-t
4545# ------------------------------------------------------------------------------
4646# Prerequisites:
4747# ------------------------------------------------------------------------------
48- # See file `defects4j- prerequisites.md`.
48+ # See file `prerequisites.md`.
4949
5050# Fail this script on errors.
5151set -e
Original file line number Diff line number Diff line change @@ -12,10 +12,31 @@ figures and tables.
1212
1313### Setup
1414
15- To set up the environment, refer to the following :
15+ To set up the environment, refer to:
1616
17- * ` scripts/mutation-prerequisites.md ` for mutation analysis
18- * ` scripts/defects4j-prerequisites.md ` for defect detection
17+ * ` scripts/prerequisites.md ` for all prerequisites and setup instructions
18+
19+ #### Python Dependencies
20+
21+ Before running any experiment scripts, ensure the following Python packages are installed:
22+
23+ * ` pandas `
24+ * ` matplotlib `
25+ * ` seaborn `
26+
27+ Install these packages using your preferred Python package manager. For example:
28+
29+ ** With pip:**
30+
31+ ``` bash
32+ pip install pandas matplotlib seaborn
33+ ```
34+
35+ ** With uv:**
36+
37+ ``` bash
38+ uv pip install pandas matplotlib seaborn
39+ ```
1940
2041### Running Scripts
2142
Original file line number Diff line number Diff line change 2828# ------------------------------------------------------------------------------
2929# Prerequisites:
3030# ------------------------------------------------------------------------------
31- # See file `defects4j- prerequisites.md`.
31+ # See file `prerequisites.md`.
3232#
3333# ===============================================================================
3434
@@ -41,10 +41,6 @@ if [ -z "$PYTHON_EXECUTABLE" ]; then
4141 exit 1
4242fi
4343
44- pip install pandas
45- pip install matplotlib
46- pip install seaborn
47-
4844# Clean up previous run artifacts
4945rm -rf " $GRT_TESTING_ROOT " /build/defects4j-src/*
5046rm -rf " $GRT_TESTING_ROOT " /build/randoop-tests/*
Original file line number Diff line number Diff line change 2828# ------------------------------------------------------------------------------
2929# Prerequisites:
3030# ------------------------------------------------------------------------------
31- # See file `mutation- prerequisites.md`.
31+ # See file `prerequisites.md`.
3232#
3333# ===============================================================================
3434
@@ -37,10 +37,6 @@ GRT_TESTING_ROOT="$(realpath "$SCRIPT_DIR"/../)"
3737
3838. " $SCRIPT_DIR " /common.sh
3939
40- pip install pandas
41- pip install matplotlib
42- pip install seaborn
43-
4440# Clean up previous run artifacts.
4541make -C " $GRT_TESTING_ROOT " clean
4642rm -f " $GRT_TESTING_ROOT " /results/fig6-table3.pdf
Original file line number Diff line number Diff line change 2828# ------------------------------------------------------------------------------
2929# Prerequisites:
3030# ------------------------------------------------------------------------------
31- # See file `mutation- prerequisites.md`.
31+ # See file `prerequisites.md`.
3232#
3333# ===============================================================================
3434
3535SCRIPT_DIR=" $( CDPATH=' ' cd -- " $( dirname -- " $0 " ) " && pwd -P) "
3636GRT_TESTING_ROOT=" $( realpath " $SCRIPT_DIR " /../) "
3737. " $SCRIPT_DIR " /common.sh
3838
39- pip install pandas
40- pip install matplotlib
41- pip install seaborn
42-
4339# Clean up previous run artifacts
4440make -C " $GRT_TESTING_ROOT " clean
4541rm -f " $GRT_TESTING_ROOT " /results/fig7.pdf
Original file line number Diff line number Diff line change 3232# ------------------------------------------------------------------------------
3333# Prerequisites:
3434# ------------------------------------------------------------------------------
35- # See file `mutation- prerequisites.md`.
35+ # See file `prerequisites.md`.
3636#
3737# ===============================================================================
3838
@@ -41,10 +41,6 @@ GRT_TESTING_ROOT="$(realpath "$SCRIPT_DIR"/../)"
4141
4242. " $SCRIPT_DIR " /common.sh
4343
44- pip install pandas
45- pip install matplotlib
46- pip install seaborn
47-
4844# Clean up previous run artifacts
4945make -C " $GRT_TESTING_ROOT " clean
5046rm -f " $GRT_TESTING_ROOT " /results/fig8-9.pdf
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ USAGE_STRING="usage: mutation-evosuite.sh [-h] [-v] [-r] [-o RESULTS_CSV] [-t to
4141# ------------------------------------------------------------------------------
4242# Prerequisites:
4343# ------------------------------------------------------------------------------
44- # See file `mutation- prerequisites.md`.
44+ # See file `prerequisites.md`.
4545
4646# Fail this script on errors.
4747set -e
You can’t perform that action at this time.
0 commit comments