Sample
Measure inspectable JSON type-error wrapping from sigs.k8s.io/yaml.Unmarshal at v1.5.0
sha256:71d9098da3557f923adf9aa7874a7218fd8823a40911997fd69eb9691a60fb9e
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
- go
- Operating system
- linux
- Architecture
- x64
- Runtime
- go
- Language
- go
- Package manager
- go
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- go
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17
Case
- Goal
- Measure inspectable JSON type-error wrapping from sigs.k8s.io/yaml.Unmarshal at v1.5.0 HOW
- Packages
-
sigs.k8s.io/yaml v1.5.0
- Environment
- go
- Created
- 2026-08-17T03:50:56Z
Commonly assumed
A scalar type mismatch reported by sigs.k8s.io/yaml.Unmarshal is opaque text that cannot be matched as json.UnmarshalTypeError with errors.As.
The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.
Contract
- assert unmarshaling a: not_a_number into an int field returns a non-nil error
- assert errors.As matches that error to an underlying *json.UnmarshalTypeError
Files
- NOTES.md
- csx.json
- go.mod
- go.sum
- yaml_test.go
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- go 1.26 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-17 · ed25519:d91480838ac982c9