Commit History
-
Add comprehensive testing infrastructure
marcosremar +1: Claude## Testing System ### 1. Local Tests - **test_local.py**: Fast structure validation (~10s) - Tests imports, annotator creation, model structure - No model loading, perfect for development - ✅ Validated: All tests pass - **scripts/test/test_quick.py**: Complete test suite - Model loading (2-3-5 models) - Single annotation - Batch processing - Performance benchmarking - Cross-validation ready ### 2. Cloud Testing - **GCP Spot Instance** (launch_gcp_spot.sh) - Cost: $0.0025-0.01/hr - Automatically provisions e2-medium instance - Installs dependencies and runs tests - Cheapest option for cloud testing - **AWS Spot Instance** (launch_spot_test.sh) - Cost: $0.009-0.02/hr - Finds cheapest available instance type - Fully automated setup and testing - Alternative to GCP ### 3. Docker Testing - **Dockerfile.test**: Isolated environment - Build once, test anywhere - Reproducible results - Perfect for CI/CD - Usage: `docker build -f Dockerfile.test -t…98938e3