Test script for MoE Orchestration Engine.
Tests the full classification pipeline:
- Consensus calculation from analyst votes
- Orchestrator coordination of analysts and judges
- Parallel execution and error handling
- Batch processing
File: test_orchestrator.py
Functions
create_test_documents()
Create sample documents for testing.
test_consensus_calculator()
Test consensus calculation independently.
test_orchestrator_single()
Test orchestrator with single document.
test_orchestrator_batch()
Test orchestrator with batch processing.
test_orchestrator_edge_cases()
Test orchestrator edge cases and error handling.
test_full_pipeline()
Full integration test of the classification pipeline.
main()
Run all orchestrator tests.
progress_callback(current, total)
No description
Usage
python test_orchestrator.py