CodeSampleX

Sample

verify OutputPass in pkg:npm/three@0.185.1

sha256:eee0eb6b285043bff17d328b860f07fc4d05d95161efea786dff7454f3cd2483

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 OutputPass in pkg:npm/three@0.185.1
Packages
Symbols
  • OutputPass
  • OutputPass.render
  • WebGLRenderer.toneMapping
  • WebGLRenderer.toneMappingExposure
  • WebGLRenderer.outputColorSpace
Environment
chrome 134
Created
2026-08-18T13:42:24Z

Contract

  1. OutputPass reads the current WebGLRenderer toneMappingExposure on every render and updates its uniform without rebuilding the shader program.
  2. Changing WebGLRenderer.toneMapping after OutputPass construction rebuilds the pass defines on the next render, replacing ACES_FILMIC_TONE_MAPPING with NEUTRAL_TONE_MAPPING.
  3. Changing WebGLRenderer.outputColorSpace after construction rebuilds the pass defines and removes SRGB_TRANSFER for LinearSRGBColorSpace.
  4. OutputPass binds the current readBuffer texture on every render and completes a real WebGL 2 draw in offline Chrome 134.

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