code: def test_entryAE():
      e_type = "ae"
      true_val = "0.09194410469"
      weight = 1340
      systems = [
          {
              "moldesc": "Li 1.5070 0 0; H -1.5070 0 0",
              "basis": "6-311++G(3df,3pd)",
          },
          {
              "moldesc": "Li 0 0 0",
              "basis": "6-311++G(3df,3pd)",
              "spin": 1,
          },
          {
              "moldesc": "H 0 0 0",
              "basis": "6-311++G(3df,3pd)",
              "spin": 1,
          },
      ]
      ae_entry_for_LiH = DFTEntry.create(
          e_type, true_val, systems, weight
      )
      assert ae_entry_for_LiH.entry_type == "ae"
      assert ae_entry_for_LiH.get_true_val() == 0.09194410469
      assert ae_entry_for_LiH.get_weight() == 1340
  
      def run(syst):
          mol_dqc = syst.get_dqc_mol(ae_entry_for_LiH)
          qc = KS(mol_dqc, xc="lda_x").run()
          return KSCalc(qc)
  
      qcs = [run(syst) for syst in ae_entry_for_LiH.get_systems()]
      val = np.array(0.05362133)
      calc_val = ae_entry_for_LiH.get_val(qcs)
      assert np.allclose(val, calc_val)
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_entryAE() and returns: KSCalc