code: def hint_for_accuracy(self, accuracy="normal"):
          
          if not self.has_dojo_report:
              return Hint(ecut=0., pawecutdg=0.)
  
          # Get hints from dojoreport. Try first in hints then in ppgen_hints.
          if "hints" in self.dojo_report:
              return Hint.from_dict(self.dojo_report["hints"][accuracy])
          elif "ppgen_hints" in self.dojo_report:
              return Hint.from_dict(self.dojo_report["ppgen_hints"][accuracy])
          return Hint(ecut=0., pawecutdg=0.)
docs: Returns a :class:`Hint` object with the suggested value of ecut [Ha] and
          pawecutdg [Ha] for the given accuracy.
          ecut and pawecutdg are set to zero if no hint is available.
  
          Args:
              accuracy: ["low", "normal", "high"]