Skip to main content

VerifIA logo

Domain‑Aware Verification Framework for AI Models

License Docs

Docs • Website



VerifIA is an open‑source Python library that automates domain‑aware verification of machine‑learning models during the staging phase—before deployment. It generates novel, in‑domain inputs and checks your model against expert‑defined rules, constraints, and specifications, helping you:

  • ✅ Validate behavioral consistency with domain knowledge
  • 🔍 Detect edge‑case failures beyond your labeled data
  • 📊 Generate comprehensive HTML reports for decision‑making and debugging

📖 Try in Colab

Open in Colab


🚀 Install

# Core framework
pip install verifia

# Include AI‑Based Domain Generation
pip install verifia[genflow]

Supports Python 3.10+.


🤸‍♀️ Quickstart

from verifia.verification import RuleConsistencyVerifier

# 1. Load your domain spec
verifier = RuleConsistencyVerifier("domain_rules.yaml")

# 2. Attach model and data
report = (
    verifier
      .verify(model_card_fpath_or_dict="model_card.yaml")
      .on(data_fpath="test_data.csv")        # .csv, .json, .xlsx, .parquet, .feather, .pkl
      .using("GA")                           # RS, FFA, MFO, GWO, MVO, PSO, WOA, GA, SSA
      .run(pop_size=50, max_iters=100)       # search budget
)

# 3. Save your report
report.save_as_html("verification_report.html")

Quickstart Steps

👉 Full Quickstart guide: https://docs.verifia.ca/quickstart


📚 Feature Spotlight: AI‑Based Domain Generation

Automatically build your domain specification from CSVs, DataFrames, and PDFs using LLM‑powered agents. No manual rule‑writing required—point VerifIA at your data and let it generate variables, constraints, and rules for you.

🎬 Demo: AI‑Based Domain Generation UI
AI‑Based Domain Generation UI ▶️

Fig. Interactive animated demo—click to open full resolution.

📖 Learn More


🧰 Ecosystem & Integrations

VerifIA works with any model, in any environment and integrates seamlessly with your favorite tools ⤵️

scikit-learn LightGBM
CatBoost XGBoost PyTorch TensorFlow

MLflow Comet ML Weights & Biases OpenAI


📖 More Resources


🤝 Contributing

We welcome all contributions! Please read our CONTRIBUTING.md to get started.


⚖️ License

VerifIA is released under the AGPL‑3.0 License. See LICENSE for details.


Made with ❤️ by the VerifIA contributors.

Release files for verifia 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verifia 0.1.1
File Size Uploaded
verifia-0.1.1.tar.gz 120.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for verifia 0.1.1
File Interpreter ABI Platform
verifia-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 245.7 kB

Release files / verifia-0.1.1.tar.gz

Download URL verifia-0.1.1.tar.gz
Size 120.4 kB
Tags Source
SHA-256 checksum
How to use checksums
476198829dbd2b40d9a03745817462995c1e4e0c6e6b0a043bbef5cb1454cbbb
BLAKE2b-256 checksum
How to use checksums
ef46e3b0e16961ff15d06fed5e3eef6c9a92e0b476b284e3040398fa518ed343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.10

Release files / verifia-0.1.1-py3-none-any.whl

Download URL verifia-0.1.1-py3-none-any.whl
Size 125.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31af66b9f388934f94d26f0421f04eb624224e3c12aa2b38297c623fc728c8f0
BLAKE2b-256 checksum
How to use checksums
29c0dd43994604048d60e5ea2152bb72f2d8bd6d846c1bb274dfbd77b846d62c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page