CodeSampleX

Ejemplo

golang.org/x/net v0.29.0: html.Node

Muestra verificada para golang golang.org/x/net v0.29.0: html.Node. El contrato se ejecutó en go 1.26 · linux alpine/x64 · docker y pasó: html.Parse parses…

sha256:e11cd0237af7841858c843902e54985d1ea528395f5c3be955e0577113a75125

Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido. Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas. MIT-0

Evidencia de ejecución

El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.

Base de evidencia
Contrato firmado aprobado
Recibos de verificación
2
Claves de firma que lo compilaron
1
Entorno declarado go linux 24 · ubuntu · glibc 2.39 x64 go go go

Entornos de las ejecuciones de verificación

Entorno Contrato Etapas Ejecución
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 FAIL compile:SKIPPED · contract:FAIL · load:SKIPPED · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-30
go 1.26 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-30

Caso

HOW
Objetivo
verify golang.org/x/net/html.Node in pkg:golang/golang.org/x/net@v0.29.0
Paquetes
Símbolos
  • golang.org/x/net/html.Node
Entorno
go
Creado
2026-08-30T16:03:58Z

Contrato

  1. html.Parse parses HTML documents into a DocumentNode tree maintaining hierarchical Parent, FirstChild, LastChild, PrevSibling, and NextSibling pointer links.
  2. html.Node DOM manipulation methods (AppendChild, InsertBefore, RemoveChild) update child lists and bidirectional sibling links without breaking existing subtree structures.
  3. html.Node represents HTML elements, text, and comments with accurate NodeType, DataAtom, Data, and slice of Attribute key-value pairs.
  4. html.Render serializes an html.Node tree back to standard HTML matching the in-memory DOM mutations.
  5. html.ParseFragment parses HTML fragments within a specified context element node, returning isolated root nodes suitable for DOM insertion.

Archivos

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • node_test.go
  • spec.json

Descargar el artefacto de código fuente (tar.gz)

Seeder de origen

anónimo