# Build Artifacts Analytics — Two-Measure Correlation + Secondary-Measure Weighted Mean

> Build Artifacts Analytics — Two-Measure Correlation + Secondary-Measure Weighted Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Computes Pearson correlation between artifact_mb and build_seconds, plus a weighted mean of a chosen secondary measure, for up to 200 build artifact records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-game-14-181?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/build-artifacts-analytics-two-measure-correlation-secondary-measure-bad9dbc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WHhINqBgyJvk5MXfOMou4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability build-artifacts-analytics-two-measure-correlation-secondary-measure-bad9dbc1 -d '<json body>'
```

Example prompt: I have build artifact records with artifact sizes in MB and build durations in seconds for different game areas — can you compute the correlation between artifact_mb and build_seconds, and also give me the weighted mean of artifact_mb, for these rows: row-1 group-a 2026-10-01 artifact_mb=10 build_seconds=1, row-2 group-b 2026-10-02 artifact_mb=20 build_seconds=2, row-3 group-a 2026-10-03 artifact_mb=15 build_seconds=3?

## When to prefer this

Choose this endpoint when you have tabular build artifact records (up to 200 rows) with artifact size and build duration fields and need both a correlation and a weighted mean in a single call. It is best suited for lightweight, on-demand statistical analysis of CI/CD or game build pipeline data without requiring an external analytics platform or a full data warehouse query.

## Known failure modes

- Fewer than 1 row supplied — minimum row count not met
- More than 200 rows supplied — exceeds maxItems limit
- Missing required fields (row_id, date, artifact_mb, build_seconds) on any row
- Invalid date format (must match YYYY-MM-DD pattern)
- Null values in both measure columns making correlation undefined
- Payment not provided or insufficient — x402 payment required ($0.01 USDC)

## How this service works

Build artifacts — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied build artifacts records (artifact_mb, build_seconds). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) a Pearson correlation coefficient between artifact_mb and build_seconds across the supplied rows, and (2) a weighted mean of the selected secondary measure (artifact_mb or build_seconds). Both are computed locally from the submitted data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "game_area",
     "date",
     "artifact_mb",
     "build_seconds"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "game_area": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "artifact_mb": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "build_seconds": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "game_area": "group-a",
     "artifact_mb": 10,
     "build_seconds": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "game_area": "group-b",
     "artifact_mb": 20,
     "build_seconds": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "game_area": "group-a",
     "artifact_mb": 15,
     "build_seconds": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "game_area": "group-b",
     "artifact_mb": 30,
     "build_seconds": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "artifact_mb",
    "build_seconds"
   ],
   "type": "string",
   "default": "artifact_mb"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/build-artifacts-analytics-two-measure-correlation-secondary-measure-bad9dbc1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
