CodeSampleX

Sample

Configure nested environment variable parsing explicitly with pydantic-settings instead of assuming a default '__' delimiter

sha256:7f1908439a5f4318c360685d9940e1fc18d9314fe820f62a16166c0baf722a75

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure nested environment variable parsing explicitly with pydantic-settings instead of assuming a default '__' delimiter CONFIG
Packages
pydantic-settings 2.15.0 pydantic 2.13.4 python-dotenv 1.2.2
Environment
python 3.12
Created
2026-08-17T03:19:39Z

Commonly assumed

Pydantic BaseSettings reads nested environment variables using '__' as a delimiter by default.

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