Add Policy DSL Validator, Schema Exporter, and Simulation Smoke tools
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Docs CI / lint-and-preview (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			- Implemented PolicyDslValidator with command-line options for strict mode and JSON output. - Created PolicySchemaExporter to generate JSON schemas for policy-related models. - Developed PolicySimulationSmoke tool to validate policy simulations against expected outcomes. - Added project files and necessary dependencies for each tool. - Ensured proper error handling and usage instructions across tools.
This commit is contained in:
		
							
								
								
									
										25
									
								
								out/policy-bench.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								out/policy-bench.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| { | ||||
|   "schemaVersion": "policy-bench/1.0", | ||||
|   "capturedAt": "2025-10-26T19:57:27.4363234+00:00", | ||||
|   "scenarios": [ | ||||
|     { | ||||
|       "id": "policy_eval_baseline", | ||||
|       "label": "Policy evaluation (100k components, 1M findings)", | ||||
|       "iterations": 3, | ||||
|       "findingCount": 1000000, | ||||
|       "meanMs": 1109.3542333333335, | ||||
|       "p95Ms": 1257.74929, | ||||
|       "maxMs": 1280.1721, | ||||
|       "meanThroughputPerSecond": 912094.5580512757, | ||||
|       "minThroughputPerSecond": 781144.9726173537, | ||||
|       "maxAllocatedMb": 563.6900634765625, | ||||
|       "thresholdMs": 20000, | ||||
|       "minThroughputThresholdPerSecond": 60000, | ||||
|       "maxAllocatedThresholdMb": 900, | ||||
|       "regression": { | ||||
|         "limit": 1.15, | ||||
|         "breached": false | ||||
|       } | ||||
|     } | ||||
|   ] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user