CodeSampleX

Sample

verify ActiveSupport::TimeWithZone in pkg:gem/activesupport@8.1.3.1

sha256:52b50f24877446fc341aca445b11da516656f6415a5e5f46323fbb2a227cbf39

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 ActiveSupport::TimeWithZone in pkg:gem/activesupport@8.1.3.1
Packages
Symbols
  • ActiveSupport::TimeWithZone
Environment
ruby 3
Created
2026-08-18T12:34:38Z

Contract

  1. assert ActiveSupport::TimeWithZone represents an instant with time zone context and computes EDT summer offsets (-04:00, DST=true)
  2. assert ActiveSupport::TimeWithZone computes EST winter offsets (-05:00, DST=false) in America/New_York
  3. assert in_time_zone converts between America/New_York and Asia/Tokyo while preserving UTC instant and equality
  4. assert duration arithmetic on TimeWithZone advances wall-clock time correctly
  5. assert iso8601 format produces the correct RFC 3339 offset representation

Files

  • Gemfile
  • Gemfile.lock
  • PROMPT.md
  • csx.json
  • spec.json
  • test/contract.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