vcr-core
The shared spine for the Verified-Check Record (VCR v0.1) program: one home for the schema, the verdict vocabulary, the record builder, and the EES metric. Imported by The Enforcement Gap (N2) and HarnessBench so the program cannot drift on how a check is recorded or scored.
vcr_core/schema/vcr-v0.1.schema.json— the frozen VCR v0.1 JSON Schema (canonical copy).vcr_core.build_record(...)/validate_base(record)— assemble + base-validate a record.vcr_core.Verdict,ENFORCED_CLASSES,RESULT_VALUES,POLARITIES— the value sets.vcr_core.score_ees(rows)— EES = TPR − FPR (Youden's J); un-gameable, block-everything = 0.
Consumers add their own profile constraints on top of validate_base (e.g. N2 requires
subject.kind == "harness_config" and transcript-digest evidence); they never redefine the
field structure or the value enums.
v0.1 (frozen 2026-08-16)
v0.1 is an additive, backward-compatible extension of v0, signed off by the program's schema
owner: it adds over_blocked and declined on verdict.result, and the optional polarity
field (must_block|must_allow) on the check. Nothing was removed, so every v0 record is still
valid. Sibling projects (N1, N4) may adopt the frozen result.
uv sync && uv run pytest
Metadata
Release files for vcr-core 0.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 | |
|---|---|---|---|
| vcr_core-0.1.0.tar.gz | 19.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vcr_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / vcr_core-0.1.0.tar.gz
| Download URL | vcr_core-0.1.0.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7aff53c025eb24a61451da8bde2a11f5dc133d5fa326a99f1ff30fa7b1b59cf
|
|
BLAKE2b-256 checksum How to use checksums |
83b98ed2bbf412ec0c092730498ed345f3cfe051518d0e44d3e189143f935e5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / vcr_core-0.1.0-py3-none-any.whl
| Download URL | vcr_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdf69c9e5b2001e3ebb0e4a2c63a87981275675c902efa32c829ca72fa4cc36e
|
|
BLAKE2b-256 checksum How to use checksums |
cb47be511462ddad50f6e733e76f2d0159e534f052976455086a78507c07c72c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|