Files
git.stella-ops.org/docs/risk/samples
StellaOps Bot 7503c19b8f Add determinism tests for verdict artifact generation and update SHA256 sums script
- Implemented comprehensive tests for verdict artifact generation to ensure deterministic outputs across various scenarios, including identical inputs, parallel execution, and change ordering.
- Created helper methods for generating sample verdict inputs and computing canonical hashes.
- Added tests to validate the stability of canonical hashes, proof spine ordering, and summary statistics.
- Introduced a new PowerShell script to update SHA256 sums for files, ensuring accurate hash generation and file integrity checks.
2025-12-24 02:17:34 +02:00
..

Risk Samples (fixtures layout)

Use this folder for frozen, deterministic fixtures once schemas and payloads arrive.

Structure (proposed):

  • profiles/ — profile JSON (DSSE-wrapped where applicable) + SHA256SUMS
  • factors/ — factor input payloads grouped by source (epss/, kev/, reachability/, runtime/), each with SHA256SUMS
  • explain/ — explainability outputs paired with inputs; include SHA256SUMS
  • api/ — request/response examples for risk endpoints; include SHA256SUMS

Rules:

  • UTC timestamps; stable ordering of arrays/objects.
  • No live calls; fixtures only.
  • Record hashes via sha256sum and keep manifests alongside samples.

Quick receipt checklist (see INGEST_CHECKLIST.md for detail):

  1. Normalize JSON with jq -S .
  2. Update SHA256SUMS in the target folder
  3. Verify with sha256sum -c
  4. Log files + hashes in the sprint Execution Log

Manifests created:

  • profiles/SHA256SUMS
  • factors/SHA256SUMS
  • explain/SHA256SUMS
  • api/SHA256SUMS