code: def main(args):
      stars = "*" * 100
  
      # initiate the correct count for each trial
      correct_count = [0 for i in range(args.num_trials)]
  
      for i in range(args.num_trials):
          for problem_name in os.listdir(args.path):
              problem_path = os.path.join(
                  args.path, problem_name, str(i)
              )
              if os.path.isdir(problem_path):
                  checker_file_path = os.path.join(
                      problem_path, "checker_messages.json"
                  )
  
                  with open(checker_file_path, "r") as file:
                      checker_messages = json.load(file)
  
                      check_result = checker_messages["checker_proxy"][
                          -1
                      ]["content"].lower()
  
                      if (
                          "the answer is correct" in check_result
                          or "the answer is approximated but should be correct"
                          in check_result
                      ):
                          correct_count[i] += 1
                          # print(f"{problem_name} | Correct")
                      # else:
                      # print(f"{problem_name} | Wrong")
  
          print(
              f"{stars}\nTrial {i} | Total Correct: {correct_count[i]} | Total Problems: {len(os.listdir(args.path))}"
          )
  
imports: import argparse
  import json
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types