Présentation du problème

Count Even Numbers


Count how many even numbers exist in a list.

easy
Generate Goal Tree Build Plan

Goal Tree Generated by LLM

{
  "children": [
    {
      "children": [
        {
          "children": [],
          "goal": "Determine parity of each element"
        }
      ],
      "goal": "Identify even numbers in the list"
    },
    {
      "children": [
        {
          "children": [],
          "goal": "Sum the identified even elements"
        }
      ],
      "goal": "Aggregate the count of identified even numbers"
    }
  ],
  "goal": "Count how many even numbers exist in a list"
}
    

Generated Goals

Mixed goals generated by the LLM (correct + distractors).

  • Aggregate the count of identified even numbers
  • Identify even numbers in the list
  • Find the maximum number in the list
  • Check whether the list is sorted in ascending order
  • Sum the identified even elements
  • Determine the sum of all numbers in the list
  • Determine parity of each element