{"uid":"cap_4jZ532D6-YjF9xLyLU0-Q","slug":"inventory-administration-equal-width-histogram-two-measure-correlation-187afe8f","name":"Inventory Administration — Equal-Width Histogram + Two-Measure Correlation","description":"Inventory administration — Equal-width histogram + Two-measure correlation: Equal-width histogram + Two-measure correlation for supplied inventory administration records (count_sessions, discrepancy_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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-operations-21-171?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","count_sessions","discrepancy_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"count_sessions":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"discrepancy_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","count_sessions":10,"discrepancy_count":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","count_sessions":20,"discrepancy_count":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","count_sessions":15,"discrepancy_count":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","count_sessions":30,"discrepancy_count":4}],"maxItems":200,"minItems":1},"field":{"enum":["count_sessions","discrepancy_count"],"type":"string","default":"count_sessions"}}},"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_3tuNMLXVwRsF7BT6SaDyi","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":"Generates an equal-width histogram for a selected inventory measure and a Pearson/rank correlation between count_sessions and discrepancy_count, using up to 200 supplied inventory records.","exampleAgentPrompt":"Can you run a histogram with 10 bins on the count_sessions field, plus a correlation between count_sessions and discrepancy_count, for these inventory records: row-1 / group-a / 2025-01-01 / 50 sessions / 3 discrepancies, row-2 / group-b / 2025-01-02 / 80 sessions / 7 discrepancies, row-3 / group-a / 2025-01-03 / 45 sessions / 2 discrepancies?","exampleUseCases":[{"title":"Session count distribution audit","prompt":"I have 120 rows of daily inventory data with session counts and discrepancy counts by team group. Can you build an equal-width histogram with 8 bins on count_sessions so I can see how sessions are spread across the range?"},{"title":"Discrepancy-session correlation check","prompt":"Run a two-measure correlation between count_sessions and discrepancy_count on my inventory records — I want to know if teams with more sessions also tend to have more discrepancies. I'll send you 90 rows of data."},{"title":"Weekly inventory analytics report","prompt":"Take these 200 rows of weekly inventory administration records and give me both a 5-bin histogram on discrepancy_count and the correlation between count_sessions and discrepancy_count, grouped by team."}],"resultDescription":"Returns two statistical reports: (1) an equal-width histogram showing bin boundaries and row counts for the chosen field (count_sessions or discrepancy_count) across up to 200 inventory rows, and (2) a two-measure correlation report quantifying the linear or rank relationship between count_sessions and discrepancy_count. No external data is fetched; all analysis runs on the supplied rows.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, date, count_sessions, discrepancy_count) cause validation errors","Null values in both measure columns may produce undefined correlation","Invalid date format (not YYYY-MM-DD) fails schema validation","bins value outside 1–30 range is rejected","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you have inventory administration tabular data (up to 200 rows) with session counts and discrepancy counts, and need both a frequency distribution histogram and a pairwise correlation between those two measures in a single low-cost call ($0.01 USDC). Prefer it over general analytics platforms when you want a fast, self-contained offline computation with no external data dependencies, and when your data fits the specific schema of row_id, team_group, date, count_sessions, and discrepancy_count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:47:30.152Z","isFirstParty":false,"canonicalSlug":"inventory-administration-equal-width-histogram-two-measure-correlation-187afe8f"}