code: def test_prefer_deep(abcde):
      """
          c
          |
      e   b
      |   |
      d   a
  
      Prefer longer chains first so we should start with c
      """
      a, b, c, d, e = abcde
      dsk = {a: 1, b: (f, a), c: (f, b), d: 1, e: (f, d)}
  
      o = order(dsk)
      assert o[a] < o[d]
      assert o[b] < o[d]
  
imports: import pytest
  from flash.core.serve.dag.order import ndependencies, order
  from flash.core.serve.dag.task import get, get_deps
  from flash.core.serve.dag.utils_test import add, inc
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 10 for calling a global function with example usage: test_prefer_deep(abcde) without return types