code: def test_config_docs_are_preserved(ing):
      @ing.config
      def ing_cfg():
          a = 5  # documented entry
  
      ex = Experiment(ingredients=[ing])
  
      @ex.main
      def run():
          return 5
  
      run = ex._create_run()
      assert "tickle.a" in run.config_modifications.docs
      assert (
          run.config_modifications.docs["tickle.a"]
          == "documented entry"
      )
  
imports: import os
  import pytest
  import tempfile
  from sacred.config import ConfigScope, ConfigDict
  from sacred.dependencies import Source, PackageDependency
  from sacred.experiment import Experiment
  from sacred.ingredient import Ingredient
  from sacred.utils import CircularDependencyError
  from sacred.serializer import json
label_desc: Use image node_id 32 for calling a global function with example usage: test_config_docs_are_preserved(ing) and returns: int