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

Added AI translation quality metrics #193

Merged
merged 6 commits into from
Nov 18, 2024

Conversation

maallen
Copy link
Member

@maallen maallen commented Nov 15, 2024

Adds metrics to track AI translation quality based on changes to AI translations after review completes, if no changes have been made to the target text log it as a match.

If changes have been made, calculate a similarity percentage based off the LevenshteinDistance between the original AI translation and the updated reviewed translation, log metrics for high (90%+), medium (70%+) and low similarity.

The high and medium thresholds are configurable using app.properties if required.

@maallen maallen force-pushed the mallen/log_ai_review_similarity_metrics branch from ef83f44 to c6b66cd Compare November 18, 2024 10:23
@maallen maallen marked this pull request as ready for review November 18, 2024 11:06
@maallen maallen requested a review from a team as a code owner November 18, 2024 11:06
Copy link
Member

@mattwilshire mattwilshire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, looking forward to seeing these metrics in action

@maallen maallen merged commit def2c21 into master Nov 18, 2024
1 check passed
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