Skip to main content

Algorithms for Secure Algorithmic Governance

Project description

Solidago

Solid Algorithmic Governance, used by the Tournesol platform

Package version PyPI - License

Publish a new release

  1. In a Pull Request, update the version number in ./src/solidago/__version__.py
  2. The package will be published automatically when the new version is merged into "main", by this Github Action.

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.

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.

Copyright & License

Copyright 2023 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/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solidago-0.3.0.tar.gz (779.1 kB view details)

Uploaded Source

Built Distribution

solidago-0.3.0-py3-none-any.whl (93.4 kB view details)

Uploaded Python 3

File details

Details for the file solidago-0.3.0.tar.gz.

File metadata

  • Download URL: solidago-0.3.0.tar.gz
  • Upload date:
  • Size: 779.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for solidago-0.3.0.tar.gz
Algorithm Hash digest
SHA256 92aa286017f3c8ea0c96c559b7f14e2d422fa1ce26bf4bc5e10e159b498ecbed
MD5 3607a5f47ec63d806967404ba3a279c0
BLAKE2b-256 4d33b4cc893d97b0e1103b663529b598dbcc505c65250bf055ac9b91ca685de4

See more details on using hashes here.

File details

Details for the file solidago-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: solidago-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 93.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for solidago-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49806091ea5c02b356c43337833368c02a7c81fc2bcb31e78b4e0d654f62e3b6
MD5 986f8e2a794d51bbc31905dd75b0b360
BLAKE2b-256 40f884d851e251d83a7eed99463b9d08bb689adfc1bc059808ab578a8e8a3eb3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page