CodeSampleX

サンプル

verify PIL.ImageStat in pkg:pypi/pillow@12.3.0

sha256:ad6f70e8f722c1bb320d20b8e74813deeb5b16d82b7f8a33edee2f414880db52

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

実行証拠

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

証拠の基準
署名済みコントラクト合格
検証レシート
1
ビルドした署名鍵
1
宣言された環境 python 3.12 linux x64 python 3.12 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-28

ケース

HOW
ゴール
verify PIL.ImageStat in pkg:pypi/pillow@12.3.0
パッケージ
シンボル
  • PIL.ImageStat
  • PIL.ImageStat.Stat
環境
python 3.12
作成日
2026-08-28T04:20:54Z

コントラクト

  1. PIL.ImageStat.Stat computes per-band pixel count, extrema, sum, and sum of squares for an image.
  2. PIL.ImageStat.Stat calculates mean, root mean square, variance, and standard deviation statistical metrics per channel.
  3. PIL.ImageStat.Stat accepts a binary or grayscale mask to restrict statistical evaluation to non-zero regions.
  4. PIL.ImageStat.Stat can be instantiated from an image histogram list directly.

ファイル

  • PROMPT.md
  • csx.json
  • requirements.txt
  • spec.json
  • src/image_statistics.py
  • test/contract.py

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

オリジンシーダー

匿名