{"uid":"cap_OBu92ATBrXhYJ0xNMkI86","slug":"contract-milestones-adjacent-row-changes-secondary-measure-weighted-bb1e3060","name":"Contract Milestones — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Contract milestones — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied contract milestones records (completed_items, planned_items). 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-11-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","completed_items","planned_items"],"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},"planned_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","planned_items":1,"completed_items":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","planned_items":2,"completed_items":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","planned_items":3,"completed_items":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","planned_items":4,"completed_items":30}],"maxItems":200,"minItems":1},"field":{"enum":["completed_items","planned_items"],"type":"string","default":"completed_items"}}},"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_8KrzlqUKuB4WfNOeIDa7G","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 adjacent row-to-row changes and a secondary-measure weighted mean for contract milestone records (completed_items, planned_items) on up to 200 supplied rows.","exampleAgentPrompt":"I have 4 rows of contract milestone data for groups A and B from October 2026 — row-1 group-a 2026-10-01 completed=10 planned=1, row-2 group-b 2026-10-02 completed=20 planned=2, row-3 group-a 2026-10-03 completed=15 planned=3, row-4 group-b 2026-10-04 completed=30 planned=4 — can you run adjacent row change analysis and a secondary-measure weighted mean on the completed_items field?","exampleUseCases":[{"title":"Sprint completion delta tracking","prompt":"I have weekly sprint milestone rows for two teams over 6 weeks with completed_items and planned_items — can you calculate the adjacent row changes and weighted mean for completed_items so I can see how delivery pace is shifting sprint over sprint?"},{"title":"Planned items weighted mean for contract audit","prompt":"Here are 12 rows of contract milestone records with dates, team groups, completed_items, and planned_items. Run me the adjacent row change report and secondary-measure weighted mean on planned_items so I can audit whether planning targets are consistent across the contract."},{"title":"Cross-team milestone progress comparison","prompt":"I've got milestone data for group-alpha and group-beta across 20 dates — completed_items and planned_items filled in for each row. Please compute the adjacent differences and weighted mean for completed_items so I can compare momentum between the two teams."}],"resultDescription":"Two analytical reports derived from the supplied milestone rows: (1) an adjacent row changes report showing the sequential delta between consecutive rows for the selected field, and (2) a secondary-measure weighted mean using the complementary measure as weights. Both reports are computed locally on up to 200 supplied rows with no external lookups.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, date, completed_items, planned_items) cause row-level errors","Invalid date format (not YYYY-MM-DD) triggers validation failure","Null values in the primary or secondary measure fields may produce partial or undefined weighted mean results","Field enum value outside 'completed_items' or 'planned_items' causes schema validation error"],"whenToPreferThis":"Use this endpoint when you have tabular contract milestone records with completed_items and planned_items and need both a sequential row-difference analysis and a weighted mean statistic in a single low-cost call. Prefer it over generic spreadsheet tools when you want structured JSON output for both reports simultaneously without writing custom analytics code. It is ideal for small-to-medium datasets (up to 200 rows) where you want reproducible, deterministic local computation without any live data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:48:36.235Z","isFirstParty":false,"canonicalSlug":"contract-milestones-adjacent-row-changes-secondary-measure-weighted-bb1e3060"}