code: def test_iterate_marked_typechanged(cfg):
      typechanged = {"a": (bool, int), "d.dA": (float, int)}
      result = list(
          _iterate_marked(cfg, ConfigSummary(typechanged=typechanged))
      )
      assert result == [
          ("a", ConfigEntry("a", 0, False, False, (bool, int), None)),
          ("b", ConfigEntry("b", {}, False, False, None, None)),
          ("c", PathEntry("c", False, False, None, None)),
          ("c.cA", ConfigEntry("cA", 3, False, False, None, None)),
          ("c.cB", ConfigEntry("cB", 4, False, False, None, None)),
          ("c.cC", PathEntry("cC", False, False, None, None)),
          ("c.cC.cC1", ConfigEntry("cC1", 6, False, False, None, None)),
          ("d", PathEntry("d", False, True, None, None)),
          (
              "d.dA",
              ConfigEntry("dA", 8, False, False, (float, int), None),
          ),
      ]
  
imports: import os
  import sys
  import tempfile
  import pprint
  import json
  from collections import OrderedDict
  import pytest
  from sacred import Ingredient, Experiment
  from sacred.commands import COLOR_MODIFIED, ENDC, COLOR_DOC, COLOR_ADDED, COLOR_TYPECHANGED, ConfigEntry, PathEntry, _format_config, _format_entry, help_for_command, _iterate_marked, _format_named_configs, _format_named_config
  from sacred.config import ConfigScope
  from sacred.config.config_summary import ConfigSummary
  import sacred.optional
label_desc: Use image node_id 5 for calling a global function with example usage: test_iterate_marked_typechanged(cfg) without return types