{"uid":"cap_1Wbvm0GP8mM02mvMBibS5","slug":"document-workflow-two-measure-correlation-765dc8ed","name":"Document Workflow Two-Measure Correlation","description":"Document workflow - Two-measure correlation: Two-measure correlation for Document workflow. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded two-measure correlation deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-document-workflow-correlation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","department","date","documents","processing_minutes"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"department":{"type":"string","default":"","maxLength":80},"processing_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","documents":10,"department":"group-a","processing_minutes":1},{"date":"2026-10-02","row_id":"row-2","documents":20,"department":"group-b","processing_minutes":2},{"date":"2026-10-03","row_id":"row-3","documents":15,"department":"group-a","processing_minutes":3},{"date":"2026-10-04","row_id":"row-4","documents":30,"department":"group-b","processing_minutes":4}],"maxItems":200,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MeSjqPtV4sjTR4SWcZh0-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the statistical correlation between two numeric measures (documents and processing_minutes) across document workflow records, returning a correlation coefficient and data-quality summary.","exampleAgentPrompt":"Can you calculate the correlation between document volume and processing minutes for my workflow data? Here are the records: row-1 on 2024-01-15 from group-a with 45 documents and 12.5 processing minutes, row-2 on 2024-01-16 from group-b with 80 documents and 22.3 minutes, row-3 on 2024-01-17 from group-a with 30 documents and 8.1 minutes.","exampleUseCases":[{"title":"Productivity bottleneck analysis","prompt":"I have 50 rows of daily document processing data for my team — each has a date, department, number of documents handled, and minutes taken. Can you run a correlation to see how strongly document volume predicts processing time?"},{"title":"Department workload efficiency review","prompt":"We track documents processed and time spent per department each day. Here are 30 data rows across group-a and group-b for Q1 — can you compute the correlation between document count and processing minutes so I can tell which teams scale efficiently?"},{"title":"Workflow capacity planning check","prompt":"Before I build a staffing model, I need to know if there's a strong correlation between the number of documents ingested and processing time in our system. I have 120 historical records with row IDs, dates, departments, document counts, and processing durations — can you run the two-measure correlation on this dataset?"}],"resultDescription":"Returns a correlation coefficient (typically Pearson r) quantifying the linear relationship between the documents and processing_minutes fields across the supplied rows, along with data-quality indicators such as valid record count, null handling notes, and possibly a qualitative strength label (e.g. weak/moderate/strong). All processing is local and numeric — no external enrichment is applied.","failureModes":["Fewer than 1 row supplied — returns validation error","More than 200 rows supplied — exceeds maxItems limit, returns error","Missing required fields (row_id, department, date, documents, processing_minutes) on any row — schema validation failure","All documents or processing_minutes values are null — insufficient numeric data for correlation","Constant values in one measure (zero variance) — correlation is undefined, may return NaN or error","Invalid date format not matching YYYY-MM-DD pattern — schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, self-contained statistical correlation between document volume and processing time in a document workflow context, with up to 200 typed records, and you do not need external data enrichment, forecasting, or multi-variable regression. It is ideal for lightweight operational analytics where the two measures of interest are precisely documents and processing_minutes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:30.193Z","isFirstParty":false,"canonicalSlug":"document-workflow-two-measure-correlation-765dc8ed"}