Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception reporting to edsl #448

Open
johnjosephhorton opened this issue May 7, 2024 · 0 comments
Open

Add exception reporting to edsl #448

johnjosephhorton opened this issue May 7, 2024 · 0 comments
Assignees

Comments

@johnjosephhorton
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants