CodeSampleX

Beispiel

verify pkg:golang/github.com/google/uuid@v1.6.0

sha256:f00ddfa2eb3c4c8a81826071896109f2ec80e11b539e6004f26fd33555bad8dd

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 windows 11 x64 go

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/google/uuid@v1.6.0
Pakete
Symbole
  • uuid.NewRandom
  • uuid.Validate
  • uuid.Parse
  • uuid.ParseBytes
  • uuid.MustParse
  • uuid.FromBytes
  • uuid.UUID.URN
Erstellt
2026-08-19T05:48:12Z

Contract

  1. uuid.NewRandom returns a valid RFC 4122 version 4 UUID with nil error
  2. uuid.Validate validates canonical 36-character UUID string and returns error for invalid format
  3. uuid.Parse decodes valid UUID string into 16-byte UUID struct
  4. uuid.ParseBytes parses valid 36-byte slice into matching UUID
  5. uuid.MustParse parses valid UUID string without error and panics on invalid input
  6. uuid.FromBytes converts 16-byte slice to UUID and rejects slices not equal to 16 bytes
  7. uuid.UUID URN formats UUID into standard urn:uuid prefix format

Dateien

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

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym