{"uid":"cap_nJEZbMSOgqJ5T0Xa9sO2B","slug":"dataset-partition-sizes-category-frequencies-secondary-measure-93a94c46","name":"Dataset Partition Sizes — Category Frequencies + Secondary-Measure Weighted Mean","description":"Dataset partition sizes — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied dataset partition sizes records (row_count, file_mb). 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-analytics-07-109?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","row_count","file_mb"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"file_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","file_mb":1,"row_count":10,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","file_mb":2,"row_count":20,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","file_mb":3,"row_count":15,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","file_mb":4,"row_count":30,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["row_count","file_mb"],"type":"string","default":"row_count"}}},"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_VbI5AXBYG1ThJh_z-5b4j","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 category frequencies and a secondary-measure weighted mean for dataset partition size records, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Analyze my dataset partition records — I have 4 rows with groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, row counts of 10, 20, 15, 30, and file sizes of 1, 2, 3, 4 MB — give me category frequencies and a weighted mean for the row_count field.","exampleUseCases":[{"title":"Data pipeline partition audit","prompt":"I have partition size logs for my ETL pipeline — 150 rows each tagged with a dataset_group, a date, a row_count, and a file_mb value. Can you compute how often each group appears and what the weighted mean row_count is across all partitions?"},{"title":"Storage skew detection by group","prompt":"Here are my dataset partition records for the last quarter — can you tell me the frequency of each dataset group and calculate the weighted average file_mb so I can spot which groups are contributing disproportionate storage?"},{"title":"Daily ingestion batch size summary","prompt":"I want a quick statistical summary of my ingestion batches grouped by dataset_group. I have 80 rows with row_id, date, row_count, and file_mb fields. Please compute the category frequencies and the weighted mean for file_mb."}],"resultDescription":"Returns two analytical reports: (1) category frequencies showing how often each dataset_group value appears in the submitted records, and (2) a weighted mean of the chosen secondary measure (row_count or file_mb) across the partitions. Both reports are computed locally with no external lookups.","failureModes":["Fewer than 1 row submitted — request rejected","More than 200 rows submitted — exceeds maximum limit","Missing required fields (row_id, dataset_group, date, row_count, file_mb) — validation error","Invalid date format (not YYYY-MM-DD) — pattern validation failure","field enum value not 'row_count' or 'file_mb' — rejected","Null values in row_count or file_mb may affect weighted mean calculation"],"whenToPreferThis":"Choose this endpoint when you have dataset partition size records tagged with categorical group labels and need two complementary statistical views — frequency counts per category and a weighted mean of a numeric measure — in a single low-cost call. Ideal for data engineers auditing pipeline partition distributions or detecting storage skew across dataset groups. Not suitable for time-series forecasting, external data lookups, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:37.864Z","isFirstParty":false,"canonicalSlug":"dataset-partition-sizes-category-frequencies-secondary-measure-93a94c46"}