{
"children": [
{
"children": [
{
"children": [],
"goal": "Identify each element\u0027s value"
}
],
"goal": "Determine the sum of all elements"
},
{
"children": [
{
"children": [],
"goal": "Identify the array length"
}
],
"goal": "Count the number of elements"
},
{
"children": [
{
"children": [],
"goal": "Divide the sum by the count"
}
],
"goal": "Compute the average"
}
],
"goal": "Calculate the average of the elements in an array"
}
Mixed goals generated by the LLM (correct + distractors).