codesamplex

Sample

Control pattern memoization and match caching across Mustermann.new, match, and params calls

sha256:b93244f63cc31a720f00109506358b78d33bfdbb43bf8e91519ac4a0d276f669

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Control pattern memoization and match caching across Mustermann.new, match, and params calls HOW
Packages
mustermann 4.0.0
Environment
ruby
Created
2026-08-16T15:57:09Z

Commonly assumed

Mustermann.new always allocates a new pattern instance and pattern.params simply delegates to pattern.match to retrieve cached parameter hashes.

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 verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts