System Trustworthiness and Accountability Vocabulary
Project description
STAV: System Trustworthiness and Accountability Vocabulary
This work is still under development.
Ease the uses of standardised vocabularies in Python workflow.
stav:
- Norwegian: to spell (words)
- Swedish: letter (alphabet)
- Slovak: state (condition)
- Czech: stance
STAV Taxonomy
Apart from providing access to standardised vocabularies, STAV also provide a minimal taxonomy at https://w3id.org/stav
STAV Python module
STAV terms can also be accessible through a Python module called stav,
available freely on the Python Package Index.
STAV class names are accessible through constants in the stav module.
These class names are in capital letters with underscores separating words,
LIKE_THIS, as stated in PEP 8.
Values of these constants are simply a STAV class name, a string in CamelCase.
For example, stav.INSTRUCTIONS_FOR_USE is a string with value of "InstructionsForUse".
(In the future, it should be able to configure the casing to "instructions_of_use", etc.)
With this, it will make the standardization of documentation within an organization, or across organizations, easier and can facilitate the use of the terms in MLOps settings, where data scientists and data engineers can use STAV terms as keys in their model logging and registration.
Installation
pip install stav
Use with MLflow
from mlflow import log_artifact, log_metric, log_param, set_tag
import stav
with mlflow.start_run():
mlflow.set_tag(stav.INFO_TRAINING, "Basic LR model for iris data")
mlflow.set_tag(stav.AI_PROVIDER, "Acme Corporation")
mlflow.set_tag(stav.AI_DEPLOYER, "Sirius Cybernetics")
mlflow.set_tag(stav.USE_SENSITIVE_PERSONAL_INFO, "No")
mlflow.log_metric(stav.METRICS_ACCURACY, accuracy)
Sister projects
STAV (a Vocabulary) and STAP (an ODRL Profile) are sisters for system trustworthiness and accountability.
-
STAV provides a vocabulary (with focus on informational items) extracted from regulations and policy documents, mostly AI safety-related, like EU Artificial Intelligence Act draft. Its IRI is https://w3id.org/stav. Its code repository is at https://github.com/bact/stav/.
-
STAP provides a set of core accountability relationships, based on Open Digital Rights Language. They are trying not to be AI-specific. Its IRI is https://w3id.org/stap. Its code repository is at https://github.com/bact/stap/.
License
STAV: System Trustworthiness and Accountability Vocabulary by Arthit Suriyawongkul is licensed under CC BY 4.0
The stav Python module is distributed under the terms of the Apache License 2.0.
This work has emanated from research conducted with the financial support of Taighde Éireann – Research Ireland under Grant number 18/CRT/6224 (Research Ireland Centre for Research Training in Digitally-Enhanced Reality (d-real)) and with the organizational support from members of these research groups:
- Knowledge and Data Engineering Group, Trinity College Dublin
- Transparent Digital Governance strand, ADAPT Centre
Related works
Members of RegTech group at ADAPT Centre contribute to AI and data ontology projects below, and they are may be of your interest:
- Pitloom - SBOM (software bill of materials) generator. Its SBOM fragments generation works with STAV vocabs.
- Trustworthy AI Requirements Ontology (TAIR)
- AI Risk Ontology (AIRO)
- Vocabulary of AI Risks (VAIR)
- Data Privacy Vocabulary (DPV) - with AI extenstion
Project details
Release history Release notifications | RSS feed
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 stav-0.3.0.tar.gz.
File metadata
- Download URL: stav-0.3.0.tar.gz
- Upload date:
- Size: 7.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddd811df283b34f8a1a5f72fb9ae78b95ca720f38f0ccc3533f3b2a54f61dc8d
|
|
| MD5 |
cdfae8226568f377238106c8eb05a025
|
|
| BLAKE2b-256 |
598692deb17ff63336b477204a6058d53cc3d05de7c4d4456bbc5e62090834a8
|
Provenance
The following attestation bundles were made for stav-0.3.0.tar.gz:
Publisher:
pypi-publish.yml on bact/stav
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stav-0.3.0.tar.gz -
Subject digest:
ddd811df283b34f8a1a5f72fb9ae78b95ca720f38f0ccc3533f3b2a54f61dc8d - Sigstore transparency entry: 1409275821
- Sigstore integration time:
-
Permalink:
bact/stav@9359dcba55b0dd99fd9ca02a21cfb556064c9745 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/bact
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9359dcba55b0dd99fd9ca02a21cfb556064c9745 -
Trigger Event:
release
-
Statement type:
File details
Details for the file stav-0.3.0-py3-none-any.whl.
File metadata
- Download URL: stav-0.3.0-py3-none-any.whl
- Upload date:
- Size: 168.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e926a348d301f87312a92e7cbda1a22765c183923f5aad3cd7adea81df13a0c3
|
|
| MD5 |
07ed703bd575fc3872e8294699bb0ee0
|
|
| BLAKE2b-256 |
3533d3800d0ee812466d2862fcde526b786a7c8fd3eade6f7d0c00317d9d57d2
|
Provenance
The following attestation bundles were made for stav-0.3.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on bact/stav
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stav-0.3.0-py3-none-any.whl -
Subject digest:
e926a348d301f87312a92e7cbda1a22765c183923f5aad3cd7adea81df13a0c3 - Sigstore transparency entry: 1409275824
- Sigstore integration time:
-
Permalink:
bact/stav@9359dcba55b0dd99fd9ca02a21cfb556064c9745 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/bact
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@9359dcba55b0dd99fd9ca02a21cfb556064c9745 -
Trigger Event:
release
-
Statement type: