CodeSampleX

Sample

verify require active_support/time in pkg:gem/activesupport@8.1.3.1

sha256:7cebb041b1ef05a19163f57a0f4ed441bb9f6d522e7190d0d7d873a9d53b75c7

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS

Declared environment

Execution context
ruby 3
Operating system
linux
Architecture
x64
Runtime
ruby 3
Language
ruby
Package manager
bundler

Verification-run environments

ruby 3 · linux debian/x64 · docker PASS
Execution context
ruby 3
Operating system
linux debian · glibc
Architecture
x64
Runtime
ruby 3
Language
ruby
Package manager
bundler
Execution
container · docker

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

Case

HOW
Goal
verify require active_support/time in pkg:gem/activesupport@8.1.3.1
Packages
Symbols
  • require active_support
  • require active_support/time
  • ActiveSupport::TimeWithZone
  • ActiveSupport::IsolatedExecutionState
  • Time.zone=
Environment
ruby 3
Created
2026-08-18T13:30:31Z

Contract

  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

Files

  • 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

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

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