feat(grader): add task-aware grading with new metrics and composite scoring
div18
e012e73
- Extend grading dimensions to include recovery speed, VIP protection, and action efficiency
- Introduce ActionRecord class to track agent actions and their measurable effects
- Implement EpisodeGrader to accumulate episode data, compute advanced metrics, and produce task-aware grades
- Define task-specific weight profiles for composite score calculation in Grade class
- Add new metrics: recovery speed for task-2, VIP protection for task-3, Lyapunov variance, action efficiency, cost trajectory, and peak queue sum
- Adjust composite score calculation to incorporate task-specific logic and penalize invalid actions
- Enhance summary output to include additional metrics and action statistics
feat(inference): implement baseline evaluation mode and structured JSON reporting
- Add baseline mode to run evaluations without replay buffer demonstrations
- Integrate action effect determination based on acknowledgement status and record actions for efficiency analysis
- Serialize grades including…
fix(inference): refine scaling and rerouting rules and action behavior
div18
d062bfb
- Updated task-2 and task-3 descriptions for clearer scaling and rerouting guidelines
- Modified SCALE_DOWN action to first cancel pending boots before removing active capacity
- Changed parsing of target_node_id and parameter to handle None values correctly
- Allowed NO_OP action to always succeed without target node validation
- Improved SCALE_DOWN implementation to prioritize canceling pending capacity
- Clarified cost tiers to classify pending capacity with justified excess at moderate rate
- Adjusted cost calculation for active and pending capacity to reflect tiered charging accurately
model changes
div18
9db539d
consolidate
div18
504ced2
Enhance Kubernetes executor and deployment configurations
div18
af7de22
- Introduced remote execution capabilities in KubernetesExecutor to delegate actions to a FastAPI control plane.
- Updated .env.example to clarify Prometheus URL usage for local and VM telemetry.
- Modified Prometheus Helm values to expose the service on NodePort 30090 and added a scrape job for annotated pods in the prod-sre namespace.
- Updated deployment scripts and README to reflect new Prometheus configurations and provide clearer instructions for local setup.
chore(kubernetes): support unbounded max replicas and enhance local setup
div18
923f89f
- Allow ANTIATROPOS_MAX_REPLICAS to be empty or 'unbounded' for no scale-up limit
- Adjust scaling logic to handle unbounded max replicas correctly
- Update .env.example with local defaults and new Prometheus queries
- Simplify start-grafana.ps1 for local Grafana setup without AWS credentials
- Add kind cluster config with max pods set to 250 for local testing
- Enhance local-laptop.yaml with prometheus metrics exposition and python http server
- Update LOCAL_LAPTOP_FASTAPI_GUIDE.md to document unbounded max replicas and setup changes
feat: implement Kubernetes executor for automated cluster scaling and infrastructure management
div18
cf2697b
feat(curriculum): add progressive training curriculum management
div18
52a986a
- Introduce CurriculumStage dataclass to define tasks with step limits, thresholds, temps, and retries
- Define CURRICULUM list with staged tasks of increasing difficulty and parameters
- Implement CurriculumTracker to track current stage, report scores, handle retries, and progress
- Add retry temperature adjustment and automatic skip after max retries for exploration encouragement
feat: Add observability setup guide and integrate Prometheus and Grafana
- Introduced OBSERVABILITY_SETUP.md for comprehensive observability setup instructions.
- Added docker-compose configuration for Prometheus and Grafana.
- Created Grafana dashboards for AntiAtropos live control plane and Kubernetes overview.
- Updated README.md to reflect Kubernetes integration and observability features.
- Implemented Prometheus metrics endpoint in the AntiAtropos server.
- Enhanced Kubernetes integration with explicit workload mapping and telemetry label mapping.
- Added tests for Kubernetes integration and Prometheus adapter functionality.