Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.59 KB

Solidago

Solid Algorithmic Governance, used by the Tournesol platform

Package version PyPI - License

Usage

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

import numpy as np
from solidago.resilient_primitives 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
  2. The package will be published automatically when the new version is merged into "main", by this Github Action.

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