code: def test_experiment_run_access_subingredient():
      somemod = Ingredient("somemod")
  
      @somemod.config
      def cfg():
          a = 5
          b = "foo"
  
      ex = Experiment("some_experiment", ingredients=[somemod])
  
      @ex.main
      def main(somemod):
          return somemod
  
      r = ex.run().result
      assert r["a"] == 5
      assert r["b"] == "foo"
  
file_path: sacred/tests/test_modules.py
imports: from sacred.config.config_scope import ConfigScope
  from sacred.experiment import Experiment, Ingredient
label_desc: Use image node_id 5 for calling a global function with example usage: test_experiment_run_access_subingredient() and returns: somemod