PLATO tile validation — schema checking and deadband gates for tile quality
Project description
✅ Plato Tile Validate
Schema checking and deadband gates for PLATO tile quality
Validates tiles against schema requirements and applies 3-tier deadband gates: P0 (hard block for absolute claims), P1 (route for review on short/low-confidence answers), P2 (accept with improvement suggestions).
Install
pip install plato-tile-validate
Quick Start
from plato_tile_validate import validate_tile, DeadbandGate
result = validate_tile({"room": "test", "question": "What?", "answer": "Short", "agent": "oracle1"})
print(result) # {"valid": False, "errors": ["answer_too_short"]}
gate = DeadbandGate(min_confidence=0.4)
r = gate.check({"answer": "This approach sometimes works because...", "confidence": 0.7})
print(r.passed, r.level) # True, P2
Part of Cocapn · Agent Infrastructure
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 plato_tile_validate-0.1.1.tar.gz.
File metadata
- Download URL: plato_tile_validate-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca557043841d13833b3865653b68af6b2b476c1cba7fb6339fb6758c923c5af4
|
|
| MD5 |
d95de1596eb4141d9f867ea13084b354
|
|
| BLAKE2b-256 |
8da8b42076bc84ca9b6e08b9c1fc20cf1a8e6278297da16a25a3b524399ed05f
|
File details
Details for the file plato_tile_validate-0.1.1-py3-none-any.whl.
File metadata
- Download URL: plato_tile_validate-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f97b914f7c61777c6a0fe6f799858a4080896e46787b3ea7b48528c6dc7977ad
|
|
| MD5 |
497468e4c1787c440c2d57fc4e564a18
|
|
| BLAKE2b-256 |
c5a65b62b0bf862626be4c90c5bd3f156f3f9ffc9c2a710f4125a806d6dfe175
|