{"uid":"cap_7pN22Hi4c2o_sQI9Ck7na","slug":"purchase-test-cohort-attribution-detector-bc7299a4","name":"Purchase Test Cohort Attribution Detector","description":"Trennt in einem gelieferten anonymen Kaufledger interne Abnahmetests, externe Nutzung und widersprüchliche Zuordnungen.","url":"https://detect.halowerk.com/v1/F-N-PURCHASE-COHORTS/purchase-test-cohort-attribution?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["purchase_cohorts"],"properties":{"purchase_cohorts":{"type":"object","required":["events","claim"],"properties":{"claim":{"type":"number","maximum":1000000,"minimum":-1000000,"description":"Explicit supplied scalar claim for external_net_abstract_units; 1e-9 absolute/relative correspondence tolerance."},"events":{"type":"array","items":{"type":"array","items":{"type":"number","maximum":1000000,"minimum":-1000000},"maxItems":128,"minItems":1},"maxItems":128,"minItems":1}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iNnGFNrQ__525CxLMKqBj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Separates internal acceptance tests, external real usage, and contradictory assignments within an anonymous purchase ledger cohort dataset.","exampleAgentPrompt":"I have a batch of anonymous purchase cohort events — 50 event arrays — and I'm claiming external net abstract units of 1200. Can you run them through the purchase test cohort attribution detector to separate out which ones are internal acceptance tests, which are real external usage, and flag any contradictory attributions?","exampleUseCases":[{"title":"Filtering QA noise from sales data","prompt":"We ran a bunch of internal QA acceptance tests last month and I think they polluted our purchase ledger. I have the anonymous cohort events as arrays and a claim value of 500. Can you analyze them and tell me which events are internal tests vs real customer purchases?"},{"title":"Validating external usage claim","prompt":"My analytics pipeline is reporting a net external unit claim of 8750 for this purchase cohort, but I suspect some internal test events are skewing it. Here are the 80 event arrays — can you check for contradictory attributions and confirm whether the claim holds up?"},{"title":"Auditing cohort attribution consistency","prompt":"I need to audit this anonymous purchase ledger for a client handoff — 30 cohort event arrays with a declared claim of -200. Can you identify any events that have contradictory or inconsistent cohort assignments so I can clean them before delivering the report?"}],"resultDescription":"Returns a structured breakdown of the submitted purchase cohort events, classifying each into internal acceptance tests, genuine external usage, or contradictory/conflicting attributions, along with validation of the supplied scalar claim against the computed external net abstract units (within 1e-9 tolerance).","failureModes":["Event arrays exceeding 128 items or 128 elements per array will be rejected with a validation error","Claim values outside the range -1,000,000 to 1,000,000 will fail schema validation","Malformed or missing purchase_cohorts object returns a 400 bad request","Empty event arrays violate minItems constraint and will error","Payment not provided or insufficient USDC balance returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you have an anonymous purchase event ledger and need to programmatically distinguish internal QA/acceptance test traffic from genuine external customer usage, especially when cohort attributions may be inconsistent or contradictory. Prefer this over manual filtering or generic anomaly detection when your data conforms to the cohort-event-array format with a scalar claim.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:40:55.908Z","isFirstParty":false,"canonicalSlug":"purchase-test-cohort-attribution-detector-bc7299a4"}