---
title: "Detect"
description: "Surface anti-patterns in a pasted batch: skew."
icon: material/radar
---

Anti-pattern detectors that run the local 10x engine over a pasted batch and surface structural reasons a pattern is expensive: one slot value dominates (sample it).

Each detector returns a [StructuredOutput](../index.md#json-by-default-output) envelope with typed `data.findings` and chains to [Mitigate](../drop/pattern-mitigate.md) via the `actions[]` block.

!!! tenx-ask "You"

    why is `Payment_Gateway_Timeout` so big?

!!! tenx-answer "Log10x"

    Slot `verb` is `get` 78% of events. Sample the get case at 1/10, save ~70% of bytes without losing signal.

| You ask | Example answer |
|---|---|
| [skew in this batch](find-skew.md) | Slot `verb` is `get` 78% of events. Sample at 1/10 saves ~70% of bytes. |

## :material-check-decagram-outline: Prerequisites

None. The detector accepts a paste array and runs the local 10x engine, which needs [tenx](../../../../install/) **1.0.22+** installed.
