Learn · Changelog

Development Changelog

Development history for vfairness. Version 0.3.0 is the third public beta, published 2026-12-04 from the v0.3.0 tag; 0.1.0, the first, was published 2026-10-02 and 0.2.0, the second, 2026-10-26. Before each tag the gate that decides whether it may be pushed passed: scripts/release_gate.py reported BETA READY, with every beta condition it had at the time met. The API is not frozen until the stable 1.0.0. We follow Keep a Changelog and Semantic Versioning conventions.

0.3.0
Current release, on PyPI since 4 Dec 2026
Beta
Status
~248k
Lines of Code
Beta Software

vfairness 0.3.0 is the third public beta, published 2026-12-04 (the first, 0.1.0, was published 2026-10-02 and the second, 0.2.0, 2026-10-26). Install it with pip install vfairness on Python 3.11 or newer; the early 0.0.1 placeholder that held this name before the release has been yanked. The API is not frozen until the stable 1.0.0 release. We welcome feedback and contributions via GitHub.

“Beta” here is the version number, not a verdict that the library is ready to rely on. The readiness gate, scripts/release_gate.py, is run again as the code changes, and a later audit can reopen a defect in code that has already shipped. Its last recorded run, on 2026-12-03, reads BETA READY on the beta bar and NOT READY on the stricter 1.0 bar. These three values are read from data/library-stats.json when the page loads. The criteria and the figures behind them are on Quality & Hardening, which records where the gate stands.

Roadmap to 1.0.0

The following features are planned for the stable 1.0.0 release:

Stable API

Finalized, documented API with backward compatibility guarantees.

Complete Test Coverage

Comprehensive unit and integration tests with >90% coverage. Measured at 92% line and branch combined as of 2026-11-30, by the full suite in CI; the CI floor is 88% and the per-pull-request diff floor is 80%.

Production Documentation

Full API reference, tutorials, and deployment guides.

PyPI Publication

Done for the beta: 0.1.0 was published to PyPI on 2026-10-02, 0.2.0 on 2026-10-26 and 0.3.0 on 2026-12-04. 1.0.0 will be the first stable release under the backwards-compatibility contract.

Releases

Unreleased

on main

Changes merged after the v0.3.0 tag. They are not in the 0.3.0 package on PyPI and ship with the next version. CHANGELOG.md lists 1 entry here, the newest dated 3 Dec 2026 (2 Added, 1 Fixed). This section is generated from that file.

Hide

The headings under ## Unreleased in CHANGELOG.md, newest first. The file has every change in full.

Pulse reads a declared decision column and outcome column
3 Dec 2026 · 2 Added, 1 Fixed

v0.3.0

2026-12-04
Latest
  • 196 Added
  • 123 Changed
  • 1 Deprecated
  • 2 Removed
  • 744 Fixed
  • 8 Security

The third public beta, published on 2026-12-04 from the v0.3.0 tag by the release pipeline, and the first release of the hardening programme of 28 November to 3 December 2026: every public code unit graded, a second examiner run over most of the grades, and every defect that examiner proved fixed and pinned by a test that fails when the fix is undone. The grades no second examiner has confirmed yet are the open condition of the 1.0 release. Eight changes alter what existing code receives; read them before upgrading. A minor version under the API stability policy: nothing on the frozen top-level surface is removed or renamed, and twelve names are added to it. This section highlights the [0.3.0] block of CHANGELOG.md.

Hide

The summary at the head of ## [0.3.0] - 2026-12-04 in CHANGELOG.md, then every entry heading of that block, newest first. The file has every change in full.

Changed: read before upgrading8

fairness_score is None when a group was withheld
classification_fairness_report and regression_fairness_report (and FairnessAnalyzer.get_report()) give assessment["fairness_score"] as None when the group-size floor withheld a group; the score over the measured groups is the new fairness_score_partial.
classification_fairness_report regression_fairness_report fairness_score_partial
Every to_dict writes strict JSON
Every to_dict (and as_dict, get_summary) writes None for a number nobody could measure and keeps the key. Code that tested math.isnan(r.to_dict()[key]) should test for None or read the attribute.
to_dict as_dict get_summary
The deployment gate reads each verdict off an interval
ModelFairnessGate reads each verdict off an interval. A metric without one is inconclusive inside its bound and blocks when it is a blocking metric; pass intervals={name: MetricInterval(...)} to evaluate or evaluate_from_metrics.
ModelFairnessGate MetricInterval
The favourable outcome is declared
BiasDetector and analyze_statistical_disparities take the favourable outcome (favourable_values, higher_is_favourable); without it every result says direction_basis: "assumed: 1 is favourable".
BiasDetector analyze_statistical_disparities
No census benchmark because of a column name
The built-in US Census 2020 table is no longer applied because a column name resembles one of its keys: pass benchmarks= or use_default_benchmarks=True.
outcome_column is read as the recorded labels
outcome_column alone is read as the recorded labels, with a warning; pass prediction_column for a model's decisions.
The English word-list gate refuses text it cannot read
The English word-list gate refuses text it cannot read (NaN with UnscorableTextWarning), and a person's name never changes whether a text is read.
UnscorableTextWarning
Pulse without a declared jurisdiction
Pulse grades a run that declares no jurisdiction under the unspecified pack, not the EEOC four-fifths rule.
run_pulse

Removed2

The HOLC map data and ZIP table
Removed for licence reasons; none was on the frozen surface. assess_geographic_feature_risk now takes a caller's grade_lookup.
fetch_holc_data HOLC_AVAILABLE_CITIES get_available_holc_cities KNOWN_REDLINED_ZIP_PATTERNS lookup_holc_grade_by_zip
The BOLD, HolisticBias and DecodingTrust excerpts
Removed for licence reasons (CC BY-SA 4.0). The BBQ excerpt (CC BY 4.0) stays.

Security2

The egress guard
validate_endpoint, GuardedSession and guarded_post no longer read proxy settings or .netrc, drop credential headers on a redirect to another origin and refuse a cross-origin 307 or 308 (RedirectRefusedError), and read a response under a size cap (max_response_bytes, default 10 MiB).
validate_endpoint GuardedSession guarded_post RedirectRefusedError
The MCP server reads only a local file
The MCP server's data_path accepts only a local file.

Added2

Twelve names on the frozen top-level surface
Added to the frozen surface under the API stability policy; nothing on it is removed or renamed.
AuditPlan LegitimateFactor LegitimateFactorSet benjamini_yekutieli_correction differential_prediction disparity_decomposition feature_dif label_choice_test legitimate_factor_gap outcome_test stratified_disparity stratified_disparity_screen
New capabilities
Causal graphs tested against the data, E-values and path-specific counterfactuals; bias detection when the protected attribute is absent; situation testing and a quantile FlipTest; predictive multiplicity and a less discriminatory alternative; anytime-valid monitoring of group gaps; small groups estimated by partial pooling; selective labels and sensitivity to label error; weights, clusters and post-stratification to a reference population; subgroup search confirmed on held-out rows; proxy use in a linear model; a governed legitimate-factor regression and the explained and unexplained parts of a gap; stratified analysis with a homogeneity test; differential prediction and feature-level DIF; multi-turn, prompt-format, red-teaming and claim-level LLM probes; validation of judges and scorers; German, French and Italian suites; speech recognition error disparity; audits under a declared, replayable plan; and a Model Register for any type of model.

Every entry, newest first181

Causal: a what-if over a graph with an unmeasured variable is refused by name
3 Dec 2026 · 2 Fixed
Causal: a refused what-if keeps the envelope the platform reads
3 Dec 2026 · 1 Fixed
In-processing estimators read a DataFrame of features
3 Dec 2026 · 1 Fixed
G2-R3 fix wave, shared readers: reference shares, selection reference, probe budget, JSON boundary, threshold regions
1 Dec 2026 · 5 Fixed
G2-R3 fix wave: cluster experiments by randomisation, stratified direction, counterfactual support, gate margins, log ratios, decomposition severity
1 Dec 2026 · 2 Changed, 7 Fixed
G2-R3 fix wave: numbers held as text, extreme values, the redlining gate
1 Dec 2026 · 5 Fixed
G2R3: the English lexicon gate refuses when in doubt and reads every name alike
1 Dec 2026 · 5 Changed
G2-R2 fix wave 06: one reader for reference distributions, LIME outputs, selection floor, probe budget
1 Dec 2026 · 4 Fixed
G2-R2 fix wave, batch G2R2-05: employment domains, redlining, proxy readers
1 Dec 2026 · 6 Fixed
G2-R2 fix for batch G2R2-02: stratified readings and clustered designs
1 Dec 2026 · 5 Fixed
G2R2: the English lexicon gate needs English words
1 Dec 2026 · 3 Fixed
G2-R2 fix G2R2-03: every counterfactual value is read against its column
1 Dec 2026 · 2 Fixed
G2-R2 fix 04: one value per row, the cluster test, bound directions, unread endpoints, JSON metadata
1 Dec 2026 · 5 Fixed
G2-R2 fix B2: invariance scales, absence words, market names, rejected answers
1 Dec 2026 · 7 Fixed
G2-R2 fix 01: free text, bounds, the bootstrap family, parity values and small groups
1 Dec 2026 · 9 Fixed
G2-R2 fix batch B1: second-examiner findings in agents, in-processing, legal and LLM readers
1 Dec 2026 · 8 Fixed
G2-R2 fix B3: what the second re-audit overturned in batch G2R2-B3
1 Dec 2026 · 6 Fixed
G2 consolidation
1 Dec 2026 · 22 Fixed
G2-R fix wave A: second fixes for the statistics core, bias detection, calibration, explainers and experiments
1 Dec 2026 · 17 Fixed
G2-R fix wave B: what the re-audit overturned in G2R-06, G2R-07 and G2R-08
1 Dec 2026 · 34 Fixed
The 1.0 gate reads a disclosed coverage limitation as the beta gate does
1 Dec 2026 · 1 Changed
G2-01: the statistics core
1 Dec 2026 · 8 Fixed
Fix wave G2-02: no all-clear from a bound, a coding or a group that was never there
1 Dec 2026 · 18 Fixed
Audit G2-03: robustness tests, strata, weighting, CI charts
1 Dec 2026 · 14 Fixed
G2 fix wave G2-04: the CI/CD gate, policy, monitor, suite and validator
1 Dec 2026 · 9 Fixed
G2-05 second examination: causal operations
1 Dec 2026 · 10 Fixed
G2 audit G2-06: bias detection
1 Dec 2026 · 15 Fixed
G2-07: calibration, second examination
1 Dec 2026 · 12 Fixed
G2-08: proxy-screen coverage on every surface, unbreachable bounds in the reports
1 Dec 2026 · 8 Fixed
G2-09: LLM scorers and experimentation, second examination
1 Dec 2026 · 9 Fixed
G2-10: explainers, threshold optimisation, in-processing constraints
1 Dec 2026 · 10 Fixed
G2-11 fixes: redirects, the causal overview, America, NaN scores, loss weights
1 Dec 2026 · 9 Fixed
G2-12: regression baselines, comparison summaries, drift dicts, parity regularizer, collusion
1 Dec 2026 · 7 Fixed
G2-13: groundedness, claims, RAG, rendering, LLM probes and noise, second examination
1 Dec 2026 · 9 Fixed
G2-14 fix wave: llm, agents, legal
1 Dec 2026 · 14 Fixed
G2-15 fix wave: rendering, xai, legal, llm, audio, explainer
1 Dec 2026 · 16 Fixed
Fix wave G2-16: plots, ranking pages, status names, vision and the XAI background
1 Dec 2026 · 10 Fixed
G2-R re-audit fix G2R-03: English is identified, not guessed; counterfactual records
1 Dec 2026 · 7 Fixed
Measured coverage shortfalls are said where the interval is used
30 Nov 2026 · 1 Changed
Re-audit R-05: XAI rows, causal graph, E-values
30 Nov 2026 · 6 Fixed
Leftovers of the hardening waves: verdicts over a subset, deterministic runs, scale-free flat guards
30 Nov 2026 · 1 Changed, 9 Fixed
Proxy pairs on their own rows
30 Nov 2026 · 1 Fixed
Strict JSON at every to_dict: an unmeasured number is null, its key kept
30 Nov 2026 · 1 Changed
Output analysis re-grade: an answer in another language is not a disparity
30 Nov 2026 · 1 Fixed
Re-audit R-03: verdicts over a subset, a group key under its own label, trivial cuts
30 Nov 2026 · 10 Fixed
Re-audit R-04: rows a fit could not adjust, screens that never looked, zero-width floors
30 Nov 2026 · 11 Fixed
Fix wave R-02: fractional counts, missing decisions in the attribute-free scans, row ids as similarity features
30 Nov 2026 · 4 Fixed
Fix wave R-01: no verdict from a bound nothing can breach, labels that are labels
30 Nov 2026 · 9 Fixed
R-06 fix wave: counterfactuals, feedback loops, experiments, Pulse and the egress guard
30 Nov 2026 · 9 Fixed
B1 re-check: a group with no rows left voids the headline, gate decisions are strict JSON
30 Nov 2026 · 3 Fixed
Statistical validity, second round: an equal-means permutation test, a spread interval for few runs
30 Nov 2026 · 1 Added, 2 Fixed
Interval coverage: four intervals the suite recorded as missing their level now hold it
30 Nov 2026 · 4 Fixed
Mutation testing beyond _bands.py: statistics, metric direction, the CI/CD gate, the report
30 Nov 2026 · 1 Fixed
Follow-ups 5: one correction for a run's proxy links, tiers the sample supports, the model's own score
29 Nov 2026 · 6 Fixed
Follow-ups 4: a proxy is a tested association, the model's output is not a feature
29 Nov 2026 · 4 Fixed
ICI disparity: an upper bound that covers, on a debiased gap
29 Nov 2026 · 2 Fixed
Egress guard behind a forward proxy: the vetted address is the one dialled
29 Nov 2026 · 1 Security
Follow-ups 3: domains and jurisdictions in whole words, a size floor for proxies
29 Nov 2026 · 2 Fixed
Follow-ups 2: no zeros for a refused reading, one bound for both probes, cuts declared
29 Nov 2026 · 9 Fixed
Favourable-outcome declarations and the redirect refusal: no direction nobody declared
29 Nov 2026 · 6 Fixed
Statistical validity, second wave: the intervals wave one did not reach
29 Nov 2026 · 6 Fixed
Follow-ups: rounding at the size of the values, coverage and missing labels disclosed
29 Nov 2026 · 9 Fixed
Pulse, experiments, power and the feedback loop: no verdict from a guess
29 Nov 2026 · 8 Fixed
Egress guard, legal mappers and precedents, vision: no request to an unvetted origin, no law from a substring
29 Nov 2026 · 9 Fixed, 6 Security
Outside references for 22 more measuring capabilities
29 Nov 2026 · 1 Fixed
Statistical validity: measured coverage and type I error
29 Nov 2026 · 7 Fixed
LLM scorers: no score for text the English word lists cannot read
29 Nov 2026 · 7 Fixed
XAI sidecar and worker, causal attribution, counterfactual and graph
29 Nov 2026 · 7 Fixed
LLM probes, judges and output analysis: a test that cannot fire says so, an unread answer is counted
29 Nov 2026 · 17 Fixed
Causal ops and the experiment analysis read what they are given
29 Nov 2026 · 9 Fixed
MCP server: local files only, and the favourable outcome is declared
29 Nov 2026 · 1 Changed, 5 Fixed, 1 Security
In-processing constraints, ensembles, losses and diagnostics read their inputs
29 Nov 2026 · 15 Fixed
Agents and multi-agent: no verdict a setting, a dropped pair or a cast decided
29 Nov 2026 · 9 Fixed
Explainer adapters and the report explainer say what they did not measure
29 Nov 2026 · 8 Fixed
Threshold analysis and fairness-aware training read their inputs
29 Nov 2026 · 10 Fixed
Feature engineering reports only what a transform actually changed
29 Nov 2026 · 11 Fixed
The shared label readers read what a row holds, and nothing it does not
29 Nov 2026 · 4 Fixed
LLM: a perfectly consistent difference is measured, unread text is not a neutral
29 Nov 2026 · 9 Fixed
Stratification, weights and the audit report count only what was measured
29 Nov 2026 · 13 Fixed
Bias detection: no clean verdict from a NaN setting, a tiny group or a code
29 Nov 2026 · 1 Changed, 10 Fixed
Post-processing: no all-clear from a rule, a bin or a label that decided nothing
29 Nov 2026 · 1 Changed, 9 Fixed
Top level: no answer from a parameter, name or table nobody asked for
29 Nov 2026 · 6 Fixed
Fairness metrics: no finding from rounding, a miscoded column or an unread setting
29 Nov 2026 · 13 Fixed
Monitoring: no verdict over comparisons that never ran
29 Nov 2026 · 6 Fixed
CI/CD validation and reporting say what they did not measure
29 Nov 2026 · 11 Changed
The deployment gate reads its labels before it counts them
29 Nov 2026 · 6 Fixed
Fairness metrics: no clean verdict from a NaN level or an unread label
29 Nov 2026 · 3 Changed, 7 Fixed
Renderers read what the library's producers write
29 Nov 2026 · 14 Fixed
A withheld group voids the headline score, and the gate sees pinned defects
28 Nov 2026 · 1 Added, 6 Changed
A dead NLI stage no longer reads as a clean stereotype comparison
28 Nov 2026 · 1 Fixed
A refusal survives strict JSON, and a truncated trace export says so
28 Nov 2026 · 7 Fixed
The interval verdict, and the gate decision as strict JSON
28 Nov 2026 · 5 Fixed
Three disclosures that stopped one step short of the result
28 Nov 2026 · 3 Fixed
Four honesty fixes found while pinning semi-proven units
28 Nov 2026 · 4 Fixed
The model card hook no longer passes a card it did not check
28 Nov 2026 · 1 Fixed
Stage 4 evidence reaches the proof ledger
28 Nov 2026 · 1 Added
The opinion's scope limitation reads in words
26 Nov 2026 · 2 Fixed
Pulse: a reversal is named, and an unvalidated scorer gives no verdict
26 Nov 2026 · 3 Added, 2 Fixed
A smaller public repository
26 Nov 2026 · 3 Changed
The test suite runs in parallel
26 Nov 2026 · 1 Changed
Factorial decision audit: the call order no longer moves the interval
26 Nov 2026 · 1 Fixed
Name pools: jurisdiction ids with underscores reach their market
25 Nov 2026 · 1 Fixed
Situation testing and a quantile FlipTest for individual-level bias
25 Nov 2026 · 3 Added, 1 Changed
Faster bootstrap in poststratified_disparity
25 Nov 2026 · 1 Changed
High-cardinality columns screened by encoding, and undeclared attributes named
25 Nov 2026 · 2 Added, 2 Changed, 1 Fixed
Proxy use in a linear model, the program of Yeom, Datta and Fredrikson
25 Nov 2026 · 3 Added
Causal roles in detection, and a gap split by declared roles
25 Nov 2026 · 3 Added
More own-written items in the German, French and Italian suites
25 Nov 2026 · 1 Changed
Slices of an embedding space, confirmed on held-out rows
25 Nov 2026 · 2 Added
Factorial decision audit and market name pools (G-34, 2026-11-25)
25 Nov 2026 · 6 Added, 1 Changed
Speech recognition error disparity on transcripts
25 Nov 2026 · 4 Added
Predictive multiplicity, a less discriminatory alternative, and the root cause of an error gap
25 Nov 2026 · 3 Added
Outputs that are not a yes/no decision
25 Nov 2026 · 4 Added
Generative harms without a lexicon, RAG and tool designs, and German, French and Italian suites
25 Nov 2026 · 6 Added
Weights, clusters and post-stratification to a reference population
24 Nov 2026 · 4 Added
Rank intervals and tie groups for every ranking of findings
24 Nov 2026 · 3 Added
Anytime-valid monitoring of group gaps by betting
24 Nov 2026 · 2 Added, 1 Changed
Selective labels: the labelled rows against everyone decided on
24 Nov 2026 · 4 Added
How much label error or selection would overturn a finding
24 Nov 2026 · 5 Added
Small groups disclosed, then estimated by partial pooling
24 Nov 2026 · 4 Added, 2 Changed
Label choice and outcome tests at equal score
24 Nov 2026 · 4 Added, 1 Changed
Cited reference data by jurisdiction, area deprivation, and one precedent store
24 Nov 2026 · 5 Added, 3 Changed
Pulse: a missing label is no longer read as an unfavourable one
24 Nov 2026 · 1 Fixed
A governed legitimate-factor regression for continuous outcomes
23 Nov 2026 · 4 Added
Explained and unexplained parts of a gap
23 Nov 2026 · 3 Added
Stratified analysis with a homogeneity test and a reversal flag
23 Nov 2026 · 4 Added
Differential prediction and feature-level DIF
23 Nov 2026 · 6 Added
Bias detection when the protected attribute is absent (G-08, 2026-11-23)
23 Nov 2026 · 7 Added
Group-wise label noise from out-of-fold probabilities
23 Nov 2026 · 4 Added
Subgroup search beyond pairs, confirmed on held-out rows
23 Nov 2026 · 5 Added, 1 Changed
Validation of judges, scorers and image attribute estimators
23 Nov 2026 · 8 Added, 2 Changed
The assurance scope of every verdict
23 Nov 2026 · 2 Added
A Pulse live-endpoint probe can reach a model on the operator's own network
23 Nov 2026 · 1 Fixed
One finding-to-remedy map, and findings with one cause grouped
23 Nov 2026 · 1 Added, 1 Changed
Pulse's four-fifths ratio is the library screen's
23 Nov 2026 · 2 Changed
Pulse reads proxy use on the supplied model
23 Nov 2026 · 1 Added
Conditional disparity interval that holds its level at ties
23 Nov 2026 · 2 Changed
Proxy use read on the audited model
23 Nov 2026 · 4 Added
Individual-level readings in the library
23 Nov 2026 · 3 Added, 1 Changed
One proxy-chain search
22 Nov 2026 · 1 Fixed
Pulse audits a file that carries no model decisions
22 Nov 2026 · 1 Added, 1 Changed
Conditional disparity beside every marginal one
22 Nov 2026 · 4 Added
One adverse-impact screen, read under a jurisdictional rule pack
22 Nov 2026 · 3 Added, 2 Changed
The temporal screen reads selection rates per group
22 Nov 2026 · 2 Added, 1 Changed, 2 Fixed
Recorded labels and model decisions are read apart
22 Nov 2026 · 2 Added, 4 Changed
A bias audit runs under a declared plan and can be replayed
22 Nov 2026 · 6 Added, 7 Changed, 1 Fixed
The benchmark excerpts follow their licences
21 Nov 2026 · 1 Added, 3 Changed, 1 Removed
Benchmark readings are labelled screening signals; Pulse's adjusted gap says what it is
21 Nov 2026 · 2 Added, 2 Changed
Historical findings graded on a measured association; geographic data removed
21 Nov 2026 · 5 Changed, 1 Removed
The proxy screen on one estimator with a tested null
21 Nov 2026 · 6 Changed, 1 Deprecated, 4 Fixed
Bias detection: missingness, unknown groups, practical ranking, no automatic US benchmark
21 Nov 2026 · 4 Changed
Bias detection: the favourable outcome, one correction family, the tests selection practice uses
21 Nov 2026 · 5 Changed
Planted-bias benchmark for the bias detectors
21 Nov 2026 ·
The graph test compares a column stored as text by its groups
20 Nov 2026 · 3 Added, 3 Changed, 14 Fixed
A protected attribute stored as text is compared group by group
20 Nov 2026 · 7 Changed, 9 Fixed
The library's eleven parts as a drawing on the landing page
20 Nov 2026 ·
Sponsorship is open: README, credits file and docs site
19 Nov 2026 ·
The graph test no longer contradicts a correct graph with curved relations
18 Nov 2026 · 2 Changed, 2 Fixed
Testing a causal graph against the data, the E-value, and path-specific counterfactuals
16 Nov 2026 · 3 Added
Causal identification reads the measured variables
16 Nov 2026 · 1 Fixed
The deployment gate reads an interval, and intervals are chosen by metric type
16 Nov 2026 · 2 Added, 8 Changed
Prompt formats and the difference per format
13 Nov 2026 · 2 Added
A thinking judge model is asked not to reason, and every NaN score says why
13 Nov 2026 · 2 Added, 1 Fixed
Multi-turn probes
13 Nov 2026 · 3 Added
BOLD compares matched pairs by the group they name
11 Nov 2026 · 1 Fixed
Structured fairness red-teaming probes
11 Nov 2026 · 2 Added
Quality of service against reference answers, and reasoning traces scored like answers
11 Nov 2026 · 4 Added, 1 Fixed
MLflow 3.18
9 Nov 2026 ·
A judge on the operator's own network
5 Nov 2026 · 2 Added
Valid intervals on judged properties and a judge bias audit
5 Nov 2026 · 4 Added
Claim-level comparison of answers across groups
5 Nov 2026 · 4 Added
Counterfactual fairness from a stated graph; the feedback loop simulation
5 Nov 2026 · 2 Added
Conversations on the endpoint
4 Nov 2026 · 1 Added
Clustered inference for counterfactual runs
4 Nov 2026 · 2 Added
Scorer group invariance
2 Nov 2026 · 1 Added
Benchmark sampling, judge identity, BOLD sample size
2 Nov 2026 · 2 Added, 5 Fixed
Legal columns, row identifiers in proxy scans, intersectional rates
1 Nov 2026 · 3 Added, 3 Fixed
Bar chart: the badge can show the caller's verdict
31 Oct 2026 · 2 Added, 1 Changed
Charts: one scale per kind, computed intervals, shared heatmap colours
30 Oct 2026 · 4 Added, 1 Fixed
Model Register: any type of model, and one fingerprint per model
29 Oct 2026 · 1 Added, 1 Changed
Model Register: assess an MLflow model version in one call
26 Oct 2026 · 1 Added, 1 Changed

v0.2.0

2026-10-26
  • 4 Added
  • 2 Changed
  • 6 Fixed

The second public beta, published on 2026-10-26 from the v0.2.0 tag by the release pipeline. New: deployment policies that hold a model to the coverage a deployment requires before it is permitted. Changed default: the MLflow and Weights & Biases writers code group names. Fixed: pandas 3.1 deprecation warnings and five Pulse findings of 9 Oct; a Pulse run on a text decision column now needs its favourable value declared. A minor version under the API stability policy: new functionality, nothing on the frozen surface removed or repurposed. This section highlights the [0.2.0] block of CHANGELOG.md.

Hide

The entries under ## [0.2.0] - 2026-10-26 in CHANGELOG.md, summarised (the file has every change in full). Within each group below, the newest entries come first.

Added4

Deployment policies: required coverage before approval (24 Oct)
The gate knew what it was configured to check, not what a deployment requires, so every way of configuring it to check less still approved: intersections switched off, a loose threshold, an empty list of blocking metrics, a missing attribute, a minimum group size of one. A CoveragePolicy states what a deployment requires (attributes, named intersections, metrics with the loosest acceptable bound, its own minimum group size), and evaluate_against_policy() returns a PolicyDecision: one item per required group set and metric, each assessed, insufficient evidence, omitted by configuration or input absent. permitted is True only when every item is assessed and passes. Opt-in: results without a policy are unchanged. From vfairness issue #1. Reference, in a pipeline.
CoveragePolicy ModelFairnessGate.evaluate_against_policy PolicyDecision CoverageState MeasuredOutcome assess_coverage
Every gate decision says what it evaluated (24 Oct)
evaluated_scope on every GateDecision and IntersectionalGateDecision, and in their to_dict(): the levels that ran, the threshold each applied, and the group sets left out with the setting that left them out.
evaluated_scope EvaluatedScope ScopeLevel ScopeGap
Model Register fingerprints and evidence bundles (24 Oct, pre-release)
A pre-release module, vfairness._register, identifies a model version by its bytes where the model lives: model_fingerprint() hashes a model file, a model folder or an MLflow model read through your own MLflow client, and an evidence bundle holds that fingerprint, the dataset fingerprint and the results you choose to keep. A team can register an assessed version with the Validant Model Register without sending the model, the data or the results anywhere in clear. Private on purpose: it has not been graded yet, so it is outside the frozen surface and the beta gate, and its names may change. How to use it.
model_fingerprint dataset_fingerprint build_evidence_bundle write_evidence_bundle read_evidence_bundle
Rebuild group codes on your own machine (24 Oct, pre-release)
group_label_codes() rebuilds the name-to-code mapping of a coded tracker run locally; the mapping itself is never written to a tracker. It lives in the pre-release module vfairness._group_codes, outside the frozen surface, and its import path may change.
group_label_codes

Changed2

Experiment trackers code group names by default (24 Oct)
A tracker run is read by many people, and the names of protected groups are sensitive in themselves. log_fairness_to_mlflow, log_fairness_to_wandb and auto_log_fairness now replace every group name they write with a keyed code such as g_3fa91c07d2e4 (HMAC-SHA256, so a short list of likely names cannot be hashed back to them). Set VFAIRNESS_GROUP_LABEL_KEY once, or pass label_key; without a key the writers refuse before writing anything. Behaviour change: pass group_labels="names" to keep the previous output. Experiment tracking.
log_fairness_to_mlflow log_fairness_to_wandb auto_log_fairness group_labels VFAIRNESS_GROUP_LABEL_KEY
GitHub checks and report cards follow the policy (24 Oct)
create_github_check() accepts a PolicyDecision and concludes failure whenever its policy is not met. FairnessReportCard accepts one too and leads with the policy result instead of “Approved for deployment”; its to_dict() adds policy_permitted. The meaning of approved and CONDITIONAL is unchanged.
create_github_check FairnessReportCard policy_permitted

Fixed6

pandas 3.1: no deprecation warning from the library (23 Oct)
pandas 3.1.0 deprecates the inplace keyword, Series.dt.dayofweek and is_categorical_dtype. The library used each of them, so healthy data raised a Pandas4Warning. The temporal analyzer, the intersectional transformer and the protected-attribute detector now use the replacements. Results are unchanged; checked on pandas 3.1.0, 3.0.1 and 2.2.1 (the oldest supported).
TemporalFairnessAnalyzer IntersectionalTransformer detect_protected_attributes
Pulse gap interval holds at zero counts (9 Oct)
The selection-rate gap carried a percentile bootstrap, and a group with nobody selected resamples only zeros: 0 of 22 against 114 of 1,601 read “5.8 to 8.4 points, confirmed”. The gap now carries the Newcombe hybrid score interval (-7.8 to 8.5 points there, not confirmed), and the confirmation uses its dual p-value, so it never contradicts the printed interval. Healthy counts barely move. How a gap is confirmed.
run_pulse ciMethod ciLevel ciNotComputedReason
Every Fail has a finding (9 Oct)
The disparate-impact finding was raised only for a gap of 5 points or more outside US employment, so a confirmed exclusion at a low base rate (0 of 318 aged 18 to 24, four-fifths ratio 0.00, gap 4.6 points) was graded Fail with no finding or recommendation behind it. A confirmed Fail now always raises a critical finding.
build_assurance_verdict
The worst pair is corrected for being chosen (9 Oct)
With an honest interval, the published clean control (nothing planted) read age as confirmed: 9 of 56 against 45 of 118, pair p 0.0034, which the bootstrap had hidden only through its 1/1000 resolution. The worst group is the most extreme of several comparisons with the reference, so its p is now Bonferroni-corrected for that choice before it can confirm. The clean control is quiet again, every planted mechanism previously confirmed still is, and three spurious confirmations on the synthetic pack are gone.
pValueSelection selectionComparisons
A text decision is coded from its declared favourable value (9 Oct)
Pulse took a fixed list of "truthy" words as favourable (on "Invited"/"Rejected" nobody was invited) and the data validator the alphabetically later value (so "Rejected" was favourable, and a 0.36 gender four-fifths ratio read 0.96). A text decision is now coded only from decision_labels.favourable_values (or outcome_favourable_value for the validator); undeclared, Pulse refuses by name. Behaviour change: a Pulse run on a text decision column needs the declaration. How to declare it.
run_pulse decision_labels DataBiasValidator.validate
An empty grid cell is not measured (9 Oct)
The quarantined legacy pipeline's intersectional grid (unreachable, kept as reference) gave an empty cell a gap of 0.00 and applied no size floor. A cell below the floor now carries no gap, keeps its n and stays out of the worst cell, matching the platform heatmap fix. The live Pulse grid already excluded such cells.
pipeline._intersectional_grid

v0.1.0

2026-10-02
  • 8 Added
  • 4 Changed
  • 7 Fixed
  • 2 Security

The first public beta: a plain SemVer 0.x release carrying the Development Status :: 4 - Beta classifier, installable with a normal pip install vfairness on Python 3.11 or newer. It was published on 2026-10-02 from the v0.1.0 tag by the release pipeline, which built, verified and smoke-tested the artifact and then published it to PyPI. There is no TestPyPI leg: it was removed on 2026-08-28. The API is not frozen until 1.0.0. This section highlights the [0.1.0] block of CHANGELOG.md.

Hide

The most recent entries under ## [0.1.0] - 2026-10-02 in CHANGELOG.md, summarised (updated 1 Oct 2026; the file has every change in full). Within each group below, the newest entries come first.

Added8

New result fields
Results now say what they left out: the groups a selection-rate headline excluded as too small to read, and the rows removed for a missing prediction.
headline_excluded_groups n_rows_missing_prediction uncovered_groups groups_without_measured_calibration
New helpers
Shared answers to questions several modules asked separately: whether a model can predict right now, whether a value is a real finite number, and the current time in a store's own time zone.
prediction_fn_available finite_or_nan MetricsStore.window_now BoundRole
Output branding switch
New public set_branding() and branding_enabled() remove the validant.ai mark from generated SVGs and reports, honouring an explicit call, then the VFAIRNESS_BRANDING environment variable, then a branded default. A single chart can opt out with render_svg(name, {"branding": False}). An unbranded chart contains no occurrence of the brand string at all, and the switch is unconditional by design: nothing verifies a licence or calls home.
set_branding branding_enabled
SSRF egress guard (vfairness.net)
A new cross-cutting infrastructure sub-package. Wired into the LLM api_proxy first; coverage of the remaining outbound call sites is follow-up work. validate_endpoint resolves and vets the target, guarded_post is a drop-in for requests.post, PinnedIPAdapter pins the vetted IP against DNS rebinding, and a refusal raises SSRFError. Wired into the LLM api_proxy, so assessment traffic cannot be pointed at loopback, private, link-local or cloud-metadata targets. A local model server needs the explicit allow_loopback=True opt-in, which unlocks loopback only.
vfairness.net validate_endpoint guarded_post PinnedIPAdapter SSRFError
Groundedness axis (vfairness.validity)
A public sub-package for the validity / groundedness axis: the VG_* metric identifiers (faithfulness, groundedness, hallucination rate, citation accuracy, context precision and recall, answer correctness), a GroundednessScorer, a fail-closed judge ladder (GroundednessJudge / LlmGroundednessJudge) and aggregate_validity. Deliberately not registered in the capability manifest yet, so nothing can be sealed on it before its gold set lands.
vfairness.validity GroundednessScorer aggregate_validity
Statistical-robustness layer for the sealed spec-v2 gates
A gate now passes on affirmative confidence-interval evidence (one-sided equivalence / TOST), never on a point estimate. New *_with_ci variants cover disparate impact, FPR parity, negative predictive value, conditional demographic disparity, pricing disparity, the integrated calibration index and multicalibration. Custom-shape statistics get an interval from a new bootstrap_over_index helper that resamples row indices stratified by group. The interval width feeds the three-state verdict.
bootstrap_over_index disparate_impact_ratio_with_ci multicalibration_with_ci
Spec-v2 metric panel: independence, sufficiency, calibration, decision utility
New spine primaries and diagnostics: disparate_impact_ratio (the four-fifths selection-rate ratio), conditional_demographic_disparity (the CJEU objective-justification mirror), negative_predictive_value_difference, auroc_parity (a validity gate against levelling-down), grid-free integrated_calibration_index and multicalibration, the TRIPOD recalibration diagnostics calibration_in_the_large and calibration_slope, plus pricing_disparity, net_benefit_parity and conditional_adverse_impact. The error-rate metrics the catalogue referenced but the engine lacked (fpr_parity_difference, fnr_parity_difference, accuracy_parity_difference, worst_group_accuracy) also landed, closing the overclaims found in the knowledge-graph spine audit.
Blocking lint and type gates, mutation testing, governance
ruff check src tests and mypy src are both blocking on every library change, with the toolchain declared in the dev extra so CI, pre-commit and local runs agree. The type burndown reached zero errors and surfaced three real bugs (a dead subgroup-robustness audit in Pulse, a crash on list-valued sample_weight in FairRegressor.fit, and a no-op correlation proxy detector). Also added: mutation testing on the band logic, new property-based / determinism / deserialization-safety / reference-parity suites, an sdist allowlist, beta-programme materials, and the supply-chain governance files.

Changed4

The beta gate is met (1 Oct 2026)
scripts/release_gate.py reports BETA READY: all eight beta conditions met, including two new ones anyone can re-run. Every capability that an established library also computes gives the same answer (34 of 34), and no capability that measures invents a number on broken data (109 of 109). Second-examiner confirmation of every grade is now a condition of 1.0, not of the beta.
release_gate.py B6 B7
Return types and refusals that changed
No public symbol was removed or renamed. Some functions return richer types that still behave like the old ones (FeasibleThresholds is a dict, the proxy results are lists); some can now return None, meaning could not check, so test them with is None; some now raise instead of returning a misleading value. The full list is in CHANGELOG.md.
find_feasible_thresholds identify_proxy_variables find_proxy_chains is_satisfied require_checked to_json
Licence moved from MIT to Apache-2.0
The library ships under Apache-2.0 (copyright Glinz & Company GmbH), with a NOTICE file alongside the LICENSE.
Python floor raised to 3.11
requires-python is now >=3.11, following Scientific Python SPEC 0.

Fixed7

Six defects found by the broken-data check (1 Oct)
Missing predictions read as a “no”; a group that never queried scored the maximum bias; a model with no decision explained as certain; a single row called significant; a genuine null refused; single-attribute comparisons silently dropped. Each now refuses or measures correctly, and each is pinned by a test shown to fail without the fix.
subgroup_robustness_audit RAGBiasAnalyzer.full_analysis AnchorsExplainer EmergentBiasDetector TextFairnessAnalyzer intersectional_disparity_analysis
Every remaining public unit examined (30 Sep)
Each unit nobody had graded was run on input where its quantity cannot exist. Fixes include age banding that rounded 17.6 into the 18-24 band, renderers that drew a full bar for True and a measured-looking bar for NaN, regularisers that accepted a negative strength, and a task envelope that read "false" as success.
prepare_protected_attributes BaseRegularizer TaskResult.from_envelope compute_regression_effect_sizes
Fixes found by the second examination of grades (29 Sep)
A near-constant residual turned Cohen's d into -6.9e15; a NaN group label silently shrank a 0.50 gap to 0.05; a health score read 96.2 GREEN while its breaching records had no readable timestamp. All now refuse or measure correctly.
cohens_d permutation_test_equal_opportunity MetricsStore.compute_health_score MetricsStore.ingest_alert
The second-round audit and the core census (27 to 28 Sep)
193 further findings closed in one sweep, and every core capability examined: unmeasured values no longer appear as clean zeros, ticks or passes in charts, CI rows, dashboards and MCP tool output.
ModelFairnessGate DecodingTrustRunner FairnessDashboard
An undefined group rate is insufficient evidence, not 0.0 parity
predictive_parity_difference, fpr_parity_difference, fnr_parity_difference and equalized_odds_difference collapsed a NaN per-group rate (a group with no positive predictions, no negatives, or no positives) into a 0.0 “perfect parity” result, which read as PASS with a deceptively tight [0.0, 0.0] bootstrap CI. They now return NaN so the verdict routes to insufficient_evidence, mirroring the earlier NPV fix.
False PASS on unmeasurable spec-v2 gates
Four of the new sealed metrics collapsed an unmeasurable result to the numeric “perfectly fair” 0.0 instead of NaN, bypassing both the report's not-assessable guard and the bootstrap NaN filter, so a no-evidence case could seal as fair. multicalibration, negative_predictive_value_difference, auroc_parity and conditional_demographic_disparity now return NaN when there is no evidence, and the last of those renormalises its stratum weights instead of biasing toward “fair” in proportion to the un-assessable population.
Verdicts derive from the interval, not the point estimate
MetricResult gains a three-state verdict (fair / unfair / insufficient_evidence), and is_fair becomes an alias for verdict == 'fair'. A wide small-sample interval is no longer reported as a pass or a fail. predictive_parity_difference_with_ci closes the last sufficiency metric that shipped as a bare point estimate.

Security2

No implicit deserialization of untrusted models
The XAI sidecar refuses to deserialize a model payload unless the caller opts in explicitly (trust_input / VFAIRNESS_TRUST_MODEL_INPUT), closing a remote-code-execution vector. An AST guard test also stops the metric core from swallowing computation errors silently.
Defence in depth on agent- and artifact-supplied paths
The MCP load_dataframe tool rejects remote data_path URLs, so an agent-supplied path cannot become network egress; the Pulse artifact download pins the scheme to https and caps the response size; and the deserialization-safety scan now resolves aliased imports and covers marshal, pandas.read_pickle, jsonpickle and shelve.

v0.0.9

August 2026
Alpha
  • 5 Added
  • 3 Changed
  • 7 Fixed

A deep correctness-and-honesty hardening milestone. Five audit waves swept every subsystem for silently-wrong results, false fairness certificates and band inconsistencies; the rendering layer gained self-explaining, accessible SVGs and a single unified design language (Blanco); and the test/CI infrastructure was strengthened with golden-file value pins, render-smoke coverage across every template, and coverage measurement in CI. This was the last 0.0.x milestone before the 0.1.0 public beta.

Show

Added5

Self-explaining, accessible SVGs
Every rendered SVG now carries its own explanation automatically, wired at the render_svg choke point (so every adapter and .to_svg() inherits it): an auto-generated on-canvas explanation (concept → how to read it → the finding on this chart → recommended action) plus an accessible, machine-readable layer (role="img", <title>, a one-line <desc>, and a <metadata> JSON block). Severity is derived from the same data the badge uses, so the explanation can never contradict the badge. Curated content covers every template.
vfairness.rendering.explain CHART_META
Blanco — the one SVG design language
render_svg applies Blanco (“The Silent Gallery”) by default: a single post-render transform giving sharp corners, editorial type (Plus Jakarta Sans / JetBrains Mono), desaturated graphite chrome, and colour reserved for the four semantic tones. It never touches the templates or adapters themselves.
apply_skin list_skins SKINS
Golden-file regression tests
Exact-value pins for the core classification, regression and ranking metrics and the FairnessAnalyzer report, so a numeric regression fails loudly instead of drifting silently.
tests/test_golden_metrics.py
Render-smoke coverage for every template
Drives render_svg for every registered SVG template and asserts well-formed XML with no unrendered Jinja tokens.
tests/test_rendering.py
Task result envelope & coverage-in-CI
New TaskResult dataclass formalises the task-handler result envelope (schema_version, task_type, success, data/error, optional warnings) with a backward-compatible to_dict(). Coverage is now measured in CI (--cov=vfairness) behind a ratcheting --cov-fail-under gate.
vfairness.result.TaskResult

Changed3

SVG gallery is all-Blanco
The gallery renders every example in Blanco; the Original/Blanco skin switch and the parallel mirror were removed, along with the coloured category-icon boxes and the unused design-proposal SVGs.
CI runs the full test suite
The -m fairness marker matched zero tests (so CI silently ran nothing); the filter was removed from both GitHub and GitLab pipelines, and both now install the extras the suite exercises.
Task handlers use the result envelope
The CI/CD and Pulse handlers build their result via TaskResult.to_dict(). The success/data/error semantics are unchanged; the envelope gains additive schema_version and task_type keys.

Fixed7

Undefined metrics are not failures
A metric that returns NaN (undefined, e.g. an error-rate metric when a group has no positive labels, or R² when a group has constant y_true) is now surfaced in assessment.not_assessable_metrics and excluded from the fairness score, instead of being mis-scored as a FAIL. The classification report gains a not_assessable_metrics field.
Evaluation metrics & statistical honesty
Effect sizes now measure the gap the metric actually reports; equal opportunity returns NaN with a warning (not a silent “fair” 0.0) when a group has no positives; dropped small groups are named; fisher_exact_test uses the real exact test (no silent chi-square degrade); Bayesian credible intervals delegate to scipy (the homegrown Beta PPF had collapsed “95%” intervals to ~55% coverage); Wilson score intervals replace NaN bounds for large groups; multiple-testing correction runs real two-proportion z-tests instead of inverted pseudo p-values.
No more false fairness certificates
Degenerate data (0 samples or a single group) is marked NOT ASSESSABLE instead of certifying fairness_score 1.0; critical findings floor the overall risk band (1+ → MEDIUM, 3+ → HIGH) so three critical issues can no longer average out to a green badge; constant-probability ECE/MCE report the true error instead of a “perfect” 0.0.
Band consistency & explainer coherence
A single canonical vfairness._bands module drives every severity/threshold decision, so the badge, radar chart, detailed report and explanation text can no longer give contradictory verdicts for the same input; the divergent 0.2/0.4/0.6/0.8 risk scale was eliminated everywhere; NaN scores render a neutral N/A badge rather than a green MINIMAL.
In-, post- and pre-processing correctness
Threshold optimization and three of five reweighters crashed on every fit — both fixed; BetaCalibrator is now real Kull et al. 2017 beta calibration; GridSearch predicts with the classifier it reports; FairRegressor raises instead of silently fitting an unconstrained model for unsupported objectives; the adversarial debiasing loss trains its adversary in the correct direction; the outcome column is no longer scanned as its own proxy.
Rendering, XAI, Pulse & ops robustness
Hostile inputs (empty modules, None nests, stringified numbers, Infinity) render or raise a clear error naming the template instead of leaking ZeroDivision/Overflow; falsy-zero bugs (score 0, zero-tolerance thresholds) read at the correct severity; deep-model XAI routing selects Integrated Gradients (Phase-2 DeepExplainer had made every deep job fail); SHAP attributions, base value and prediction now come from one class; causal identification and refuter-crash disclosure fixed; monitoring/drift windows and health-score trends corrected.
Packaging, frozen API surface & test hardening
requirements.txt now includes the hard runtime deps requests and scikit-learn (a minimal install previously could not even import vfairness); the mcp extra is gated to Python ≥ 3.10 so the project locks again; frozen-surface exports (calibration_difference, r2_parity_difference, residual_bias) restored; ~800 new regression tests across tests/test_audit_wave1–5 pin every fix. Documentation examples corrected against the real APIs.

v0.0.8

March 2026
Alpha
  • 22 Added
  • 2 Fixed

Release consolidating all v0.0.x development work into a stable alpha milestone. Includes 43 historical discrimination patterns across US, EU, EU AI Act & Swiss jurisdictions, finalized APIs for the full pipeline, expanded test coverage, and polished documentation across all modules.

Show

Added22

DisparateImpactRemover (pre-processing transformer)
Feldman et al. (2015) geometric repair: aligns each numeric feature's distribution across protected groups toward a shared per-quantile-median target, removing disparate impact while preserving within-group ranking. Tunable repair_level (0 = no change, 1 = full repair) with a tie-robust empirical-CDF mapping. Registered under dispatch key disparate_impact_removal and wired into the platform's pre-processing step (with a configurable repair-strength control).
DisparateImpactRemover disparate_impact_removal
LabelMassager (pre-processing transformer)
Kamiran & Calders (2012) “massaging”: a logistic ranker scores each instance by proximity to the decision boundary, then the minimal set of borderline labels is flipped (promote deprived-group negatives, demote favored-group positives) to equalize group positive rates. Row-preserving; changes only the target. Exposes the additive get_massaged_labels() hook and a max_flip_fraction safety cap. Wired into the platform's pre-processing step.
LabelMassager label_massaging
Resampler (pre-processing transformer)
Kamiran & Calders (2012) sampling: balances protected-group (and group × label) representation by random over-sampling with replacement up to the largest cell, or under-sampling down to the smallest. Exposes the additive get_resampled_data() hook with configurable strategy and balance_by. The platform rebalances the training split only, leaving the held-out test split intact for honest evaluation.
Resampler resampling
Fairness Regularization (in-processing, platform wiring)
The Navigator's “Fairness Regularization” tile now runs a torch training loop that minimizes BCE + λ · GroupFairnessRegularizer. The fairness metric (demographic parity, equalized odds, equal opportunity, or FPR parity) is selected from the chosen fairness definition, and the penalty strength gives continuous control over the accuracy-fairness trade-off. Registered under dispatch key fairness_regularization; falls back to reweighting if torch is unavailable.
GroupFairnessRegularizer fairness_regularization
FairRepresentationTransformer (pre-processing transformer)
Adversarial fair-representation learning (Zemel et al. 2013 LFR; Louizos et al. 2016 VFAE; Madras et al. 2018 LAFTR): an autoencoder encodes the numeric features into a latent code trained with reconstruction loss plus a gradient-reversal adversary that cannot recover the protected group, yielding a group-invariant representation. transform returns the latent columns (rep_0..). Tunable representation_dim and lambda_fairness; multiple attributes handled via their intersection. Registered as fair_representation and wired into the pre-processing step + Pareto sweep. Requires torch.
FairRepresentationTransformer fair_representation
Intervention hardening: intersectional, secondary constraints, guardrails
Across the intervention suite: (1) DisparateImpactRemover, LabelMassager, Resampler, FairRepresentationTransformer and the fairness-regularization training loop now operate on the intersection of all protected attributes rather than only the first (e.g. they repair / rebalance / penalize race x gender jointly); (2) the regularizer accepts secondary fairness constraints (penalized jointly); (3) a degenerate-collapse guard detects and softens penalties that drive the model to a single class; (4) a training-row cap keeps the torch sweep responsive on large datasets; (5) pre-processing techniques (Disparate Impact Removal, Label Massaging, Resampling, Fair Representation) gained Pareto strength sweeps; and (6) results surface proxy-survival notes and small-sample / confidence warnings so a near-unchanged metric is explained rather than mistaken for a no-op.
get_massaged_labels get_resampled_data secondary_constraints
Historical discrimination patterns
43 patterns (up from 12) with multi-jurisdiction coverage across US, EU, and Swiss contexts.
Attribute × domain historical-pattern cross-walk
New attribute_historical_pattern(attribute, domain) helper resolves 24 documented (attribute class × regulated domain) precedents -- race / gender / age / national-origin / religion / disability / geographic proxy across hiring, lending, healthcare, justice, insurance and education. Pulse attaches the citation-backed envelope onto bias findings so the “Historical pattern” channel keys off a structured flag instead of regex-matching evidence text.
attribute_historical_pattern
EU AI Act patterns
11 patterns: 4 prohibited practices (Art. 5) and 7 high-risk systems (Annex III).
European discrimination patterns
12 patterns covering employment, housing, welfare, policing, and education.
Swiss-specific patterns
8 patterns including Ausweis-based discrimination, naturalisation bias, and cantonal disparities.
EU AI Act compliance detection
Automated risk classification with penalty exposure alerts for prohibited and high-risk AI systems.
CRITICAL HIGH MEDIUM
Penalty exposure alerts
Prohibited practices (€35M / 7% turnover) and high-risk systems (€15M / 3% turnover).
Expanded synthetic demo dataset
19 columns including EU, AI Act, and Swiss-specific features.
Stabilised API surface
Consistent interface across all 6 sub-packages (as of this release; the taxonomy is 15 top-level sub-packages as of 0.1.0).
Comprehensive documentation
Curated academic references for each jurisdiction.
Statistical validation module _statistics.py
Comprehensive uncertainty quantification: bootstrap CIs (percentile, BCa, basic), stratified bootstrap for fairness metrics, Bayesian credible intervals (proportion, difference, mean), multiple testing corrections (Bonferroni, Benjamini-Hochberg FDR), effect sizes (Cohen's d, risk ratio, odds ratio), and auto method selection based on sample size. Zero scipy dependency. (Superseded in v0.0.9: the homegrown scipy-free Beta PPF was found to collapse "95%" credible intervals to about 55% coverage, so it now delegates to scipy, which is a hard runtime dependency.)
bootstrap_ci stratified_bootstrap_ci bayesian_proportion_ci bayesian_difference_ci compute_metric_with_ci
Proportion tests and power analysis
Two-proportion z-test, Fisher's exact test (exact for n≤200, chi-squared fallback), Cohen's h effect size for binary outcomes, minimum detectable effect computation, and human-readable power warnings for small subgroups.
proportion_z_test fisher_exact_test cohens_h minimum_detectable_effect power_warning
Intersectional disparity SVG template
New ranked-bar chart SVG template (intersectional_disparity.svg) with ground truth overlay, severity-colored bars, prediction delta indicators, most/least advantaged comparison cards, and insight cards. 44th SVG template in the rendering module.
intersectional_disparity_to_svg()
Dual-lens intersectional analysis
identify_privileged_groups() and intersectional_disparity_analysis() now compute ground truth rates, false positive rates, and prediction deltas per subgroup. New outcome_polarity parameter supports both favorable (loan approval) and unfavorable (recidivism) outcome directions.
ground_truth_rate false_positive_rate prediction_delta outcome_polarity
Confidence intervals in structured findings
Intersectional structured findings now include Bayesian credible intervals for small subgroups, enriching compliance reporting with uncertainty quantification.
Improved SVG chart rendering
Enhanced Pareto frontier visuals, improved disparity heatmap layout, and refined calibration adapters for cleaner publication-ready output.

Fixed2

Validation SVG: raw dict/list strings no longer leak into rendered text
data_validation_to_svg() now safely handles nested dicts and lists, truncates overly long string representations, and only includes scalar values in metric cards. Previously, raw Python repr output (e.g., {'count': 5}) could appear in the SVG text.
Polarity-aware ratio in intersectional insights
Fixed the insight generation to correctly compute advantage ratios when outcome_polarity='positive_unfavorable'. Previously, the ratio calculation was inverted for unfavorable outcomes, making insights misleading.

v0.0.7

February 2026
Alpha
  • 18 Added
  • 7 Changed
  • 3 Fixed

Documentation quality overhaul and major feature release. Complete site redesign with gradient theme system, plus new Reporting & Dashboards, Experimentation & A/B Testing, and Workflow Integration modules. 43 SVG templates across 15 adapter modules, 114 gallery illustrations.

Show

Added18

Reporting module vfairness.operations.reporting
Privacy-preserving queries, Plotly progressive-disclosure views, multi-format NLG output, and interactive Dash/HTML dashboards.
MetricsStore FairnessDashboard ReportGenerator InteractiveDashboard
Experimentation module vfairness.operations.experimentation
A/B testing with intersectional analysis, SPRT early stopping, Pareto frontier and causal decomposition.
FairnessExperiment FairnessPowerAnalyzer ExperimentAnalysis
Monitoring expansion
Wavelet + KS multi-scale drift detection, adaptive thresholds, and alert prioritisation.
FairnessDriftDetector AdaptiveThresholdManager FairnessAlertPrioritizer
Monitoring SVG templates
4 new templates for production monitoring visualisation.
monitoring_dashboard drift_report alert_timeline temporal_analysis
SVG template redesign
All 32 core templates redesigned with consistent card-based layout system and explanation overlays.
SVG gallery page update
Reporting & Experimentation sections, new filter categories, and expanded code examples.
Workflow integration vfairness.operations.cicd
Three-level intersectional gate evaluation, PR-ready markdown reports, and under-powered group detection.
HierarchicalGateConfig FairnessReportCard SmallSampleWarning
W&B integration log_fairness_to_wandb()
Weights & Biases experiment tracking, mirroring the existing MLflow integration.
Auto-logging decorator @auto_log_fairness
Automatic fairness logging during model training with MLflow and W&B backend support.
Pre-commit hooks
Early validation of fairness documentation before commits.
vfairness-check-config vfairness-check-model-card
Formal pytest plugin
Registered via pytest11 entry point with marker, fixture, and terminal summary.
@pytest.mark.fairness fairness_gate
CI/CD configurations
GitHub Actions workflow, GitLab CI config, and PR template with fairness checklist.
fairness-checks.yml
Workflow SVG templates
3 new templates for workflow visualisation.
workflow_overview hierarchical_gate report_card
Getting Started guide expansion
Reporting, Experimentation, and Workflow Integration quick-start sections.
Notebooks
Interactive tutorials for new modules.
reporting_units_3.ipynb experimentation_unit_4.ipynb vfairness_8_workflow_integration.ipynb
8 new SVG templates (35 → 43)
General correlation matrix with mixed methods, causal decomposition, robustness testing, ranking fairness, data validation, auto discovery, regression fairness, and multi-tier reporting dashboard.
correlation_matrix causal_decomposition robustness_testing ranking_fairness data_validation auto_discovery regression_fairness reporting_dashboard
6 new rendering adapter modules
Dedicated adapter files for robustness, ranking, validation, discovery, regression, and reporting SVG templates.
adapters_robustness.py adapters_ranking.py adapters_validation.py adapters_discovery.py adapters_regression.py adapters_reporting.py
Full notebook coverage for all 43 SVG templates
Every SVG adapter function is now exercised in at least one notebook. SVG rendering demo notebook expanded from 35 to 43 templates with new Advanced Modules category.

Changed7

Public API expansion
200+ exports across all pipeline stages with backward-compatible sys.modules aliasing.
Rendering adapters
All adapters updated for consistent explanation parameter and template context.
Project dependencies pyproject.toml
New module dependencies with Plotly and Dash as optional extras.
SVG gallery
Expanded to 43 templates with 114 gallery illustrations including advanced modules for robustness, ranking, validation, discovery, regression, and reporting.
Documentation overhaul
New Workflow Integration nav link, expanded Business Guide with CI/CD gates and MLOps tracking sections, API Reference with 6 new component pages.
Hero stats updated
Getting Started page statistics refreshed: 60K+ lines of code, 1,211 functions, 217 classes, 43 SVG templates, 114 illustrations. (Counts as of v0.0.7, measured as raw definitions. What the Getting Started tiles count has changed since: they now report the whole callable surface (functions, classes and methods across every public module), the capability-registry rows that name some of those same objects, and the SVG templates. Those tiles are filled from data/library-stats.json at page load rather than typed in, so read the current figures there rather than here.)
Business Guide glossary repositioned
Glossary section moved to its correct location before Appendices for better document flow.

Fixed3

Column label readability in correlation SVG templates
Rotated column labels in correlation_heatmap and correlation_matrix templates were painted over by grid cells. Fixed text-anchor from end to start, increased font size to 12px, and added 100px panel headroom.
Cohen's d lollipop chart alignment in regression fairness SVG
Effect size dots were displaced ∼200px left of the center axis due to mismatched coordinate origins. Recentered dot_x computation around the axis position and added smart label placement for negative values.
SVG template count references
Outdated template counts (30+, 35) across Getting Started, API Reference, and main index pages updated to 43.
Feature Release

Major feature and documentation release. New modules require optional dependencies: pip install vfairness[reporting], pip install vfairness[experimentation], or pip install vfairness[mlops].

v0.0.5-dev

February 2026
Alpha
  • 10 Added
  • 4 Changed

Post-processing expansion and SVG rendering engine. Added threshold optimisation, prediction reweighting, operations/monitoring modules for production deployment, and 28 purpose-built SVG templates for server-side report generation.

Show

Added10

Threshold optimisation
Multi-objective threshold tuning for group-aware decisions.
ThresholdOptimizer GroupThresholdOptimizer
Prediction reweighting
Prediction adjustment techniques for fairer outcomes.
PredictionReweighter RejectionOptionClassifier CalibratedEqualizer
Operations module
Production deployment tools for bias validation, gating, and monitoring.
DataBiasValidator ModelFairnessGate BiasMonitor
Drift detection & constraint specification
Alert system for fairness metric drift and declarative constraint types.
DriftAlert FairnessConstraintType
Testing utilities
pytest integration for fairness assertions.
FairnessTestSuite @fairness_test
Rendering sub-package
Core SVG engine, adapters, and 28 purpose-built templates for server-side report generation.
vfairness.rendering
Fairness report SVG adapters
Adapters for classification, regression, and ranking results.
Calibration SVG adapters
Reliability diagrams and disparity plots.
Feature engineering SVG adapters
Correlation matrices and proxy chain visualisation.
Training analysis SVG adapters
Loss curves and constraint satisfaction tracking.

Changed4

Post-processing restructuring
Reorganised into calibration, threshold_optimization, and reweighting sub-modules.
CI/CD module relocation
Moved from evaluation.integrations to dedicated operations.cicd module.
CalibrationAnalyzer enhancement
Pareto frontier and impossibility theorem diagnostics.
Rendering / visualisation separation
Plotly/Matplotlib for interactive use, SVG engine for static reports.

v0.0.3-dev

January – February 2026
Alpha
  • 14 Added
  • 5 Changed
  • 3 Performance
  • 3 Fixed

Full pipeline expansion. Post-processing calibration, feature engineering, in-processing training interventions, and enhanced visualisation. Expanded vfairness from detection-only to a full-pipeline fairness toolkit.

Show

Added14

FairExplAIner module
Human-readable explanations for all fairness metrics.
FairExplAIner
Calibration module
Group-aware probability calibration with 5 methods, intersectional calibration, and Pareto trade-off analysis.
GroupCalibrator IntersectionalCalibrator CalibrationAnalyzer
Feature engineering sub-package
Fairness-aware data transformation, 5 transformers, and proxy chain detection via mutual information.
vfairness.preprocessing.feature_engineering FeatureEngineeringAnalyzer
In-processing module
Complete training-time intervention toolkit with 12 loss functions, 5 constraint types, and 5 regularizers.
vfairness.in_processing ExponentiatedGradient FairClassifier
Trainable group calibrators
5 calibration methods for per-group adjustment during training.
TemperatureScaling PlattScaling TrainableGroupCalibrator
Enhanced visualisation suite
Interactive Plotly charts, publication-ready matplotlib outputs, reliability diagrams, and disparity dashboards.
Bayesian confidence intervals
Conjugate priors for small sample sizes (n < 30).
Auto-discovery of protected attributes
Automatic detection from dataset column names and metadata.
Geographic bias detection
Location-based disparity analysis.
Quick analysis function
Convenience function for rapid fairness analysis.
classification_fairness_report()
Multi-class classification support
Fairness metrics extended to multi-class settings.
Training analyser
Monitoring fairness metrics during model training.
FairnessTrainingAnalyzer
Documentation site
Comprehensive API reference, tutorials, and 6 Jupyter demo notebooks.
scikit-learn wrappers
Drop-in compatible classifiers and regressors.
FairClassifier FairRegressor

Changed5

Package reorganisation
6 top-level sub-packages: preprocessing, in_processing, post_processing, evaluation, operations, rendering.
Library scope expansion
From detection/measurement to full-pipeline fairness: detect, mitigate, calibrate, monitor.
Bootstrap confidence intervals
Bias-corrected and accelerated (BCa) method for improved accuracy.
MLflow integration
Automatic artifact logging and metric tracking.
FairnessAnalyzer refactoring
Better memory efficiency with large datasets.

Performance3

Bootstrap computation
40% faster through vectorized operations.
Intersectional analysis
60% reduced memory footprint.
Permutation tests
Parallel processing support.

Fixed3

Demographic parity edge case
Fixed calculation when one group has zero positive predictions.
Calibration numerical stability
Resolved issues with very small probabilities.
pytest assertion messages
Clearer failure diagnostics.
Scope Change

vfairness is no longer detection-only. With in-processing and post-processing modules, it now covers the full ML fairness pipeline.

v0.0.1-alpha

December 2025
Alpha
  • 16 Added
  • 3 Fixed

Initial development release. Core fairness metrics, statistical validation, bias detection module, and MLOps integration foundations.

Show

Added16

Core fairness analyser
Classification fairness analysis with demographic parity, equal opportunity, and equalized odds.
FairnessAnalyzer
Calibration & disparate impact metrics
Calibration difference, predictive parity, and 80% rule calculation.
Intersectional analysis
Multi-attribute fairness evaluation with automatic subgroup discovery.
Regression fairness metrics
Error rate disparity and prediction gap analysis.
Statistical validation
Bootstrap confidence intervals, permutation testing, and multiple testing corrections (Bonferroni, Benjamini-Hochberg).
Effect size calculations
Cohen's d, risk ratio, and odds ratio.
Bias detection module
Comprehensive data-level bias analysis with historical pattern detection and representation bias.
BiasDetector
Proxy variable identification
Correlation and mutual information-based detection.
MLflow integration
Native fairness logging for experiment tracking.
log_fairness_to_mlflow()
pytest plugin
Fairness assertions in CI/CD pipelines.
Ranking fairness metrics
NDKL, skew, and exposure disparity.
Training callbacks
Framework-specific monitoring hooks for Keras, PyTorch, and scikit-learn.
Basic visualisation
Matplotlib bar charts and heatmaps.
Report export
JSON, dictionary, and structured output formats.
Sample size warnings
Recommendations for adequate statistical power.
Unified API
Consistent interface across classification, regression, and ranking analysers.

Fixed3

NaN handling
Fixed incorrect handling of NaN values in sensitive attribute columns.
Memory leak fix
Resolved leak in iterative confidence interval computation.
Effect size calculations
Corrected calculations for imbalanced groups.
Initial Development Release

First public development release. Not recommended for production use. Install from source or GitHub.

What's Next

Some of the most interesting parts of vfairness are already in the code and maturing toward a full documentation page and a frozen API; others are planned. Here is where the work is heading.

In progress (already in the code)

  • Explainability & XAI: the SHAP family, the Lundberg fairness decomposition and DiCE counterfactuals (in the code and documented on its own page, Explainability & XAI)
  • Validity / groundedness axis: the VG-* metric family with a fail-closed LLM judge (interim, live)
  • Vision representation fairness: Skew / NDKL / bias-amplification math shipped, plus an optional FairFace demographic sidecar
  • Causal fairness graphs and fairness-aware model selection

Planned

  • A per-symbol API reference for every top-level export
  • An owned groundedness detector to succeed the interim LLM judge
  • Continuous monitoring dashboard
  • Enterprise compliance reports
Contributing

Found a bug or have a feature request? Please open an issue on GitHub. We welcome contributions from the community.