Skip to content

HaaLeo/vague-requirements-scripts

Repository files navigation

Vague-requirements-scripts

Open In Colab

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.

Installation

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

Usage

In the scripts adjust the file paths to your data sets then you can run them like

python3 scripts/compare.py

Google Colab Helper

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.

About

This repository contains all the helper and scripts used to evaluate data for the Vague Requirements Master's Thesis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published