{"uid":"cap_YkSUchPthfrVINvFQyIbN","slug":"numeric-precision-comparisons-equal-width-histogram-secondary-measure-5fbce339","name":"Numeric Precision Comparisons — Equal-Width Histogram + Secondary-Measure Weighted Mean","description":"Numeric precision comparisons — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied numeric precision comparisons records (source_value, transformed_value). 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-20-172?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","dataset_group","date","source_value","transformed_value"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"transformed_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_value":10,"dataset_group":"group-a","transformed_value":1},{"date":"2026-10-02","row_id":"row-2","source_value":20,"dataset_group":"group-b","transformed_value":2},{"date":"2026-10-03","row_id":"row-3","source_value":15,"dataset_group":"group-a","transformed_value":3},{"date":"2026-10-04","row_id":"row-4","source_value":30,"dataset_group":"group-b","transformed_value":4}],"maxItems":200,"minItems":1},"field":{"enum":["source_value","transformed_value"],"type":"string","default":"source_value"}}},"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_wNoKaakwLB3u_nuHcK-3Q","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":"Runs two local analytical reports on numeric precision comparison data: an equal-width histogram of a chosen field and a secondary-measure weighted mean, for up to 200 rows of source/transformed value pairs.","exampleAgentPrompt":"I have 4 rows of precision comparison data — row-1 (group-a, 2026-10-01, source=10, transformed=1), row-2 (group-b, 2026-10-02, source=20, transformed=2), row-3 (group-a, 2026-10-03, source=15, transformed=3), row-4 (group-b, 2026-10-04, source=30, transformed=4) — can you run an equal-width histogram with 5 bins on the source_value field and also compute the secondary-measure weighted mean for those records?","exampleUseCases":[{"title":"Distribution check after ETL transformation","prompt":"I ran an ETL job and want to see how my source values are distributed — I have 80 rows with source_value and transformed_value. Can you build an equal-width histogram with 10 bins on the source_value field and also give me the weighted mean using transformed_value as the secondary measure?"},{"title":"Data quality audit on precision drift","prompt":"I'm auditing numeric precision across 150 records where each row has a source_value and a transformed_value. Run a 5-bin histogram on transformed_value and compute the secondary-measure weighted mean so I can spot where values drifted most."},{"title":"Summarizing sensor calibration comparison data","prompt":"I have calibration data — 60 rows with original sensor readings as source_value and calibrated readings as transformed_value, grouped by sensor_id as dataset_group. Give me an equal-width histogram with 8 bins on source_value and the weighted mean report for all records."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram dividing the chosen field (source_value or transformed_value) into up to 30 bins with counts per bin, and (2) a secondary-measure weighted mean where one numeric field weights the other. All computation is local with no external lookups.","failureModes":["Fewer than 1 row submitted returns a validation error","More than 200 rows submitted exceeds the maximum and is rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","bins value outside 1–30 range is rejected","source_value or transformed_value outside ±1,000,000,000,000 is rejected","Missing required fields (row_id, dataset_group, date, source_value, transformed_value) cause row-level validation errors"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous statistical reports — a histogram and a weighted mean — on numeric precision comparison data (source vs transformed values) in a single $0.01 call for up to 200 rows. Prefer it over general-purpose analytics tools when you want a lightweight, locally computed, schema-validated dual-report with no external dependencies or live data lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:39.118Z","isFirstParty":false,"canonicalSlug":"numeric-precision-comparisons-equal-width-histogram-secondary-measure-5fbce339"}