Appointat commented on code in PR #737: URL: https://github.com/apache/geaflow/pull/737#discussion_r2797238338
########## geaflow-ai/src/operator/casts/tests/test_execution_lifecycle.py: ########## @@ -0,0 +1,580 @@ +"""Unit tests for Execution Lifecycle (Precheck → Execute → Postcheck).""" + +from unittest.mock import Mock + +from casts.core.config import DefaultConfiguration +from casts.simulation.engine import SimulationEngine +from casts.simulation.metrics import MetricsCollector + + +class MockSKU: + """Mock SKU for testing.""" + + def __init__(self, confidence_score: float = 0.5): + self.confidence_score = confidence_score + + +class TestExecutePrechecker: Review Comment: Agree. I added a GitHub Actions workflow that runs uv sync + pytest only when geaflow-ai/plugins/casts/** changes. see `.github/workflows/ci-py311.yml` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
