CodeSampleX

Sample

verify pkg:npm/math-intrinsics@1.1.0

sha256:55d75fdf72d550fb7c88a68807e78c293a5b5301f4d21faa43d7a8c2295d1765

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
node 22
Operating system
linux
Architecture
x64
Runtime
node 22
Language
javascript
Package manager
npm 10

Verification-run environments

node 22 · linux alpine/x64 · docker PASS
Execution context
node 22
Operating system
linux alpine · musl
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 pkg:npm/math-intrinsics@1.1.0
Packages
Symbols
  • math-intrinsics/abs
  • math-intrinsics/floor
  • math-intrinsics/isFinite
  • math-intrinsics/isInteger
  • math-intrinsics/isNaN
  • math-intrinsics/isNegativeZero
  • math-intrinsics/max
  • math-intrinsics/min
  • math-intrinsics/mod
  • math-intrinsics/pow
  • math-intrinsics/round
  • math-intrinsics/sign
  • math-intrinsics/constants/maxArrayLength
  • math-intrinsics/constants/maxSafeInteger
  • math-intrinsics/constants/maxValue
Environment
node 22
Created
2026-08-18T17:55:30Z

Contract

  1. abs returns absolute value for positive, negative, and signed zero inputs
  2. floor returns the largest integer less than or equal to a given number
  3. isFinite returns true only for finite number primitives and false for non-numbers and infinities
  4. isInteger returns true for integer numbers and false for non-integers and non-numbers
  5. isNaN returns true exclusively for NaN and false for non-NaN values including strings
  6. isNegativeZero correctly distinguishes -0 from +0 and other values
  7. max and min compute multi-argument numeric extremums correctly
  8. mod computes mathematical positive modulo for positive and negative numbers
  9. pow computes exponentiation base to power
  10. round returns the value of a number rounded to the nearest integer
  11. sign returns correct numeric sign for positive, negative, zero, and infinity
  12. constants expose maxArrayLength, maxSafeInteger, and maxValue with exact standard numeric values

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

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