Skip to main content

VerifIA is an open-source AI testing framework for domain‑aware verification of AI models during the staging phase—before deployment.

Project description

VerifIA logo

Domain‑Aware Verification Framework for AI Models

GitHub release License Docs

DocsWebsite



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[domain]

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verifia-0.1.0rc0.tar.gz (120.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verifia-0.1.0rc0-py3-none-any.whl (125.4 kB view details)

Uploaded Python 3

File details

Details for the file verifia-0.1.0rc0.tar.gz.

File metadata

  • Download URL: verifia-0.1.0rc0.tar.gz
  • Upload date:
  • Size: 120.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for verifia-0.1.0rc0.tar.gz
Algorithm Hash digest
SHA256 2bc6895775efc08ad2321932532f012e2c493a45ea8a221baa6defef559a756d
MD5 c5efe3db4eb040a688af7615dbef121a
BLAKE2b-256 54a9e3c8f2f222def244fb3b4c86c2dc96d1a9f75506414d859f6d962078c960

See more details on using hashes here.

File details

Details for the file verifia-0.1.0rc0-py3-none-any.whl.

File metadata

  • Download URL: verifia-0.1.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 125.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for verifia-0.1.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d91aa7a732b228ed45b391235c4991690716e4dbe3e979ea6ae90707f188d16
MD5 50f3d2b5204c88e93044d62b0166b1ac
BLAKE2b-256 8c5d148c84d9805bcbeca681b2ca705ab4b848677299eaf6d8a7e1410252547f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page