We have a separate README for the Green Lab Profiling project, which uses Experiment Runner as its infrastructure. You can find it here.
It lists the steps to reproduce the results of Comparative Analysis of Energy Efficiency between ChatGPT-Generated Codes and Handwritten Codes.
R code for the statistical analysis can be found here.
Results can be found here.
Note Before checking out the Green Lab Profiling, please read the following sections to install the Experiment Runner and try connecting Raspberry Pi with SSH.
cd experiment-runner/
pip install -r requirements.txt
To verify
python experiment-runner/ examples/hello-world/RunnerConfig.py
or if your Python 3 is not the default Python
python3 experiment-runner/ examples/hello-world/RunnerConfig.py
The IP address of the Raspberry Pi can be found by running
ifconfig
The IP address is the one listed under eth0
, followed by inet
, because during the experiment we are using the network cable connection.
Then connect to the Raspberry Pi via SSH
ssh pi@{IP_ADDRESS}
Check if dependencies are already installed:
python3 --version
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar -xf Python-3.9.6.tgz
cd Python-3.9.6
./configure
make -j 4
sudo make altinstall