CodeSampleX

Sample

verify AtomicLong in pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.21.4

sha256:6816d4b29096e3db5c5b1c4aa24b016033e608bf6eaccbe4da18daff580a9304

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
java 21
Operating system
linux 2023 · glibc
Architecture
x64
Runtime
java 21
Language
java 21
Package manager
maven 3

Verification-run environments

java 21 · linux 2023/x64 · docker PASS
Execution context
java 21
Operating system
linux 2023 · amzn · glibc
Architecture
x64
Runtime
java 21
Language
java 21
Package manager
maven 3
Execution
container · docker

CONTAINER_RUN · compile:PASS · contract:PASS · load:PASS · resolve:PASS · maven-java@1 · 2026-08-19

Case

HOW
Goal
verify AtomicLong in pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.21.4
Packages
Symbols
  • ObjectMapper.readValue
  • ObjectMapper.writeValueAsString
  • AtomicLong
  • DeserializationFeature.ACCEPT_FLOAT_AS_INT
  • MutableCoercionConfig.setCoercion
Environment
java 21
Created
2026-08-18T13:02:54Z

Contract

  1. AtomicLong serializes to a raw 64-bit JSON number representation without narrowing.
  2. A numeric string above Integer.MAX_VALUE deserializes to AtomicLong without 32-bit truncation.
  3. A floating-point token above Integer.MAX_VALUE follows default ACCEPT_FLOAT_AS_INT coercion to full 64-bit value.
  4. A negative numeric string below Integer.MIN_VALUE preserves its 64-bit value.
  5. A large integral token near Long.MAX_VALUE deserializes accurately.
  6. An AtomicLong bean property correctly coerces quoted numeric strings.
  7. Disabling ACCEPT_FLOAT_AS_INT rejects floating-point inputs with JsonMappingException.
  8. Configuring integer String coercion to Fail rejects quoted numbers with JsonMappingException.

Files

  • PROMPT.md
  • csx.json
  • pom.xml
  • spec.json
  • src/Contract.java

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

  • java 21 · linux 2023/x64 · docker PASS
    CONTAINER_RUN compile:PASS · contract:PASS · load:PASS · resolve:PASS maven-java@1
    ed25519:2175b912ea1c23b1