sandbox/executor.py
def _get_result(self) -> Optional[str]:
        """Return the content of /home/student/<path> if found, an empty string otherwise."""
        start = time.time()
        with open(os.path.join(self.sandbox.envpath, self.result_path), encoding="UTF-8") as f:
            content = f.read()
        logger.debug(f"Getting result from container took : {time.time() - start} seconds")
        return content
Return the content of /home/student/<path> if found, an empty string otherwise.
Return the content of /home/student/ if found, an empty string otherwise.
Return the content of / home / student / if found an empty string otherwise .
def _get_result(self) -> Optional[str]:
        start = time.time()
        with open(os.path.join(self.sandbox.envpath, self.result_path), encoding="UTF-8") as f:
            content = f.read()
        logger.debug(f"Getting result from container took : {time.time() - start} seconds")
        return content
def _get_result ( self ) -> Optional [ str ] : start = time . time ( ) with open ( os . path . join ( self . sandbox . envpath , self . result_path ) , encoding = "UTF-8" ) as f : content = f . read ( ) logger . debug ( f"Getting result from container took : {time.time() - start} seconds" ) return content
Return the content of /home/student/<path> if found, an empty string otherwise.
Return the content of / home / student / <path > if found an empty string otherwise .
"""Return the content of /home/student/<path> if found, an empty string otherwise."""
self