AVS Framework
Audit • Validation • Security — open-source statistical engine for auditing AI-driven employment decision systems.
Developed by Safeer Ahmad, M.S., SHRM-CP, MLSecOps — Principal, Nauta Research Labs
What this is
Automated screening is effectively universal in large-employer hiring: 99% of Fortune 500 companies use an applicant tracking system, and 88% of employers surveyed acknowledge that their system filters out qualified candidates whose resumes do not match exact job-description criteria.1
Independent verification has not kept pace. When Cornell researchers audited compliance with New York City Local Law 144 — the first law anywhere to mandate bias audits for automated employment decision tools — they found that of 391 employers surveyed, only 18 had posted an audit report, and only 11 posted both an audit report and a transparency notice meeting the law's requirements.2
The AVS Framework is a governance methodology that evaluates AI employment tools across four pillars:
| Pillar | Question it answers | Standard |
|---|---|---|
| Audit | Does the tool produce discriminatory outcomes across protected groups? | Uniform Guidelines (29 C.F.R. 1607), NYC LL144, EEOC |
| Validation | Does the tool actually measure job-relevant characteristics? | Uniform Guidelines, SIOP Principles, Griggs v. Duke Power |
| Security | Can the tool be manipulated, poisoned, or exploited? | NIST AI RMF 1.0 / AI 600-1, OWASP ML Top 10 |
| Governance | Does the organization have oversight to sustain compliance over time? | NIST AI RMF GOVERN, OFCCP guidance |
This repository contains the open-source (MIT) code for the Audit and Security pillars — the statistical and testing engine, not the full consulting methodology. It runs against exports from any ATS (Workday, Greenhouse, iCIMS, Lever, BambooHR) without needing vendor source code or API access to the underlying model.
For the full four-pillar assessment methodology, validation study protocols, and engagement services, see nautaresearchlabs.com.
Install
pip install avs-framework
Quickstart
import pandas as pd
from avs_framework import AVSAdverseImpactAudit
data = pd.read_csv("applicant_flow.csv") # applicant_id, race, sex, selected, ...
audit = AVSAdverseImpactAudit(data, demographic_cols=["race", "sex"])
audit.run_full_audit()
print(audit.generate_report())
Sample output on a screening tool with confirmed adverse impact
(reproduce with python examples/quickstart.py):
Group Reference N Applicants N Selected Selection Rate Reference Rate Impact Ratio 4/5 Pass Z-Score p-value Stat Sig Severity
Asian White 891 100 11.2% 14.6% 0.768 FAIL -2.5590 0.010496 YES CONFIRMED
Black White 1241 99 8.0% 14.6% 0.546 FAIL -5.8779 0.000000 YES CONFIRMED
Hispanic White 1523 213 14.0% 14.6% 0.957 PASS -0.5620 0.574095 no NONE
An impact ratio below 0.80 with a statistically significant p-value (< 0.05) is a confirmed adverse impact finding under the Uniform Guidelines — it triggers a root-cause and validation-study obligation to defend continued use of the tool on business-necessity grounds.
What's included
AVSAdverseImpactAudit — adverse impact analysis
Four-fifths rule per 29 C.F.R. 1607.4D, comparing each group against the highest-selected group, combined with a pooled two-proportion Z-test. Where the smallest expected cell count in the 2×2 table falls below 5 under the pooled null, the framework automatically substitutes Fisher's exact test rather than relying on the normal approximation.
Findings are classified on four severity levels, because practical and statistical significance diverge in opposite directions at different sample sizes:
| Severity | 4/5 rule | Statistically significant | Interpretation |
|---|---|---|---|
CONFIRMED |
Fails | Yes | Adverse impact indicated on both criteria |
INDICATED |
Fails | No | Practical disparity; sample too small to confirm |
MONITOR |
Passes | Yes | Statistically detectable but below the practical threshold |
NONE |
Passes | No | No indication of adverse impact |
The INDICATED and MONITOR cases are the ones single-criterion audits miss.
AVSNameSwapTest — name-swap bias testing
Black-box test for name-based bias in resume screening. Submits resumes that are byte-identical except for the applicant name and measures score variance across name-associated demographic groups. Methodology follows Wilson & Caliskan (University of Washington, 2024). Uses synthetic resumes only — no real applicant data is required or accepted.
AVSDriftDetector — drift detection
Chi-square test for demographic composition shift, two-sample Kolmogorov-Smirnov test for score distribution shift, and per-group selection-rate drift between a baseline and a current period. A model that passed its audit at deployment can fail silently as the applicant pool or the model changes; a single-point-in-time audit will not catch that.
Privacy
The framework operates on de-identified, aggregate data only: anonymized applicant ID, protected-category codes, AI score or decision, and hiring outcome. It never requires names, SSNs, or other PII. It makes no network requests. The security tests use synthetic resumes rather than real applicant data — so there is nothing to leak and no vendor system to reverse-engineer.
Audit findings and drift results are plain JSON-serializable Python values, suitable for direct inclusion in a compliance report:
import json
from dataclasses import asdict
findings = audit.run_audit("race")
print(json.dumps([asdict(f) for f in findings], indent=2))
Development
git clone https://github.com/SafeerAhmad211/avs-framework.git
cd avs-framework
pip install -e ".[dev]"
ruff check .
pytest --cov=avs_framework --cov-report=term-missing
CI runs against Python 3.10–3.13 and enforces a minimum of 80% coverage.
Contributions are welcome, particularly methodological review from I-O psychologists, statisticians, and employment attorneys — see CONTRIBUTING.md. You do not need to write code to correct a statistical method.
Citation
If you use this in research, cite it via the repository's Cite this repository button, or directly:
@software{ahmad_avs_framework_2026,
author = {Ahmad, Safeer},
title = {{AVS Framework: Audit, Validation, Security for AI Employment
Decision Systems}},
year = {2026},
version = {0.1.0},
url = {https://github.com/SafeerAhmad211/avs-framework},
license = {MIT}
}
Limitations
- Adverse impact analysis identifies disparities, not causes. A confirmed finding is the start of a root-cause investigation, not a conclusion about intent or legal liability.
- The four-fifths rule is a rule of thumb from 29 C.F.R. 1607.4D, not a legal safe harbor. Courts and the EEOC also consider statistical significance, practical significance, and sample size.
- This library implements the Audit and Security pillars only. A defensible compliance posture also requires validation evidence that the tool measures job-relevant characteristics — the Validation pillar, which is out of scope here.
- Nothing in this repository is legal advice.
License
Code in this repository is released under the MIT License. The broader AVS Framework methodology (job analysis protocols, validation study design, governance maturity scoring, engagement deliverables) is proprietary to Nauta Research Labs.
-
Fuller, J. B., Raman, M., et al. (2021). Hidden Workers: Untapped Talent. Harvard Business School Project on Managing the Future of Work and Accenture. Survey of 8,000 workers and 2,250 executives across the U.S., U.K., and Germany. https://www.hbs.edu/managing-the-future-of-work/research/Pages/hidden-workers-untapped-talent.aspx ↩
-
Wright, L., et al. (2024). Null Compliance: NYC Local Law 144 and the Challenges of Algorithm Accountability. Proceedings of the 2024 ACM Conference on Fairness, Accountability, and Transparency (FAccT '24). https://doi.org/10.1145/3630106.3658998 ↩
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file avs_framework-0.1.1.tar.gz.
File metadata
- Download URL: avs_framework-0.1.1.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0fc763dccc1502a531725c4521f74e21aa74bbbef11235e13855a4ae0ba0e7
|
|
| MD5 |
41b134bb4f8f159b961d0e1b2c2e1ce3
|
|
| BLAKE2b-256 |
02cb96badb52838fc50fdb1f5e9de88733b42db6342ed812c56a59185b3e680c
|
Provenance
The following attestation bundles were made for avs_framework-0.1.1.tar.gz:
Publisher:
publish.yml on SafeerAhmad211/avs-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
avs_framework-0.1.1.tar.gz -
Subject digest:
0c0fc763dccc1502a531725c4521f74e21aa74bbbef11235e13855a4ae0ba0e7 - Sigstore transparency entry: 2344190088
- Sigstore integration time:
-
Permalink:
SafeerAhmad211/avs-framework@7416e598e4856c6481ccd301edbc611caccd46fc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SafeerAhmad211
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7416e598e4856c6481ccd301edbc611caccd46fc -
Trigger Event:
release
-
Statement type:
File details
Details for the file avs_framework-0.1.1-py3-none-any.whl.
File metadata
- Download URL: avs_framework-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0add6a374d93e4e74ee23fdb913f00d42efc30a23d033bc984bd46e603e65b45
|
|
| MD5 |
61c23e325b7eaef1e00378dd3aad3dc2
|
|
| BLAKE2b-256 |
0faa34b85aecfd867f31486941efd6e906201003cab2bebb9d3ee53804ae870b
|
Provenance
The following attestation bundles were made for avs_framework-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on SafeerAhmad211/avs-framework
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
avs_framework-0.1.1-py3-none-any.whl -
Subject digest:
0add6a374d93e4e74ee23fdb913f00d42efc30a23d033bc984bd46e603e65b45 - Sigstore transparency entry: 2344190309
- Sigstore integration time:
-
Permalink:
SafeerAhmad211/avs-framework@7416e598e4856c6481ccd301edbc611caccd46fc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/SafeerAhmad211
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7416e598e4856c6481ccd301edbc611caccd46fc -
Trigger Event:
release
-
Statement type: