Skip to content

Team GreenGen fork of Experiment Runner, containing replication steps for the experiment.

Notifications You must be signed in to change notification settings

imchell/greenlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 

Repository files navigation

GreenLab

Green Lab Profiling

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.

How to Install Experiment Runner

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

Connect with Raspberry Pi via SSH

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}

Dependencies Installation on Raspberry Pi

Check if dependencies are already installed:

python3 --version

Python 3.9.6

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

About

Team GreenGen fork of Experiment Runner, containing replication steps for the experiment.

Resources

Stars

Watchers

Forks