code: def test_chained_config_scopes_can_access_previous_keys():
      @ConfigScope
      def cfg1():
          a = 10
  
      @ConfigScope
      def cfg2(a):
          b = 2 * a
  
      final_cfg, summary = chain_evaluate_config_scopes([cfg1, cfg2])
      assert set(final_cfg.keys()) == {"a", "b"}
      assert final_cfg["a"] == 10
  
file_path: sacred/tests/test_config/test_config_scope_chain.py
imports: import pytest
  from sacred.config import ConfigScope, ConfigDict, chain_evaluate_config_scopes
label_desc: Use image node_id 2 for calling a global function with example usage: test_chained_config_scopes_can_access_previous_keys() without return types