{"uid":"cap_4BAWdEZ2dwpP04l8HVLbi","slug":"survey-response-weights-duplicate-key-report-adjacent-row-changes-dbb5a2c0","name":"Survey Response Weights — Duplicate Key Report + Adjacent Row Changes","description":"Survey response weights — Duplicate key report + Adjacent row changes: Duplicate key report + Adjacent row changes for supplied survey response weights records (response_value, 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-economics-24-062?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","response_value","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"response_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","sample_weight":1,"response_value":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","sample_weight":2,"response_value":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","sample_weight":3,"response_value":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","sample_weight":4,"response_value":30}],"maxItems":200,"minItems":1},"field":{"enum":["response_value","sample_weight"],"type":"string","default":"response_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_wU1a5m8M03B5yMd8J8JWw","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":"Analyzes survey response weight records to produce two local reports: a duplicate key detection report and an adjacent row changes report, for up to 200 rows.","exampleAgentPrompt":"Check my survey response weight data for duplicate row IDs and flag adjacent row changes in the response_value field — here are the records: row-1 2026-10-01 group-a response 10 weight 1, row-2 2026-10-02 group-b response 20 weight 2, row-3 2026-10-03 group-a response 15 weight 3.","exampleUseCases":[{"title":"Survey data duplicate key audit","prompt":"I have 150 rows of survey response weight data and I need to check if any row IDs are duplicated — can you run a duplicate key report on the response_value field for me?"},{"title":"Adjacent weight change detection in panel data","prompt":"Can you analyze these survey records and tell me where sample_weight values change between consecutive rows? I want to see the adjacent row changes report across my 80-row dataset."},{"title":"Pre-analysis data quality check","prompt":"Before I run my weighted survey analysis, can you run both the duplicate key report and adjacent row changes check on my response_value column for these 200 survey records to make sure the data is clean?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_id values that appear more than once in the submitted dataset, and (2) an adjacent row changes report showing where the selected field (response_value or sample_weight) differs between consecutive rows. Both reports are computed locally against the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request rejected due to maxItems constraint","Missing required fields (row_id, region, date, response_value, sample_weight) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Numeric values outside the allowed range (-1,000,000,000,000 to 1,000,000,000,000) are rejected","Invalid field enum value (not response_value or sample_weight) causes schema error","Empty rows array (minItems: 1 violation) returns an error"],"whenToPreferThis":"Choose this endpoint when you need fast, offline-style duplicate key detection and adjacent row change analysis on survey response weight data specifically (response_value and sample_weight fields), without requiring any external data lookup or live prediction. It is ideal when you have up to 200 rows of survey records and want two reports in a single $0.01 USDC call. Prefer it over general-purpose data tools when you need structured, economics-domain reporting on weighted survey data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:41:07.062Z","isFirstParty":false,"canonicalSlug":"survey-response-weights-duplicate-key-report-adjacent-row-changes-dbb5a2c0"}