-
Notifications
You must be signed in to change notification settings - Fork 395
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
add UI tests for RAI text dashboard #1636
Conversation
4432189
to
908a3a1
Compare
Codecov Report
@@ Coverage Diff @@
## main #1636 +/- ##
=======================================
Coverage 89.01% 89.01%
=======================================
Files 105 105
Lines 5489 5489
=======================================
Hits 4886 4886
Misses 603 603
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
908a3a1
to
128d92d
Compare
1 similar comment
* Add identity feature value to causal hover over Signed-off-by: Gaurav Gupta <[email protected]> * Fix lint errors Signed-off-by: Gaurav Gupta <[email protected]> * Minor refactoring in counterfactual package (#1634) Signed-off-by: Gaurav Gupta <[email protected]> Signed-off-by: Gaurav Gupta <[email protected]> * Add identity feature value to feature importance hover over (#1637) * Add identity feature value to feature importance hover over Signed-off-by: Gaurav Gupta <[email protected]> * Fix bug Signed-off-by: Gaurav Gupta <[email protected]> * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> * Lint fix Signed-off-by: Gaurav Gupta <[email protected]> Signed-off-by: Gaurav Gupta <[email protected]> * add UI tests for RAI text dashboard (#1636) * Fix code review comments Signed-off-by: Gaurav Gupta <[email protected]> * lint fix Signed-off-by: Gaurav Gupta <[email protected]> Signed-off-by: Gaurav Gupta <[email protected]> Co-authored-by: Ilya Matiach <[email protected]>
Description
Add UI tests for the new RAI text dashboard, specifically the individual feature importances for text component.
This includes testing the:
1.) TextHighlighting component, which displays the text passage
2.) The TextFeatureLegend
3.) The local importance values as a bar chart
More testing could be done in the future for:
1.) Slider, to select different number of words to view in the bar chart
2.) Class importance weights dropdown
3.) Radio button to select all features, positive features or negative features
Resolves issue: #1549
Checklist