{"uid":"cap_9IqXrn0DImL4vC5d1OEUb","slug":"dependency-audits-string-normalisation-secondary-measure-weighted-mean-02aa3a63","name":"Dependency Audits — String Normalisation + Secondary-Measure Weighted Mean","description":"Dependency audits — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied dependency audits records (dependency_count, flagged_dependencies). 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-security-09-034?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","control_group","date","dependency_count","flagged_dependencies"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"control_group":{"type":"string","default":"","maxLength":80},"dependency_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"flagged_dependencies":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","control_group":"group-a","dependency_count":10,"flagged_dependencies":1},{"date":"2026-10-02","row_id":"row-2","control_group":"group-b","dependency_count":20,"flagged_dependencies":2},{"date":"2026-10-03","row_id":"row-3","control_group":"group-a","dependency_count":15,"flagged_dependencies":3},{"date":"2026-10-04","row_id":"row-4","control_group":"group-b","dependency_count":30,"flagged_dependencies":4}],"maxItems":200,"minItems":1},"field":{"enum":["dependency_count","flagged_dependencies"],"type":"string","default":"dependency_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_tK7-uw7C4CCGT-gE9MOUq","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":"Applies string normalisation and secondary-measure weighted mean analytics to up to 200 rows of dependency audit records (dependency_count, flagged_dependencies), returning 2 independent reports using local analytical engines.","exampleAgentPrompt":"Can you run string normalisation and a secondary-measure weighted mean on my dependency audit data — I have 4 rows with control groups group-a and group-b, dates from 2026-10-01 to 2026-10-04, dependency counts of 10, 20, 15, and 30, and flagged dependencies of 1, 2, 3, and 4 — and analyse the dependency_count field?","exampleUseCases":[{"title":"Security audit normalisation across teams","prompt":"I have dependency audit records from two teams over the past week — group-alpha and group-beta — with dependency counts and flagged dependency numbers for each day. Can you normalise the strings and compute a weighted mean on the flagged_dependencies field across all 12 rows so I can compare team risk levels?"},{"title":"Flagged dependency trend analysis","prompt":"Run a secondary-measure weighted mean on my 50-row dependency audit dataset — the field I care about is flagged_dependencies — split by control groups dev, staging, and prod, with dates spanning October 2026. I need the two analytical reports to understand which environment has the worst flagged dependency ratio."},{"title":"Monthly dependency count summary","prompt":"I've got 200 rows of monthly dependency audit records across 5 control groups and I want string normalisation plus a weighted mean computed on the dependency_count field — can you process the full dataset and give me the two reports?"}],"resultDescription":"Two independent analytical reports covering: (1) string-normalised values for the selected field across the supplied rows, and (2) a secondary-measure weighted mean calculation grouping by control_group and date. All processing is performed locally with no external lookups or live data enrichment.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, control_group, date, dependency_count, flagged_dependencies) cause validation errors","Invalid date format (must match YYYY-MM-DD) returns a schema error","Null values in both numeric fields may produce undefined weighted mean results","Invalid field selector (not 'dependency_count' or 'flagged_dependencies') causes enum validation failure","Empty rows array returns an error due to minItems:1 constraint"],"whenToPreferThis":"Choose this endpoint when you have tabular dependency audit data (up to 200 rows) and need both string normalisation and a secondary-measure weighted mean computed together in a single call for a fixed $0.01 USDC fee. Prefer it over general-purpose analytics tools when your data is specifically structured around dependency_count and flagged_dependencies fields grouped by control_group and date, and you need two discrete analytical reports without any live lookups or external integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T18:49:38.835Z","isFirstParty":false,"canonicalSlug":"dependency-audits-string-normalisation-secondary-measure-weighted-mean-02aa3a63"}