Solidago
A toolbox for Solid Algorithmic Governance, used by the Tournesol platform.
Documentation: https://solidago.tournesol.app
Development
Tests
To run tests, setup a virtual environment, activate it, install dependencies and run pytest.
python3 -m venv devenv
source devenv/bin/activate
pip install -e .[test]
pytest
Depending on the platform, you may need to replace source devenv/bin/activate by another call.
See the venv doc for more information.
Docs
The documentation website (deployed to https://solidago.tournesol.app) is built using MkDocs and Material for MkDocs.
To build the documentation locally:
- Install the "docs" dependencies in your virtual environment
pip install -e .[docs]
- Start the MkDocs development server
mkdocs serve -a localhost:9000
Find more options on https://www.mkdocs.org/user-guide/cli/
Synthetic experiments
To run experiments, once the virtual environement setup, you may run the experiments on synthetic data using.
python3 experiments/synthetic.py experiments/resilience.json
python3 experiments/synthetic.py experiments/engagement_bias.json
The results will be exported in experiments/results.
You may modify the experiments by editing experiments/resilience.json,
or by creating a new .json file.
Publish a new release
- In a Pull Request, update the version number in
./src/solidago/__version__.py - The package will be published automatically when the new version is merged into "main", by this Github Action.
Copyright & License
Copyright 2023-2025 Tournesol Association and contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Metadata
Release files for solidago 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| solidago-0.5.0.tar.gz | 775.6 kB | Without provenance | Details for solidago-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solidago-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for solidago-0.5.0-py3-none-any.whl |
Total release size: 858.2 kB
Release files / solidago-0.5.0.tar.gz
| Download URL | solidago-0.5.0.tar.gz |
|---|---|
| Size | 775.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91a82e0ff0162d81cc3c347f47d1730fa9ce97363944c464c90c272b0b107707
|
|
BLAKE2b-256 checksum How to use checksums |
8299145762e31405c1abc7188d28457b4429fcecbb0050cf8579901d48ca4bde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / solidago-0.5.0-py3-none-any.whl
| Download URL | solidago-0.5.0-py3-none-any.whl |
|---|---|
| Size | 82.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3442b6d884804dbe066a47d966abfd6b38357dba289217df5a21d9011988c7a0
|
|
BLAKE2b-256 checksum How to use checksums |
3e36ab0de4c01b4824795e61e466828c14fd8bdb121fc9153d8c09edbbecfd14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for solidago 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.