semvec/pypi-packages huggingface dataset:
solas-ai 0.6.0
A Python Library of Curated Disparity Testing Metrics for Use in Real-World Settings
Requires Python: <3.13,>=3.8

# SolasAI: Algorithmic Fairness, Explainability, and Mitigation Software

![SolasAI banner](./examples/assets/solas_banner.png)

[![Tests and Scans](https://github.com/SolasAI/solas-ai/actions/workflows/1-scan-and-test.yml/badge.svg)](https://github.com/SolasAI/solas-ai/actions/workflows/1-scan-and-test.yml)

## Installing

```bash
# Create a virtual environment; supports Python 3.8 through 3.12 (inclusive)
#
#     -p [VERSION] to specify desired Python version
#     -c to make uv "clean" (delete/recreate) a .venv if one exists
#
#     -cp [VERSION] to do both together
#
uv venv -cp 3.12

# Install solas-ai and all its dependencies
uv pip install -e '.[dev]'
```

## Development

### Running tests
To run the entire test suite in verbose mode and also see a unit test coverage report:

```bash
pytest -vv --cov
```

To run only solas_disparity unit tests:

```bash
pytest -vv --cov tests/solas_disparity/
```

To run only solas_proxy unit tests:

```bash
pytest -vv --cov tests/solas_proxy/
```

### Installing ONLY the disparity or solas_proxy packages

`solas_disparity`:

```bash
uv venv -cp 3.12  # Or desired Python version
cp disparity-pyproject.toml pyproject.toml
uv pip install -e '.[dev]'
```

`solas_proxy`:

```bash
uv venv -cp 3.12  # Or desired Python version
cp proxy-pyproject.toml pyproject.toml
uv pip install -e '.[dev]'
```

## Confidentiality and Copyright

**All contents of this repository are confidential and are owned and copyrighted by SolasAI, Inc. unless stated otherwise. All rights are reserved.**

[Please review the license in detail.](/LICENSE)