You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now i'm working on our dashboard for peer review metrics.
if we run this code to collect all issues:
frompyosmetaimportProcessIssuesfrompyosmeta.github_apiimportGitHubAPI# Get all issues from GitHub software-submission repo, Return df with labels, title, date_opened and closed and total time open in daysgithub_api=GitHubAPI(
org="pyopensci",
repo="software-submission",
)
process_review=ProcessIssues(github_api)
issues=process_review.get_issues()
accepted_reviews, errors=process_review.parse_issues(issues)
It errors at a string/split step (i haven't had time to fully debug yet).
There are going to often be times when we have issues with odd characters in them. In this case because it's parsing ALL issues, there are likely some issues that are not related to peer review that it's getting stuck on OR it's getting stuck on presubmissions, etc.
There are a few options here
We always use a label to grab issues or we provide a list of labels (reasonable).
We allow the parses to fail gracefully on an issue, and report back the issue numbers of what it skips.
because i haven't looked into this more, i'm not sure what the best approach is at this point. But i wanted to log the issue as i work on peer-review-metrics!
The text was updated successfully, but these errors were encountered:
i suspect the problem might be that we have fine tined the API to grab normal reviews. but we have a second template that is a pre-submission and also some issues that are not reviews at all.
Thinking about this more, because our package should support lists of labels, perhaps the labels= parameter is required and has a default value? this would prevent someone from trying to pull all issues.
Then we would always specify atleast one label. we can then update the docstring accordingly that if a label is not specified it will grab accepted reviews only as a default value. i think this might make the most sense
Right now i'm working on our dashboard for peer review metrics.
if we run this code to collect all issues:
It errors at a string/split step (i haven't had time to fully debug yet).
There are going to often be times when we have issues with odd characters in them. In this case because it's parsing ALL issues, there are likely some issues that are not related to peer review that it's getting stuck on OR it's getting stuck on presubmissions, etc.
There are a few options here
because i haven't looked into this more, i'm not sure what the best approach is at this point. But i wanted to log the issue as i work on peer-review-metrics!
The text was updated successfully, but these errors were encountered: