Optimize WER Service Calls and Format WER Percentage Display
Description
Currently, the application is making excessive calls to the Word Error Rate (WER) calculation service, triggering updates every time a character is added or modified. This behavior should be optimized so that the WER calculation is performed only when the user has completed updating the text, rather than for each individual character change.
Additionally, there is an issue where the WER percentage display sometimes shows more than two decimal places. This display should be formatted to consistently show the WER percentage rounded to two decimal places for clarity and consistency.
Also, there is an issue where Transcription Model input border is overlapping with the label of the input. This display should be formatted such that there is no overlap
Tasks
Optimize WER Calculation Trigger:
Modify the application logic to trigger the WER calculation service only when the user has finished updating the text input, rather than after each character modification.
Format WER Percentage Display:
Adjust the WER percentage display formatting to ensure it consistently shows the percentage rounded to two decimal places.
Transcription Model legend in Transcription page:
Fix the border of the Transcription Model input currently it is overlapping with the legend.
Acceptance Criteria
[ ] WER calculation service is triggered only when the user completes updating the text, not after each character modification.
[ ] WER percentage display consistently shows values rounded to two decimal places.
[ ] The border of the Transcription Model does not overlap with the Transcription Model input.
Additional Notes
Review existing implementation to identify where WER service calls are currently triggered.
Ensure the formatting change for WER percentage display is applied universally across the application.
Test the application thoroughly to verify that these changes do not introduce any regressions.
Optimize WER Service Calls and Format WER Percentage Display
Description
Currently, the application is making excessive calls to the Word Error Rate (WER) calculation service, triggering updates every time a character is added or modified. This behavior should be optimized so that the WER calculation is performed only when the user has completed updating the text, rather than for each individual character change.
Additionally, there is an issue where the WER percentage display sometimes shows more than two decimal places. This display should be formatted to consistently show the WER percentage rounded to two decimal places for clarity and consistency.
Also, there is an issue where Transcription Model input border is overlapping with the label of the input. This display should be formatted such that there is no overlap
Tasks
Optimize WER Calculation Trigger:
Format WER Percentage Display:
Transcription Model legend in Transcription page:
Acceptance Criteria
Additional Notes