If you encounter the "No data was processed. No results to display." error, this typically indicates one of the following issues:
-
API Response Format Changes: The CalypsoAI API response format has been updated. The evaluator now handles the new format automatically, but if you're still seeing this error, check that your API credentials are correct.
-
Dataset Format Issues: Ensure your input CSV file follows the correct format:
"prompt text"|expected_resultThe expected result should be "true" or "false" without extra quotes.
-
Environment Variables: Verify that your
.envfile contains the correct API credentials:CALYPSOAI_URL=https://calypsoai.app CALYPSOAI_TOKEN=your_api_token_here -
API Connectivity: Check that you can reach the CalypsoAI API and that your token is valid.
If you have existing scan results in CSV format, you can use the evaluate_existing_results.py script to calculate accuracy metrics without re-scanning:
python evaluate_existing_results.py --input your_existing_results.csvThis bypasses the API scanning step and directly calculates accuracy from your existing data.
The evaluators include robust error handling for common issues:
- File not found errors
- Empty datasets
- API errors
- Invalid file formats
When errors occur, the evaluators will display helpful error messages and exit gracefully.
- Scanner Configuration: Ensure only relevant scanners are enabled in your CalypsoAI platform
- API Rate Limits: If you encounter rate limiting, consider processing smaller batches
- Token Expiration: Check that your API token is valid and not expired
If you continue to experience issues:
- Check the error messages carefully - they often contain specific guidance
- Verify your environment variables are set correctly
- Test with a small dataset first
- Check the API documentation for any recent changes
- Review the sample datasets to ensure your input format is correct
To verify your setup is working correctly, run:
python validate_setup.pyThis will check:
- Python dependencies
- Environment variables
- API connectivity (if credentials are provided)
- File permissions