Metadata-Version: 2.4
Name: reprodebt
Version: 0.1.1
Summary: Measure whether the same CI recipe behaves the same way across a build matrix -- reproducibility debt as an entropy-based metric, not a hopeful assumption.
Author: Maria-Theodora Folina
License-Expression: MIT
License-File: LICENSE
Keywords: build-systems,ci-cd,devops,entropy,reproducibility,testing
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.9
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: scikit-learn
Requires-Dist: scipy
Description-Content-Type: text/markdown

# reprodebt

Measure whether the same CI recipe behaves the same way across a build
matrix -> reproducibility debt as an entropy-based metric.

Your data should be in a simple CSV shape.

## What this does

A CI build matrix fans one recipe across many declared configurations
(compiler, OS, flags). If the recipe is truly reproducible, the declared
configuration shouldn't matter to the outcome. This measures how
often that's actually true and separates two things that are easy to
conflate:

- **Broken but predictable** (a bug): fails every time, the same way.
- **Broken and unpredictable** (real reproducibility debt): fails
  differently depending on where it runs, or when it reruns.

Both get scored with the same formula (normalized Shannon entropy of the
outcome distribution) so they're directly comparable.

## Install

```bash
pip install reprodebt
```

## Quick start

```bash
reprodebt
reprodebt your_builds.csv
reprodebt your_builds.csv your_reruns.csv  
```

## Your CSV should follow this:

| column |
|---|
| `build_id` | 
| `package` | 
| `recipe_id` | 
| `build_success` | 
| `compiler_family`, `compiler_version`, `os`, `opt_flags`, `cxx_std` |
| `failure_signature` | 
| `test_pass_rate`, `validation_metric`, `runtime_seconds`, `ci_date` |
