CodeSampleX

Sample

verify pkg:pypi/distro@1.9.0

sha256:d7b91b85fd7f5360ec2a0f66baa7954d9f92a9c2a00db3cf2806ce74c4f978f4

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS
Declared environment python 3.12 linux 24 · ubuntu · glibc 2.39 x64 python 3.12 python pip

Verification-run environments

Environment Contract Stages Run
python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-21

Case

HOW
Goal
verify pkg:pypi/distro@1.9.0
Packages
Environment
python 3.12
Created
2026-08-21T02:34:28Z

Contract

  1. distro.LinuxDistribution parses standard os-release files to extract name, id, version, version_parts, major_version, minor_version, build_number, like, codename, and raw attributes
  2. distro.LinuxDistribution parses legacy distro-release files to extract distribution name, version_id, and codename
  3. distro top-level functions (name, id, version, version_parts, info) execute cleanly and return valid metadata

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous