{
"children": [
{
"children": [
{
"children": [],
"goal": "Determine the length and character positions"
}
],
"goal": "Analyze the input string structure"
},
{
"children": [
{
"children": [],
"goal": "Map original indices to reversed positions"
}
],
"goal": "Formulate the reversed string construction"
}
],
"goal": "Reverse a string"
}
Mixed goals generated by the LLM (correct + distractors).