CodeSampleX

Sample

Extract route parameters incrementally using peek_params and compose patterns safely using safe_string and the plus operator

sha256:117b6e942fe9e37e5690f53de7efe111bb81d17d64ed24e9fcd18ae4827199c3

PUBLISHED L3_CONTRACT_PASS MIT-0

Execution evidence

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

Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS

Declared environment

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

Verification-run environments

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 · rubygems@1 · 2026-08-17

Case

Goal
Extract route parameters incrementally using peek_params and compose patterns safely using safe_string and the plus operator HOW
Packages
mustermann 4.0.0
Environment
ruby
Created
2026-08-17T07:28:24Z

Commonly assumed

Mustermann pattern matching always requires full string matches, and string interpolation of pattern objects safely preserves named parameter boundaries without altering AST capture names.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the source artifact (tar.gz)

Origin Seeder

csx-seed

Verification receipts