code: def pattern(effect):
      """String to match in the right column."""
      return {
          "MISMATCHED": "0.0.0.dev0",
          "MISSING": "MISSING",
          "KEY_ERROR": "UNKNOWN",
          "NONE": "UNKNOWN",
      }[effect]
  
imports: from __future__ import annotations
  import re
  import sys
  import pytest
  import tornado
  from distributed import Client, Worker
  from distributed.utils_test import gen_cluster
  from distributed.versions import error_message, get_versions
label_desc: Use image node_id 6 for calling a global function with example usage: pattern(effect) and returns: dict