{"uid":"cap_Vu-Auh0ft3AOpCZVz_IIj","slug":"study-recruitment-numeric-row-ordering-and-secondary-measure-weighted-e50b685d","name":"Study Recruitment Numeric Row Ordering and Secondary-Measure Weighted Mean","description":"Study recruitment — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied study recruitment records (eligible_candidates, enrolled_candidates). 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-education-09-121?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","eligible_candidates","enrolled_candidates"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"eligible_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"enrolled_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","eligible_candidates":10,"enrolled_candidates":1},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","eligible_candidates":20,"enrolled_candidates":2},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","eligible_candidates":15,"enrolled_candidates":3},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","eligible_candidates":30,"enrolled_candidates":4}],"maxItems":200,"minItems":1},"field":{"enum":["eligible_candidates","enrolled_candidates"],"type":"string","default":"eligible_candidates"}}},"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_CtYOC4QYdNfy4SGtdnop0","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":"Performs numeric row ordering and secondary-measure weighted mean analysis on study recruitment data (eligible and enrolled candidates) for up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have study recruitment records for four course groups — row-1 group-a 2026-10-01 with 10 eligible and 1 enrolled, row-2 group-b 2026-10-02 with 20 eligible and 2 enrolled, row-3 group-a 2026-10-03 with 15 eligible and 3 enrolled, row-4 group-b 2026-10-04 with 30 eligible and 4 enrolled — can you sort these rows numerically by eligible_candidates and also give me the weighted mean of enrolled_candidates?","exampleUseCases":[{"title":"Ranking recruitment sites by eligibility","prompt":"I've got 12 recruitment site records with eligible and enrolled candidate counts by date and group — can you sort them numerically by eligible_candidates and give me the weighted mean for enrolled_candidates across all sites?"},{"title":"Comparing course group enrollment performance","prompt":"Here are 50 study recruitment rows across three course groups with dates, eligible candidates, and enrolled candidates — please rank them by enrolled_candidates numerically and compute the weighted mean of eligible_candidates so I can see which groups are performing best."},{"title":"Monthly recruitment trend summary","prompt":"I have 30 rows of monthly recruitment data for our clinical trial with fields for date, course_group, eligible_candidates, and enrolled_candidates — can you give me numeric row ordering by eligible_candidates and a weighted mean of enrolled_candidates for the whole dataset?"}],"resultDescription":"Returns two analytical reports: (1) the input rows reordered numerically by the specified measure (eligible_candidates or enrolled_candidates), and (2) a weighted mean calculation of the secondary measure across the supplied records, all computed locally without external lookups.","failureModes":["More than 200 rows submitted — request rejected due to row limit","Missing required fields (row_id, date, eligible_candidates, enrolled_candidates) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers schema rejection","Null values in numeric fields may affect weighted mean calculation","Invalid field enum value (not eligible_candidates or enrolled_candidates) causes error"],"whenToPreferThis":"Choose this endpoint when you need both a numeric ranking of study recruitment rows and a weighted mean of a secondary recruitment metric in a single $0.01 call, working entirely on your supplied data without any live external queries. It is ideal for lightweight, offline analytical summaries of up to 200 recruitment records where you want two reports bundled together cost-efficiently.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:15.020Z","isFirstParty":false,"canonicalSlug":"study-recruitment-numeric-row-ordering-and-secondary-measure-weighted-e50b685d"}