This repository contains the google colab notebook which was used to classify requirements as vague or not. Further, the helper and scripts used to evaluate data for the Vague Requirements Master's Thesis are included.
git clone git@github.com:HaaLeo/vague-requirements-scripts.git
cd vague-requirements-scripts
python3 -m venv ./.venv
source .venv/bin/activate
pip3 install -r requirements-dev.txt
In the scripts adjust the file paths to your data sets then you can run them like
python3 scripts/compare.py
To avoid being disconnected from Google Colab due to inactivity one can insert the following into the browser's console:
function ClickConnect(){
console.log(`[${new Date().toISOString()}] Working`);
document.querySelector("colab-connect-button").shadowRoot.getElementById('connect').click();
}
const myInterval = setInterval(ClickConnect,60000);
Code was derived from ShIvam Rawat's example.