CodeSampleX

Beispiel

verify github.com/dgraph-io/badger.DefaultOptions in pkg:golang/github.com/dgraph-io/badger@v1.6.2

sha256:4be5bc3ff232da5834dcdc73d100717192377e8bd004fa79ffe6a30e02a1c946

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

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1
2026-08-21

Fall

HOW
Ziel
verify github.com/dgraph-io/badger.DefaultOptions in pkg:golang/github.com/dgraph-io/badger@v1.6.2
Pakete
Symbole
  • github.com/dgraph-io/badger.DefaultOptions
Erstellt
2026-08-21T01:22:45Z

Contract

  1. badger.DefaultOptions initializes Options struct with the provided directory path for Dir and ValueDir
  2. badger.DefaultOptions configures default table size, compaction, and write synchronization parameters
  3. badger.Options WithX builder methods produce modified configurations without mutating the original options
  4. badger.Open successfully creates and operates a database using badger.DefaultOptions
  5. badger.Open with WithReadOnly(true) opens database in read-only mode, preserves persisted data, and rejects write transactions

Dateien

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

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym