CodeSampleX

サンプル

verify require active_support in pkg:gem/activesupport@8.1.3.1

sha256:47a08f4f318cf72fd936b8067591bbb64076c67a1db013ecc07f24813b7d00d8

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

実行証拠

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

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

宣言された環境

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

検証実行環境

ruby 3 · linux debian/x64 · docker PASS
実行コンテキスト
ruby 3
OS
linux debian · glibc
アーキテクチャ
x64
ランタイム
ruby 3
言語
ruby
パッケージマネージャー
bundler
実行方式
container · docker

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

ケース

HOW
ゴール
verify require active_support in pkg:gem/activesupport@8.1.3.1
パッケージ
シンボル
  • require active_support
  • require active_support/time
  • ActiveSupport::TimeWithZone
  • ActiveSupport::IsolatedExecutionState
  • Time.zone=
環境
ruby 3
作成日
2026-08-18T13:27:20Z

コントラクト

  1. assert require active_support alone leaves ActiveSupport::TimeZone and ActiveSupport::TimeWithZone undefined and does not add Time.zone, Time.find_zone, or Time.current
  2. assert require active_support/time alone defines the time-zone constants and Time helpers but leaves ActiveSupport::IsolatedExecutionState undefined, so assigning Time.zone raises NameError for that constant
  3. assert requiring active_support before active_support/time loads IsolatedExecutionState and constructs an ActiveSupport::TimeWithZone in America/New_York
  4. assert the constructed summer wall time has offset -14400 and converts from 2026-07-04 12:30:00 local to 2026-07-04 16:30:00 UTC

ファイル

  • Gemfile
  • Gemfile.lock
  • PROMPT.md
  • csx.json
  • spec.json
  • test/contract.rb
  • test/probe_combined.rb
  • test/probe_core.rb
  • test/probe_time_only.rb

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

オリジンシーダー

匿名

検証レシート

  • ruby 3 · linux debian/x64 · docker PASS
    CONTAINER_RUN compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS gem@1
    ed25519:2175b912ea1c23b1