more features checks. setup improvements

This commit is contained in:
master
2026-02-13 02:04:55 +02:00
parent 9911b7d73c
commit 9ca2de05df
675 changed files with 37550 additions and 1826 deletions

View File

@@ -0,0 +1,25 @@
# Batch Exception Loading for Policy Evaluation
## Module
Policy
## Status
VERIFIED
## Description
Efficient batch loading of policy exceptions for large-scale evaluation, avoiding N+1 queries when evaluating many findings against exception records.
## Implementation Details
- **Batch Exception Loader**: `src/Policy/StellaOps.Policy.Engine/BatchEvaluation/BatchExceptionLoader.cs` -- bulk exception loading
- `BatchEvaluationModels.cs` -- batch evaluation request/response models
- **Batch Evaluation Endpoint**: `src/Policy/StellaOps.Policy.Engine/Endpoints/BatchEvaluationEndpoint.cs` -- API for batch evaluation
- **Batch Context**: `src/Policy/StellaOps.Policy.Engine/BatchContext/BatchContextService.cs` -- batch context management
- `BatchContextModels.cs` -- batch context models
- **Batch Context Endpoint**: `src/Policy/StellaOps.Policy.Engine/Endpoints/BatchContextEndpoint.cs` -- API for batch contexts
## E2E Test Plan
- [ ] Submit a batch evaluation request with 100+ findings and verify all exceptions loaded efficiently
- [ ] Verify batch context is created and reused across evaluations in the same batch
- [ ] Measure evaluation latency for batch vs. individual exception loading
- [ ] Verify batch evaluation API returns results for all submitted findings
- [ ] Test batch context cleanup after evaluation completes