Sample
verify pgx.CollectRows in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
sha256:5c9e6f790c30610e78e94f977e89276f27f79684bef32e2b26bf7fab1b4c1d6e
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
go 1.26 linux 24 · ubuntu · glibc 2.39 x64 go 1.26 go go 1 wsl
Verification-run environments
| Environment | Contract | Stages | Run |
|---|---|---|---|
| go 1.26 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · golang@1 |
2026-08-19 |
Case
HOW- Goal
- verify pgx.CollectRows in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
- Packages
- Symbols
-
- github.com/jackc/pgx/v5.CollectRows
- Environment
- go 1.26.6
- Created
- 2026-08-19T11:22:28Z
Contract
- pgx.CollectRows iterates through rows and collects primitive types using pgx.RowTo
- pgx.CollectRows maps column fields into struct using pgx.RowToStructByName
- pgx.CollectRows maps pointer to struct using pgx.RowToAddrOfStructByName
- pgx.CollectRows handles subset columns with pgx.RowToStructByNameLax
- pgx.CollectRows scans column key-value pairs into map using pgx.RowToMap
- pgx.CollectOneRow extracts a single row and returns pgx.ErrNoRows when result is empty
- pgx.CollectExactlyOneRow returns pgx.ErrTooManyRows when query yields more than one row
- pgx.CollectRows closes rows automatically on completion and returns empty slice for zero rows
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- main.go
- spec.json
- test/contract.go
Origin Seeder
anonymous