# Community Survey String Normalisation and Secondary-Measure Weighted Mean

> Community Survey String Normalisation and 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).

Normalises string fields and computes a secondary-measure weighted mean across up to 200 community survey rows (response_count, invitation_count), returning 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-14-034?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/community-survey-string-normalisation-and-secondary-measure-weighted-ed5d08a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MZWG5pehOUHa1Cuw8AJeC

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 community-survey-string-normalisation-and-secondary-measure-weighted-ed5d08a9 -d '<json body>'
```

Example prompt: Can you run string normalisation and a secondary-measure weighted mean on these 4 community survey rows — the field I want to analyze is response_count, with channel groups group-a and group-b across dates 2026-10-01 to 2026-10-04, and give me both reports?

## When to prefer this

Choose this endpoint when you need both string normalisation and weighted mean computation on community survey data (response_count, invitation_count) in a single $0.01 call covering up to 200 rows and 2 reports, without requiring any external lookup or live data source.

## Known failure modes

- More than 200 rows submitted — request rejected due to maxItems limit
- Missing required fields (row_id, channel_group, date, response_count, invitation_count) — validation error returned
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Null numeric values for both response_count and invitation_count may reduce weighted mean reliability
- Payment not provided or insufficient USDC — x402 payment required error

## How this service works

Community survey — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied community survey records (response_count, invitation_count). 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

Two analytical reports per call: (1) a string normalisation report over the channel_group and other string fields in the supplied rows, and (2) a secondary-measure weighted mean of the chosen field (response_count or invitation_count) across up to 200 community survey records grouped by the available dimensions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/community-survey-string-normalisation-and-secondary-measure-weighted-ed5d08a9/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)
