code: def rate_limit_config(service: str) -> dict:
      max_rps = 60 if service == "batch-driver" else 200
  
      return {
          "@type": "type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit",
          "stat_prefix": "http_local_rate_limiter",
          "token_bucket": {
              "max_tokens": max_rps,
              "tokens_per_fill": max_rps,
              "fill_interval": "1s",
          },
          "filter_enabled": {
              "runtime_key": "local_rate_limit_enabled",
              "default_value": {
                  "numerator": 100,
                  "denominator": "HUNDRED",
              },
          },
          "filter_enforced": {
              "runtime_key": "local_rate_limit_enabled",
              "default_value": {
                  "numerator": 100,
                  "denominator": "HUNDRED",
              },
          },
      }
  
file_path: hail/ci/ci/envoy.py
imports: import os
  import sys
  from typing import Dict, List
  import yaml
label_desc: Use image node_id 9 for calling a global function with example usage: rate_limit_config(service) and returns: dict