This directory contains validation reports for all core components of Unbitrium. Each report documents the formal verification methodology, synthetic test distributions, expected behavior ranges, and reproducibility protocols.
Validation documentation serves three critical functions in the Unbitrium framework:
Each component undergoes a structured validation process:
All validation experiments adhere to:
Each validation report follows a standardized structure:
| Section | Description |
|---|---|
| Overview | Component purpose and mathematical formulation |
| Invariants | Properties that must hold for all valid inputs |
| Test Distributions | Synthetic data configurations with known characteristics |
| Expected Behavior | Metric ranges and output characteristics |
| Edge Cases | Boundary conditions and failure modes |
| Reproducibility | Seeds, configurations, and replication instructions |
| Security Considerations | Information leakage analysis and mitigations |
| References | Source publications and related work |
| Component | File | Status |
|---|---|---|
| FedAvg | FedAvg.md | Validated |
| FedProx | FedProx.md | Validated |
| FedDyn | FedDyn.md | Validated |
| FedSim | FedSim.md | Validated |
| pFedSim | pFedSim.md | Validated |
| FedCM | FedCM.md | Validated |
| AFL-DCS | AFL-DCS.md | Validated |
| FedAdam | FedAdam.md | Validated |
| TrimmedMean | TrimmedMean.md | Validated |
| Krum | Krum.md | Validated |
| Component | File | Status |
|---|---|---|
| DirichletLabelSkew | DirichletLabelSkew.md | Validated |
| MoDM | MoDM.md | Validated |
| QuantitySkewPowerLaw | QuantitySkewPowerLaw.md | Validated |
| FeatureShiftClustering | FeatureShiftClustering.md | Validated |
| EntropyControlledPartition | EntropyControlledPartition.md | Validated |
| Component | File | Status |
|---|---|---|
| EMDLabelDistance | EMDLabelDistance.md | Validated |
| JSDivergence | JSDivergence.md | Validated |
| GradientVariance | GradientVariance.md | Validated |
| NMIRepresentations | NMIRepresentations.md | Validated |
| ClientDriftNorm | ClientDriftNorm.md | Validated |
To execute the full validation suite:
# Run all validation tests
pytest tests/validation/ -v --tb=short
# Run with coverage reporting
pytest tests/validation/ --cov=src/unbitrium --cov-report=html
# Run specific component validation
pytest tests/validation/test_aggregators.py -k "FedAvg"
If you use Unbitrium’s validation methodology in your research, please cite:
@software{unbitrium_validation2026,
author = {Laitinen Imanov, Olaf Yunus and Contributors},
title = {Unbitrium Validation Framework},
year = {2026},
publisher = {GitHub},
url = {https://github.com/olaflaitinen/unbitrium/docs/validation}
}
Contributions to validation documentation are welcome. Please see CONTRIBUTING.md for guidelines on:
Copyright 2026 Olaf Yunus Laitinen Imanov and Contributors. Released under EUPL 1.2.