code: def generate_maze(width: int, height: int) -> np.ndarray:
      """
      Generates a maze using the recursive backtracker algorithm.
  
      Args:
          width (int): The width of the maze.
          height (int): The height of the maze.
  
      Returns:
          np.ndarray: A NumPy array representing the generated maze.
      """
      maze = np.ones((height + 2, width + 2), dtype=np.uint8)
      start_pos = (1, 1)
      maze[start_pos] = 0
      recursive_backtracker(maze, start_pos)
      return maze[1:-1, 1:-1]
  
file_path: evals/evals/registry/data/mazes/nxn_maze_eval_generator.py
imports: import concurrent.futures
  import json
  import os
  import random
  import threading
  from typing import Dict, List, Tuple, Union
  import networkx
  import numpy
  from numpy import ndarray
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: generate_maze(width, height) and returns: maze