save checkpoint
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"type": "integration",
|
||||
"capturedAtUtc": "2026-02-13T14:30: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": "GateLevelTests, RiskPointScoringTests, PolicyGateEvaluatorTests, BudgetEnforcementIntegrationTests",
|
||||
"testsRun": 2059,
|
||||
"testsPassed": 2059,
|
||||
"testsFailed": 0,
|
||||
"targetedTestMethods": [
|
||||
"GateLevelTests.GetRequirements_ReturnsCorrectCount (G0=2, G1=5, G2=6, G3=7, G4=6)",
|
||||
"GateLevelTests.GetRequirements_G0_HasBasicCiOnly",
|
||||
"GateLevelTests.GetRequirements_G1_HasUnitTestsAndReview",
|
||||
"GateLevelTests.GetRequirements_G2_IncludesG1Requirements",
|
||||
"GateLevelTests.GetRequirements_G3_HasSecurityAndReleaseSign",
|
||||
"GateLevelTests.GetRequirements_G4_HasFormalReviewAndCanary",
|
||||
"GateLevelTests.GetDescription_ContainsExpectedText (G0=No-risk, G1=Low, G2=Moderate, G3=High, G4=Very high)",
|
||||
"RiskPointScoringTests.CalculateScore_UsesCorrectBaseScore (4 tiers)",
|
||||
"RiskPointScoringTests.CalculateScore_UsesCorrectDiffRisk (5 categories)",
|
||||
"RiskPointScoringTests.CalculateScore_AddsOperationalContext",
|
||||
"RiskPointScoringTests.CalculateScore_SubtractsMitigations",
|
||||
"RiskPointScoringTests.CalculateScore_MinimumIsOne",
|
||||
"RiskPointScoringTests.CalculateScore_DeterminesCorrectGateLevel (6 boundary cases)",
|
||||
"RiskPointScoringTests.CalculateScore_EscalatesGateOnYellowBudget",
|
||||
"RiskPointScoringTests.CalculateScore_EscalatesGateOnRedBudget",
|
||||
"RiskPointScoringTests.CalculateScore_MaxGateOnExhaustedBudget",
|
||||
"PolicyGateEvaluatorTests (22 tests: lattice states, uncertainty tiers, VEX statuses, overrides)",
|
||||
"BudgetEnforcementIntegrationTests.ThresholdBoundaries_AreCorrect (7 boundary cases)"
|
||||
],
|
||||
"behaviorVerified": [
|
||||
"GateLevel enum G0-G4 with escalating requirements per level",
|
||||
"G0: 2 requirements (lint + CI only)",
|
||||
"G1: 5 requirements (unit tests + peer review + staging + smoke)",
|
||||
"G2: 6 requirements (G1 + integration + code owner + feature flag + canary + rollback)",
|
||||
"G3: 7 requirements (G2 + security scan + migration plan + load/perf + observability + release captain + progressive delivery)",
|
||||
"G4: 6 requirements (G3 + formal risk review + rollback rehearsal + extended canary + customer comms + post-release verification)",
|
||||
"GateSelector computes RRS from ServiceTier base score + DiffRisk + OperationalContext - Mitigations",
|
||||
"RRS mapped to gate level: <=5->G1, <=12->G2, <=20->G3, >20->G4",
|
||||
"Budget modifier: Yellow escalates G2+ by one level",
|
||||
"Budget modifier: Red escalates G1+ by one level",
|
||||
"Budget modifier: Exhausted forces G4",
|
||||
"Gate descriptions contain correct risk labels for each level",
|
||||
"PolicyGateEvaluator integrates lattice states (U/SR/SU/RO/RU/CR/CU/X) and uncertainty tiers (T1-T4)"
|
||||
],
|
||||
"assertionTypes": [
|
||||
"gate-level-requirement-count",
|
||||
"gate-level-requirement-content",
|
||||
"risk-score-calculation",
|
||||
"gate-level-determination",
|
||||
"budget-escalation",
|
||||
"threshold-boundary",
|
||||
"description-text"
|
||||
],
|
||||
"newTestsWritten": [],
|
||||
"bugsFixed": [],
|
||||
"rawOutput": "Passed! - Failed: 0, Passed: 781, Skipped: 0, Total: 781 (Policy.Tests) + Passed! - Failed: 0, Passed: 1278, Skipped: 0, Total: 1278 (Engine.Tests)",
|
||||
"verdict": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user