CodeSampleX

Sample

verify pkg:maven/com.google.code.gson/gson@2.14.0

sha256:d033542d4763cc26b560ff032cf61c9e603127007f4e480d5d8d0f52753c0269

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 pkg:maven/com.google.code.gson/gson@2.14.0
Packages
Symbols
  • com.google.gson.Gson
  • com.google.gson.GsonBuilder
  • com.google.gson.JsonElement
  • com.google.gson.JsonObject
  • com.google.gson.JsonArray
  • com.google.gson.JsonParser.parseString
  • com.google.gson.JsonSyntaxException
  • com.google.gson.annotations.SerializedName
  • com.google.gson.reflect.TypeToken
Environment
java 21
Created
2026-08-18T12:54:32Z

Contract

  1. assert Gson serializes and deserializes Java objects with @SerializedName field mappings
  2. assert GsonBuilder serializeNulls includes null fields in serialized JSON output
  3. assert TypeToken round-trips parameterized generic collections like List<String>
  4. assert JsonParser and JsonObject parse and inspect structured JSON elements
  5. assert malformed JSON strings throw JsonSyntaxException

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