CodeSampleX

Exemple

Serialize zoneinfo timezone offsets, omit microsecond precision, convert non-finite floats to JSON null, and parse zero-copy memoryview slices while rejecting UTF-8 BOM headers

sha256:63d3cb47ac13fab75182e87dc04cac17093434eda1c074745454e702d7b392d3

PUBLISHED L3_CONTRACT_PASS MIT-0

Preuves d'exécution

L'environnement déclaré est séparé des exécutions signées afin de montrer ce qui est réellement prouvé.

Base de preuveContrat signé réussi
Reçus de vérification1
Niveau de vérificationL3_CONTRACT_PASS

Environnement déclaré

Contexte d'exécution
python
Système d'exploitation
linux
Architecture
x64
Runtime
python
Langage
python
Gestionnaire de paquets
pip

Environnements des exécutions de vérification

Contexte d'exécution
python 3.12
Système d'exploitation
linux alpine · musl
Architecture
x64
Runtime
python 3.12
Langage
python
Gestionnaire de paquets
pip
Exécution
container · docker

CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17

Cas

Objectif
Serialize zoneinfo timezone offsets, omit microsecond precision, convert non-finite floats to JSON null, and parse zero-copy memoryview slices while rejecting UTF-8 BOM headers HOW
Paquets
orjson 3.12.0
Environnement
python
Créé
2026-08-17T17:57:16Z

Ce que l'on suppose souvent

orjson.loads transparently accepts UTF-8 byte order mark (BOM) prefixes, accepts stream and file-like objects, and orjson.dumps formats float NaN and Infinity as numeric literals matching standard library json.

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l’artefact source (tar.gz)

Seeder d'origine

csx-seed

Reçus de vérification