{"uid":"cap_YJ8ECfcnpBZN5qoqYPOyT","slug":"travel-administration-numeric-row-ordering-two-measure-correlation-c98ee495","name":"Travel Administration — Numeric Row Ordering + Two-Measure Correlation","description":"Travel administration — Numeric row ordering + Two-measure correlation: Numeric row ordering + Two-measure correlation for supplied travel administration records (trip_count, recorded_cost). 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-14-120?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"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},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":20,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":15,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":30,"recorded_cost":4}],"maxItems":200,"minItems":1},"field":{"enum":["trip_count","recorded_cost"],"type":"string","default":"trip_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_76NiZ5ZLBZJRoYZkY6J2J","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":"Sorts travel administration records by a chosen numeric measure and computes the Pearson correlation between trip_count and recorded_cost for up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have 150 travel admin records with team group, date, trip_count, and recorded_cost — can you rank them by trip_count and also tell me the correlation between trip_count and recorded_cost?","exampleUseCases":[{"title":"Rank teams by travel frequency","prompt":"Here are our Q3 travel records across 8 team groups — each row has a date, trip_count, and recorded_cost. Sort them by trip_count so I can see which teams traveled most, and also compute the correlation between trips and cost."},{"title":"Audit cost vs trip relationship","prompt":"I've got 80 rows of corporate travel data with trip counts and recorded costs. Can you rank them by recorded_cost and calculate how strongly trip frequency correlates with spend?"},{"title":"Monthly travel summary ordering","prompt":"We have 120 monthly travel entries for different departments — please order them by trip_count and show me whether there's a meaningful correlation between the number of trips and the recorded cost."}],"resultDescription":"Returns two analytical reports: (1) the input rows sorted in numeric order by the selected field (trip_count or recorded_cost), and (2) a Pearson correlation coefficient (and supporting statistics) between trip_count and recorded_cost across all supplied rows. No external data is fetched; all computation is performed on the supplied rows only.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — rejected, exceeds limit","Missing required fields (row_id, date, trip_count, recorded_cost) in any row — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Null values in both measures may produce undefined correlation — partial result or NaN","field enum value not in ['trip_count','recorded_cost'] — validation error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 travel administration records and need both a numeric ranking of rows by a chosen measure AND a correlation analysis between trip_count and recorded_cost — all in a single low-cost call ($0.01 USDC). Prefer it over general analytics tools when your data is already structured in the required schema and you want a lightweight, deterministic, offline computation with no external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:24.811Z","isFirstParty":false,"canonicalSlug":"travel-administration-numeric-row-ordering-two-measure-correlation-c98ee495"}