{
"children": [
{
"children": [
{
"children": [],
"goal": "Identify low and high indices"
}
],
"goal": "Determine search boundaries"
},
{
"children": [
{
"children": [],
"goal": "Compare target with middle element"
}
],
"goal": "Iteratively narrow search space"
},
{
"children": [
{
"children": [],
"goal": "Check if target found or report not found"
}
],
"goal": "Confirm search outcome"
}
],
"goal": "Perform a binary search in a sorted array"
}
Mixed goals generated by the LLM (correct + distractors).