CodeSampleX

Sample

activesupport 8.1.3.1: require active_support, time, ActiveSupport::TimeWithZone

Verified sample for gem activesupport 8.1.3.1: require active_support, time, ActiveSupport::TimeWithZone. The contract ran on ruby 3 · linux debian/x64 …

sha256:47a08f4f318cf72fd936b8067591bbb64076c67a1db013ecc07f24813b7d00d8

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment ruby 3 linux x64 ruby 3 ruby bundler

Verification-run environments

Environment Contract Stages Run
ruby 3 · linux debian/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · gem@1
2026-08-19

Case

HOW
Goal
verify require active_support 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:27:20Z

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