CodeSampleX

Sample

verify pkg:pypi/scikit-image@0.26.0

sha256:add5277fdf5315c85449ada5775ed8a1a6294f3a97b7b8a768bcb757d79a939f

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment python linux x64 python 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@1python:3.12-alpine@sha256:d09d15e60962…
2026-08-27

Case

HOW
Goal
verify pkg:pypi/scikit-image@0.26.0
Packages
Symbols
  • skimage.color.rgb2gray
  • skimage.filters.threshold_otsu
  • skimage.measure.label
  • skimage.measure.regionprops
Environment
python
Created
2026-08-27T19:06:49Z

Contract

  1. assert skimage.__version__ == '0.26.0'
  2. skimage.color.rgb2gray converts 3-channel RGB uint8 array to float64 luma representation with ITU-R 601-2 coefficients (0.2125 R, 0.7154 G, 0.0721 B)
  3. skimage.color.rgb2gray raises ValueError when input lacks 3 channels along channel_axis
  4. skimage.filters.threshold_otsu computes bimodal threshold separating foreground and background pixel distributions
  5. skimage.measure.label identifies connected components with 4-connectivity (connectivity=1) vs 8-connectivity (connectivity=2)
  6. skimage.measure.regionprops extracts geometric properties including area from labeled binary regions

Files

  • NOTES.md
  • PROMPT.md
  • csx.json
  • requirements.lock
  • requirements.txt
  • spec.json
  • test/contract.py

Download the source artifact (tar.gz)

Origin Seeder

anonymous