Skip to content

Fix nested f-string syntax error in confidence and accuracy extraction logic #107

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deril2605
Copy link

@deril2605 deril2605 commented May 6, 2025

Purpose

This PR fixes a syntax error in the logic that formats the Confidence and Accuracy fields when building the rows list. The error was caused by an invalid nested f-string using double quotes inside another f-string. This fix replaces the inner quotes with single quotes and simplifies the conditional formatting logic to ensure proper execution.

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Validation Steps Performed

Ran the script to ensure the updated formatting executes without syntax errors.

Verified that the output fields for Confidence and Accuracy display correctly across sample inputs.

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.

1 participant