CodeSampleX

Sample

verify pkg:maven/org.springframework/spring-webmvc@7.0.8

sha256:5618eba0d0102eea1b4a224363d2b80f5f0a93410f68732524f451965463e734

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/org.springframework/spring-webmvc@7.0.8
Packages
Symbols
  • org.springframework.core.SpringVersion.getVersion
  • org.springframework.test.web.servlet.MockMvc
  • org.springframework.test.web.servlet.setup.MockMvcBuilders.standaloneSetup
  • org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get
  • org.springframework.test.web.servlet.result.MockMvcResultMatchers.status
  • org.springframework.test.web.servlet.result.MockMvcResultMatchers.content
  • org.springframework.web.bind.annotation.RestController
  • org.springframework.web.bind.annotation.RequestMapping
  • org.springframework.web.bind.annotation.GetMapping
  • org.springframework.web.bind.annotation.PathVariable
  • org.springframework.web.bind.annotation.RequestParam
  • org.springframework.web.bind.annotation.ExceptionHandler
  • org.springframework.web.bind.annotation.ResponseStatus
Environment
java 21
Created
2026-08-18T12:52:06Z

Contract

  1. assert SpringVersion reports 7.0.8 on the classpath
  2. assert MockMvc performs a GET request with @PathVariable and @RequestParam and matches the 200 OK body
  3. assert missing required @RequestParam resolves MissingServletRequestParameterException and returns HTTP 400 Bad Request
  4. assert custom ResourceNotFoundException is caught by @ExceptionHandler and mapped to HTTP 404 Not Found
  5. assert requests to unmapped route paths return HTTP 404 Not Found

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