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

Simplify rob copying across assssments #724

Merged
merged 13 commits into from
Dec 21, 2022
Merged

Simplify rob copying across assssments #724

merged 13 commits into from
Dec 21, 2022

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Nov 7, 2022

Two independent changes to make cloning risk of bias responses easier across assessments.

The first change is on the client side. We added a new method, client.riskofbias.compare_metrics, which allows a user to submit a source/destination assessment and use fuzzy text matching to try to match the metrics across assessments. This adds a new dependency, rapidfuzz, to the client.

The second change relaxes a restriction for copying reviews across assessments. Previously, the author of a review in the source needed to be a member of the destination team. Now, this is no longer required. This makes it easier to preserve the source of the original review.

@shapiromatron shapiromatron changed the title Add fuzzy match to hawc-client for rob reviews Simplify rob copying across assssments Dec 15, 2022
@shapiromatron shapiromatron marked this pull request as ready for review December 15, 2022 16:43
@shapiromatron shapiromatron merged commit fed58f7 into main Dec 21, 2022
@shapiromatron shapiromatron deleted the client-updates branch December 21, 2022 03:58
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

Successfully merging this pull request may close these issues.

2 participants