code: def maybe_skip(category, name):
      if (category, name) in [
          ("vegalite", "window_cumulative_running_average.vg.json"),
          ("custom", "cumulative_running_window.vg.json"),
      ]:
          # Duckdb doesn't seem to always support multiple columns that differ only by case. e.g.
          # with top as (SELECT 1 as "year", 2 as "Year")
          #   SELECT "year", "Year" from top
          # ┌───────┬───────┐
          # │ year  │ year  │
          # │ int32 │ int32 │
          # ├───────┼───────┤
          # │     1 │     1 │
          # └───────┴───────┘
          pytest.skip(
              "Duckdb doesn't support multiple columns that differ by case"
          )
      elif (category, name) in [
          ("vegalite", "errorband_2d_vertical_borders.vg.json"),
          ("vegalite", "errorbar_2d_vertical_ticks.vg.json"),
          ("vegalite", "layer_line_errorband_ci.vg.json"),
          (
              "vegalite",
              "errorband_2d_horizontal_color_encoding.vg.json",
          ),
          (
              "vegalite",
              "layer_line_errorband_2d_horizontal_borders_strokedash.vg.json",
          ),
          ("vegalite", "layer_point_errorbar_ci.vg.json"),
          ("vegalite", "point_offset_random.vg.json"),
          ("vegalite", "sample_scatterplot.vg.json"),
          ("vegalite", "point_ordinal_bin_offset_random.vg.json"),
          ("vegalite", "layer_point_errorbar_2d_horizontal.vg.json"),
          ("vegalite", "layer_point_errorbar_2d_horizontal_ci.vg.json"),
      ]:
          # Non-deterministic (e.g. use of ci0 aggregation function)
          pytest.skip("Non-deterministic specification")
  
file_path: vegafusion/python/vegafusion/tests/test_pretransform_specs.py
imports: from pathlib import Path
  import json
  import vegafusion
  from vl_convert import vega_to_png
  from io import BytesIO
  import pyarrow
  from skimage.io import imread
  from skimage.metrics import structural_similarity
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: maybe_skip(category, name) without return types