/ tests / evaluation / test_cases / workflows / level3_conditional_small.test.json
level3_conditional_small.test.json
 1  {
 2    "test_case_id": "workflow_level3_conditional_small",
 3    "category": "Workflows",
 4    "description": "Tests conditional branching with switch node routing to small value handler. The workflow classifies 5 as small (<10) and multiplies it by 10.",
 5    "query": "Please use the ConditionalBranchingWorkflow to process the value 5, and render the output file.",
 6    "target_agent": "OrchestratorAgent",
 7    "wait_time": 240,
 8    "evaluation": {
 9      "expected_tools": ["workflow_ConditionalBranchingWorkflow"],
10      "expected_response": "The ConditionalBranchingWorkflow has successfully processed the value 5. The workflow: Classified the value 5 as small, Routed it to the small value handler, Processed it to produce a result of 50. Workflow Results: Input Value: 5, Classification: small, Handler Used: small value handler, Final Result: 50",
11      "criterion": "Evaluate if the workflow correctly classified 5 as 'small', routed to the small handler, and returned result=50 (5*10), handler='small', category='small'."
12    }
13  }