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

show_harmo_error shows success rate <100% when there are no errors #17

Closed
twey2 opened this issue Oct 11, 2023 · 9 comments
Closed

show_harmo_error shows success rate <100% when there are no errors #17

twey2 opened this issue Oct 11, 2023 · 9 comments
Labels
enhancement New feature or request to test

Comments

@twey2
Copy link

twey2 commented Oct 11, 2023

show_harmo_error shows success rate <100% when there are warnings but no errors, which is confusing. I think it would be better for the success rate to reflect only the errors, and I think the warnings and errors should be split up. But the way the warnings are highlighted in this version are useful!
image

@GuiFabre
Copy link
Contributor

This feature (specificatlly separte errors from warnings) will be updated in the future. This has multiple implications backstage (the reason is because some warnings in R are conceptually errors, but cast as warnings)

@GuiFabre GuiFabre added the enhancement New feature or request label Oct 17, 2023
@rwissa
Copy link

rwissa commented Oct 20, 2023

20/10/2023 - To change before CRAN. Harmo team vote

@GuiFabre GuiFabre pinned this issue Oct 26, 2023
@GuiFabre
Copy link
Contributor

Here is the proposition :

image

in addtion, the errors and warnings are now shown only if there are some

image

@GuiFabre GuiFabre unpinned this issue Oct 27, 2023
@a-trottier
Copy link

Works well.
but why the alignment of the middle columns changed?
rule_category and success are aligned left while the others are aligned right.
It makes the column next to success harder to read.

Should all aligned left or the middle columns could be centered

@GuiFabre
Copy link
Contributor

GuiFabre commented Nov 1, 2023

done

image

@GuiFabre GuiFabre pinned this issue Nov 1, 2023
@twey2
Copy link
Author

twey2 commented Nov 6, 2023

Layout looks nice overall!
Why is there a 'case_whe' and 'case_when' in this example? (This shouldn't happen in a real scenario?)
Minor comment that we might eventually want 'Total number of algorithms' to match terminology in the glossary.

@GuiFabre
Copy link
Contributor

GuiFabre commented Nov 6, 2023

Hi @twey2 and thank you for your contribution.

For the 'case_whe' rule category, this example is generated with the DPE - with errors in DEMO_files_harmo object. In this scenario, we tried to mimic some errors, including typo in the rule category. Let's say the user writes 'direct_maping' or, like here, 'case_whe' instead of 'case_when'

image

For the terminology, good point, I'll make the change right away.

GuiFabre added a commit that referenced this issue Nov 6, 2023
@GuiFabre
Copy link
Contributor

GuiFabre commented Nov 6, 2023

done

image

@twey2
Copy link
Author

twey2 commented Nov 7, 2023

Great!

@GuiFabre GuiFabre closed this as completed Nov 7, 2023
@GuiFabre GuiFabre unpinned this issue Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to test
Projects
None yet
Development

No branches or pull requests

4 participants