RoGuard — Romanian and Ukrainian interaction testing and guardrails
RoGuard 5 provides a local bilingual laboratory for fictional AI interactions, source-linked permissions, minimum necessary disclosure, decision consistency and useful-task preservation. It includes an optional semantic text classifier and the existing declared-contract checks.
Install and open
pip install --upgrade roguard-child-safety
roguard-studio --lab --open
The core package has no runtime dependencies and supports Python 3.9–3.14. The browser and CLI simulate actions; they do not contact guardians or execute external tools. A separately configured Python gateway can call trusted host callbacks after live policy and approval checks.
What you can do
- Replay branching fictional scenarios against programmed references, recorded responses or your own explicit Python adapter.
- Identify the first failing step and reduce a scenario with a bounded replay budget.
- Retain source restrictions through summaries, proposed memory and tool results.
- Compute the exact minimum declared disclosure cost while covering required task fields.
- Test decision invariance and required policy transitions, retaining uncertainty.
- Compare permitted-task completion, unnecessary refusal and unauthorized proposals/deliveries.
roguard-lab demo --language uk --family revocation --target stale
roguard-lab compare --language ro
roguard-lab suite --fail-on-failure
For the stronger optional text classifier, use Python 3.10+ (tested on 3.12):
pip install --upgrade 'roguard-child-safety[semantic]'
roguard-model fetch
roguard-studio --conversation --open --backend semantic
The pinned model download is approximately 1.2 GB; subsequent inference is local. V5 does not change the v4 classifiers. Their synthetic results do not establish real-world child-language accuracy. Laboratory reference scores demonstrate controlled software behavior, not AI reasoning or human benefit. Provenance, coverage, costs and authority are host declarations; callback code is trusted, not sandboxed. Reduced scenario exports contain their input text.
GitHub and full README · Interaction guide · v5 evidence · Classifier evidence
Metadata
Release files for roguard-child-safety 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| roguard_child_safety-5.0.0.tar.gz | 865.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| roguard_child_safety-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / roguard_child_safety-5.0.0.tar.gz
| Download URL | roguard_child_safety-5.0.0.tar.gz |
|---|---|
| Size | 865.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
885ba168c5746d31b4a69929dedba10d83cbbbf8a27a17e76e2df98e8974c0b2
|
|
BLAKE2b-256 checksum How to use checksums |
58f76e51b56e7d05eb9d8916195c8ef32234f4ca6be4b0e42001d65c395720c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / roguard_child_safety-5.0.0-py3-none-any.whl
| Download URL | roguard_child_safety-5.0.0-py3-none-any.whl |
|---|---|
| Size | 820.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1bb3a971102ea0179309cffef2b7b998451265fbc464ead49882e8d5275ce53
|
|
BLAKE2b-256 checksum How to use checksums |
f2e5efdc31ced67708d1c2f1b74394c6a1e5e0a04a54c549c140f45225c05270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency log