check_bias
Detect class imbalance, sampling bias, and disparate impact in datasets. Specify outcome and protected attributes to assess fairness.
Instructions
Class imbalance + sampling bias + (with hints) disparate impact (Level 5).
Always runs class-balance (2-20 cardinality cats) and chi-square sampling
bias. With both `outcome_column` + `protected_attributes`, also runs the
80%-rule disparate-impact ratio. Output size: small.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_id": "<source_id>"
},
"name": "check_bias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| outcome_column | No | ||
| protected_attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||