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.2.0.tar.gz (777.6 kB view details)

Uploaded Source

Built Distribution

solidago-0.2.0-py3-none-any.whl (92.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solidago-0.2.0.tar.gz
Algorithm Hash digest
SHA256 521f95f43cd93318fa42cadb57fa8b9fdb0cdd8e93d78b33dbf807c1a35d96e3
MD5 4e4435042cba5397aa4a2801b52e9a8f
BLAKE2b-256 5198c12622f229e3e3ae62cd454641b3a9273fc6b29c272de2fd9b7e96899657

See more details on using hashes here.

File details

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

File metadata

  • Download URL: solidago-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 92.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8446870b613d6a638ff38ae517729dc64e6146987526bd9fc16d41513c200c2a
MD5 dc56932570a4f0a0eec062e70b62fab9
BLAKE2b-256 bad011272dcce9b88729a4403619451e9e8835031e1e1c7121569926017cec21

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