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

[Accessibility] Error analysis tree node change 1. Bubble error rate colors; 2. Bubble text & fill #1649

Merged
merged 8 commits into from
Aug 18, 2022

Conversation

RubyZ10
Copy link
Contributor

@RubyZ10 RubyZ10 commented Aug 17, 2022

Description

This PR includes two changes:

  1. change the color of error analysis tree node
  2. add background for the text in tree node
    Before change:
    image

After change:
image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2022

Codecov Report

Merging #1649 (8d4b8f1) into main (deef77c) will decrease coverage by 3.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1649      +/-   ##
==========================================
- Coverage   89.00%   85.61%   -3.39%     
==========================================
  Files         105       58      -47     
  Lines        5529     3017    -2512     
==========================================
- Hits         4921     2583    -2338     
+ Misses        608      434     -174     
Flag Coverage Δ
unittests 85.61% <ø> (-3.39%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ai/responsibleai/_tools/error_analysis/__init__.py
.../databalanceanalysis/aggregate_balance_measures.py
...ponsibleai/responsibleai/_tools/shared/__init__.py
responsibleai/responsibleai/_tools/__init__.py
responsibleai/responsibleai/_config/__init__.py
...sponsibleai/responsibleai/managers/base_manager.py
responsibleai/responsibleai/_internal/constants.py
...sibleai/responsibleai/_tools/shared/base_result.py
...leai/responsibleai/modelanalysis/model_analysis.py
responsibleai/responsibleai/_interfaces.py
... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@imatiach-msft imatiach-msft left a comment

Choose a reason for hiding this comment

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

I created a chat to discuss this. I do think it might be more difficult to understand the tree in the case the error rates are all within a band, say the 75-100 percent error rate band - all of the nodes will be the exact same color then. I think this might need a bit more discussion, as there are some scenarios where the new UI look might become more confusing.

1 similar comment
Signed-off-by: Ruby Zhu <[email protected]>
@RubyZ10 RubyZ10 enabled auto-merge (squash) August 18, 2022 22:33
@RubyZ10 RubyZ10 merged commit ca94cea into main Aug 18, 2022
@RubyZ10 RubyZ10 deleted the zhenzhu/a11y branch August 18, 2022 22: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.

4 participants