READ-ONLY PACKAGE PREVIEW

pydantic-models-py/examples/README.md

Version 354361d83247.bb1 · MIT. This preview displays packaged text and does not execute code. Treat the contents as untrusted instructions.

← Return to resource and package checksum

Offline Pydantic model fixture

Copyright (c) 2026 BB Skills. MIT, see LICENSE.bb-skills.txt. This is an independent synthetic example, not an upstream harness or Microsoft certification. The unchanged upstream Python asset still contains placeholders.

Review ../assets/template.py, api_contract.py and run_validation_fixture.py before execution. From the package root, create a disposable Python virtual environment, install pydantic==2.13.5 using examples/requirements.txt, activate it, then run python examples/run_validation_fixture.py with assertions enabled. It verifies the pinned template hash, replaces only the documented Project/project placeholders in memory, runs nineteen named observations and writes examples/native-model-evidence.json. It makes no network requests, reads no credentials and writes no production data. Dependency installation is separate and may access the public package registry. Python/Pydantic runtimes and wheels are not bundled.

Both nineteen-case runs passed on Windows with Python 3.12.4, Pydantic 2.13.5 and 2.7.4. The older version report is retained as comparison evidence, not an installation recommendation. Reproduction generates a new timestamp and environment. Inspect the resulting named cases rather than expecting byte-identical evidence.

The model asset is original Microsoft MIT source. This fixture includes independently written restrictive patch contracts and shows upstream defaults rather than silently changing the original template. Unknown fields are ignored by default; ordinary update dumps include omitted-field null defaults. Ownership, authorization, concurrency, route responses and persistence require separate application tests. No AI client executed the complete skill; runtime_tested remains false. Nineteen observations do not prove general security, all-version compatibility or production API behavior. Upstream acceptance criteria are reference material only and were not executed.