Do some modification.
Failed in stage "Write the report logics"

Error Message
>>> here = Path(__file__).parent
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  NameError: name '__file__' is not defined