RoGuard — Romanian and Ukrainian interaction testing and guardrails
RoGuard 7.1 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.
V7 adds an experimental, jointly trained conversation-context model, turn-reference review, separate concern-mention predictions, and permission-aware extractive tutoring proposals. Context workflow and measured limitations.
Version 7.1 retrains and recalibrates the joint context model, reduces synthetic Romanian/Ukrainian benign review requests, and adds separately reported language signals and clearer uncertainty handling. Errors remain, including frame-classification errors. Measured improvements and limits.
Install and open
pip install --upgrade roguard-child-safety
roguard-studio --reliability --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.
V6 also adds authenticated tenant APIs, encrypted durable permissions and one-attempt queued execution, metadata-only monitoring/OpenTelemetry, overlapping long-context analysis, and permission-aware repair. Optional extras: gateway, observability, adapted. Integration guide.
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 new adapted text classifier, use Python 3.10+ (tested on 3.12):
pip install --upgrade 'roguard-child-safety[adapted]'
roguard-model fetch
roguard-studio --conversation --open --backend adapted
The pinned model download is approximately 1.2 GB; subsequent inference is local. V6 adds a LoRA-adapted encoder and calibrated abstention while retaining older backends. Its final test contains only six synthetic phrase families per language; no real-world child-language accuracy is established. 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
Context evidence review (v7, experimental)
pip install --upgrade 'roguard-child-safety[adapted]'
roguard-model fetch
roguard-studio --context --context-backend joint --open
The two prediction heads distinguish conversational framing from whether a concern is mentioned. Candidate references identify whole turns, not verified evidence spans. Training and tests are fictional; actual child-language accuracy and benefit are not established. Ukrainian interpretation errors and abstentions remain. Source permissions and human approvals stay independent of model outputs. Full v7 evidence.
Metadata
Release files for roguard-child-safety 7.1.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 | Provenance | |
|---|---|---|---|---|
| roguard_child_safety-7.1.0.tar.gz | 6.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| roguard_child_safety-7.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 MB
Release files / roguard_child_safety-7.1.0.tar.gz
| Download URL | roguard_child_safety-7.1.0.tar.gz |
|---|---|
| Size | 6.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f84ffdf5e7ec9425a11c7e540cc596c0cd12eb7e22b311749979d39548de420b
|
|
BLAKE2b-256 checksum How to use checksums |
ff521e49694533eb6070f4a2cdf3134a4cd0eb055e1fb0666dd3b021989c3e98
|
| 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 14, 2026.
Transparency logRelease files / roguard_child_safety-7.1.0-py3-none-any.whl
| Download URL | roguard_child_safety-7.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44a134b76dc143cc4181cd37bee06b32502a5efc2f47cccb44ea5d44aee729fe
|
|
BLAKE2b-256 checksum How to use checksums |
d3106fdb45ceda878e7a535a69974f04eb75b5e7184f9fe355a133f6af7020b5
|
| 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 14, 2026.
Transparency logSecurity for roguard-child-safety 7.1.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for roguard_child_safety-7.1.0.tar.gz
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 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.