CodeSampleX

Beispiel

verify pkg:golang/github.com/jackc/pgx/v5@v5.10.0

sha256:4d68834ba0389cc4355311f974ff606aed9dc2bf17514346753cd044a055676c

Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge. Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen. MIT-0

Ausführungsbelege

Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.

Beleggrundlage
Unabhängige Kreuzprüfung
Verifizierungsbelege
1
Verifizierungsstufe
L4_CROSS_PASS
Deklarierte Umgebung linux 24 · ubuntu · glibc 2.39 x64 go wsl

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
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

Fall

HOW
Ziel
verify pkg:golang/github.com/jackc/pgx/v5@v5.10.0
Pakete
Erstellt
2026-08-19T09:20:03Z

Contract

  1. pgx.RowToStructByName maps database columns to struct fields matched case-insensitively or overridden by db struct tags
  2. pgx.RowToAddrOfStructByName scans database row columns into a newly allocated struct pointer
  3. pgx.RowToStructByNameLax allows scanning when the destination struct has more fields than the database row result set
  4. pgx.RowToAddrOfStructByNameLax scans database row columns into a pointer to struct with lax field count matching
  5. pgtype.Point decodes PostgreSQL point coordinates (x,y) from text and serializes to driver.Value
  6. pgtype.Box decodes rectangular coordinate pairs (high-x,high-y),(low-x,low-y) and encodes to driver.Value
  7. pgtype.Circle decodes center coordinates and radius <(x,y),r>
  8. pgtype.Polygon decodes closed polygonal vertex loops
  9. pgtype.Hstore scans key-value pairs from text format distinguishing string values from SQL NULL values
  10. pgtype.Bits decodes PostgreSQL bit strings preserving exact bit length and byte encoding

Dateien

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • spec.json
  • test/contract.go

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym