CodeSampleX

Beispiel

verify pkg:npm/inherits@2.0.4

sha256:204301aab4e99b0f9ef7184d43fb686cfb97371e97c0420d355b7a8e0adec570

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

Ausführungskontext
node 22
Betriebssystem
linux
Architektur
x64
Runtime
node 22
Sprache
javascript
Paketmanager
npm 10

Umgebungen der Verifizierungsläufe

node 22 · linux alpine/x64 · docker PASS
Ausführungskontext
node 22
Betriebssystem
linux alpine · musl
Architektur
x64
Runtime
node 22
Sprache
javascript
Paketmanager
npm
Ausführung
container · docker

CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-19

Fall

HOW
Ziel
verify pkg:npm/inherits@2.0.4
Pakete
Symbole
  • inherits
Umgebung
node 22
Erstellt
2026-08-18T18:20:03Z

Contract

  1. inherits establishes prototype inheritance between constructor functions so instances inherit methods from super constructor
  2. inherits sets the super_ property on the child constructor to reference the super constructor
  3. inherits maintains correct constructor reference on child prototype pointing back to child constructor
  4. instances of child constructor satisfy instanceof checks for both child and super constructor
  5. calling super constructor within child constructor properly initializes inherited own properties
  6. overriding methods on child prototype does not affect super constructor prototype methods
  7. multi-level prototype inheritance chains function correctly across generations

Dateien

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

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym

Verifizierungsbelege

  • node 22 · linux alpine/x64 · docker PASS
    CONTAINER_RUN compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS node-typescript@1
    ed25519:2175b912ea1c23b1