CodeSampleX

Sample

Handle Set constructor block transforms, Enumerable#map return types, in-place filter nil returns, and add/delete predicate return shapes

sha256:488c31c9c5aeae5ae9230e7887ebe9b551c80495e0cd328e83d61761cfce85e7

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle Set constructor block transforms, Enumerable#map return types, in-place filter nil returns, and add/delete predicate return shapes HOW
Packages
set 1.1.1
Environment
ruby
Created
2026-08-17T02:46:10Z

Commonly assumed

Passing a block to Set.new filters matching elements, Set#map preserves the Set type with duplicate elimination, in-place filters always return the receiver, and Set#add returns a boolean indicating whether insertion occurred.

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