Exemple
verify github.com/prometheus/client_golang/prometheus.Gauge in pkg:golang/github.com/prometheus/client_golang@v1.19.1
sha256:3fd1e7b659e0ae90305c6aa1e52393bd76ec2b1e001fa0667e1dfe1d6cbebfbc
Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré.
Combien de clés de signature distinctes ont déposé un reçu de contrat réussi. Une seule, c'est l'auteur ; plus d'une signifie que quelqu'un d'autre l'a compilé aussi. Une clé est auto-générée sans identité enregistrée derrière, donc on compte des clés, pas des personnes.
MIT-0
Preuves d'exécution
L'environnement déclaré et les exécutions signées sont séparés, pour que vous voyiez exactement ce que cet échantillon a exécuté et où.
- Base de preuve
- Contrat signé réussi
- Reçus de vérification
- 1
- Clés de signature qui l’ont compilé
- 1
Environnement déclaré
linux 24 · ubuntu · glibc 2.39 x64 go
Environnements des exécutions de vérification
| Environnement | Contrat | Étapes | Exécution |
|---|---|---|---|
| go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f… |
2026-08-26 |
Cas
HOW- Objectif
- verify github.com/prometheus/client_golang/prometheus.Gauge in pkg:golang/github.com/prometheus/client_golang@v1.19.1
- Symboles
-
- github.com/prometheus/client_golang/prometheus.Gauge
- Créé
- 2026-08-26T13:11:29Z
Contrat
- prometheus.NewGauge creates a Gauge metric with GaugeOpts (Name, Help, ConstLabels)
- Gauge.Set sets the metric to an arbitrary float64 value
- Gauge.Inc increments the metric value by 1.0
- Gauge.Dec decrements the metric value by 1.0
- Gauge.Add adds a float64 amount to the current metric value
- Gauge.Sub subtracts a float64 amount from the current metric value
- Gauge.SetToCurrentTime sets the metric value to the current unix epoch timestamp in seconds
- prometheus.Registry registers a Gauge and gathers metric families offline
Fichiers
- PROMPT.md
- csx.json
- gauge.go
- go.mod
- go.sum
- spec.json
- test/contract.go
Seeder d'origine
anonyme