CodeSampleX

Sample

args mandatory validation happens on retrieval rather than on parse

sha256:d550e6fa19ab4b9a4d9b149a8c87ac6a7f2ec5a77825cb4cde684933e0fd1b54

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
args mandatory validation happens on retrieval rather than on parse HOW
Packages
args 2.7.0
Environment
dart
Created
2026-08-17T03:18:28Z

Commonly assumed

ArgParser.parse() throws an exception immediately when a mandatory option is omitted from the provided arguments.

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