-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
Prediction E2E tests are failing due to timeouts and assertion failures.
Failing Tests
should make single prediction with valid feature valuesshould display confidence score with predictionshould make single prediction within 100ms(performance test)
Error Patterns
-
Timeout waiting for prediction results:
TimeoutError: locator.waitFor: Timeout 10000ms exceeded. - waiting for prediction results to appear -
Assertion failures:
Error: expect(received).toBeTruthy() - prediction result expected but not received
Root Cause
The prediction workflow appears to be:
- Not completing successfully, OR
- Not displaying prediction results in UI, OR
- Taking too long to make predictions (>100ms)
Investigation Needed
- Check backend prediction endpoint (
POST /api/v1/models/{id}/predict) - Verify frontend PredictionPage displays results
- Check if model loading/inference is working
- Review prediction response format
- Investigate prediction performance (should be <100ms)
Related PR
#133 - Fixed E2E infrastructure issues
Environment
- CI environment with mock OpenAI credentials
- MongoDB running correctly
- Backend health check passing
Acceptance Criteria
- Predictions complete successfully
- Prediction results appear in UI with confidence scores
- Predictions complete within 100ms (performance requirement)
- All prediction-related E2E tests pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working