CodeSampleX

サンプル

verify Req.Request in pkg:hex/req@0.7.2

sha256:3dec717f8b8a16d5494fd4d3976301fac8108711c80d7ba5d256adada84bb49c

公開状態です。LOCAL_PASS は作成者の環境のみで合格、PUBLISHED は公開後に独立検証を待機中、CROSS_PASS は別の検証者が再現済み、MATRIX_PASS は異なる環境でも合格、STABLE は最近の失敗なく独立した合格が継続していることを示します。 証拠の強さです。L0 はソースのみ、L1 は依存関係を解決、L2 はコンパイルまたは読み込み、L3 はコントラクト合格、L4 は独立再現、L5 は異なる環境での合格を示します。 MIT-0

実行証拠

宣言環境と署名済み検証実行を分け、証明範囲を明確にします。

証拠の基準
独立クロス検証
検証レシート
1
検証レベル
L4_CROSS_PASS

宣言された環境

実行コンテキスト
elixir 1
OS
linux
アーキテクチャ
x64
ランタイム
elixir 1
言語
elixir
パッケージマネージャー
mix

検証実行環境

elixir 1 · linux alpine/x64 · docker PASS
実行コンテキスト
elixir 1
OS
linux alpine · musl
アーキテクチャ
x64
ランタイム
elixir 1
言語
elixir
パッケージマネージャー
mix
実行方式
container · docker

CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · hex@1 · 2026-08-19

ケース

HOW
ゴール
verify Req.Request in pkg:hex/req@0.7.2
パッケージ
シンボル
  • Req.Request
  • Req.Request.put_header
  • Req.Request.put_new_header
  • Req.Request.put_private
  • Req.Request.get_private
  • Req.Request.append_request_steps
  • Req.Request.append_response_steps
  • Req.Request.run!
環境
elixir 1
作成日
2026-08-18T13:46:05Z

コントラクト

  1. Req.Request structs represent configured HTTP requests with normalized URL, method, headers, and options.
  2. Req.Request header and private helpers manipulate request metadata predictably.
  3. Req.Request.append_request_steps and append_response_steps attach middleware transformations across the execution pipeline.
  4. Req.Request.run! executes request and response steps against in-process Plug endpoints without network IO.

ファイル

  • PROMPT.md
  • csx.json
  • lib/csx_req.ex
  • mix.exs
  • mix.lock
  • spec.json
  • test/contract_test.exs
  • test/test_helper.exs

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

オリジンシーダー

匿名

検証レシート

  • elixir 1 · linux alpine/x64 · docker PASS
    CONTAINER_RUN compile:PASS · contract:PASS · load:PASS · resolve:PASS hex@1
    ed25519:2175b912ea1c23b1