# Research Task Completion — Duplicate Key Report + Secondary-Measure Weighted Mean

> Research Task Completion — Duplicate Key Report + 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-10-17).

Generates two analytical reports from research task completion data: a duplicate key report and a secondary-measure weighted mean, for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-22-067?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/research-task-completion-duplicate-key-report-secondary-measure-a9458e37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7NDmIkSriQwIlyUY0k7je

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 research-task-completion-duplicate-key-report-secondary-measure-a9458e37 -d '<json body>'
```

Example prompt: Can you run two quick reports on this task completion dataset — one to flag any duplicate row IDs and another to calculate the weighted mean of completed_tasks — I've got 4 rows with row_id, company_group, date, completed_tasks, and assigned_tasks?

## When to prefer this

Choose this endpoint when you need both a duplicate-key integrity check and a weighted mean statistic in a single API call on research task completion data (up to 200 rows). It is ideal when you want offline, deterministic analytics without any external lookup or live data dependencies. Prefer this over building custom scripts when the input conforms to the row_id/company_group/date/completed_tasks/assigned_tasks schema and you want both reports bundled for $0.01.

## Known failure modes

- Input array exceeds 200 rows — request will be rejected
- Missing required fields (row_id, company_group, date, completed_tasks, assigned_tasks) on any row
- Invalid date format (must be YYYY-MM-DD)
- field enum value not recognized — must be completed_tasks or assigned_tasks
- All values for the weight field are null or zero — weighted mean undefined
- Empty rows array submitted

## How this service works

Research task completion — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied research task completion records (completed_tasks, assigned_tasks). 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 independent reports: (1) a duplicate key report identifying any repeated row_id values across the supplied rows, and (2) a weighted mean of the specified field (completed_tasks or assigned_tasks) using the other measure as a weight — all computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/research-task-completion-duplicate-key-report-secondary-measure-a9458e37/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)
