CodeSampleX

Sample

verify page.evaluate in pkg:npm/puppeteer@24.4.0

sha256:8c400cfb7d262f230a88d08c04a6c84d448f8888c4a7119a7dbe5899564052e5

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS

Declared environment

Execution context
chrome 134
Operating system
linux
Architecture
x64
Runtime
node 22
Language
javascript
Package manager
npm

Verification-run environments

chrome 134 · linux debian/x64 · docker PASS
Execution context
chrome 134
Operating system
linux debian · glibc
Architecture
x64
Runtime
node 22
Language
javascript
Package manager
npm
Execution
container · docker

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

Case

HOW
Goal
verify page.evaluate in pkg:npm/puppeteer@24.4.0
Packages
Symbols
  • page.evaluate
  • page.evaluateHandle
  • page.exposeFunction
Environment
chrome 134
Created
2026-08-18T13:24:34Z

Contract

  1. page.evaluate executes JavaScript functions inside the page execution context and transfers serializable return values back to Node.
  2. Returning document DOM nodes directly from page.evaluate serializes as empty objects across the protocol, requiring property extraction or page.evaluateHandle for DOM references.
  3. Synchronous Node functions exposed to the browser via page.exposeFunction return Promises that resolve to their returned values when awaited in the page.
  4. The complete contract runs in the pinned Chrome 134 browser with container networking disabled.

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

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