{"uid":"cap_83jTp1IehVWC5NY7wO4f3","slug":"survey-response-weights-duplicate-key-report-numeric-row-ordering-556eb3f9","name":"Survey Response Weights — Duplicate Key Report + Numeric Row Ordering","description":"Survey response weights — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering 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-058?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_oQrcELAc5EXIkHI8aMJUd","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 up to 200 survey response weight records to produce a duplicate key report and a numeric row ordering report for the response_value or sample_weight field.","exampleAgentPrompt":"Check my survey response weights dataset for duplicate row IDs and also give me the rows ordered numerically by sample_weight — here are my records: row-1, group-a, 2026-10-01, response_value 10, sample_weight 1; row-2, group-b, 2026-10-02, response_value 20, sample_weight 2; row-3, group-a, 2026-10-03, response_value 15, sample_weight 3.","exampleUseCases":[{"title":"Survey data deduplication audit","prompt":"I've got a batch of 80 survey response weight records and I need to know if any row IDs are duplicated — can you run a duplicate key report on them and also sort the rows by response_value so I can see the ranking?"},{"title":"Sample weight ordering for analysis","prompt":"Please take these 150 survey respondent records with their sample weights and generate a numeric ordering report ranked by sample_weight so I can identify the highest and lowest weighted respondents."},{"title":"Economics survey QA before weighting","prompt":"Before I apply weighting to my economics survey, can you check these 200 response records for any duplicate row IDs and also give me the rows ordered by response_value to spot any anomalies?"}],"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) a numeric row ordering report ranking all submitted rows by the selected field (response_value or sample_weight). Covers up to 200 rows per call with no external data lookups.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, region, date, response_value, sample_weight) cause item-level rejection","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Numeric values outside ±1,000,000,000,000 are rejected","Empty rows array returns an error","Invalid field enum value (not response_value or sample_weight) causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously audit a batch of survey response weight records for duplicate row identifiers AND produce a numeric ordering of rows by a specified field, all in a single API call without any external data enrichment or live lookups. Ideal for economics or social science survey pipelines where data quality checks and row ranking are needed before downstream weighted analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T12:42:06.319Z","isFirstParty":false,"canonicalSlug":"survey-response-weights-duplicate-key-report-numeric-row-ordering-556eb3f9"}