Skip to main content

RoGuard — Romanian and Ukrainian interaction testing and guardrails

RoGuard 7 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.

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.0.0

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

Source distribution (sdist)

Source distribution for roguard-child-safety 7.0.0
File Size Uploaded Provenance
roguard_child_safety-7.0.0.tar.gz 6.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for roguard-child-safety 7.0.0
File Interpreter ABI Platform
roguard_child_safety-7.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 MB

Release files / roguard_child_safety-7.0.0.tar.gz

Download URL roguard_child_safety-7.0.0.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
cc72fe0994f873cd5ac138e5c63a4c6543505d2ae680f961dd908015fe502781
BLAKE2b-256 checksum
How to use checksums
6bf11ce2d0234fcca21c9f5c53d91d7c5b0a733433de37b407569300741501e7
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 log

Release files / roguard_child_safety-7.0.0-py3-none-any.whl

Download URL roguard_child_safety-7.0.0-py3-none-any.whl
Size 6.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1487529c69fee385d7f4b047fdee53f7c787747dee08de2a3e871306b457f62a
BLAKE2b-256 checksum
How to use checksums
9ec0879cfaff1a501c2b79e514ceebfe83888285f6987bb31d9d612f7d039eaa
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 log

Security for roguard-child-safety 7.0.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.

Select from 2 files

Attestation for roguard_child_safety-7.0.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 log

A 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.

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