edsl
edsl copied to clipboard
Add exception reporting to edsl
Add coop client feature to upload exceptions / telemetry. I had this in https://github.com/expectedparrot/edsl/blob/main/edsl/jobs/runners/JobsRunnerAsyncio.py but I'm removing it for now:
# from edsl.jobs.interviews.ReportErrors import ReportErrors
# full_task_history = TaskHistory(
# self.total_interviews, include_traceback=True
# )
# report = ReportErrors(full_task_history)
# upload = input(
# "Ok to upload errors to us? We can potentially help! (y/n): "
# )
# if upload == "y":
# report.get_email()
# report.upload()
# print("Errors are reported here: ", report.url)
# except Exception as e:
# pass
# if results.task_history.has_exceptions and batch_mode:
# results.task_history.show_exceptions()
@apostolosfilippas telemetry/reporting settings should be handled in coop.