more features checks. setup improvements
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user