CodeSampleX

Sample

show how omitting the queue comparator changes element priority semantics

sha256:4c5ea45d1953eb6c9bee6f0124f6cac8618d0a6fde9ad4c2d477cdea982b3a36

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
show how omitting the queue comparator changes element priority semantics HOW
Packages
collection 1.19.1
Environment
dart
Created
2026-08-17T02:04:34Z

Commonly assumed

A priority queue should return the largest value first when no comparator is supplied.

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