# @responsible-ai/fairlearn

> This project provides responsible AI user interfaces for [Fairlearn](https://fairlearn.github.io) and [interpret-community](https://interpret.ml), as well as foundational building blocks that they rely on.

Latest version **0.1.4** (published 2020-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @responsible-ai/fairlearn
pnpm add @responsible-ai/fairlearn
yarn add @responsible-ai/fairlearn
bun add @responsible-ai/fairlearn
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-09-11 |
| First published | 2020-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | romanlutz, carlx444 |

## Links

- npm: https://www.npmjs.com/package/@responsible-ai/fairlearn
- npm.io page: https://npm.io/package/@responsible-ai/fairlearn

## Dependencies (10)

- [uuid](https://npm.io/package/uuid.md) ^3.3.2
- [react](https://npm.io/package/react.md) ^16.12.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [moment](https://npm.io/package/moment.md) ^2.24.0
- [jmespath](https://npm.io/package/jmespath.md) ^0.15.0
- [plotly.js](https://npm.io/package/plotly.js.md) ^1.48.0
- [localized-strings](https://npm.io/package/localized-strings.md) ^0.2.4
- [office-ui-fabric-react](https://npm.io/package/office-ui-fabric-react.md) ^7.117.0
- [@responsible-ai/core-ui](https://npm.io/package/@responsible-ai/core-ui.md) 0.0.5
- [@responsible-ai/mlchartlib](https://npm.io/package/@responsible-ai/mlchartlib.md) 0.0.6

## Recent versions

- 0.1.4 (latest) — 2020-09-11
- 0.1.3 — 2020-09-05
- 0.1.2 — 2020-09-04
- 0.1.1 — 2020-08-25
- 0.1.0 — 2020-08-25
- 0.0.4 — 2020-08-13
- 0.0.3 — 2020-08-12
- 0.0.2 — 2020-08-07
- 0.0.1 — 2020-08-07

## README

# Responsible AI Core

This project provides responsible AI user interfaces for
[Fairlearn](https://fairlearn.github.io) and
[interpret-community](https://interpret.ml), as well as foundational building
blocks that they rely on.

These include

- a shared service layer which also maintains utilities to
  determine the environment that it is running in so that it can configure the
  local flask service accordingly.
- a base typescript library with common controls used across responsible AI
  dashboards

## Contributing

### Contributor license agreement

This project welcomes contributions and suggestions. Most contributions
require you to agree to a Contributor License Agreement (CLA) declaring that
you have the right to, and actually do, grant us the rights to use your
contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether
you need to provide a CLA and decorate the PR appropriately (e.g., status
check, comment). Simply follow the instructions provided by the bot. You will
only need to do this once across all repos using our CLA.

If you have previously committed changes that were not signed follow
[these steps](https://dev.to/jrushlow/oops-i-forgot-to-sign-my-commit-from-last-monday-2jke)
to sign them retroactively after setting up your GPG key as described in the
[GitHub documentation](https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification).

### Code of conduct

This project has adopted the
[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the
[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any
additional questions or comments.

### Development process

For all further steps `yarn install` is a prerequisite.

To run the dashboards locally run the following from the root of the
repository on your machine:

```
yarn start
```

which can take a few seconds before printing out

```
$ nx serve

> nx run dashboard:serve
**
Web Development Server is listening at http://localhost:4200/
**
```

at which point you can follow the link to your browser and select the
dashboard of your choice.

To check for linting issues and auto-apply fixes where possible run

```
yarn lintfix
```

To build a specific app run

```
yarn build <app-name>  // e.g. fairlearn, interpret
```

or alternatively `yarn buildall` to build all of them. Since most apps have
dependencies on `mlchartlib` it makes sense to run `yarn buildall` at least
once.

#### Debugging

There are several different ways to debug the dashboards:

1. Use Chrome +
   [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi).
   The debugging experience can be a bit flaky at times, but when it works it
   allows you to set breakpoints and check all variables at runtime.

2. Adding `console.log(...)` statements and check the console during
   execution. Please remember to remove the statements later on.

3. Alternatively, you can set objects as part of `window` to inspect them
   through the console at runtime (as opposed to having to specify what to
   print with `console.log` at compile time).

---
_Source: https://npm.io/package/@responsible-ai/fairlearn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
