CodeSampleX

Beispiel

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

sha256:6b967cee109f2f2ad691465cdaff0e77188fc0a25c8e6c260468551376d1ee8f

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
  • github.com/google/uuid.NewString
  • github.com/google/uuid.Validate
  • github.com/google/uuid.Parse
  • github.com/google/uuid.FromBytes
  • github.com/google/uuid.UUID.URN
  • github.com/google/uuid.UUID.MarshalText
  • github.com/google/uuid.UUID.UnmarshalText
  • github.com/google/uuid.UUID.MarshalBinary
  • github.com/google/uuid.UUID.UnmarshalBinary
Erstellt
2026-08-19T02:10:41Z

Contract

  1. uuid.NewString generates a valid 36-character UUID string with Version 4 and RFC4122 variant
  2. uuid.Validate accepts valid standard UUID strings and rejects malformed strings
  3. uuid.Parse converts valid UUID string into 16-byte UUID value
  4. uuid.FromBytes creates UUID from 16-byte slice and rejects slices not equal to 16 bytes
  5. uuid.UUID.URN formats UUID with standard urn:uuid: prefix
  6. uuid.UUID.MarshalText and uuid.UUID.UnmarshalText round-trip UUID text representation
  7. uuid.UUID.MarshalBinary and uuid.UUID.UnmarshalBinary round-trip 16-byte binary representation

Dateien

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

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym