83trust / 100

Bias Audit

by aialign.halowerk.com in Security & trust

x402 APIPassing, checked 2 h ago

Calculates each group positive-outcome rate, compares it with an explicit or automatically selected reference group, and reports rate differences and selection-rate ratios. Aggregate disparity metrics do not establish discrimination, fairness, causation or legal compliance and can conceal intersectional or sampling effects.

POST https://aialign.halowerk.com/v1/bias-audit

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
116 ms typical, 116 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://aialign.halowerk.com/v1/bias-audit" \
  -H "content-type: application/json" \
  -d '{"groups":[{"group_id":"group-a","positive_count":310,"total_count":500},{"group_id":"group-b","positive_count":210,"total_count":420},{"group_id":"group-c","positive_count":228,"total_count":380}],"minimum_selection_rate_ratio":0.8,"reference_group_id":"group-a"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faialign.halowerk.com%2Fv1%2Fbias-audit
const res = await pay("https://aialign.halowerk.com/v1/bias-audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"groups":[{"group_id":"group-a","positive_count":310,"total_count":500},{"group_id":"group-b","positive_count":210,"total_count":420},{"group_id":"group-c","positive_count":228,"total_count":380}],"minimum_selection_rate_ratio":0.8,"reference_group_id":"group-a"}),
});
console.log(await res.json());

Example input

{
  "groups": [
    {
      "group_id": "group-a",
      "positive_count": 310,
      "total_count": 500
    },
    {
      "group_id": "group-b",
      "positive_count": 210,
      "total_count": 420
    },
    {
      "group_id": "group-c",
      "positive_count": 228,
      "total_count": 380
    }
  ],
  "minimum_selection_rate_ratio": 0.8,
  "reference_group_id": "group-a"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402116 ms$0.004