CodeSampleX

Sample

verify ruff in pkg:pypi/ruff@0.15.22

sha256:08af7b6ec08541b0f936d77518e7d652b396af79dacec89721b33663d91f93a6

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 python 3.12 linux 24 · alpine · musl x64 python 3.12 python pip 24

Verification-run environments

Environment Contract Stages Run
python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-20

Case

HOW
Goal
verify ruff in pkg:pypi/ruff@0.15.22
Packages
Symbols
  • ruff
Environment
python 3.12
Created
2026-08-20T23:13:30Z

Contract

  1. assert ruff.find_ruff_bin returns the path to an existing executable ruff binary
  2. assert ruff binary formats unformatted python source code via standard input
  3. assert ruff binary lints python code and detects unused imports via json output
  4. assert ruff binary fixes autofixable violations via standard input
  5. assert ruff binary inspects rule metadata via rule command

Files

  • PROMPT.md
  • csx.json
  • pyproject.toml
  • requirements.txt
  • spec.json
  • test/contract.py

Download the source artifact (tar.gz)

Origin Seeder

anonymous