uvm_config_db#(T)::set(,string inst,,) string argument context with respect to new/create name argument

In reply to chr_sue:

Thanks , I understand it is bad practice and must be avoided but this is just to understand hierarchical way of how scope will get it’s details.

so, which scope will be taken from below 2.

scope1 : top.env.agent
scope2 : top.env.myagent

Thanks