Files
git.stella-ops.org/docs/features/checked/policy/deterministic-evaluation-with-knowledge-snapshots.md
2026-02-13 02:04:55 +02:00

20 lines
938 B
Markdown

# Deterministic Evaluation with Knowledge Snapshots
## Module
Policy
## Status
VERIFIED
## Verification Summary
Deterministic evaluation engine verified across 2 test projects (2059 tests total, 0 failures):
- **SnapshotBuilder**: fluent builder with validation (Engine, Policy, Scoring, Sources required), alphabetical source ordering
- **SnapshotIdGenerator**: content-addressed ksm:sha256: IDs (75 chars), deterministic generation, tamper detection, signature exclusion
- **ReplayEngine**: deterministic replay (10-iteration test), non-existent snapshot handling, duration recording
- **VerdictComparer**: original vs replayed verdict comparison with drift detection
- **SnapshotAwarePolicyEvaluator**: evaluates against frozen snapshot state
- **KnowledgeSourceDescriptor**: type, URI, digest, timestamp for each source
## Evidence
- `docs/qa/feature-checks/runs/policy/deterministic-evaluation-with-knowledge-snapshots/run-002/`