Skip to content

Conformance

Each profile owns its own conformance package. The independent TypeScript verifier validates the profile schemas, semantic rules, valid and invalid vectors, and published canonical JSON and digests.

cd conformance/typescript
npm ci
npm run typecheck
npm run verify

The Python SDK consumes the same external vectors when run with OCLP_PROFILES_ROOT:

cd ../oclp-python
OCLP_PROFILES_ROOT=../oclp-profiles \
  uv run pytest tests/test_dataset_snapshot_profile.py \
    tests/test_execution_context_profile.py \
    tests/test_run_profile.py

Conformance to a profile is separate from conformance to OCLP Core. A Core-only implementation need not implement any profile. An implementation that claims profile support must accept its valid vectors, reject its invalid vectors, and apply its semantic rules.