Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Patch 7.1.1 also corrects negated support/solitude matches in the bounded language rules. 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.

Version 8 experimental preview

The optional evidence workspace adds six interpretation attributes, bounded contextual modeling, a conservative model cascade, candidate statement links, host-reviewed revisions, exact action uncertainty analysis, and permission-aware response proposals. It is a research preview, not a validated replacement for the stable v7 model. Existing defaults remain available.

pip install --upgrade --pre roguard-child-safety
roguard-studio --evidence --open

For the optional adapted semantic evidence model, install the adapted extra, run roguard-model fetch, and use --evidence-backend guarded to retain the released model’s review signals. Models are experimental and trained on fictional data. Preview results and 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 8.0.0rc1

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 8.0.0rc1
File Size Uploaded Provenance
roguard_child_safety-8.0.0rc1.tar.gz 10.5 MB With provenance Details

Built distribution (wheel)

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

Total release size: 20.8 MB

Release files / roguard_child_safety-8.0.0rc1.tar.gz

Download URL roguard_child_safety-8.0.0rc1.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4fc49bb0fca38993e3d9fb64927a3c73c2a2e6cbbe6e94c875a4cea77de06b4b
BLAKE2b-256 checksum
How to use checksums
2932ba7a4d98995c68ffc24d5c2a3f1c8de2b1d68b9316af4647975c2d24f2b8
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 15, 2026.

Transparency log

Release files / roguard_child_safety-8.0.0rc1-py3-none-any.whl

Download URL roguard_child_safety-8.0.0rc1-py3-none-any.whl
Size 10.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1483491aca71a37a82b10c0ee696eb29af3783a74cdca903c44223dc129c01a2
BLAKE2b-256 checksum
How to use checksums
1773625bbafd308fe5aba9ae87dbbb5452a22b039c708cc09c91f5f6ea915bfa
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 15, 2026.

Transparency log

Security for roguard-child-safety 8.0.0rc1

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-8.0.0rc1.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 15, 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