Metadata-Version: 2.1
Name: solidago
Version: 0.0.2
Summary: Algorithms for Secure Algorithmic Governance
Project-URL: Homepage, https://github.com/tournesol-app/tournesol/tree/main/solidago
Project-URL: Bug Tracker, https://github.com/tournesol-app/tournesol/issues
Author-email: Tournesol Association <hello@tournesol.app>
Keywords: collaborative recommendations,comparison based,judgement aggregation,mehestan,tournesol
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: numba==0.57.0
Requires-Dist: numpy<1.25,>=1.24.3
Requires-Dist: pandas<2.0,>=1.5.3
Provides-Extra: test
Requires-Dist: pytest<8.0.0,>=7.1.3; extra == 'test'
Description-Content-Type: text/markdown

# Solidago
**Solid** **A**lgorithmic **Go**vernance, used by the Tournesol platform

<a href="https://pypi.org/project/solidago" target="_blank">
    <img src="https://img.shields.io/pypi/v/solidago?color=%2334D058" alt="Package version">
</a>


## Usage

> **Warning**  
> This library is WIP; its API may change in the near future.

```py
import numpy as np
from solidago.mehestan import QrMed

score = QrMed(W=1, w=1, x=np.array([-1.0, 1.0, 2.0]), delta=np.array([1.0, 1.0, 1.0]))
```

## Publish a new release

1. In a Pull Request, update the version number in [`./src/solidago/__version__.py`](./src/solidago/__version__.py)
2. The package will be published automatically when the new version is merged into "main", by [this Github Action](../.github/workflows/solidago-publish.yml).
