Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Roman Lutz 1a54cb034b
Unify naming between notebooks and test cases (#1505)
* execute e2e tests even with flighted versions of dashboard

* rename model stats to model overview, add v1 and v2 for new experience

* basic test harness for individual notebook execution and flighted notebook execution, more ID tags added to model overview component

* more ids in model overview

* Update postbuild with changes in main (#1451)

* fix error on machines with pyspark installed where passed dataframe is not spark pandas (#1415)

* add postbuild branch trigger (#1417)

* Fix causal UI strings according to classification/regression tasks (#1419)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix description for model overview (#1425)

* fix description for model overview

* keep new description for new model overview

* fix failing to create error report when filter_features is empty list (#1421)

* filter out missing values from what if dropdown to prevent explanation dashboard from crashing (#1418)

* Remove |Set Value| blurb in case it is not availble in counterfactual panel (#1426)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add y-axis description to counterfactual feature importance chart (#1423)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* Add the user class name to causal UI strings (#1422)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add the user class name to causal UI strings

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* fix math.min / max for array size more than 10^7 (#1427)

Signed-off-by: Ke Xu <xuke@microsoft.com>

* upgrade pytest and lightgbm to try to fix random pytest segfault test failures (#1424)

s

* fix flaky notebook causing build failures by adding retry logic (#1431)

* Upper bound SciKit-Learn to address freeze in causal (#1432)

<!--- Provide a general summary of your changes in the Title above -->

## Description

Replaces #1429  to address #1430 . Causal analysis is getting stuck with the latest release of SciKit-Learn. This contains:

- Test case which gets stuck with SciKit-Learn 1.1.0
- Upper bound on SciKit-Learn in `requirements.txt`

## Checklist

<!--- Make sure to satisfy all the criteria listed below. -->

- [x] I have added screenshots above for all UI changes.
- [x] Documentation was updated if it was needed.
- [x] New tests were added or changes were manually verified.


Signed-off-by: Richard Edgar <riedgar@microsoft.com>

* fix dependency chart axis updating with incorrect values in explanation dashboard (#1437)

* fix codecov and widget test screenshot uploads (#1428)

* release raiwidgets and responsibleai v0.18.2 (#1439)

* fix (#1441)

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix cohort name conflict and not run few tests for AML (#1442)

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Few e2e tests changes to accommodate AML static tests (#1445)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix locators logic for string features -  data explorer and model statistics components (#1446)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Add more unittests RAI dashboard input class  (#1448)

* Add unit tests for ResponsibleAIDashboardInput

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add more tests

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix imports

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Address code review comments

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Update the way to get the length of elements obtained in e2e tests (#1450)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* skip what-if create tests for AML

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
Co-authored-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
Co-authored-by: Richard Edgar <riedgar@microsoft.com>
Co-authored-by: Vinutha Karanth <vinutha.karanth@gmail.com>

* Fix TypeError: Cannot read properties of undefined (reading 'treatAsCategorical')" (#1452)

* fix error on machines with pyspark installed where passed dataframe is not spark pandas (#1415)

* add postbuild branch trigger (#1417)

* Fix causal UI strings according to classification/regression tasks (#1419)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix description for model overview (#1425)

* fix description for model overview

* keep new description for new model overview

* fix failing to create error report when filter_features is empty list (#1421)

* filter out missing values from what if dropdown to prevent explanation dashboard from crashing (#1418)

* Remove |Set Value| blurb in case it is not availble in counterfactual panel (#1426)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add y-axis description to counterfactual feature importance chart (#1423)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* Add the user class name to causal UI strings (#1422)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add the user class name to causal UI strings

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* fix math.min / max for array size more than 10^7 (#1427)

Signed-off-by: Ke Xu <xuke@microsoft.com>

* upgrade pytest and lightgbm to try to fix random pytest segfault test failures (#1424)

s

* fix flaky notebook causing build failures by adding retry logic (#1431)

* Upper bound SciKit-Learn to address freeze in causal (#1432)

<!--- Provide a general summary of your changes in the Title above -->

## Description

Replaces #1429  to address #1430 . Causal analysis is getting stuck with the latest release of SciKit-Learn. This contains:

- Test case which gets stuck with SciKit-Learn 1.1.0
- Upper bound on SciKit-Learn in `requirements.txt`

## Checklist

<!--- Make sure to satisfy all the criteria listed below. -->

- [x] I have added screenshots above for all UI changes.
- [x] Documentation was updated if it was needed.
- [x] New tests were added or changes were manually verified.


Signed-off-by: Richard Edgar <riedgar@microsoft.com>

* fix dependency chart axis updating with incorrect values in explanation dashboard (#1437)

* fix codecov and widget test screenshot uploads (#1428)

* release raiwidgets and responsibleai v0.18.2 (#1439)

* fix (#1441)

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix cohort name conflict and not run few tests for AML (#1442)

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Few e2e tests changes to accommodate AML static tests (#1445)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix locators logic for string features -  data explorer and model statistics components (#1446)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Add more unittests RAI dashboard input class  (#1448)

* Add unit tests for ResponsibleAIDashboardInput

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add more tests

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix imports

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Address code review comments

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* more update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Update the way to get the length of elements obtained in e2e tests (#1450)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* skip what-if create tests for AML

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
Co-authored-by: Roman Lutz <romanlutz13@gmail.com>
Co-authored-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
Co-authored-by: Richard Edgar <riedgar@microsoft.com>

* remove randomness from notebooks

* small fixes

* lots of new IDs and tests

* make first set of tests work for first dataset

* Update predicted class value to uneditable text in counterfactual panel  (#1458)

* fix error on machines with pyspark installed where passed dataframe is not spark pandas (#1415)

* add postbuild branch trigger (#1417)

* Fix causal UI strings according to classification/regression tasks (#1419)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix description for model overview (#1425)

* fix description for model overview

* keep new description for new model overview

* fix failing to create error report when filter_features is empty list (#1421)

* filter out missing values from what if dropdown to prevent explanation dashboard from crashing (#1418)

* Remove |Set Value| blurb in case it is not availble in counterfactual panel (#1426)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add y-axis description to counterfactual feature importance chart (#1423)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* Add the user class name to causal UI strings (#1422)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add the user class name to causal UI strings

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>

* fix math.min / max for array size more than 10^7 (#1427)

Signed-off-by: Ke Xu <xuke@microsoft.com>

* upgrade pytest and lightgbm to try to fix random pytest segfault test failures (#1424)

s

* fix flaky notebook causing build failures by adding retry logic (#1431)

* Upper bound SciKit-Learn to address freeze in causal (#1432)

<!--- Provide a general summary of your changes in the Title above -->

## Description

Replaces #1429  to address #1430 . Causal analysis is getting stuck with the latest release of SciKit-Learn. This contains:

- Test case which gets stuck with SciKit-Learn 1.1.0
- Upper bound on SciKit-Learn in `requirements.txt`

## Checklist

<!--- Make sure to satisfy all the criteria listed below. -->

- [x] I have added screenshots above for all UI changes.
- [x] Documentation was updated if it was needed.
- [x] New tests were added or changes were manually verified.


Signed-off-by: Richard Edgar <riedgar@microsoft.com>

* fix dependency chart axis updating with incorrect values in explanation dashboard (#1437)

* fix codecov and widget test screenshot uploads (#1428)

* release raiwidgets and responsibleai v0.18.2 (#1439)

* fix (#1441)

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix cohort name conflict and not run few tests for AML (#1442)

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Few e2e tests changes to accommodate AML static tests (#1445)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Fix locators logic for string features -  data explorer and model statistics components (#1446)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* lintfix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* fix

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* Add more unittests RAI dashboard input class  (#1448)

* Add unit tests for ResponsibleAIDashboardInput

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add more tests

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix imports

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Address code review comments

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Update the way to get the length of elements obtained in e2e tests (#1450)

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* skip what-if create tests for AML

Signed-off-by: vinutha karanth <vinutha.karanth@gmail.com>

* update cf predicted class to non-editable text

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
Co-authored-by: Roman Lutz <romanlutz13@gmail.com>
Co-authored-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
Co-authored-by: Richard Edgar <riedgar@microsoft.com>
Co-authored-by: Vinutha Karanth <vinutha.karanth@gmail.com>

* document e2e-widget options in CONTRIBUTING.md and flightCombinations in e2e-widget.js

* lintfix

* fix torch bytetensor input type

* torch manual seed instead of set_rng_state

* modularize e2e-widget script and propagate changes into github actions workflow, remove postbuild triggers, split pipeline into two

* fix pipeline naming

* remove commas

* remove erroneous comma

* single quotes

* rename folder

* CensusClassificationModelDebugging -> CensusClassificationModelAssessment

* ignore csv files

* clean up remaining renaming operations from debugging -> assessment

* update CONTRIBUTING.md, use flighting data, add adjustments for binary classification

* diabetes decision making notebook updates to tests

* rename test folder to match notebook name, add housing decision making test cases

* add multiclass dnn model debugging test case

* lintfix

* merge follow-up

* lintfix

* notebook and test case naming: assessment -> debugging

* add only naming changes

* lintfix

* cleanup

Co-authored-by: Ilya Matiach <ilmat@microsoft.com>
Co-authored-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
Co-authored-by: Richard Edgar <riedgar@microsoft.com>
Co-authored-by: Vinutha Karanth <vinutha.karanth@gmail.com>
Co-authored-by: tongy-msft <91754176+tongyu-microsoft@users.noreply.github.com>
2022-06-19 20:15:45 +00:00
xuke444 91a3bd1a59
add js and raiwidget coverage (#1133)
* add coverage

Signed-off-by: Ke xu <xuke@microsoft.com>

* update pytest

Signed-off-by: Ke xu <xuke@microsoft.com>

* add coverage

Signed-off-by: Ke xu <xuke@microsoft.com>

* add example

Signed-off-by: Ke xu <xuke@microsoft.com>
2022-01-21 14:58:13 -08:00
xuke444 2214bc7fd4
Xuke/adde2e (#982)
* add e2e for widget notebook
2021-10-30 00:37:32 -07:00
Richard Edgar feadcc7164
Add soft limit to test data in ModelAnalysis (#859)
Performance of `ModelAnalysis` tends to fall off past 5k rows in the test data, so add a soft limit on this.

Signed-off-by: Richard Edgar <riedgar@microsoft.com>
2021-09-14 17:43:04 -04:00
Chris Gregory 82e988eee7
Ignore all local package builds (#621) 2021-06-21 21:40:58 -07:00
xuke444 9a0dc9e7cf
add vscode debugger (#596)
* add vscode debugger

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add cd

Signed-off-by: Ke Xu <xuke@microsoft.com>

* skip js publish for pull request

Signed-off-by: Ke Xu <xuke@microsoft.com>

* update id

Signed-off-by: Ke Xu <xuke@microsoft.com>
2021-06-10 11:20:42 -07:00
Roman Lutz 0ebe64d326
Add static landing page copying to makefile to fix make html command (#360)
* add static landing page copying to makefile

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add -r option for cp command

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2021-02-24 09:39:26 -08:00
Roman Lutz f202cad09e
add notebook tests (#336)
* first set of notebook tests

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove zip files

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove csv

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* litnfix

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove 3.8

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add widget build

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove numbers that cause errors

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2021-02-23 14:11:25 -08:00
Roman Lutz 7fd0f58043
Set up API docs through GitHub Pages (#344)
* add basic API docs

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add github pages workflow

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* flake8

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* adjust name

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* lintfix

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix version and reference it in conf.py

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove fairlearn references from conf.py

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add comment back

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2021-02-17 21:17:40 -08:00
xuke444 459dbb533a
error out on circular dependency (#320)
* error out on circular dependency

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove wrong comment

Signed-off-by: Ke Xu <xuke@microsoft.com>

Co-authored-by: Roman Lutz <rolutz@microsoft.com>
2021-02-10 12:02:03 -08:00
Roman Lutz 871b3904c7
Add preliminary release definition, update gitignore (#263)
* add preliminary release definition, update gitignore

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* prettier

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add tests

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove id

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2021-01-11 18:36:08 -08:00
Ilya Matiach 853f5153da
add tooltip to matrix filter and tree view (#169) 2020-12-09 22:38:52 -05:00
Roman Lutz e46918ee56
Merge branch 'main' of https://github.com/microsoft/responsible-ai-widgets into rolutz/check_for_metrics_before_showing_charts; (#137)
add simple fairness walkthrough test, rename ts files to spec.ts

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2020-11-06 23:51:59 -08:00
xuke444 a01265f1ac
move js outside from python (#118)
* add app

Signed-off-by: Ke Xu <xuke@microsoft.com>

* rename

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add fetch

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove unused

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove old js

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* merge difference

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove comments

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove supported parity keys as input parameter since they're predefined anyway

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* lintfix

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix flake

Signed-off-by: Ke Xu <xuke@microsoft.com>

Co-authored-by: Roman Lutz <rolutz@microsoft.com>
2020-10-27 19:47:14 -07:00
Ilya Matiach ffd2fc9743
fix line length (#112) 2020-10-19 14:14:30 -04:00
Roman Lutz 838fcd3179
Add raiwidgets Python package with FairnessDashboard (#93)
* initial commit for package setup

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* update static files

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* latest updates to move to flask

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* trying a few more things to get viz to show up

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* almost working version (data formatting issues for metrics call remain)

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* prettier changes

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* lintfix

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* convert float types to str to make them work with jsonfiy

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fairlearn -> fairness renaming

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fairlearnboard -> raiwidgets

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fairlearn -> fairness, fairlearnboard -> raiwidgets

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* rebuilt widget

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix malformed html template mustache,  main.js scope for RenderDashboard, passing of withCredentials param, raiwidgets name

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* upgrade lodash and core-js to avoid GitHub warnings

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* dependencies update

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* comment out calculateMetrics

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* adjust gitignore, setup.py, remove notebooks

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* flake8

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove strict fairlearn dependency, add test to ensure we tell user to install fairlearn

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* flake8

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* prettier & prettierignore html template because it breaks the required mustache format

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* initial CI for raiwidgets

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* standardize requirements-dev.txt name

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* prettier

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix rai core flask package name in requirements file

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix package name

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* try non-editable install

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* make setup.py work without import

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add pytest-mock dependency

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* add mock package

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2020-10-09 13:54:44 -07:00
Roman Lutz 6cf9321dd6
remove files that should not be in the repo (#81)
* remove files that should not be in the repo

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* explicitly ignore pycache

Signed-off-by: Roman Lutz <rolutz@microsoft.com>
2020-09-28 14:44:56 -07:00
Roman Lutz 81d2e45cc9
Port fairness dashboard changes from Fairlearn repository (#25)
* document development process and improve existing README

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* gitignore update for node modules, check in lock files

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* copy Chinmay's changes from https://github.com/fairlearn/fairlearn/pull/283

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* sync changes

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* get everything working by resolving compile errors after merge

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* v1 and v2 side by side, apps just uses v1 so far

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* Xuke/fix warning (#17)

fix warning in build(circular dependency)
added a sample e2e
added a sample ut

* Xuke/fixbuild (#18)

Fix build
Provided rollup override to fix "this" is not defined error.

* Xuke/downgradepkgversion (#19)

fix plotly issue that render line charts instead of bar charts
use caret package version to give consumer flexibility on package version.

* updated yarn.lock

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* Xuke/removescss (#20)

Convert scss to css over js
Added lint rule for file name

* v1/v2 for all props, Apps to allow switching from v1 to v2

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* update test snapshot

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* Xuke/fixbuildandpublish (#21)

fix build and publish pr/master to blob storage

* Modifications for Flask wrapper to re-order initialization parameters and more explicit logic about order of precedence of environments and other typo fixes (#22)

* update snapshot

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* Correctly break out of the loop when a free port is detected, and raise an error if the port is explicitly requested and not free (#24)

* remove yarn.lock in fairlearn lib

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove yarn.lock

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove package-lock.json

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* lintfixes

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* prettier formatting

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* move localization for v1 out, adjust reference location in code

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* merge v2 localization strings in (english only) and rename the ones with changes from v1 to v2 to "legacy"

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove unused predictiontype and make state public to make dashboard-e2e pass

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* pull fairness props out of v1/v2 folders

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix issue with precomputed metrics

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* remove eslint exception for unused args and remove args if they're unused and the last arg

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* lint

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* fix typo

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

* undo gitignore change for note_modules dirs

Signed-off-by: Roman Lutz <rolutz@microsoft.com>

Co-authored-by: KeXu444 <40614413+KeXu444@users.noreply.github.com>
Co-authored-by: ilmarinen <fernandes.praphat@gmail.com>
2020-08-20 00:28:05 -07:00
KeXu444 f0b28f7cb0
Xuke/add mono repo (#7)
* add monorepo

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add react

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add lib

Signed-off-by: Ke Xu <xuke@microsoft.com>

* move ml chart lib

Signed-off-by: Ke Xu <xuke@microsoft.com>

* change to use style over js

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add type

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add external

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* remove old folder

Signed-off-by: Ke Xu <xuke@microsoft.com>

* move interpret

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* move fairlearn

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* move dashboard

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix eqeqeq

Signed-off-by: Ke Xu <xuke@microsoft.com>

* merger settings and plugin

Signed-off-by: Ke Xu <xuke@microsoft.com>

* merge rules and add array return

Signed-off-by: Ke Xu <xuke@microsoft.com>

* turn on more lint rule and fix

Signed-off-by: Ke Xu <xuke@microsoft.com>

* more rules

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add router

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix css

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix yarn start

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix import lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix office fabric import

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix office fabric

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix quote

Signed-off-by: Ke Xu <xuke@microsoft.com>

* array type

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix constructor

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fir member order

Signed-off-by: Ke Xu <xuke@microsoft.com>

* add no-unbound linter

Signed-off-by: Ke Xu <xuke@microsoft.com>

* move files

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix bind lint

Signed-off-by: Ke Xu <xuke@microsoft.com>

* comment out unused function

Signed-off-by: Ke Xu <xuke@microsoft.com>

* fix build

Signed-off-by: Ke Xu <xuke@microsoft.com>
2020-08-03 17:38:17 -07:00