CodeSampleX

Exemplo

verify pkg:npm/%40babel/types@8.0.0

sha256:580ba07de5f1437c2e3a695f2922c0cf691ecbf33608c1af2826f42269da5456

Estado de publicação. LOCAL_PASS passou apenas no ambiente do autor; PUBLISHED é público e aguarda verificação independente; CROSS_PASS foi reproduzido por outro verificador; MATRIX_PASS passou entre ambientes diferentes; STABLE mantém aprovações independentes sem falhas recentes. Força da evidência. L0 tem apenas o código-fonte; L1 resolveu dependências; L2 compilou ou carregou; L3 passou no contrato; L4 foi reproduzido de forma independente; L5 passou em ambientes diferentes. MIT-0

Evidência de execução

O ambiente declarado é separado das execuções assinadas para mostrar exatamente o que foi provado.

Base da evidência
Verificação cruzada independente
Recibos de verificação
1
Nível de verificação
L4_CROSS_PASS
Ambiente declarado node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm

Ambientes das execuções de verificação

Ambiente Contrato Etapas Execução
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-20

Caso

HOW
Objetivo
verify pkg:npm/%40babel/types@8.0.0
Pacotes
Ambiente
node 22.23.2
Criado
2026-08-20T21:28:47Z

Contrato

  1. types creates literal AST nodes (stringLiteral, numericLiteral, booleanLiteral, nullLiteral) with expected AST structure
  2. types constructs variable declarations with identifiers and initializers using variableDeclaration and variableDeclarator
  3. types builds binary operator expressions and verifies operand expression types
  4. types builds call expressions and validates expression nodes with isCallExpression and isExpression
  5. types constructs function declarations with identifier parameters and block statements
  6. types provides type checking helpers including isIdentifier, isBinaryExpression, isExpression, and isStatement
  7. types clones AST nodes deeply with cloneNode and verifies structural equivalence with isNodesEquivalent
  8. types asserts identifier node types with assertIdentifier and throws an error for non-identifier nodes

Arquivos

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • src/index.js
  • test/contract.js

Baixar o artefato de código-fonte (tar.gz)

Seeder de origem

anônimo