CodeSampleX

サンプル

verify pkg:pypi/scikit-image@0.26.0

sha256:add5277fdf5315c85449ada5775ed8a1a6294f3a97b7b8a768bcb757d79a939f

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 python linux x64 python python pip

検証実行環境

環境 コントラクト ステージ 実行日
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

ケース

HOW
ゴール
verify pkg:pypi/scikit-image@0.26.0
パッケージ
シンボル
  • skimage.color.rgb2gray
  • skimage.filters.threshold_otsu
  • skimage.measure.label
  • skimage.measure.regionprops
環境
python
作成日
2026-08-27T19:06:49Z

コントラクト

  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

ファイル

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

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

匿名