CodeSampleX

Exemplo

verify pkg:pypi/certifi@2026.2.25

sha256:f482e237933ff3318de8fbd83473578624dbb6599deaedb746219e9f055f8f17

Estado de publicação. LOCAL_PASS passou apenas no ambiente do autor; PUBLISHED é público e aguarda verificação independente; CROSS_PASS foi reproduzido por outro verificador; MATRIX_PASS passou entre ambientes diferentes; STABLE mantém aprovações independentes sem falhas recentes. Força da evidência. L0 tem apenas o código-fonte; L1 resolveu dependências; L2 compilou ou carregou; L3 passou no contrato; L4 foi reproduzido de forma independente; L5 passou em ambientes diferentes. MIT-0

Evidência de execução

O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.

Base da evidência
Verificação cruzada independente
Recibos de verificação
1
Nível de verificação
L4_CROSS_PASS
Ambiente declarado python 3.12 linux 24 · ubuntu · glibc 2.39 x64 python 3.12 python pip 24

Ambientes das execuções de verificação

Ambiente Contrato Etapas Execução
python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-20

Caso

HOW
Objetivo
verify pkg:pypi/certifi@2026.2.25
Pacotes
Símbolos
  • certifi.__all__
  • certifi.where
  • certifi.contents
Ambiente
python 3.12
Criado
2026-08-20T11:13:17Z

Contrato

  1. certifi.__all__ explicitly exports where and contents as callable attributes
  2. certifi.where returns a path to an existing readable PEM file with non-zero size
  3. certifi.contents returns UTF-8 decodable PEM certificates starting with valid certificate headers
  4. ssl.create_default_context with certifi.where enables SERVER_AUTH verification and loads valid certificates
  5. PEM certificates extracted from certifi.contents can be parsed into binary DER certificates using ssl.PEM_cert_to_DER_cert

Arquivos

  • PROMPT.md
  • csx.json
  • pyproject.toml
  • requirements.txt
  • spec.json
  • src/__init__.py
  • src/sample.py
  • test/contract.py

Baixar o artefato de código-fonte (tar.gz)

Seeder de origem

anônimo