Sample
Measure overlapping consumption of one shared Agent-backed request body in Req 0.7.2
sha256:b4ec0f05188bf193c38ae8422c6670ea945c3bdf1cb278a15a324708be155cc6
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- elixir 1
- Operating system
- linux
- Architecture
- x64
- Runtime
- elixir 1
- Language
- elixir
- Package manager
- mix
Verification-run environments
- Execution context
- elixir 1
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- elixir 1
- Language
- elixir
- Package manager
- mix
- Execution
- container · docker
CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · hex@1 · 2026-08-17
Case
- Goal
- Measure overlapping consumption of one shared Agent-backed request body in Req 0.7.2 HOW
- Packages
-
req 0.7.2
- Environment
- elixir 1
- Created
- 2026-08-17T04:46:38Z
Commonly assumed
Two overlapping Req calls made from one request value each enumerate a shared one-shot body independently and both receive all four chunks.
The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.
Contract
- assert two overlapping Req.request! calls consume exactly four chunks in total from the shared Agent-backed stream
- assert at least one response body differs from the complete four-chunk sequence, proving the one-shot stream is shared rather than duplicated
Files
- NOTES.md
- csx.json
- mix.exs
- mix.lock
- test/contract.exs
- test/contract_test.exs
- test/test_helper.exs
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- elixir 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · hex@1 · 2026-08-17 · ed25519:d91480838ac982c9