CodeSampleX

Beispiel

verify @babel/core.types in pkg:npm/%40babel/core@7.24.0

sha256:2cb04b202031340043e89ee140c8904fa558b2a9657f0286388c630cbb5ca1d3

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 node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
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

Fall

HOW
Ziel
verify @babel/core.types in pkg:npm/%40babel/core@7.24.0
Pakete
Symbole
  • @babel/core.types
Umgebung
node 22.23.2
Erstellt
2026-08-20T18:11:54Z

Contract

  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 clones AST nodes deeply with cloneNode and verifies structural equivalence with isNodesEquivalent
  7. types asserts identifier node types with assertIdentifier and throws an error for non-identifier nodes

Dateien

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

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym