{
"children": [
{
"children": [
{
"children": [],
"goal": "Identify the middle index of the current interval"
}
],
"goal": "Determine the search interval boundaries"
},
{
"children": [
{
"children": [],
"goal": "Adjust interval based on comparison"
},
{
"children": [],
"goal": "Check for termination condition"
}
],
"goal": "Compare target with middle element"
}
],
"goal": "Perform a binary search to locate a target value in a sorted array"
}
Mixed goals generated by the LLM (correct + distractors).