more features checks. setup improvements
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "integration",
|
||||
"capturedAtUtc": "2026-02-13T11:20:00Z",
|
||||
"testCommand": "dotnet test src/Policy/__Tests/StellaOps.Policy.Tests/StellaOps.Policy.Tests.csproj --no-restore -v normal && dotnet test src/Policy/__Tests/StellaOps.Policy.Engine.Tests/StellaOps.Policy.Engine.Tests.csproj --no-restore -v normal",
|
||||
"testFilter": "TrustLatticeEngineIntegrationTests, K4LatticeTests, ClaimScoreMergerTests, KnowledgeSnapshotManifest tests, PolicyGateEvaluatorTests (Evidence gate), VerdictAttestationIntegrationTests covering trust lattice, K4 algebra, claim merging, proof bundles, policy gate integration",
|
||||
"testsRun": 2059,
|
||||
"testsPassed": 2059,
|
||||
"testsFailed": 0,
|
||||
"targetedTestMethods": [
|
||||
"TrustLatticeEngineIntegrationTests (trust lattice evaluation pipeline, proof bundle generation)",
|
||||
"K4LatticeTests (Join commutativity, Meet commutativity, LessOrEqual, Negate involutive, FromSupport)",
|
||||
"ClaimScoreMergerTests (highest-score selection, conflict penalty 0.25, 1000-iteration determinism)",
|
||||
"ClaimScoreMergerPropertyTests (FsCheck property-based)",
|
||||
"SnapshotBuilderTests (PolicyBundleRef with digest, content-addressed KnowledgeSnapshotManifest)",
|
||||
"PolicyGateEvaluatorTests (EvidenceCompleteness gate checks proof bundle)",
|
||||
"VerdictAttestationIntegrationTests (DSSE-signed attestations referencing proof bundles)"
|
||||
],
|
||||
"behaviorVerified": [
|
||||
"TrustLatticeEngine: pipeline VEX normalization -> claim ingestion -> K4 evaluation -> disposition selection -> proof bundle generation",
|
||||
"TrustLatticeResult: proof bundle containing all claims, evidence, and K4 lattice evaluations per subject",
|
||||
"Claims built via fluent ClaimBuilder: Assert, Present, Applies, Reachable, Mitigated, Fixed, Misattributed",
|
||||
"K4Lattice: four-valued logic (Unknown=0, True=1, False=2, Conflict=3), algebraic operations Join (T join F = Conflict), Meet (T meet F = Unknown), Negate, LessOrEqual, FromSupport",
|
||||
"ClaimScoreMerger: deterministic merge with conflict penalization (0.25 penalty), ordering by adjusted score -> specificity -> original score -> source ID -> index, MergeResult with winning claim, conflicts, RequiresReplayProof flag",
|
||||
"KnowledgeSnapshotManifest: content-addressed bundle capturing all policy evaluation inputs, PolicyBundleRef (PolicyId, Digest, Uri), ScoringRulesRef, TrustBundleRef",
|
||||
"PolicyGateEvaluator EvidenceCompleteness gate: uses proof bundles for evidence completeness verification",
|
||||
"VerdictAttestationService: DSSE-signed attestations referencing proof bundles with bundle digest",
|
||||
"Proof bundle includes: claims with scores, VEX sources, reachability signals, K4 lattice values per subject (CVE + component)"
|
||||
],
|
||||
"assertionTypes": [
|
||||
"value equality for K4 lattice values and claim scores",
|
||||
"collection assertions for proof bundle contents",
|
||||
"determinism verification (1000-iteration idempotency for claim merging)",
|
||||
"FsCheck property-based tests for lattice algebra",
|
||||
"null checks and string containment for attestation references"
|
||||
],
|
||||
"newTestsWritten": [],
|
||||
"bugsFixed": [],
|
||||
"rawOutput": "Policy.Tests: Passed! - Failed: 0, Passed: 781, Skipped: 0, Total: 781, Duration: 3s 814ms; Engine.Tests: Passed! - Failed: 0, Passed: 1278, Skipped: 0, Total: 1278, Duration: 8s 167ms",
|
||||
"verdict": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user