{
"children": [
{
"children": [
{
"children": [],
"goal": "Identify array length"
}
],
"goal": "Examine array characteristics"
},
{
"children": [
{
"children": [],
"goal": "Decide between linear or binary search"
}
],
"goal": "Choose search strategy"
},
{
"children": [],
"goal": "Validate search result"
}
],
"goal": "Determine if a target value is present in the array"
}
Mixed goals generated by the LLM (correct + distractors).