{"uid":"cap_XGuRCDm1eITEGbqnbeLPs","slug":"elevation-samples-numeric-row-ordering-weighted-mean-analytics-832a2a77","name":"Elevation Samples — Numeric Row Ordering & Weighted Mean Analytics","description":"Elevation samples — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied elevation samples records (elevation_m, sample_weight). 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-weather-13-121?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"}}},"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_Gwf3UhRArwKc_AZf_FhlI","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 numeric row ordering and secondary-measure weighted mean across up to 200 elevation sample records (elevation_m, sample_weight) without any live data lookup.","exampleAgentPrompt":"Can you compute the numeric row ordering and weighted mean for my elevation samples? I have 4 rows: row-1 on 2026-10-01 with elevation_m 10 and sample_weight 1 in group-a, row-2 on 2026-10-02 with elevation_m 20 and sample_weight 2 in group-b, row-3 on 2026-10-03 with elevation_m 15 and sample_weight 3 in group-a, and row-4 on 2026-10-04 with elevation_m 30 and sample_weight 4 in group-b — use elevation_m as the primary field.","exampleUseCases":[{"title":"Ranking elevation station readings","prompt":"I have 50 elevation sensor readings from different stations with their sample weights — can you rank them numerically by elevation_m and calculate the weighted mean across all readings?"},{"title":"Weighted mean for survey sample batches","prompt":"I've collected elevation measurements from two survey groups over the past week, each with a sample weight. Can you order the rows by elevation value and give me the weighted average elevation using those weights?"},{"title":"Quality check on elevation dataset ordering","prompt":"I need to verify the numeric ordering and weighted mean of my elevation dataset before I submit it — here are 12 rows with their station groups, dates, elevation_m values, and sample_weights. Can you run both reports on the elevation_m field?"}],"resultDescription":"Returns two analytical reports for the supplied elevation sample rows: (1) numeric row ordering of records by the selected field (elevation_m or sample_weight), and (2) a secondary-measure weighted mean computed using sample_weight as the weighting factor. No external data is fetched; all computation is local to the analytical engine.","failureModes":["More than 200 rows submitted — request rejected due to maxItems constraint","Missing required fields (row_id, elevation_m, sample_weight, date, station_group) cause validation errors","Invalid date format (must match YYYY-MM-DD) triggers schema rejection","Null values for elevation_m or sample_weight may affect weighted mean computation","Field enum value outside 'elevation_m' or 'sample_weight' causes input rejection"],"whenToPreferThis":"Choose this endpoint when you have tabular elevation measurement data (up to 200 rows) and need both a numeric row ranking and a weighted mean computed locally without any live API lookups, predictions, or external data enrichment. It is well-suited for preprocessing or auditing elevation survey datasets before further analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T00:41:06.435Z","isFirstParty":false,"canonicalSlug":"elevation-samples-numeric-row-ordering-weighted-mean-analytics-832a2a77"}