If you are interested in contributing to GLI, your contributions will likely fall into one of the following three categories:
- You want to contribute a new dataset/task.
- You want to implement a new feature for GLI.
- You want to fix a bug.
We also provide some times on how to start developing GLI on your local machine.
If you want to contribute a new dataset or task, please take a look at the following three sections for information relevant to dataset contribution.
Detailed instructions on the dataset contribution workflow can be found in the Dataset Submission Guideline .
Ethical considerations are critical components of the quality of datasets. We have provided our code of ethics on dataset contribution in CODE_OF_CONDUCT.md.
The original contributor(s) of a dataset may request a removal of the dataset. Project maintainers will notify all the subsequent contributors to that dataset, and remove the dataset from the main branch and the cloud storage platform within 30 days, if there is no reasonable objection from the subsequent contributors.
Warning: It may not be possible to remove the datasets completely once contributed to GLI. The metadata information will remain in the commit history, and there might be other distributions on the internet.
Please feel free to request a new feature through Issues and/or open a pull request to implement it. In general, we accept any features as long as they fit the scope of this package. If you are unsure about this or need help on the design/implementation of your feature, post about it in an issue.
Please feel free to report a bug through Issues and/or open a pull request to fix it. Please provide a clear and concise description of what the bug was. If you are unsure about if this is a bug at all or how to fix, post about it in an issue.
To develop GLI on your local machine, here are some tips:
-
Clone a copy of GLI from source:
git clone https://github.com/Graph-Learning-Benchmarks/gli.git cd gli
-
If you already cloned GLI from source, update it:
git pull
-
Install GLI in editable mode:
pip install -e ".[test,full]"
This mode will symlink the Python files from the current local source tree into the Python install. Hence, if you modify a Python file, you do not need to reinstall GLI again.
-
Run an example:
python3 example.py
This script will load the
NodeClassification
task oncora
dataset. -
Ensure your installation is correct by running the entire test suite with
make test