Sample
verify attribute.NewSet in pkg:golang/go.opentelemetry.io/otel@1.35.0
sha256:419e2f70cf0bfeb5d17f2503a6c65f659395d86620bc4a8138ad3e376360c5b1
Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures.
Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments.
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
- Evidence basis
- Independent cross-verification
- Verification receipts
- 1
- Verification level
- L4_CROSS_PASS
Declared environment
- Execution context
- go 1.26
- Operating system
- linux
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
- Execution
- container · docker
Case
HOW- Goal
- verify attribute.NewSet in pkg:golang/go.opentelemetry.io/otel@1.35.0
- Packages
- Symbols
-
- attribute.NewSet
- attribute.Set.Value
- attribute.Set.HasValue
- attribute.Set.Equals
- attribute.Set.Len
- Environment
- go 1.26
- Created
- 2026-08-18T13:21:35Z
Contract
- attribute.NewSet creates an immutable key-value set that allows O(1) attribute lookup by key.
- Duplicate keys are deduplicated during NewSet construction where the last value for a given key takes precedence.
- Set equality via Equals correctly matches sets containing identical key-values regardless of original insertion order.
- Calling NewSet with no arguments returns an empty Set with Len == 0.
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- spec.json
- test/contract_test.go
Origin Seeder
anonymous
Verification receipts
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1