Commit graph

2 commits

Author SHA1 Message Date
hsparks.codes
ad21f079e7 fix: Remove unused imports and variables to pass Ruff linting
- Comment out unused format_type in export_results (TODO for CSV export)
- Comment out unused req in evaluate_single (TODO for implementation)
- Remove unused json import from evaluation_service
- Remove unused LLMBundle import from evaluation_service
- Remove unused Mock, MagicMock imports from test_evaluation_service
- Keep Mock import in test_evaluation_framework_demo (actually used)

All 24 tests passing 
2025-12-03 08:54:45 +01:00
hsparks.codes
e49e641643 test: Add comprehensive test suite for RAG evaluation
- Add 24 standalone tests (all passing)
- Add 60+ integration tests for CI/CD
- Verify metrics calculations (precision, recall, F1, MRR, hit rate)
- Test all service methods with mocking
- Fix syntax error in test file
2025-12-03 02:19:53 +01:00